X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=configure;h=4c24728844cbd596d67bf8fb175929d628792fc8;hp=5ccc9cf686efafdd5c64d886ddf7b2f14d32cc84;hb=da91d7d85fe092122e35ece52695f98345738359;hpb=8a4387be03a34632a6c0cc1d997c74d98f2fb1ae diff --git a/configure b/configure index 5ccc9cf..4c24728 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /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 . # @@ -552,8 +552,8 @@ MAKEFLAGS= # 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='' @@ -1260,7 +1260,7 @@ if test "$ac_init_help" = "long"; then # 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]... @@ -1326,7 +1326,7 @@ fi 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 @@ -1430,7 +1430,7 @@ fi 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. @@ -1893,7 +1893,7 @@ cat >config.log <<_ACEOF 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 $@ @@ -4022,7 +4022,7 @@ fi # Define the identity of the package. PACKAGE=lcr - VERSION=1.7 + VERSION=1.8 cat >>confdefs.h <<_ACEOF @@ -5326,6 +5326,7 @@ fi 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; } @@ -5392,7 +5393,35 @@ 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" + { $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 , + #include +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 @@ -7682,7 +7711,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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 @@ -7748,7 +7777,7 @@ _ACEOF 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\\"