dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet ChangeLog, 1.2766, 1.2767 configure.in, 1.154


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet ChangeLog, 1.2766, 1.2767 configure.in, 1.154, 1.155
Date: Wed, 12 Nov 2003 01:47:30 +0000

Update of /cvsroot/dotgnu-pnet/pnet
In directory subversions:/tmp/cvs-serv20488

Modified Files:
        ChangeLog configure.in 
Log Message:


Use the static version of libz under mingw32 to avoid a
dependency upon "mgwz.dll".


Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.154
retrieving revision 1.155
diff -C2 -d -r1.154 -r1.155
*** configure.in        11 Nov 2003 22:49:35 -0000      1.154
--- configure.in        12 Nov 2003 01:47:28 -0000      1.155
***************
*** 211,215 ****
  AC_CHECK_LIB(socket, connect)
  AC_CHECK_LIB(nsl, gethostbyname)
! AC_CHECK_LIB(z, inflate)
  
  dnl Checks for header files.
--- 211,229 ----
  AC_CHECK_LIB(socket, connect)
  AC_CHECK_LIB(nsl, gethostbyname)
! have_libz=no
! if test "x$suppress_libm" = "xno" ; then
!       AC_CHECK_LIB(z, inflate,
!                                [have_libz=yes
!                                 LIBS="-lz $LIBS"], [])
! else
!       dnl Use the static version of zlib under mingw32 to avoid a
!       dnl dependency upon "mgwz.dll".
!       AC_CHECK_LIB(z, inflate,
!                                [have_libz=yes
!                                 LIBS="-Bstatic -lz -Bdynamic $LIBS"], [])
! fi
! if test "x$have_libz" = "xyes" ; then
!       AC_DEFINE(HAVE_LIBZ, 1, [Define if you have the z library (-lz).])
! fi
  
  dnl Checks for header files.

Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.2766
retrieving revision 1.2767
diff -C2 -d -r1.2766 -r1.2767
*** ChangeLog   11 Nov 2003 23:24:34 -0000      1.2766
--- ChangeLog   12 Nov 2003 01:47:28 -0000      1.2767
***************
*** 12,15 ****
--- 12,18 ----
        fix some warnings that were turned up by gcc 3.3.
  
+       * configure.in: use the static version of libz under mingw32
+       to avoid a dependency upon "mgwz.dll".
+ 
  2003-11-11  Rhys Weatherley  <address@hidden>
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]