1
0
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:
Jouni Ahto
2000-07-05 21:28:16 +00:00
parent 37de6635b4
commit bcb7639fb3
+1 -1
View File
@@ -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"