LIBCRYPTO
ENABLE_ASTERISK_CHANNEL_DRIVER_FALSE
ENABLE_ASTERISK_CHANNEL_DRIVER_TRUE
+AST_CFLAGS
am__fastdepCXX_FALSE
am__fastdepCXX_TRUE
CXXDEPMODE
fi
+if test "x$with_asterisk" = "xyes"; then
+ ast_tone_zone_sound=
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tone_zone_sound in asterisk/indications.h" >&5
+$as_echo_n "checking for struct tone_zone_sound in asterisk/indications.h... " >&6; }
+ tzs_test_result=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <asterisk.h>,
+ #include <asterisk/linkedlists.h>,
+ #include <asterisk/indications.h>
+int
+main ()
+{
+struct tone_zone_sound * ts = NULL; (void) ts->data;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ tzs_test_result=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tzs_test_result" >&5
+$as_echo "$tzs_test_result" >&6; }
+
+ if test "x$tzs_test_result" = "xyes"; then
+ ast_tone_zone_sound=tone_zone_sound
+ fi
+
+ if test "x$ast_tone_zone_sound" = "x"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ast_tone_zone_sound in asterisk/indications.h" >&5
+$as_echo_n "checking for struct ast_tone_zone_sound in asterisk/indications.h... " >&6; }
+ tzs_test_result=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <asterisk.h>,
+ #include <asterisk/linkedlists.h>,
+ #include <asterisk/indications.h>
+int
+main ()
+{
+struct ast_tone_zone_sound * ts = NULL; (void) ts->name;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ tzs_test_result=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tzs_test_result" >&5
+$as_echo "$tzs_test_result" >&6; }
+
+ if test "x$tzs_test_result" = "xyes"; then
+ ast_tone_zone_sound=ast_tone_zone_sound
+ fi
+ fi
+
+ if test "x$ast_tone_zone_sound" = "x"; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "No ast_tone_zone_sound, confused...
+See \`config.log' for more details." "$LINENO" 5; }
+ fi
+
+ AST_CFLAGS="-Dtone_zone_sound=$ast_tone_zone_sound"
+
+fi
+
if test "x$with_asterisk" == "xyes" ; then