(--with-site-includes): Fixed.
authortomo <tomo>
Mon, 21 Jul 2008 17:02:31 +0000 (17:02 +0000)
committertomo <tomo>
Mon, 21 Jul 2008 17:02:31 +0000 (17:02 +0000)
(--with-site-libraries): Add LIBS when this option is specified.
(LIBS): Moved to --with-site-libraries.

configure.in

index 90f4cc2..82e0db8 100644 (file)
@@ -28,7 +28,6 @@ if test -f /sw/include/db3/db.h; then
        CFLAGS="-I/sw/include/db3 $CFLAGS"
 elif test -f /sw/include/db4/db.h; then
        CFLAGS="-I/sw/include/db4 $CFLAGS"
-       LIBS="-ldb $LIBS"
 fi
 )
 
@@ -40,6 +39,7 @@ do
     SITE_LIBS="$SITE_LIBS -L$dir"
 done
 LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^  *//'`
+LIBS="-ldb $LIBS"
 ,
 if test -f /sw/include/db3/db.h; then
        LIBS="-L/sw/lib -ldb-3 $LIBS"
@@ -51,7 +51,6 @@ fi
 )
 
 # Checks for libraries.
-LIBS="-ldb $LIBS"
 
 # Checks for header files.