Searching libpq.so in lib64 if not found in lib.

git-svn-id: http://voip.null.ro/svn/yate@716 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-03-22 22:03:11 +00:00
parent 4e7b700fb3
commit 496179c49e
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ done
if [[ ! -f "$incpq/libpq-fe.h" ]]; then
incpq="$incpq/pgsql"
fi
if [[ ! -f "$libpq" ]]; then
libpq="$ac_cv_use_libpq/lib64/libpq.so"
fi
if [[ -f "$incpq/libpq-fe.h" -a -f "$libpq" ]]; then
HAVE_PGSQL=yes
PGSQL_INC="-I$incpq"