Didn't commit right last time...SRCH_LIBS fix...
authorMarc G. Fournier <[email protected]>
Sun, 12 Sep 1999 22:58:37 +0000 (22:58 +0000)
committerMarc G. Fournier <[email protected]>
Sun, 12 Sep 1999 22:58:37 +0000 (22:58 +0000)
src/configure
src/configure.in

index 23489e5c69c9f3d2e0bfbeb394e942e8a947f49a..12f80fbdecd4c9da7192fee44f754a62c6e89e34 100755 (executable)
@@ -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"
index cd691e051959bc0c2e41615449881b9672ce94c0..4db172b82d95236f230f22300c41c4a39ef7ad7e 100644 (file)
@@ -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"