From: Marc G. Fournier Date: Sun, 12 Sep 1999 22:47:14 +0000 (+0000) Subject: when checking include directories, make sure you check for existence of X-Git-Tag: REL6_5_2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d87a36a5b583f60a6533006c17980bbf9dc87811;p=thirdparty%2Fpostgresql.git when checking include directories, make sure you check for existence of SRCH_INC also...makes template file kinda useless without :) --- 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"