summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-19 07:49:16 +0000
committerSascha Schumann <sas@php.net>2001-02-19 07:49:16 +0000
commit5db26dd415369dbc97ce1fb2c21ced3141a0da3a (patch)
tree22e90a498170e16accc91b797d54b86f5240b876
parente6050684face020dcd68ab215213328566da5d95 (diff)
downloadphp-git-5db26dd415369dbc97ce1fb2c21ced3141a0da3a.tar.gz
Allow passing relative paths to --with-pgsql
-rw-r--r--ext/pgsql/config.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4
index 99d5bbeb7d..bedf744837 100644
--- a/ext/pgsql/config.m4
+++ b/ext/pgsql/config.m4
@@ -9,6 +9,7 @@ PHP_ARG_WITH(pgsql,for PostgreSQL support,
to build as a dl and still specify DIR.])
if test "$PHP_PGSQL" != "no"; then
+ AC_EXPAND_PATH($PHP_PGSQL, PHP_PGSQL)
for i in /usr /usr/local /usr/local/pgsql $PHP_PGSQL; do
PGSQL_INC_CHK(/include)
el[]PGSQL_INC_CHK(/include/pgsql)