From: tomo Date: Mon, 21 Jul 2008 17:02:31 +0000 (+0000) Subject: (--with-site-includes): Fixed. X-Git-Tag: chise-base-0_25~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02807f25a3b33637ee03ac97974c5d8008336543;p=chise%2Fconcord.git (--with-site-includes): Fixed. (--with-site-libraries): Add LIBS when this option is specified. (LIBS): Moved to --with-site-libraries. --- diff --git a/configure.in b/configure.in index 90f4cc2..82e0db8 100644 --- a/configure.in +++ b/configure.in @@ -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.