diff options
Diffstat (limited to 'src/configure')
-rwxr-xr-x | src/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configure b/src/configure index 433168bfc56..12f80fbdecd 100755 --- a/src/configure +++ b/src/configure @@ -766,7 +766,7 @@ if test "${with_includes+set}" = set; then fi -if test "$INCLUDE_DIRS"; then +if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then for dir in $INCLUDE_DIRS $SRCH_INC; do if test -d "$dir"; then PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$dir" @@ -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" |