[svn-commits] file: trunk r41505 - in /trunk: acinclude.m4 configure configure.ac

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Aug 30 18:48:05 MST 2006


Author: file
Date: Wed Aug 30 20:48:04 2006
New Revision: 41505

URL: http://svn.digium.com/view/asterisk?rev=41505&view=rev
Log:
Update configure script to check for Zaptel VLDTMF support since this will now be required. If you build and don't have Zap stuff, upgrade your zaptel copy. As well - change some minor things so that we get "checking for" and not "checking checking for".

Modified:
    trunk/acinclude.m4
    trunk/configure
    trunk/configure.ac

Modified: trunk/acinclude.m4
URL: http://svn.digium.com/view/asterisk/trunk/acinclude.m4?rev=41505&r1=41504&r2=41505&view=diff
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Wed Aug 30 20:48:04 2006
@@ -2,7 +2,7 @@
 
 AC_DEFUN([AST_GCC_ATTRIBUTE],
 [
-AC_MSG_CHECKING(checking for compiler 'attribute $1' support)
+AC_MSG_CHECKING(for compiler 'attribute $1' support)
 AC_COMPILE_IFELSE(
 	AC_LANG_PROGRAM([static int __attribute__(($1)) test(void) {}],
 			[]),

Modified: trunk/configure
URL: http://svn.digium.com/view/asterisk/trunk/configure?rev=41505&r1=41504&r2=41505&view=diff
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Aug 30 20:48:04 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 41133 .
+# From configure.ac Revision: 41181 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.60.
 #
@@ -13546,8 +13546,8 @@
 done
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler atomic operations" >&5
-echo $ECHO_N "checking checking for compiler atomic operations... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler atomic operations" >&5
+echo $ECHO_N "checking for compiler atomic operations... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13617,8 +13617,8 @@
       conftest$ac_exeext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler 'attribute pure' support" >&5
-echo $ECHO_N "checking checking for compiler 'attribute pure' support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler 'attribute pure' support" >&5
+echo $ECHO_N "checking for compiler 'attribute pure' support... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13686,8 +13686,8 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler 'attribute malloc' support" >&5
-echo $ECHO_N "checking checking for compiler 'attribute malloc' support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler 'attribute malloc' support" >&5
+echo $ECHO_N "checking for compiler 'attribute malloc' support... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13755,8 +13755,8 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler 'attribute const' support" >&5
-echo $ECHO_N "checking checking for compiler 'attribute const' support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler 'attribute const' support" >&5
+echo $ECHO_N "checking for compiler 'attribute const' support... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13824,8 +13824,8 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler 'attribute unused' support" >&5
-echo $ECHO_N "checking checking for compiler 'attribute unused' support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler 'attribute unused' support" >&5
+echo $ECHO_N "checking for compiler 'attribute unused' support... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13893,8 +13893,8 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for compiler 'attribute always_inline' support" >&5
-echo $ECHO_N "checking checking for compiler 'attribute always_inline' support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for compiler 'attribute always_inline' support" >&5
+echo $ECHO_N "checking for compiler 'attribute always_inline' support... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -13962,8 +13962,8 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
-{ echo "$as_me:$LINENO: checking checking for -ffunction-sections support" >&5
-echo $ECHO_N "checking checking for -ffunction-sections support... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for -ffunction-sections support" >&5
+echo $ECHO_N "checking for -ffunction-sections support... $ECHO_C" >&6; }
 saved_CFLAGS="${CFLAGS}"
 CFLAGS="${CFLAGS} -ffunction-sections"
 cat >conftest.$ac_ext <<_ACEOF
@@ -14019,8 +14019,8 @@
 echo "${ECHO_T}yes" >&6; }
 	saved_LDFLAGS="${LDFLAGS}"
 	LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
-	{ echo "$as_me:$LINENO: checking checking for --gc-sections support" >&5
-echo $ECHO_N "checking checking for --gc-sections support... $ECHO_C" >&6; }
+	{ echo "$as_me:$LINENO: checking for --gc-sections support" >&5
+echo $ECHO_N "checking for --gc-sections support... $ECHO_C" >&6; }
 	cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -14100,8 +14100,8 @@
 
 
 
-{ echo "$as_me:$LINENO: checking checking for res_ninit" >&5
-echo $ECHO_N "checking checking for res_ninit... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for res_ninit" >&5
+echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -14170,8 +14170,8 @@
 rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 
-{ echo "$as_me:$LINENO: checking checking for RTLD_NOLOAD" >&5
-echo $ECHO_N "checking checking for RTLD_NOLOAD... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for RTLD_NOLOAD" >&5
+echo $ECHO_N "checking for RTLD_NOLOAD... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -16869,8 +16869,8 @@
    if test "${IMAP_TK_DIR}" = ""; then
       IMAP_TK_DIR=`pwd`"/../imap-2004g"
    fi
-   { echo "$as_me:$LINENO: checking checking for UW IMAP Toolkit c-client library" >&5
-echo $ECHO_N "checking checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
+echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
    if test -f ${IMAP_TK_DIR}/c-client/LDFLAGS ; then
@@ -17142,8 +17142,8 @@
 
 
 if test "${USE_KDE}" != "no"; then
-   { echo "$as_me:$LINENO: checking checking for crashHandler in -lkdecore" >&5
-echo $ECHO_N "checking checking for crashHandler in -lkdecore... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for crashHandler in -lkdecore" >&5
+echo $ECHO_N "checking for crashHandler in -lkdecore... $ECHO_C" >&6; }
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include"
@@ -23899,8 +23899,8 @@
 
 PLATFORM_PTLIB="ptlib_${OSTYPE}_${MACHTYPE}_r"
 if test "${USE_PWLIB}" != "no"; then
-   { echo "$as_me:$LINENO: checking checking for existence of pwlib" >&5
-echo $ECHO_N "checking checking for existence of pwlib... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for existence of pwlib" >&5
+echo $ECHO_N "checking for existence of pwlib... $ECHO_C" >&6; }
 
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
@@ -24012,8 +24012,8 @@
 
 
 if test "${USE_QT}" != "no"; then
-   { echo "$as_me:$LINENO: checking checking for QDate in -lqt" >&5
-echo $ECHO_N "checking checking for QDate in -lqt... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
+echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    if test "x${QT_DIR}" != "x"; then
@@ -28469,8 +28469,8 @@
 
 
 if test "${USE_VPB}" != "no"; then
-   { echo "$as_me:$LINENO: checking checking for vpb_open in -lvpb" >&5
-echo $ECHO_N "checking checking for vpb_open in -lvpb... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
+echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    if test "x${VPB_DIR}" != "x"; then
@@ -29046,8 +29046,8 @@
 
 
 if test "${USE_ZAPTEL}" != "no"; then
-   { echo "$as_me:$LINENO: checking checking for zt_transcode_header in zaptel.h" >&5
-echo $ECHO_N "checking checking for zt_transcode_header in zaptel.h... $ECHO_C" >&6; }
+   { echo "$as_me:$LINENO: checking for ZT_TONE_DTMF_BASE in zaptel.h" >&5
+echo $ECHO_N "checking for ZT_TONE_DTMF_BASE in zaptel.h... $ECHO_C" >&6; }
    saved_cppflags="${CPPFLAGS}"
    if test "x${ZAPTEL_DIR}" != "x"; then
       CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
@@ -29063,7 +29063,7 @@
 int
 main ()
 {
-struct zt_transcode_header test;
+int foo = ZT_TONE_DTMF_BASE;
   ;
   return 0;
 }

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?rev=41505&r1=41504&r2=41505&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Aug 30 20:48:04 2006
@@ -241,7 +241,7 @@
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strcasecmp strchr strcspn strdup strerror strncasecmp strndup strnlen strrchr strsep strspn strstr strtol unsetenv utime strtoq strcasestr asprintf vasprintf])
 
-AC_MSG_CHECKING(checking for compiler atomic operations)
+AC_MSG_CHECKING(for compiler atomic operations)
 AC_LINK_IFELSE(
 AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);]),
 AC_MSG_RESULT(yes)
@@ -255,7 +255,7 @@
 AST_GCC_ATTRIBUTE(unused)
 AST_GCC_ATTRIBUTE(always_inline)
 
-AC_MSG_CHECKING(checking for -ffunction-sections support)
+AC_MSG_CHECKING(for -ffunction-sections support)
 saved_CFLAGS="${CFLAGS}"
 CFLAGS="${CFLAGS} -ffunction-sections"
 AC_COMPILE_IFELSE(
@@ -263,7 +263,7 @@
 	AC_MSG_RESULT(yes)
 	[saved_LDFLAGS="${LDFLAGS}"]
 	[LDFLAGS="${LDFLAGS} -Wl,--gc-sections"]
-	AC_MSG_CHECKING(checking for --gc-sections support)
+	AC_MSG_CHECKING(for --gc-sections support)
 	AC_LINK_IFELSE(
 		AC_LANG_PROGRAM([], [int x = 1;]),
 		AC_MSG_RESULT(yes)
@@ -278,7 +278,7 @@
 AC_SUBST(GC_CFLAGS)
 AC_SUBST(GC_LDFLAGS)
 
-AC_MSG_CHECKING(checking for res_ninit)
+AC_MSG_CHECKING(for res_ninit)
 AC_LINK_IFELSE(
 	AC_LANG_PROGRAM([#include <resolv.h>],
 			[int foo = res_ninit(NULL);]),
@@ -287,7 +287,7 @@
 	AC_MSG_RESULT(no)
 )
 
-AC_MSG_CHECKING(checking for RTLD_NOLOAD)
+AC_MSG_CHECKING(for RTLD_NOLOAD)
 AC_LINK_IFELSE(
 	AC_LANG_PROGRAM([#include <dlfcn.h>],
 			[int foo = RTLD_NOLOAD;]),
@@ -355,7 +355,7 @@
    if test "${IMAP_TK_DIR}" = ""; then
       IMAP_TK_DIR=`pwd`"/../imap-2004g"
    fi
-   AC_MSG_CHECKING(checking for UW IMAP Toolkit c-client library)
+   AC_MSG_CHECKING(for UW IMAP Toolkit c-client library)
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
    if test -f ${IMAP_TK_DIR}/c-client/LDFLAGS ; then
@@ -501,7 +501,7 @@
 AC_LANG_PUSH(C++)
 
 if test "${USE_KDE}" != "no"; then
-   AC_MSG_CHECKING(checking for crashHandler in -lkdecore)
+   AC_MSG_CHECKING(for crashHandler in -lkdecore)
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include"
@@ -682,7 +682,7 @@
 
 PLATFORM_PTLIB="ptlib_${OSTYPE}_${MACHTYPE}_r"
 if test "${USE_PWLIB}" != "no"; then
-   AC_MSG_CHECKING(checking for existence of pwlib)
+   AC_MSG_CHECKING(for existence of pwlib)
 	
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
@@ -726,7 +726,7 @@
 AC_LANG_PUSH(C++)
 
 if test "${USE_QT}" != "no"; then
-   AC_MSG_CHECKING(checking for QDate in -lqt)
+   AC_MSG_CHECKING(for QDate in -lqt)
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    if test "x${QT_DIR}" != "x"; then
@@ -833,7 +833,7 @@
 AC_LANG_PUSH(C++)
 
 if test "${USE_VPB}" != "no"; then
-   AC_MSG_CHECKING(checking for vpb_open in -lvpb)
+   AC_MSG_CHECKING(for vpb_open in -lvpb)
    saved_libs="${LIBS}"
    saved_cppflags="${CPPFLAGS}"
    if test "x${VPB_DIR}" != "x"; then
@@ -883,7 +883,7 @@
 AST_EXT_LIB_CHECK([ZLIB], [z], [compress], [zlib.h])
 
 if test "${USE_ZAPTEL}" != "no"; then
-   AC_MSG_CHECKING(checking for zt_transcode_header in zaptel.h)
+   AC_MSG_CHECKING(for ZT_TONE_DTMF_BASE in zaptel.h)
    saved_cppflags="${CPPFLAGS}"
    if test "x${ZAPTEL_DIR}" != "x"; then
       CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
@@ -892,7 +892,7 @@
 	[
 	AC_LANG_PROGRAM(
 	[#include <zaptel/zaptel.h>],
-	[struct zt_transcode_header test;])
+	[int foo = ZT_TONE_DTMF_BASE;])
 	],
 	[	AC_MSG_RESULT(yes) 
 		ac_cv_zaptel_h="yes" 



More information about the svn-commits mailing list