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

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

[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.1996,1.1997 configure.in,1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.1996,1.1997 configure.in,1.99,1.100
Date: Sun, 15 Dec 2002 23:06:31 -0500

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

Modified Files:
        ChangeLog configure.in 
Log Message:


Suppress "-lm" when compiling under mingw32, so that we get the math
routines in "msvcrt.dll", not "cygwin1.dll".


Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.1996
retrieving revision 1.1997
diff -C2 -r1.1996 -r1.1997
*** ChangeLog   16 Dec 2002 03:25:50 -0000      1.1996
--- ChangeLog   16 Dec 2002 04:06:28 -0000      1.1997
***************
*** 19,22 ****
--- 19,25 ----
        with "__try" under mingw32 compilers.
  
+       * configure.in: suppress "-lm" when compiling under mingw32, so
+       that we get the math routines in "msvcrt.dll", not "cygwin1.dll".
+ 
  2002-12-15  Aditya P. Bansod <address@hidden>
  

Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -r1.99 -r1.100
*** configure.in        16 Dec 2002 02:59:49 -0000      1.99
--- configure.in        16 Dec 2002 04:06:28 -0000      1.100
***************
*** 38,41 ****
--- 38,44 ----
    CC="$CC -mno-cygwin"
    SOCKETLIBS="-lwsock32"
+   suppress_libm=yes
+ else
+   suppress_libm=no
  fi
  
***************
*** 198,202 ****
  dnl Checks for libraries.
  AC_SUBST(REGEXLIBS)
! AC_CHECK_LIB(m, sin)
  AC_CHECK_LIB(dl, dlopen)
  AC_CHECK_LIB(socket, connect)
--- 201,207 ----
  dnl Checks for libraries.
  AC_SUBST(REGEXLIBS)
! if test "x$suppress_libm" = "xno" ; then
!       AC_CHECK_LIB(m, sin)
! fi
  AC_CHECK_LIB(dl, dlopen)
  AC_CHECK_LIB(socket, connect)




reply via email to

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