From: Marc G. Fournier Date: Sun, 12 Sep 1999 22:58:37 +0000 (+0000) Subject: Didn't commit right last time...SRCH_LIBS fix... X-Git-Tag: REL6_5_2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2bb6c94fd978c864069168cc00d00d99fe713985;p=thirdparty%2Fpostgresql.git Didn't commit right last time...SRCH_LIBS fix... --- diff --git a/src/configure b/src/configure index 23489e5c69c..12f80fbdecd 100755 --- a/src/configure +++ b/src/configure @@ -804,7 +804,7 @@ if test "${with_libraries+set}" = set; then fi -if test "$LIBRARY_DIRS"; then +if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then for dir in $LIBRARY_DIRS $SRCH_LIB; do if test -d "$dir"; then PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir" diff --git a/src/configure.in b/src/configure.in index cd691e05195..4db172b82d9 100644 --- a/src/configure.in +++ b/src/configure.in @@ -195,7 +195,7 @@ AC_ARG_WITH(libraries, LIBRARY_DIRS="$withval" ]) -if test "$LIBRARY_DIRS"; then +if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then for dir in $LIBRARY_DIRS $SRCH_LIB; do if test -d "$dir"; then PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir"