You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
Index: configure.in |
|
--- configure.in.orig 2011-03-04 19:47:50.000000000 +0100 |
|
+++ configure.in 2011-03-05 13:00:48.000000000 +0100 |
|
@@ -2094,14 +2094,14 @@ |
|
AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config, NO) |
|
if test $PG_CONFIG = NO; then |
|
# based on code from PHP |
|
- for i in /usr /usr/local /usr/local/pgsql; do |
|
- for j in include include/pgsql include/postgres include/postgresql ""; do |
|
+ for i in @l_prefix@; do |
|
+ for j in include/postgresql; do |
|
if test -r "$i/$j/libpq-fe.h"; then |
|
PGSQL_INCLUDE=$i/$j |
|
fi |
|
done |
|
- for lib in lib lib64; do |
|
- for j in $lib $lib/pgsql $lib/postgres $lib/postgresql ""; do |
|
+ for lib in lib; do |
|
+ for j in $lib; do |
|
if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then |
|
PGSQL_LIBDIR=$i/$j |
|
fi |
|
Index: configure |
|
--- configure.orig 2011-03-04 19:47:55.000000000 +0100 |
|
+++ configure 2011-03-05 13:00:48.000000000 +0100 |
|
@@ -22214,14 +22214,14 @@ |
|
|
|
if test $PG_CONFIG = NO; then |
|
# based on code from PHP |
|
- for i in /usr /usr/local /usr/local/pgsql; do |
|
- for j in include include/pgsql include/postgres include/postgresql ""; do |
|
+ for i in @l_prefix@; do |
|
+ for j in include/postgresql; do |
|
if test -r "$i/$j/libpq-fe.h"; then |
|
PGSQL_INCLUDE=$i/$j |
|
fi |
|
done |
|
- for lib in lib lib64; do |
|
- for j in $lib $lib/pgsql $lib/postgres $lib/postgresql ""; do |
|
+ for lib in lib; do |
|
+ for j in $lib; do |
|
if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then |
|
PGSQL_LIBDIR=$i/$j |
|
fi
|
|
|