From 02807f25a3b33637ee03ac97974c5d8008336543 Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 21 Jul 2008 17:02:31 +0000 Subject: [PATCH] (--with-site-includes): Fixed. (--with-site-libraries): Add LIBS when this option is specified. (LIBS): Moved to --with-site-libraries. --- configure.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. -- 1.7.10.4