From: Wez Furlong Date: Wed, 27 Jul 2005 02:51:01 +0000 (+0000) Subject: prep for PECL release X-Git-Tag: RELEASE_0_9~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba77f8515bed08698cec1069c661f2c0e47d2aeb;p=php prep for PECL release --- diff --git a/ext/pdo_pgsql/config.m4 b/ext/pdo_pgsql/config.m4 index 33f2709206..9f356db64a 100644 --- a/ext/pdo_pgsql/config.m4 +++ b/ext/pdo_pgsql/config.m4 @@ -104,10 +104,28 @@ if test "$PHP_PDO_PGSQL" != "no"; then PHP_ADD_INCLUDE($PGSQL_INCLUDE) - PHP_CHECK_PDO_INCLUDES + ifdef([PHP_CHECK_PDO_INCLUDES], + [ + PHP_CHECK_PDO_INCLUDES + ],[ + AC_MSG_CHECKING([for PDO includes]) + if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then + pdo_inc_path=$abs_srcdir/ext + elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then + pdo_inc_path=$abs_srcdir/ext + elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then + pdo_inc_path=$prefix/include/php/ext + else + AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) + fi + AC_MSG_RESULT($pdo_inc_path) + ]) PHP_NEW_EXTENSION(pdo_pgsql, pdo_pgsql.c pgsql_driver.c pgsql_statement.c, $ext_shared,,-I$pdo_inc_path $PDO_PGSQL_CFLAGS) - PHP_ADD_EXTENSION_DEP(pdo_pgsql, pdo) + ifdef([PHP_ADD_EXTENSION_DEP], + [ + PHP_ADD_EXTENSION_DEP(pdo_pgsql, pdo) + ]) fi fi diff --git a/ext/pdo_pgsql/package.xml b/ext/pdo_pgsql/package.xml index d6488cb5bb..480fa5f7fb 100644 --- a/ext/pdo_pgsql/package.xml +++ b/ext/pdo_pgsql/package.xml @@ -16,6 +16,13 @@ iliaa@php.net lead + + wez + Wez Alshanetsky + wez@php.net + lead + + This extension provides an PostgreSQL driver for PDO. @@ -23,10 +30,12 @@ PHP beta - 0.2 - 2005-02-09 + 0.9 + 2005-06-27 + Now features native prepared statements and numerous other improvements. + You need to install the PDO core module before you can make use of this one. You also require PostgreSQL client libraries installed on the machine where you intend to build and/or use it. @@ -47,7 +56,7 @@ - + diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c index 9e57826e0a..b581fcb224 100644 --- a/ext/pdo_pgsql/pdo_pgsql.c +++ b/ext/pdo_pgsql/pdo_pgsql.c @@ -61,7 +61,7 @@ zend_module_entry pdo_pgsql_module_entry = { PHP_RINIT(pdo_pgsql), PHP_RSHUTDOWN(pdo_pgsql), PHP_MINFO(pdo_pgsql), - "0.2", + "0.9", STANDARD_MODULE_PROPERTIES }; /* }}} */