summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1999-09-12 22:58:37 +0000
committerMarc G. Fournier <scrappy@hub.org>1999-09-12 22:58:37 +0000
commit2bb6c94fd978c864069168cc00d00d99fe713985 (patch)
tree3762e623b7cfe43197f9efcba494e8d68b50456b
parentd87a36a5b583f60a6533006c17980bbf9dc87811 (diff)
Didn't commit right last time...SRCH_LIBS fix...
-rwxr-xr-xsrc/configure2
-rw-r--r--src/configure.in2
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"