1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

when checking include directories, make sure you check for existence of

SRCH_INC also...makes template file kinda useless without :)
This commit is contained in:
Marc G. Fournier
1999-09-12 22:47:14 +00:00
parent 6592a8aaa4
commit d87a36a5b5
2 changed files with 2 additions and 2 deletions

2
src/configure vendored
View File

@@ -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"

View File

@@ -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"