]> granicus.if.org Git - php/commitdiff
Allow passing relative paths to --with-pgsql
authorSascha Schumann <sas@php.net>
Mon, 19 Feb 2001 07:49:16 +0000 (07:49 +0000)
committerSascha Schumann <sas@php.net>
Mon, 19 Feb 2001 07:49:16 +0000 (07:49 +0000)
ext/pgsql/config.m4

index 99d5bbeb7d6863a3b1b51edfc8a281b953081216..bedf744837ab964d05b8b978bb4fa7cdd9a58e16 100644 (file)
@@ -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)