Read configuration
This commit is contained in:
Vendored
+31
@@ -4480,6 +4480,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
|
||||
unique=`echo $ai_p|$SED 's/[^a-zA-Z0-9]/_/g'`
|
||||
|
||||
cmd="echo $ac_n \"\$INCLUDEPATH$unique$ac_c\""
|
||||
if test -n "$unique" && test "`eval $cmd`" = "" ; then
|
||||
eval "INCLUDEPATH$unique=set"
|
||||
|
||||
if test ""; then
|
||||
INCLUDES="-I$ai_p $INCLUDES"
|
||||
else
|
||||
INCLUDES="$INCLUDES -I$ai_p"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "/usr/include/postgresql" != "/usr/include"; then
|
||||
|
||||
if test -z "/usr/include/postgresql" || echo "/usr/include/postgresql" | grep '^/' >/dev/null ; then
|
||||
ai_p=/usr/include/postgresql
|
||||
else
|
||||
|
||||
ep_dir=`echo /usr/include/postgresql|$SED 's%/*[^/][^/]*/*$%%'`
|
||||
|
||||
ep_realdir=`(cd "$ep_dir" && pwd)`
|
||||
ai_p="$ep_realdir"/`basename "/usr/include/postgresql"`
|
||||
fi
|
||||
|
||||
|
||||
|
||||
unique=`echo $ai_p|$SED 's/[^a-zA-Z0-9]/_/g'`
|
||||
|
||||
cmd="echo $ac_n \"\$INCLUDEPATH$unique$ac_c\""
|
||||
|
||||
Reference in New Issue
Block a user