Skip to content

Commit ba77f85

Browse files
committed
prep for PECL release
1 parent 163c925 commit ba77f85

3 files changed

Lines changed: 33 additions & 6 deletions

File tree

ext/pdo_pgsql/config.m4

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,28 @@ if test "$PHP_PDO_PGSQL" != "no"; then
104104

105105
PHP_ADD_INCLUDE($PGSQL_INCLUDE)
106106

107-
PHP_CHECK_PDO_INCLUDES
107+
ifdef([PHP_CHECK_PDO_INCLUDES],
108+
[
109+
PHP_CHECK_PDO_INCLUDES
110+
],[
111+
AC_MSG_CHECKING([for PDO includes])
112+
if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
113+
pdo_inc_path=$abs_srcdir/ext
114+
elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
115+
pdo_inc_path=$abs_srcdir/ext
116+
elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
117+
pdo_inc_path=$prefix/include/php/ext
118+
else
119+
AC_MSG_ERROR([Cannot find php_pdo_driver.h.])
120+
fi
121+
AC_MSG_RESULT($pdo_inc_path)
122+
])
108123

109124
PHP_NEW_EXTENSION(pdo_pgsql, pdo_pgsql.c pgsql_driver.c pgsql_statement.c, $ext_shared,,-I$pdo_inc_path $PDO_PGSQL_CFLAGS)
110-
PHP_ADD_EXTENSION_DEP(pdo_pgsql, pdo)
125+
ifdef([PHP_ADD_EXTENSION_DEP],
126+
[
127+
PHP_ADD_EXTENSION_DEP(pdo_pgsql, pdo)
128+
])
111129
fi
112130

113131
fi

ext/pdo_pgsql/package.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,26 @@
1616
<email>iliaa@php.net</email>
1717
<role>lead</role>
1818
</maintainer>
19+
<maintainer>
20+
<user>wez</user>
21+
<name>Wez Alshanetsky</name>
22+
<email>wez@php.net</email>
23+
<role>lead</role>
24+
</maintainer>
25+
1926
</maintainers>
2027
<description>
2128
This extension provides an PostgreSQL driver for PDO.
2229
</description>
2330
<license>PHP</license>
2431
<release>
2532
<state>beta</state>
26-
<version>0.2</version>
27-
<date>2005-02-09</date>
33+
<version>0.9</version>
34+
<date>2005-06-27</date>
2835

2936
<notes>
37+
Now features native prepared statements and numerous other improvements.
38+
3039
You need to install the PDO core module before you can make use of this one.
3140
You also require PostgreSQL client libraries installed on the machine where you intend to build and/or use it.
3241

@@ -47,7 +56,7 @@
4756
</filelist>
4857
<deps>
4958
<dep type="php" rel="ge" version="5.0.3"/>
50-
<dep type="ext" rel="ge" name="pdo" version="0.2"/>
59+
<dep type="ext" rel="ge" name="pdo" version="0.9"/>
5160
</deps>
5261
</release>
5362
</package>

ext/pdo_pgsql/pdo_pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ zend_module_entry pdo_pgsql_module_entry = {
6161
PHP_RINIT(pdo_pgsql),
6262
PHP_RSHUTDOWN(pdo_pgsql),
6363
PHP_MINFO(pdo_pgsql),
64-
"0.2",
64+
"0.9",
6565
STANDARD_MODULE_PROPERTIES
6666
};
6767
/* }}} */

0 commit comments

Comments
 (0)