]> granicus.if.org Git - php/commitdiff
Needed function detection
authorMarcus Boerger <helly@php.net>
Sun, 27 Jul 2003 16:46:40 +0000 (16:46 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 27 Jul 2003 16:46:40 +0000 (16:46 +0000)
ext/pgsql/config.m4

index 5793362ebd0bb7040b48c6e9e3dda4a50d01d41e..8cb85b67b8579d1d5849f276da6804dc7de7f2a2 100644 (file)
@@ -59,6 +59,7 @@ if test "$PHP_PGSQL" != "no"; then
   AC_CHECK_LIB(pq, PQclientEncoding,AC_DEFINE(HAVE_PQCLIENTENCODING,1,[PostgreSQL 7.0.x or later]))
   AC_CHECK_LIB(pq, PQparameterStatus,AC_DEFINE(HAVE_PQPARAMETERSTATUS,1,[PostgreSQL 7.4 or later]))
   AC_CHECK_LIB(pq, PQprotocolVersion,AC_DEFINE(HAVE_PQPROTOCOLVERSION,1,[PostgreSQL 7.4 or later]))
+  AC_CHECK_LIB(pq, PQtransactionStatus,AC_DEFINE(HAVE_PGTRANSACTIONSTATUS,1,[PostgreSQL 7.4 or later]))
   AC_CHECK_LIB(pq, pg_encoding_to_char,AC_DEFINE(HAVE_PGSQL_WITH_MULTIBYTE_SUPPORT,1,[Whether libpq is compiled with --enable-multibye]))
   LIBS=$old_LIBS
   LDFLAGS=$old_LDFLAGS