(--with-site-includes): Fixed.
[chise/concord.git] / 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.