#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for lcr 1.7.
+# Generated by GNU Autoconf 2.65 for lcr 1.8.
#
# Report bugs to <andreas@eversberg.eu>.
#
# Identity of this package.
PACKAGE_NAME='lcr'
PACKAGE_TARNAME='lcr'
-PACKAGE_VERSION='1.7'
-PACKAGE_STRING='lcr 1.7'
+PACKAGE_VERSION='1.8'
+PACKAGE_STRING='lcr 1.8'
PACKAGE_BUGREPORT='andreas@eversberg.eu'
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures lcr 1.7 to adapt to many kinds of systems.
+\`configure' configures lcr 1.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of lcr 1.7:";;
+ short | recursive ) echo "Configuration of lcr 1.8:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-lcr configure 1.7
+lcr configure 1.8
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by lcr $as_me 1.7, which was
+It was created by lcr $as_me 1.8, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE=lcr
- VERSION=1.7
+ VERSION=1.8
cat >>confdefs.h <<_ACEOF
if test "x$with_asterisk" = "xyes"; then
ast_tone_zone_sound=
+ ast_1_8_or_higher=
{ $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; }
See \`config.log' for more details." "$LINENO" 5; }
fi
- AST_CFLAGS="-Dtone_zone_sound=$ast_tone_zone_sound"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ast_party_caller in asterisk/channel.h" >&5
+$as_echo_n "checking for struct ast_party_caller in asterisk/channel.h... " >&6; }
+ apc_test_result=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <asterisk.h>,
+ #include <asterisk/channel.h>
+int
+main ()
+{
+struct ast_party_caller * caller = NULL; (void) caller->id;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ apc_test_result=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apc_test_result" >&5
+$as_echo "$apc_test_result" >&6; }
+
+ if test "x$apc_test_result" = "xyes"; then
+ ast_1_8_or_higher="-DAST_1_8_OR_HIGHER"
+ fi
+
+ AST_CFLAGS="-Dtone_zone_sound=$ast_tone_zone_sound $ast_1_8_or_higher"
+
fi
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by lcr $as_me 1.7, which was
+This file was extended by lcr $as_me 1.8, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-lcr config.status 1.7
+lcr config.status 1.8
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"