From 08640b50bff726f27c01a48185ca9ac04b668476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 23 Jun 2016 12:54:24 +0200
Subject: [PATCH] Build [Postgres]: Some more path search diagnostics
 improvements.

---
 src/modules/Postgres/configure.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/Postgres/configure.in b/src/modules/Postgres/configure.in
index feb2d904b1..eac0c02878 100644
--- a/src/modules/Postgres/configure.in
+++ b/src/modules/Postgres/configure.in
@@ -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"
-- 
GitLab