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 2010-08-16 16:28:24.000000000 +0200 |
|
+++ configure.in 2010-08-18 16:07:08.000000000 +0200 |
|
@@ -2089,14 +2089,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 /openpkg; 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 2010-08-16 16:28:43.000000000 +0200 |
|
+++ configure 2010-08-18 16:07:09.000000000 +0200 |
|
@@ -22084,14 +22084,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 /openpkg; 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
|
|
|