mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Merged revisions 92463 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r92463 | tilghman | 2007-12-12 10:52:56 -0600 (Wed, 12 Dec 2007) | 4 lines Test directly for the API that fixed AST-2007-026, to ensure that older versions of PostgreSQL are no longer acceptable. (Closes issue #11526) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -896,10 +896,10 @@ if test "${PG_CONFIG}" != No; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_CHECK_LIB([pq], [PQexec], AC_DEFINE_UNQUOTED([HAVE_PGSQL], 1,
|
AC_CHECK_LIB([pq], [PQescapeStringConn], AC_DEFINE_UNQUOTED([HAVE_PGSQL], 1,
|
||||||
[Define to indicate the PostgreSQL library]), [], -L${PGSQL_libdir} -lz)
|
[Define to indicate the PostgreSQL library]), [], -L${PGSQL_libdir} -lz)
|
||||||
|
|
||||||
if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
|
if test "${ac_cv_lib_pq_PQescapeStringConn}" = "yes"; then
|
||||||
PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
|
PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
|
||||||
PGSQL_INCLUDE="-I${PGSQL_includedir}"
|
PGSQL_INCLUDE="-I${PGSQL_includedir}"
|
||||||
PBX_PGSQL=1
|
PBX_PGSQL=1
|
||||||
|
@@ -1131,9 +1131,6 @@
|
|||||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
# undef _POSIX_PTHREAD_SEMANTICS
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
#endif
|
#endif
|
||||||
#ifndef _TANDEM_SOURCE
|
|
||||||
# undef _TANDEM_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define like PROTOTYPES; this can be used by system headers. */
|
/* Define like PROTOTYPES; this can be used by system headers. */
|
||||||
#undef __PROTOTYPES
|
#undef __PROTOTYPES
|
||||||
|
Reference in New Issue
Block a user