[asterisk-commits] russell: branch russell/events r81127 - in /team/russell/events: ./ include/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 27 16:24:40 CDT 2007


Author: russell
Date: Mon Aug 27 16:24:39 2007
New Revision: 81127

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81127
Log:
regen configure

Modified:
    team/russell/events/configure
    team/russell/events/include/asterisk/autoconfig.h.in

Modified: team/russell/events/configure
URL: http://svn.digium.com/view/asterisk/team/russell/events/configure?view=diff&rev=81127&r1=81126&r2=81127
==============================================================================
--- team/russell/events/configure (original)
+++ team/russell/events/configure Mon Aug 27 16:24:39 2007
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 78683 .
+# From configure.ac Revision: 81126 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
@@ -837,6 +837,14 @@
 RADIUS_INCLUDE
 RADIUS_DIR
 PBX_RADIUS
+SACLM_LIB
+SACLM_INCLUDE
+SACLM_DIR
+PBX_SACLM
+SAEVT_LIB
+SAEVT_INCLUDE
+SAEVT_DIR
+PBX_SAEVT
 SPEEX_LIB
 SPEEX_INCLUDE
 SPEEX_DIR
@@ -1556,6 +1564,8 @@
   --with-h323=PATH        use OpenH323 files in PATH
   --with-qt=PATH          use Qt files in PATH
   --with-radius=PATH      use Radius Client files in PATH
+  --with-SaClm=PATH       use SAForum AIS CLM files in PATH
+  --with-SaEvt=PATH       use SAForum AIS EVT files in PATH
   --with-speex=PATH       use Speex files in PATH
   --with-sqlite=PATH      use SQLite files in PATH
   --with-sqlite3=PATH     use SQLite files in PATH
@@ -8490,6 +8500,62 @@
 fi
 
 PBX_RADIUS=0
+
+
+
+
+
+
+SACLM_DESCRIP="SAForum AIS CLM"
+SACLM_OPTION="SaClm"
+
+# Check whether --with-SaClm was given.
+if test "${with_SaClm+set}" = set; then
+  withval=$with_SaClm;
+case ${withval} in
+     n|no)
+     USE_SACLM=no
+     ;;
+     y|ye|yes)
+     ac_mandatory_list="${ac_mandatory_list} SACLM"
+     ;;
+     *)
+     SACLM_DIR="${withval}"
+     ac_mandatory_list="${ac_mandatory_list} SACLM"
+     ;;
+esac
+
+fi
+
+PBX_SACLM=0
+
+
+
+
+
+
+SAEVT_DESCRIP="SAForum AIS EVT"
+SAEVT_OPTION="SaEvt"
+
+# Check whether --with-SaEvt was given.
+if test "${with_SaEvt+set}" = set; then
+  withval=$with_SaEvt;
+case ${withval} in
+     n|no)
+     USE_SAEVT=no
+     ;;
+     y|ye|yes)
+     ac_mandatory_list="${ac_mandatory_list} SAEVT"
+     ;;
+     *)
+     SAEVT_DIR="${withval}"
+     ac_mandatory_list="${ac_mandatory_list} SAEVT"
+     ;;
+esac
+
+fi
+
+PBX_SAEVT=0
 
 
 
@@ -32893,6 +32959,787 @@
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_RADIUS_VERSION
+_ACEOF
+
+      fi
+   fi
+fi
+
+
+
+if test "x${PBX_SACLM}" != "x1" -a "${USE_SACLM}" != "no"; then
+   pbxlibdir=""
+   if test "x${SACLM_DIR}" != "x"; then
+      if test -d ${SACLM_DIR}/lib; then
+      	 pbxlibdir="-L${SACLM_DIR}/lib"
+      else
+      	 pbxlibdir="-L${SACLM_DIR}"
+      fi
+   fi
+   pbxfuncname="saClmInitialize"
+   if test "x${pbxfuncname}" = "x" ; then   # empty lib, assume only headers
+      AST_SACLM_FOUND=yes
+   else
+      as_ac_Lib=`echo "ac_cv_lib_SaClm_${pbxfuncname}" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for ${pbxfuncname} in -lSaClm" >&5
+echo $ECHO_N "checking for ${pbxfuncname} in -lSaClm... $ECHO_C" >&6; }
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lSaClm ${pbxlibdir}  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ${pbxfuncname} ();
+int
+main ()
+{
+return ${pbxfuncname} ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
+  eval "$as_ac_Lib=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	eval "$as_ac_Lib=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+ac_res=`eval echo '${'$as_ac_Lib'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+  AST_SACLM_FOUND=yes
+else
+  AST_SACLM_FOUND=no
+fi
+
+   fi
+
+   if test "${AST_SACLM_FOUND}" = "yes"; then
+      SACLM_LIB="-lSaClm "
+      SACLM_HEADER_FOUND="1"
+      if test "x${SACLM_DIR}" != "x"; then
+         SACLM_LIB="${pbxlibdir} ${SACLM_LIB}"
+	 SACLM_INCLUDE="-I${SACLM_DIR}/include"
+	 saved_cppflags="${CPPFLAGS}"
+	 CPPFLAGS="${CPPFLAGS} -I${SACLM_DIR}/include"
+	 if test "xopenais/saClm.h" != "x" ; then
+	    as_ac_Header=`echo "ac_cv_header_${SACLM_DIR}/include/openais/saClm.h" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  { echo "$as_me:$LINENO: checking for ${SACLM_DIR}/include/openais/saClm.h" >&5
+echo $ECHO_N "checking for ${SACLM_DIR}/include/openais/saClm.h... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking ${SACLM_DIR}/include/openais/saClm.h usability" >&5
+echo $ECHO_N "checking ${SACLM_DIR}/include/openais/saClm.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <${SACLM_DIR}/include/openais/saClm.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking ${SACLM_DIR}/include/openais/saClm.h presence" >&5
+echo $ECHO_N "checking ${SACLM_DIR}/include/openais/saClm.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <${SACLM_DIR}/include/openais/saClm.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SACLM_DIR}/include/openais/saClm.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: ${SACLM_DIR}/include/openais/saClm.h: in the future, the compiler will take precedence" >&2;}
+
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for ${SACLM_DIR}/include/openais/saClm.h" >&5
+echo $ECHO_N "checking for ${SACLM_DIR}/include/openais/saClm.h... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  SACLM_HEADER_FOUND=1
+else
+  SACLM_HEADER_FOUND=0
+fi
+
+
+	 fi
+	 CPPFLAGS="${saved_cppflags}"
+      else
+	 if test "xopenais/saClm.h" != "x" ; then
+            if test "${ac_cv_header_openais_saClm_h+set}" = set; then
+  { echo "$as_me:$LINENO: checking for openais/saClm.h" >&5
+echo $ECHO_N "checking for openais/saClm.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_openais_saClm_h+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_openais_saClm_h" >&5
+echo "${ECHO_T}$ac_cv_header_openais_saClm_h" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking openais/saClm.h usability" >&5
+echo $ECHO_N "checking openais/saClm.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <openais/saClm.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking openais/saClm.h presence" >&5
+echo $ECHO_N "checking openais/saClm.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <openais/saClm.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: openais/saClm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: openais/saClm.h: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: openais/saClm.h: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: openais/saClm.h:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: openais/saClm.h: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: openais/saClm.h:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: openais/saClm.h: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saClm.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: openais/saClm.h: in the future, the compiler will take precedence" >&2;}
+
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for openais/saClm.h" >&5
+echo $ECHO_N "checking for openais/saClm.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_openais_saClm_h+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_header_openais_saClm_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_openais_saClm_h" >&5
+echo "${ECHO_T}$ac_cv_header_openais_saClm_h" >&6; }
+
+fi
+if test $ac_cv_header_openais_saClm_h = yes; then
+  SACLM_HEADER_FOUND=1
+else
+  SACLM_HEADER_FOUND=0
+fi
+
+
+	 fi
+      fi
+      if test "x${SACLM_HEADER_FOUND}" = "x0" ; then
+         SACLM_LIB=""
+         SACLM_INCLUDE=""
+      else
+         if test "x${pbxfuncname}" = "x" ; then		# only checking headers -> no library
+	    SACLM_LIB=""
+	 fi
+         PBX_SACLM=1
+         # XXX don't know how to evaluate the description (third argument) in AC_DEFINE_UNQUOTED
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SACLM 1
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SACLM_VERSION
+_ACEOF
+
+      fi
+   fi
+fi
+
+
+if test "x${PBX_SAEVT}" != "x1" -a "${USE_SAEVT}" != "no"; then
+   pbxlibdir=""
+   if test "x${SAEVT_DIR}" != "x"; then
+      if test -d ${SAEVT_DIR}/lib; then
+      	 pbxlibdir="-L${SAEVT_DIR}/lib"
+      else
+      	 pbxlibdir="-L${SAEVT_DIR}"
+      fi
+   fi
+   pbxfuncname="saEvtInitialize"
+   if test "x${pbxfuncname}" = "x" ; then   # empty lib, assume only headers
+      AST_SAEVT_FOUND=yes
+   else
+      as_ac_Lib=`echo "ac_cv_lib_SaEvt_${pbxfuncname}" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for ${pbxfuncname} in -lSaEvt" >&5
+echo $ECHO_N "checking for ${pbxfuncname} in -lSaEvt... $ECHO_C" >&6; }
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lSaEvt ${pbxlibdir}  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ${pbxfuncname} ();
+int
+main ()
+{
+return ${pbxfuncname} ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
+  eval "$as_ac_Lib=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	eval "$as_ac_Lib=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+ac_res=`eval echo '${'$as_ac_Lib'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+  AST_SAEVT_FOUND=yes
+else
+  AST_SAEVT_FOUND=no
+fi
+
+   fi
+
+   if test "${AST_SAEVT_FOUND}" = "yes"; then
+      SAEVT_LIB="-lSaEvt "
+      SAEVT_HEADER_FOUND="1"
+      if test "x${SAEVT_DIR}" != "x"; then
+         SAEVT_LIB="${pbxlibdir} ${SAEVT_LIB}"
+	 SAEVT_INCLUDE="-I${SAEVT_DIR}/include"
+	 saved_cppflags="${CPPFLAGS}"
+	 CPPFLAGS="${CPPFLAGS} -I${SAEVT_DIR}/include"
+	 if test "xopenais/saEvt.h" != "x" ; then
+	    as_ac_Header=`echo "ac_cv_header_${SAEVT_DIR}/include/openais/saEvt.h" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  { echo "$as_me:$LINENO: checking for ${SAEVT_DIR}/include/openais/saEvt.h" >&5
+echo $ECHO_N "checking for ${SAEVT_DIR}/include/openais/saEvt.h... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking ${SAEVT_DIR}/include/openais/saEvt.h usability" >&5
+echo $ECHO_N "checking ${SAEVT_DIR}/include/openais/saEvt.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <${SAEVT_DIR}/include/openais/saEvt.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking ${SAEVT_DIR}/include/openais/saEvt.h presence" >&5
+echo $ECHO_N "checking ${SAEVT_DIR}/include/openais/saEvt.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <${SAEVT_DIR}/include/openais/saEvt.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: ${SAEVT_DIR}/include/openais/saEvt.h: in the future, the compiler will take precedence" >&2;}
+
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for ${SAEVT_DIR}/include/openais/saEvt.h" >&5
+echo $ECHO_N "checking for ${SAEVT_DIR}/include/openais/saEvt.h... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+  SAEVT_HEADER_FOUND=1
+else
+  SAEVT_HEADER_FOUND=0
+fi
+
+
+	 fi
+	 CPPFLAGS="${saved_cppflags}"
+      else
+	 if test "xopenais/saEvt.h" != "x" ; then
+            if test "${ac_cv_header_openais_saEvt_h+set}" = set; then
+  { echo "$as_me:$LINENO: checking for openais/saEvt.h" >&5
+echo $ECHO_N "checking for openais/saEvt.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_openais_saEvt_h+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_openais_saEvt_h" >&5
+echo "${ECHO_T}$ac_cv_header_openais_saEvt_h" >&6; }
+else
+  # Is the header compilable?
+{ echo "$as_me:$LINENO: checking openais/saEvt.h usability" >&5
+echo $ECHO_N "checking openais/saEvt.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+$ac_includes_default
+#include <openais/saEvt.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_header_compiler=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking openais/saEvt.h presence" >&5
+echo $ECHO_N "checking openais/saEvt.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <openais/saEvt.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
+  ac_header_preproc=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+  yes:no: )
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: openais/saEvt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: openais/saEvt.h: proceeding with the compiler's result" >&2;}
+    ac_header_preproc=yes
+    ;;
+  no:yes:* )
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: openais/saEvt.h: present but cannot be compiled" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h:     check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: openais/saEvt.h:     check for missing prerequisite headers?" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: openais/saEvt.h: see the Autoconf documentation" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h:     section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: openais/saEvt.h:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: openais/saEvt.h: proceeding with the preprocessor's result" >&2;}
+    { echo "$as_me:$LINENO: WARNING: openais/saEvt.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: openais/saEvt.h: in the future, the compiler will take precedence" >&2;}
+
+    ;;
+esac
+{ echo "$as_me:$LINENO: checking for openais/saEvt.h" >&5
+echo $ECHO_N "checking for openais/saEvt.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_openais_saEvt_h+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_header_openais_saEvt_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_openais_saEvt_h" >&5
+echo "${ECHO_T}$ac_cv_header_openais_saEvt_h" >&6; }
+
+fi
+if test $ac_cv_header_openais_saEvt_h = yes; then
+  SAEVT_HEADER_FOUND=1
+else
+  SAEVT_HEADER_FOUND=0
+fi
+
+
+	 fi
+      fi
+      if test "x${SAEVT_HEADER_FOUND}" = "x0" ; then
+         SAEVT_LIB=""
+         SAEVT_INCLUDE=""
+      else
+         if test "x${pbxfuncname}" = "x" ; then		# only checking headers -> no library
+	    SAEVT_LIB=""
+	 fi
+         PBX_SAEVT=1
+         # XXX don't know how to evaluate the description (third argument) in AC_DEFINE_UNQUOTED
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SAEVT 1
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SAEVT_VERSION
 _ACEOF
 
       fi
@@ -41652,6 +42499,14 @@
 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
 RADIUS_DIR!$RADIUS_DIR$ac_delim
 PBX_RADIUS!$PBX_RADIUS$ac_delim
+SACLM_LIB!$SACLM_LIB$ac_delim
+SACLM_INCLUDE!$SACLM_INCLUDE$ac_delim
+SACLM_DIR!$SACLM_DIR$ac_delim
+PBX_SACLM!$PBX_SACLM$ac_delim
+SAEVT_LIB!$SAEVT_LIB$ac_delim
+SAEVT_INCLUDE!$SAEVT_INCLUDE$ac_delim
+SAEVT_DIR!$SAEVT_DIR$ac_delim
+PBX_SAEVT!$PBX_SAEVT$ac_delim
 SPEEX_LIB!$SPEEX_LIB$ac_delim
 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
 SPEEX_DIR!$SPEEX_DIR$ac_delim
@@ -41717,14 +42572,6 @@
 POW_LIB!$POW_LIB$ac_delim
 GC_CFLAGS!$GC_CFLAGS$ac_delim
 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
-AST_DECLARATION_AFTER_STATEMENT!$AST_DECLARATION_AFTER_STATEMENT$ac_delim
-GSM_INTERNAL!$GSM_INTERNAL$ac_delim
-KDEINIT!$KDEINIT$ac_delim
-KDEDIR!$KDEDIR$ac_delim
-NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
-PG_CONFIG!$PG_CONFIG$ac_delim
-PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
-PWLIBDIR!$PWLIBDIR$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -41766,6 +42613,14 @@
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
+AST_DECLARATION_AFTER_STATEMENT!$AST_DECLARATION_AFTER_STATEMENT$ac_delim
+GSM_INTERNAL!$GSM_INTERNAL$ac_delim
+KDEINIT!$KDEINIT$ac_delim
+KDEDIR!$KDEDIR$ac_delim
+NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
+PG_CONFIG!$PG_CONFIG$ac_delim
+PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
+PWLIBDIR!$PWLIBDIR$ac_delim
 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
@@ -41790,7 +42645,7 @@
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

Modified: team/russell/events/include/asterisk/autoconfig.h.in
URL: http://svn.digium.com/view/asterisk/team/russell/events/include/asterisk/autoconfig.h.in?view=diff&rev=81127&r1=81126&r2=81127
==============================================================================
--- team/russell/events/include/asterisk/autoconfig.h.in (original)
+++ team/russell/events/include/asterisk/autoconfig.h.in Mon Aug 27 16:24:39 2007
@@ -459,6 +459,18 @@
 
 /* Define RTLD_NOLOAD headers version */
 #undef HAVE_RTLD_NOLOAD_VERSION
+
+/* Define this to indicate the ${SACLM_DESCRIP} library */
+#undef HAVE_SACLM
+
+/* Define to indicate the ${SACLM_DESCRIP} library version */
+#undef HAVE_SACLM_VERSION
+
+/* Define this to indicate the ${SAEVT_DESCRIP} library */
+#undef HAVE_SAEVT
+
+/* Define to indicate the ${SAEVT_DESCRIP} library version */
+#undef HAVE_SAEVT_VERSION
 
 /* Define to 1 if you have the `select' function. */
 #undef HAVE_SELECT




More information about the asterisk-commits mailing list