summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pdo_pgsql/config.m45
-rw-r--r--ext/pgsql/config.m45
2 files changed, 2 insertions, 8 deletions
diff --git a/ext/pdo_pgsql/config.m4 b/ext/pdo_pgsql/config.m4
index e0111df4d7..ef6c5ebe84 100644
--- a/ext/pdo_pgsql/config.m4
+++ b/ext/pdo_pgsql/config.m4
@@ -4,9 +4,6 @@ dnl
if test "$PHP_PDO" != "no"; then
-AC_DEFUN([PHP_PGSQL_CHECK_FUNCTIONS],[
-])
-
PHP_ARG_WITH(pdo-pgsql,for PostgreSQL support for PDO,
[ --with-pdo-pgsql[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base
install directory or the path to pg_config])
@@ -63,7 +60,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
fi
if test -z "$PGSQL_INCLUDE" -a -z "$PGSQL_LIBDIR" ; then
- AC_MSG_ERROR([Unable to find libpq anywhere under $withval])
+ AC_MSG_ERROR([Unable to find libpq anywhere under $PGSQL_SEARCH_PATHS])
fi
AC_DEFINE(HAVE_PDO_PGSQL,1,[Whether to build PostgreSQL for PDO support or not])
diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4
index b5071741ab..c0aa0f97b9 100644
--- a/ext/pgsql/config.m4
+++ b/ext/pgsql/config.m4
@@ -2,9 +2,6 @@ dnl
dnl $Id$
dnl
-AC_DEFUN([PHP_PGSQL_CHECK_FUNCTIONS],[
-])
-
PHP_ARG_WITH(pgsql,for PostgreSQL support,
[ --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
base install directory or the path to pg_config])
@@ -63,7 +60,7 @@ if test "$PHP_PGSQL" != "no"; then
fi
if test -z "$PGSQL_INCLUDE" -a -z "$PGSQL_LIBDIR" ; then
- AC_MSG_ERROR([Unable to find libpq anywhere under $withval])
+ AC_MSG_ERROR([Unable to find libpq anywhere under $PGSQL_SEARCH_PATHS])
fi
AC_DEFINE(HAVE_PGSQL,1,[Whether to build PostgreSQL support or not])