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

git-svn-id: http://yate.null.ro/svn/yate/trunk@716 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-03-22 22:03:11 +00:00
parent 7186ae42c3
commit d4a51e456f
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"