Line
Link Here
|
0 |
-- configure.in.orig<->2012-10-12 20:05:48.000000000 +0600 |
0 |
++ configure.in<-->2015-03-08 03:22:40.000000000 +0500 |
Lines 774-788
Link Here
|
774 |
# presuing if one given then correct |
774 |
# presuing if one given then correct |
775 |
if test "${with_pgsql}" = "yes"; then |
775 |
if test "${with_pgsql}" = "yes"; then |
776 |
with_pgsql=notfound |
776 |
with_pgsql=notfound |
777 |
for pgsqlloc in lib/pgsql lib pgsql/lib |
777 |
for pgsqlloc in lib/postgresql lib/pgsql lib pgsql/lib |
778 |
do |
778 |
do |
779 |
if test -f ${prefix}/${pgsqlloc}/libpq.a; then |
779 |
if test -f ${prefix}/${pgsqlloc}/libpq.a || test -f ${prefix}/${pgsqlloc}/libpq.so; then |
780 |
with_pgsql="${prefix}" |
780 |
with_pgsql="${prefix}" |
781 |
break |
781 |
break |
782 |
elif test -f /usr/local/${pgsqlloc}/libpq.a; then |
782 |
elif test -f /usr/local/${pgsqlloc}/libpq.a || test -f /usr/local/${pgsqlloc}/libpq.so; then |
783 |
with_pgsql="/usr/local" |
783 |
with_pgsql="/usr/local" |
784 |
break |
784 |
break |
785 |
elif test -f /usr/${pgsqlloc}/libpq.a; then |
785 |
elif test -f /usr/${pgsqlloc}/libpq.a || /usr/${pgsqlloc}/libpq.so; then |
786 |
with_pgsql="/usr" |
786 |
with_pgsql="/usr" |
787 |
break |
787 |
break |
788 |
fi |
788 |
fi |