cvs: php-src(PHP_5_1) /ext/pgsql config.m4

From: Date: Thu, 05 Jan 2006 21:53:19 +0000
Subject: cvs: php-src(PHP_5_1) /ext/pgsql config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36423@lists.php.net to get a copy of this message
sniper Thu Jan 5 21:53:19 2006 UTC Modified files: (Branch: PHP_5_1) /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.46&r2=1.46.2.1&diff_format=u Index: php-src/ext/pgsql/config.m4 diff -u php-src/ext/pgsql/config.m4:1.46 php-src/ext/pgsql/config.m4:1.46.2.1 --- php-src/ext/pgsql/config.m4:1.46 Fri Jul 22 22:00:55 2005 +++ php-src/ext/pgsql/config.m4 Thu Jan 5 21:53:19 2006 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.46 2005/07/22 22:00:55 sniper Exp $ +dnl $Id: config.m4,v 1.46.2.1 2006/01/05 21:53:19 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

« previous php.cvs (#36423) next »