diff --git a/INSTALL b/INSTALL index 1286bf2d09842cd89a610ede1c6fbacd0c51322f..85c89e7483fb879c48a2a05829109990a0a78fb1 100644 --- a/INSTALL +++ b/INSTALL @@ -288,6 +288,7 @@ PostgreSQL: for header files. (Typical use will need --with-includes=/usr/local/include) + --with-libs=DIRS --with-libraries=DIRS Include DIRS in list of directories searched for archive libraries. (Typical use will need diff --git a/src/configure b/src/configure index 589bd35e1bd6a9024f8cdd295bd72488bc58b9c5..4595980d6e90cfd50179a5151fbfcaae5d14cbf4 100755 --- a/src/configure +++ b/src/configure @@ -776,7 +776,7 @@ fi if test "$LIBRARY_DIRS"; then - for dir in $withval; do + for dir in $LIBRARY_DIRS; do if test -d "$dir"; then PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir" else @@ -3387,7 +3387,7 @@ else fi rm -f conftest* -if test $ac_cv_prog_gcc = yes; then +if test x$ac_cv_prog_gcc = xyes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:3393: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then @@ -5617,7 +5617,7 @@ then ice_save_CPPFLAGS="$CPPFLAGS" ice_save_LDFLAGS="$LDFLAGS" - LIBS="$LIBS $X_EXTRA_LIBS" + LIBS="$TCL_LIB $X_PRE_LIBS $X11_LIBS $X_EXTRA_LIBS $LIBS" CFLAGS="$CFLAGS $X_CFLAGS" CPPFLAGS="$CPPFLAGS $X_CFLAGS" LDFLAGS="$LDFLAGS $X_LIBS" @@ -5633,7 +5633,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-l$tk_lib $TCL_LIB $X_PRE_LIBS $X_LIBS $X11_LIBS $LIBS" +LIBS="-l$tk_lib $LIBS" cat > conftest.$ac_ext <