Browse Source

prep for PECL release

PHP-5.1
Wez Furlong 21 years ago
parent
commit
ba77f8515b
  1. 22
      ext/pdo_pgsql/config.m4
  2. 15
      ext/pdo_pgsql/package.xml
  3. 2
      ext/pdo_pgsql/pdo_pgsql.c

22
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

15
ext/pdo_pgsql/package.xml

@ -16,6 +16,13 @@
<email>iliaa@php.net</email>
<role>lead</role>
</maintainer>
<maintainer>
<user>wez</user>
<name>Wez Alshanetsky</name>
<email>wez@php.net</email>
<role>lead</role>
</maintainer>
</maintainers>
<description>
This extension provides an PostgreSQL driver for PDO.
@ -23,10 +30,12 @@
<license>PHP</license>
<release>
<state>beta</state>
<version>0.2</version>
<date>2005-02-09</date>
<version>0.9</version>
<date>2005-06-27</date>
<notes>
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 @@
</filelist>
<deps>
<dep type="php" rel="ge" version="5.0.3"/>
<dep type="ext" rel="ge" name="pdo" version="0.2"/>
<dep type="ext" rel="ge" name="pdo" version="0.9"/>
</deps>
</release>
</package>

2
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
};
/* }}} */

Loading…
Cancel
Save