cvs: php-src(PHP_4_4) /ext/pgsql config.m4
| From: | Jani Taskinen | Date: | Thu, 05 Jan 2006 21:53:30 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/pgsql config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36424@lists.php.net to get a copy of this message | ||
sniper Thu Jan 5 21:53:30 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/pgsql config.m4
Log:
MFH: - Fixed bug #35911 (HAVE_PG_CONFIG_H set incorrectly)
http://cvs.php.net/viewcvs.cgi/php-src/ext/pgsql/config.m4?r1=1.34.4.2.2.2&r2=1.34.4.2.2.3&diff_format=u
Index: php-src/ext/pgsql/config.m4
diff -u php-src/ext/pgsql/config.m4:1.34.4.2.2.2 php-src/ext/pgsql/config.m4:1.34.4.2.2.3
--- php-src/ext/pgsql/config.m4:1.34.4.2.2.2 Sun Jul 24 23:11:45 2005
+++ php-src/ext/pgsql/config.m4 Thu Jan 5 21:53:30 2006
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.34.4.2.2.2 2005/07/24 23:11:45 yohgaki Exp $
+dnl $Id: config.m4,v 1.34.4.2.2.3 2006/01/05 21:53:30 sniper Exp $
dnl
AC_DEFUN([PHP_PGSQL_CHECK_FUNCTIONS],[
@@ -24,7 +24,9 @@
AC_MSG_RESULT([$PG_CONFIG])
PGSQL_INCLUDE=
$PG_CONFIG --includedir
PGSQL_LIBDIR=$PG_CONFIG --libdir
- AC_DEFINE(HAVE_PG_CONFIG_H,1,[Whether to have pg_config.h])
+ if test -r "$PGSQL_INCLUDE/pg_config.h"; then
+ AC_DEFINE(HAVE_PG_CONFIG_H,1,[Whether to have pg_config.h])
+ fi
else
AC_MSG_RESULT(not found)
if test "$PHP_PGSQL" = "yes"; then