jim 99/01/02 15:54:35
Modified: src Configure
Log:
Fix Configure buglet when using SOCKS
Submitted by: Life is hard, and then you die." <[EMAIL PROTECTED]>
Revision Changes Path
1.318 +2 -2 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.317
retrieving revision 1.318
diff -u -r1.317 -r1.318
--- Configure 1999/01/01 23:48:01 1.317
+++ Configure 1999/01/02 23:54:34 1.318
@@ -1334,7 +1334,7 @@
CFLAGS="$CFLAGS -DSOCKS -DSOCKS4"
CFLAGS="$CFLAGS -Dconnect=Rconnect -Dselect=Rselect"
CFLAGS="$CFLAGS -Dgethostbyname=Rgethostbyname"
- if [ "x`grep EXTRA_ Makefile | grep lsocks`" = "x" ]; then
+ if [ "x`egrep '^EXTRA_L' Makefile.config | grep lsocks`" = "x" ]; then
LIBS="$LIBS -L/usr/local/lib -lsocks"
fi
case $PLAT in
@@ -1353,7 +1353,7 @@
CFLAGS="$CFLAGS -DSOCKS -DSOCKS5"
CFLAGS="$CFLAGS -Dconnect=SOCKSconnect -Dselect=SOCKSselect"
CFLAGS="$CFLAGS -Dgethostbyname=SOCKSgethostbyname -Dclose=SOCKSclose"
- if [ "x`grep EXTRA_ Makefile | grep lsocks5`" = "x" ]; then
+ if [ "x`egrep '^EXTRA_L' Makefile.config | grep lsocks5`" = "x" ]; then
LIBS="$LIBS -L/usr/local/lib -lsocks5"
fi
case $PLAT in