From 2bb6c94fd978c864069168cc00d00d99fe713985 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Sun, 12 Sep 1999 22:58:37 +0000 Subject: [PATCH] Didn't commit right last time...SRCH_LIBS fix... --- src/configure | 2 +- src/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.5