Skip to content
Snippets Groups Projects
Commit 08640b50 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Build [Postgres]: Some more path search diagnostics improvements.

parent d6f176e5
Branches
Tags
No related merge requests found
......@@ -28,7 +28,9 @@ lib_searchpath=""
for a in $with_root/usr/local $with_root/usr $with_root/opt $with_root/usr/lib $HOME; do
for b in postgres95 postgres pgsql postgresql .; do
for d in "$a/$b/include" "$a/include/$b"; do
echo "Checking directory $d/." >&AC_FD_CC
if test -d "$d/."; then
echo "Found directory $d/." >&AC_FD_CC
if test "$b" = "."; then
# Special case to avoid duplicates : $a/./include ~= $a/include/.
include_searchpath="$include_searchpath $a/include"
......@@ -39,7 +41,9 @@ for a in $with_root/usr/local $with_root/usr $with_root/opt $with_root/usr/lib $
fi
done
for d in "$a/$b/lib" "$a/lib/$b"; do
echo "Checking directory $d/." >&AC_FD_CC
if test -d "$d/."; then
echo "Found directory $d/." >&AC_FD_CC
if test "$b" = "."; then
# Special case to avoid duplicates : $a/./lib ~= $a/lib/.
lib_searchpath="$lib_searchpath $a/lib"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment