From: Sascha Schumann Date: Mon, 19 Feb 2001 07:49:16 +0000 (+0000) Subject: Allow passing relative paths to --with-pgsql X-Git-Tag: php-4.0.5RC1~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5db26dd415369dbc97ce1fb2c21ced3141a0da3a;p=php Allow passing relative paths to --with-pgsql --- 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)