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:
2
src/configure
vendored
2
src/configure
vendored
@@ -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"
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user