mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 22:30:28 +00:00
Merged revisions 109451 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r109451 | kpfleming | 2008-03-18 10:50:29 -0500 (Tue, 18 Mar 2008) | 2 lines ensure that dependencies on AST_C_DEFINE_CHECK symbols work properly ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -92,7 +92,7 @@ AC_DEFUN([AST_CHECK_MANDATORY],
|
|||||||
# AST_C_DEFINE_CHECK([package], [macro name], [header file], [version])
|
# AST_C_DEFINE_CHECK([package], [macro name], [header file], [version])
|
||||||
AC_DEFUN([AST_C_DEFINE_CHECK],
|
AC_DEFUN([AST_C_DEFINE_CHECK],
|
||||||
[
|
[
|
||||||
if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
|
if test "x${PBX_$1}" != "x1"; then
|
||||||
AC_MSG_CHECKING([for $2 in $3])
|
AC_MSG_CHECKING([for $2 in $3])
|
||||||
saved_cppflags="${CPPFLAGS}"
|
saved_cppflags="${CPPFLAGS}"
|
||||||
if test "x${$1_DIR}" != "x"; then
|
if test "x${$1_DIR}" != "x"; then
|
||||||
@@ -118,6 +118,7 @@ AC_DEFUN([AST_C_DEFINE_CHECK],
|
|||||||
)
|
)
|
||||||
CPPFLAGS="${saved_cppflags}"
|
CPPFLAGS="${saved_cppflags}"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(PBX_$1)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1178,6 +1178,9 @@
|
|||||||
#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