[asterisk-commits] kpfleming: branch 1.4 r132704 - /branches/1.4/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 22 15:49:42 CDT 2008
Author: kpfleming
Date: Tue Jul 22 15:49:41 2008
New Revision: 132704
URL: http://svn.digium.com/view/asterisk?view=rev&rev=132704
Log:
make AST_C_COMPILE_CHECK able to print a 'pretty' description of what it is doing
Modified:
branches/1.4/acinclude.m4
branches/1.4/configure
branches/1.4/configure.ac
Modified: branches/1.4/acinclude.m4
URL: http://svn.digium.com/view/asterisk/branches/1.4/acinclude.m4?view=diff&rev=132704&r1=132703&r2=132704
==============================================================================
--- branches/1.4/acinclude.m4 (original)
+++ branches/1.4/acinclude.m4 Tue Jul 22 15:49:41 2008
@@ -148,11 +148,15 @@
# AST_C_COMPILE_CHECK can be used for testing for various items in header files
-# AST_C_COMPILE_CHECK([package], [expression], [header file], [version])
+# AST_C_COMPILE_CHECK([package], [expression], [header file], [version], [description])
AC_DEFUN([AST_C_COMPILE_CHECK],
[
if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
- AC_MSG_CHECKING([if "$2" compiles using $3])
+ if test "x$5" != "x"; then
+ AC_MSG_CHECKING([for $5])
+ else
+ AC_MSG_CHECKING([if "$2" compiles using $3])
+ fi
saved_cppflags="${CPPFLAGS}"
if test "x${$1_DIR}" != "x"; then
$1_INCLUDE="-I${$1_DIR}/include"
Modified: branches/1.4/configure.ac
URL: http://svn.digium.com/view/asterisk/branches/1.4/configure.ac?view=diff&rev=132704&r1=132703&r2=132704
==============================================================================
--- branches/1.4/configure.ac (original)
+++ branches/1.4/configure.ac Tue Jul 22 15:49:41 2008
@@ -444,7 +444,7 @@
fi
fi
-AST_C_COMPILE_CHECK([GETIFADDRS], [struct ifaddrs *p; getifaddrs(&p)], [ifaddrs.h])
+AST_C_COMPILE_CHECK([GETIFADDRS], [struct ifaddrs *p; getifaddrs(&p)], [ifaddrs.h], , [getifaddrs() support])
GSM_INTERNAL="yes"
AC_SUBST(GSM_INTERNAL)
More information about the asterisk-commits
mailing list