mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
- Test pg_encoding_to_char instead (it's existence in libpq means that
PostgreSQL was compiled with multibyte support and client encoding functions do something meaningful). Fixes #5417.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ if test "$PHP_PGSQL" != "no"; then
|
||||
LDFLAGS="$LDFLAGS -L$PGSQL_LIBDIR"
|
||||
AC_CHECK_LIB(pq, PQcmdTuples,AC_DEFINE(HAVE_PQCMDTUPLES,1,[ ]))
|
||||
AC_CHECK_LIB(pq, PQoidValue,AC_DEFINE(HAVE_PQOIDVALUE,1,[ ]))
|
||||
AC_CHECK_LIB(pq, PQclientEncoding,AC_DEFINE(HAVE_PQCLIENTENCODING,1,[ ]))
|
||||
AC_CHECK_LIB(pq, pg_encoding_to_char,AC_DEFINE(HAVE_PQCLIENTENCODING,1,[ ]))
|
||||
LIBS="$old_LIBS"
|
||||
LDFLAGS="$old_LDFLAGS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user