Ticket #6122: patch-configure

File patch-configure, 777 bytes (added by 0xced (Cédric Luthi), 19 years ago)

original patch + pthread problem fix

Line 
1--- configure.orig      2005-05-27 17:11:45.000000000 +0200
2+++ configure   2006-03-04 10:15:05.000000000 +0100
3@@ -28243,7 +28243,7 @@
4 
5 fi
6 
7-   elif test "$OS" != "MACOSX" -a "$OS" != "WINDOWS"; then
8+   elif test "$OS" != "DARWIN" -a "$OS" != "WINDOWS"; then
9       echo "$as_me:$LINENO: checking whether $CC accepts -pthread" >&5
10 echo $ECHO_N "checking whether $CC accepts -pthread... $ECHO_C" >&6
11       LDFLAGS_store="$LDFLAGS"
12@@ -31725,7 +31725,7 @@
13         owd=`pwd`
14         if cd $withval; then withval=`pwd`; cd $owd; fi
15         LNETINC="-I$withval/include"
16-        LNETLIB="-L$withval/lib -L$withval/src -lnet"
17+        LNETLIB="-L$withval/lib -lnet"
18         ac_ec_libnet=$withval
19         echo "$as_me:$LINENO: result: $withval" >&5
20 echo "${ECHO_T}$withval" >&6