]> granicus.if.org Git - php/commitdiff
- Removed unused empty macro and nuked illegal use of $withval
authorJani Taskinen <jani@php.net>
Wed, 11 Jul 2007 21:51:10 +0000 (21:51 +0000)
committerJani Taskinen <jani@php.net>
Wed, 11 Jul 2007 21:51:10 +0000 (21:51 +0000)
ext/pdo_pgsql/config.m4
ext/pgsql/config.m4

index e0111df4d7ee1fc257ed6dc565652900a57bd133..ef6c5ebe8481f4253a2f1b4a15064609334b3792 100644 (file)
@@ -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])
index 1efd997719321af824ec725f25c544ad9086779f..1c73bbcbe3e78991624a0d66f815c685a3237f2f 100644 (file)
@@ -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])