diff options
author | Marc G. Fournier <scrappy@hub.org> | 1999-09-12 22:47:14 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1999-09-12 22:47:14 +0000 |
commit | d87a36a5b583f60a6533006c17980bbf9dc87811 (patch) | |
tree | ca83efd1ec4121047b4b9ff7e743749c3e4f85ef | |
parent | 6592a8aaa4793631d8908eb4a3c6f8802a28c7ba (diff) |
when checking include directories, make sure you check for existence of
SRCH_INC also...makes template file kinda useless without :)
-rwxr-xr-x | src/configure | 2 | ||||
-rw-r--r-- | src/configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/configure b/src/configure index 433168bfc56..23489e5c69c 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" diff --git a/src/configure.in b/src/configure.in index 1b95fd13439..cd691e05195 100644 --- a/src/configure.in +++ b/src/configure.in @@ -163,7 +163,7 @@ AC_ARG_WITH(includes, INCLUDE_DIRS="$withval" ]) -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" |