Read configuration

This commit is contained in:
2022-11-06 17:48:38 -05:00
parent b0366304a1
commit fdbc141722
6 changed files with 257 additions and 215 deletions
+31
View File
@@ -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\""