From b394a74797b7ca5ee8bcd326c380c423b9f7ce3f Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Wed, 11 Jul 2007 21:51:10 +0000 Subject: [PATCH] - Removed unused empty macro and nuked illegal use of $withval --- ext/pdo_pgsql/config.m4 | 5 +---- ext/pgsql/config.m4 | 5 +---- 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 1efd997719..1c73bbcbe3 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]) -- 2.40.0