1 Index: configure.in |
1 Index: configure.in |
2 --- configure.in.orig 2011-03-04 19:47:50.000000000 +0100 |
2 --- configure.in.orig 2012-04-23 14:35:10.000000000 +0200 |
3 +++ configure.in 2011-03-05 13:00:48.000000000 +0100 |
3 +++ configure.in 2012-04-29 19:55:10.000000000 +0200 |
4 @@ -2100,14 +2100,14 @@ |
4 @@ -2122,14 +2122,14 @@ |
5 AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config, NO) |
5 AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config, NO) |
6 if test $PG_CONFIG = NO; then |
6 if test $PG_CONFIG = NO; then |
7 # based on code from PHP |
7 # based on code from PHP |
8 - for i in /usr /usr/local /usr/local/pgsql; do |
8 - for i in /usr /usr/local /usr/local/pgsql; do |
9 - for j in include include/pgsql include/postgres include/postgresql ""; do |
9 - for j in include include/pgsql include/postgres include/postgresql ""; do |
19 + for j in $lib; do |
19 + for j in $lib; do |
20 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then |
20 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then |
21 PGSQL_LIBDIR=$i/$j |
21 PGSQL_LIBDIR=$i/$j |
22 fi |
22 fi |
23 Index: configure |
23 Index: configure |
24 --- configure.orig 2011-03-04 19:47:55.000000000 +0100 |
24 --- configure.orig 2012-04-23 14:35:52.000000000 +0200 |
25 +++ configure 2011-03-05 13:00:48.000000000 +0100 |
25 +++ configure 2012-04-29 19:55:11.000000000 +0200 |
26 @@ -22858,14 +22858,14 @@ |
26 @@ -22919,14 +22919,14 @@ |
27 |
27 |
28 if test $PG_CONFIG = NO; then |
28 if test $PG_CONFIG = NO; then |
29 # based on code from PHP |
29 # based on code from PHP |
30 - for i in /usr /usr/local /usr/local/pgsql; do |
30 - for i in /usr /usr/local /usr/local/pgsql; do |
31 - for j in include include/pgsql include/postgres include/postgresql ""; do |
31 - for j in include include/pgsql include/postgres include/postgresql ""; do |