Skip to content

Commit

Permalink
Fix bug #54318 (Non-portable grep option used in PDO pgsql configurat…
Browse files Browse the repository at this point in the history
…ion).

Patch by Ben Walton <bwalton at artsci dot utoronto dot ca>.
  • Loading branch information
LawnGnome committed Mar 22, 2011
1 parent 334d2df commit c5c87c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ PHP NEWS
. Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field).
(mjh at hodginsmedia dot com, Felipe)

- PDO PostgreSQL driver:
. Fixed bug #54318 (Non-portable grep option used in PDO pgsql
configuration). (bwalton at artsci dot utoronto dot ca)

- SOAP extension:
. Fixed bug #54312 (soap_version logic bug). (tom at samplonius dot org)

Expand Down
3 changes: 2 additions & 1 deletion ext/pdo_pgsql/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ if test "$PHP_PDO_PGSQL" != "no"; then
AC_DEFINE(HAVE_PDO_PGSQL,1,[Whether to build PostgreSQL for PDO support or not])

AC_MSG_CHECKING([for openssl dependencies])
if grep -q openssl $PGSQL_INCLUDE/libpq-fe.h ; then
grep openssl $PGSQL_INCLUDE/libpq-fe.h >/dev/null 2>&1
if test $? -eq 0 ; then
AC_MSG_RESULT([yes])
dnl First try to find pkg-config
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
Expand Down

0 comments on commit c5c87c5

Please sign in to comment.