Skip to content
Snippets Groups Projects
Commit 00222ab4 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

ensure that dependencies on AST_C_DEFINE_CHECK symbols work properly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b02bc230
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ AC_DEFUN([AST_CHECK_MANDATORY],
# AST_C_DEFINE_CHECK([package], [macro name], [header file], [version])
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])
saved_cppflags="${CPPFLAGS}"
if test "x${$1_DIR}" != "x"; then
......@@ -118,6 +118,7 @@ AC_DEFUN([AST_C_DEFINE_CHECK],
)
CPPFLAGS="${saved_cppflags}"
fi
AC_SUBST(PBX_$1)
])
......
This diff is collapsed.
......@@ -1178,6 +1178,9 @@
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Define like PROTOTYPES; this can be used by system headers. */
#undef __PROTOTYPES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment