diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-04 01:16:26 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-04 01:16:26 +0000 |
commit | a304ab51c0a68e99957c4fe580f647a910dcba0d (patch) | |
tree | 489e8e0ec860025ea20b5f4c3ddbba44333b82f5 /configure | |
parent | bbd2b8e467973919d3e924c41df4b64a40daef71 (diff) |
Make the default install path appear to be /usr on Linux, instead of /usr/local.
Also, reorganize the options, so that they're more alphabetical.
(closes issue #17013)
Reported by: klaus3000
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@267759 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1866 |
1 files changed, 1049 insertions, 817 deletions
@@ -1,9 +1,9 @@ #! /bin/sh -# From configure.ac Revision: 259847 . +# From configure.ac Revision: 264248 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.4. # -# Report bugs to <www.asterisk.org>. +# Report bugs to <https://issues.asterisk.org>. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. @@ -579,7 +579,7 @@ PACKAGE_NAME='asterisk' PACKAGE_TARNAME='asterisk' PACKAGE_VERSION='1.4' PACKAGE_STRING='asterisk 1.4' -PACKAGE_BUGREPORT='www.asterisk.org' +PACKAGE_BUGREPORT='https://issues.asterisk.org' ac_unique_file="main/asterisk.c" # Factoring default headers for most tests. @@ -618,6 +618,9 @@ ac_includes_default="\ # include <unistd.h> #endif" +ac_default_prefix=/usr/local +ac_default_prefix=/usr/local +ac_default_prefix=/usr ac_header_list= ac_subst_vars='SHELL PATH_SEPARATOR @@ -656,6 +659,7 @@ LIBS build_alias host_alias target_alias +subdirs build build_cpu build_vendor @@ -726,10 +730,6 @@ ALSA_LIB ALSA_INCLUDE ALSA_DIR PBX_ALSA -CURL_LIB -CURL_INCLUDE -CURL_DIR -PBX_CURL CAP_LIB CAP_INCLUDE CAP_DIR @@ -750,6 +750,10 @@ GSM_LIB GSM_INCLUDE GSM_DIR PBX_GSM +OPENH323_LIB +OPENH323_INCLUDE +OPENH323_DIR +PBX_OPENH323 IKSEMEL_LIB IKSEMEL_INCLUDE IKSEMEL_DIR @@ -766,6 +770,9 @@ KDE_LIB KDE_INCLUDE KDE_DIR PBX_KDE +_libcurl_config +CURL_INCLUDE +CURL_LIB LTDL_LIB LTDL_INCLUDE LTDL_DIR @@ -798,6 +805,14 @@ OGG_LIB OGG_INCLUDE OGG_DIR PBX_OGG +OPENAIS_LIB +OPENAIS_INCLUDE +OPENAIS_DIR +PBX_OPENAIS +OPENR2_LIB +OPENR2_INCLUDE +OPENR2_DIR +PBX_OPENR2 OSPTK_LIB OSPTK_INCLUDE OSPTK_DIR @@ -830,10 +845,6 @@ PWLIB_LIB PWLIB_INCLUDE PWLIB_DIR PBX_PWLIB -OPENH323_LIB -OPENH323_INCLUDE -OPENH323_DIR -PBX_OPENH323 RADIUS_LIB RADIUS_INCLUDE RADIUS_DIR @@ -854,14 +865,14 @@ SQLITE_LIB SQLITE_INCLUDE SQLITE_DIR PBX_SQLITE -SUPPSERV_LIB -SUPPSERV_INCLUDE -SUPPSERV_DIR -PBX_SUPPSERV OPENSSL_LIB OPENSSL_INCLUDE OPENSSL_DIR PBX_OPENSSL +SUPPSERV_LIB +SUPPSERV_INCLUDE +SUPPSERV_DIR +PBX_SUPPSERV FREETDS_LIB FREETDS_INCLUDE FREETDS_DIR @@ -935,7 +946,6 @@ PKGCONFIG PBX_GTK2 GTK2_INCLUDE GTK2_LIB -_libcurl_config LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias @@ -951,7 +961,7 @@ CXX CXXFLAGS CCC CXXCPP' - +ac_subdirs_all='menuselect' # Initialize some variables set by options. ac_init_help= @@ -1533,17 +1543,18 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-asound=PATH use Advanced Linux Sound Architecture files in PATH - --with-curl=PATH use cURL files in PATH --with-cap=PATH use POSIX 1.e capabilities files in PATH --with-curses=PATH use curses files in PATH --with-dahdi=PATH use DAHDI files in PATH --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in PATH --with-gsm=PATH use GSM files in PATH , or 'internal' + --with-h323=PATH use OpenH323 files in PATH --with-iksemel=PATH use Iksemel Jabber Library files in PATH --with-imap=PATH use UW IMAP Toolkit files in PATH --with-isdnnet=PATH use ISDN4Linux Library files in PATH --with-kde=PATH use KDE files in PATH + --with-libcurl=DIR look for the curl library in DIR --with-ltdl=PATH use libtool files in PATH --with-misdn=PATH use mISDN User Library files in PATH --with-nbs=PATH use Network Broadcast Sound files in PATH @@ -1552,19 +1563,20 @@ Optional Packages: --with-newt=PATH use newt files in PATH --with-odbc=PATH use unixODBC files in PATH --with-ogg=PATH use OGG files in PATH + --with-openais=PATH use OpenAIS files in PATH + --with-openr2=PATH use MFR2 files in PATH --with-osptk=PATH use OSP Toolkit files in PATH --with-oss=PATH use Open Sound System files in PATH --with-popt=PATH use popt files in PATH --with-postgres=PATH use PostgreSQL files in PATH --with-pri=PATH use ISDN PRI files in PATH --with-pwlib=PATH use PWlib files in PATH - --with-h323=PATH use OpenH323 files in PATH --with-radius=PATH use Radius Client files in PATH --with-speex=PATH use Speex files in PATH --with-speexdsp=PATH use Speexdsp files in PATH --with-sqlite=PATH use SQLite files in PATH - --with-suppserv=PATH use mISDN Supplemental Services files in PATH --with-ssl=PATH use OpenSSL files in PATH + --with-suppserv=PATH use mISDN Supplemental Services files in PATH --with-tds=PATH use FreeTDS files in PATH --with-termcap=PATH use Termcap files in PATH --with-tinfo=PATH use Term Info files in PATH @@ -1574,7 +1586,6 @@ Optional Packages: --with-vpb=PATH use Voicetronix API files in PATH --with-z=PATH use zlib files in PATH --with-zaptel=PATH use Zaptel files in PATH - --with-libcurl=DIR look for the curl library in DIR Some influential environment variables: CC C compiler command @@ -1592,7 +1603,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to <www.asterisk.org>. +Report bugs to <https://issues.asterisk.org>. _ACEOF ac_status=$? fi @@ -2024,7 +2035,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -# cross-compile macros +# Allow the --help=recursive option to function correctly ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -2056,6 +2067,10 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. +subdirs="$subdirs menuselect" + + +# cross-compile macros # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 @@ -3885,9 +3900,9 @@ echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -4006,19 +4021,20 @@ _ACEOF case "${host_os}" in freebsd*) - ac_default_prefix=/usr/local + CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ;; darwin*) + cat >>confdefs.h <<\_ACEOF #define AST_POLL_COMPAT 1 _ACEOF ;; *) - ac_default_prefix=/usr + if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then if test ${sysconfdir} = '${prefix}/etc'; then sysconfdir=/etc @@ -7941,36 +7957,6 @@ PBX_ALSA=0 -CURL_DESCRIP="cURL" -CURL_OPTION="curl" - -# Check whether --with-curl was given. -if test "${with_curl+set}" = set; then - withval=$with_curl; -case ${withval} in - n|no) - USE_CURL=no - ;; - y|ye|yes) - CURL_MANDATORY="yes" - ;; - *) - CURL_DIR="${withval}" - CURL_MANDATORY="yes" - ;; -esac - -fi - -PBX_CURL=0 - - - - - - - - CAP_DESCRIP="POSIX 1.e capabilities" CAP_OPTION="cap" @@ -8121,6 +8107,36 @@ PBX_GSM=0 +OPENH323_DESCRIP="OpenH323" +OPENH323_OPTION="h323" + +# Check whether --with-h323 was given. +if test "${with_h323+set}" = set; then + withval=$with_h323; +case ${withval} in + n|no) + USE_OPENH323=no + ;; + y|ye|yes) + OPENH323_MANDATORY="yes" + ;; + *) + OPENH323_DIR="${withval}" + OPENH323_MANDATORY="yes" + ;; +esac + +fi + +PBX_OPENH323=0 + + + + + + + + IKSEMEL_DESCRIP="Iksemel Jabber Library" IKSEMEL_OPTION="iksemel" @@ -8241,6 +8257,508 @@ PBX_KDE=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Check whether --with-libcurl was given. +if test "${with_libcurl+set}" = set; then + withval=$with_libcurl; _libcurl_with=$withval +else + _libcurl_with=yes +fi + + + if test "$_libcurl_with" != "no" ; then + + for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break +done + + + _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'" + + _libcurl_try_link=yes + + if test -d "$_libcurl_with" ; then + CURL_INCLUDE="-I$withval/include" + _libcurl_ldflags="-L$withval/lib" + # Extract the first word of "curl-config", so it can be a program name with args. +set dummy curl-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path__libcurl_config+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $_libcurl_config in + [\\/]* | ?:[\\/]*) + ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in "$withval/bin" +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin"" + ;; +esac +fi +_libcurl_config=$ac_cv_path__libcurl_config +if test -n "$_libcurl_config"; then + { echo "$as_me:$LINENO: result: $_libcurl_config" >&5 +echo "${ECHO_T}$_libcurl_config" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + else + # Extract the first word of "curl-config", so it can be a program name with args. +set dummy curl-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path__libcurl_config+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $_libcurl_config in + [\\/]* | ?:[\\/]*) + ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +_libcurl_config=$ac_cv_path__libcurl_config +if test -n "$_libcurl_config"; then + { echo "$as_me:$LINENO: result: $_libcurl_config" >&5 +echo "${ECHO_T}$_libcurl_config" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + fi + + if test x$_libcurl_config != "x" ; then + { echo "$as_me:$LINENO: checking for the version of libcurl" >&5 +echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6; } +if test "${libcurl_cv_lib_curl_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'` +fi +{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5 +echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6; } + + _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse` + _libcurl_wanted=`echo 7.10.1 | $_libcurl_version_parse` + + if test $_libcurl_wanted -gt 0 ; then + { echo "$as_me:$LINENO: checking for libcurl >= version 7.10.1" >&5 +echo $ECHO_N "checking for libcurl >= version 7.10.1... $ECHO_C" >&6; } +if test "${libcurl_cv_lib_version_ok+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test $_libcurl_version -ge $_libcurl_wanted ; then + libcurl_cv_lib_version_ok=yes + else + libcurl_cv_lib_version_ok=no + fi + +fi +{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5 +echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6; } + fi + + if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then + if test x"$CURL_INCLUDE" = "x" ; then + CURL_INCLUDE=`$_libcurl_config --cflags` + fi + if test x"$CURL_LIB" = "x" ; then + CURL_LIB=`$_libcurl_config --libs` + + # This is so silly, but Apple actually has a bug in their + # curl-config script. Fixed in Tiger, but there are still + # lots of Panther installs around. + case "${host}" in + powerpc-apple-darwin7*) + CURL_LIB=`echo $CURL_LIB | sed -e 's|-arch i386||g'` + ;; + esac + fi + + # All curl-config scripts support --feature + _libcurl_features=`$_libcurl_config --feature` + + # Is it modern enough to have --protocols? (7.12.4) + if test $_libcurl_version -ge 461828 ; then + _libcurl_protocols=`$_libcurl_config --protocols` + fi + else + _libcurl_try_link=no + fi + + unset _libcurl_wanted + fi + + if test $_libcurl_try_link = yes ; then + + # we didn't find curl-config, so let's see if the user-supplied + # link line (or failing that, "-lcurl") is enough. + CURL_LIB=${CURL_LIB-"$_libcurl_ldflags -lcurl"} + + { echo "$as_me:$LINENO: checking whether libcurl is usable" >&5 +echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6; } +if test "${libcurl_cv_lib_curl_usable+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + _libcurl_save_cppflags=$CPPFLAGS + CPPFLAGS="$CURL_INCLUDE $CPPFLAGS" + _libcurl_save_libs=$LIBS + LIBS="$CURL_LIB $LIBS" + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <curl/curl.h> +int +main () +{ + +/* Try and use a few common options to force a failure if we are + missing symbols or can't link. */ +int x; +curl_easy_setopt(NULL,CURLOPT_URL,NULL); +x=CURL_ERROR_SIZE; +x=CURLOPT_WRITEFUNCTION; +x=CURLOPT_FILE; +x=CURLOPT_ERRORBUFFER; +x=CURLOPT_STDERR; +x=CURLOPT_VERBOSE; + + ; + 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 + libcurl_cv_lib_curl_usable=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + libcurl_cv_lib_curl_usable=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + + CPPFLAGS=$_libcurl_save_cppflags + LIBS=$_libcurl_save_libs + unset _libcurl_save_cppflags + unset _libcurl_save_libs + +fi +{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5 +echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6; } + + if test $libcurl_cv_lib_curl_usable = yes ; then + + # Does curl_free() exist in this version of libcurl? + # If not, fake it with free() + + _libcurl_save_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $CURL_INCLUDE" + _libcurl_save_libs=$LIBS + LIBS="$LIBS $CURL_LIB" + + { echo "$as_me:$LINENO: checking for curl_free" >&5 +echo $ECHO_N "checking for curl_free... $ECHO_C" >&6; } +if test "${ac_cv_func_curl_free+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define curl_free to an innocuous variant, in case <limits.h> declares curl_free. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define curl_free innocuous_curl_free + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char curl_free (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef curl_free + +/* 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 curl_free (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_curl_free || defined __stub___curl_free +choke me +#endif + +int +main () +{ +return curl_free (); + ; + 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 + ac_cv_func_curl_free=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_curl_free=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5 +echo "${ECHO_T}$ac_cv_func_curl_free" >&6; } +if test $ac_cv_func_curl_free = yes; then + : +else + +cat >>confdefs.h <<\_ACEOF +#define curl_free free +_ACEOF + +fi + + + CPPFLAGS=$_libcurl_save_cppflags + LIBS=$_libcurl_save_libs + unset _libcurl_save_cppflags + unset _libcurl_save_libs + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_CURL 1 +_ACEOF + + + + PBX_CURL=1 + + for _libcurl_feature in $_libcurl_features ; do + cat >>confdefs.h <<_ACEOF +#define `echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1 +_ACEOF + + eval `echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes + done + + if test "x$_libcurl_protocols" = "x" ; then + + # We don't have --protocols, so just assume that all + # protocols are available + _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT" + + if test x$libcurl_feature_SSL = xyes ; then + _libcurl_protocols="$_libcurl_protocols HTTPS" + + # FTPS wasn't standards-compliant until version + # 7.11.0 + if test $_libcurl_version -ge 461568; then + _libcurl_protocols="$_libcurl_protocols FTPS" + fi + fi + fi + + for _libcurl_protocol in $_libcurl_protocols ; do + cat >>confdefs.h <<_ACEOF +#define `echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1 +_ACEOF + + eval `echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes + done + else + unset CURL_LIB + unset CURL_INCLUDE + PBX_CURL=0 + fi + fi + + unset _libcurl_try_link + unset _libcurl_version_parse + unset _libcurl_config + unset _libcurl_feature + unset _libcurl_features + unset _libcurl_protocol + unset _libcurl_protocols + unset _libcurl_version + unset _libcurl_ldflags + fi + + if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then + # This is the IF-NO path + : + else + # This is the IF-YES path + : + fi + + unset _libcurl_with + + LTDL_DESCRIP="libtool" LTDL_OPTION="ltdl" @@ -8481,6 +8999,66 @@ PBX_OGG=0 +OPENAIS_DESCRIP="OpenAIS" +OPENAIS_OPTION="openais" + +# Check whether --with-openais was given. +if test "${with_openais+set}" = set; then + withval=$with_openais; +case ${withval} in + n|no) + USE_OPENAIS=no + ;; + y|ye|yes) + OPENAIS_MANDATORY="yes" + ;; + *) + OPENAIS_DIR="${withval}" + OPENAIS_MANDATORY="yes" + ;; +esac + +fi + +PBX_OPENAIS=0 + + + + + + + + +OPENR2_DESCRIP="MFR2" +OPENR2_OPTION="openr2" + +# Check whether --with-openr2 was given. +if test "${with_openr2+set}" = set; then + withval=$with_openr2; +case ${withval} in + n|no) + USE_OPENR2=no + ;; + y|ye|yes) + OPENR2_MANDATORY="yes" + ;; + *) + OPENR2_DIR="${withval}" + OPENR2_MANDATORY="yes" + ;; +esac + +fi + +PBX_OPENR2=0 + + + + + + + + OSPTK_DESCRIP="OSP Toolkit" OSPTK_OPTION="osptk" @@ -8693,36 +9271,6 @@ PBX_PWLIB=0 -OPENH323_DESCRIP="OpenH323" -OPENH323_OPTION="h323" - -# Check whether --with-h323 was given. -if test "${with_h323+set}" = set; then - withval=$with_h323; -case ${withval} in - n|no) - USE_OPENH323=no - ;; - y|ye|yes) - OPENH323_MANDATORY="yes" - ;; - *) - OPENH323_DIR="${withval}" - OPENH323_MANDATORY="yes" - ;; -esac - -fi - -PBX_OPENH323=0 - - - - - - - - RADIUS_DESCRIP="Radius Client" RADIUS_OPTION="radius" @@ -8855,28 +9403,28 @@ PBX_SQLITE=0 -SUPPSERV_DESCRIP="mISDN Supplemental Services" -SUPPSERV_OPTION="suppserv" +OPENSSL_DESCRIP="OpenSSL" +OPENSSL_OPTION="ssl" -# Check whether --with-suppserv was given. -if test "${with_suppserv+set}" = set; then - withval=$with_suppserv; +# Check whether --with-ssl was given. +if test "${with_ssl+set}" = set; then + withval=$with_ssl; case ${withval} in n|no) - USE_SUPPSERV=no + USE_OPENSSL=no ;; y|ye|yes) - SUPPSERV_MANDATORY="yes" + OPENSSL_MANDATORY="yes" ;; *) - SUPPSERV_DIR="${withval}" - SUPPSERV_MANDATORY="yes" + OPENSSL_DIR="${withval}" + OPENSSL_MANDATORY="yes" ;; esac fi -PBX_SUPPSERV=0 +PBX_OPENSSL=0 @@ -8885,28 +9433,28 @@ PBX_SUPPSERV=0 -OPENSSL_DESCRIP="OpenSSL" -OPENSSL_OPTION="ssl" +SUPPSERV_DESCRIP="mISDN Supplemental Services" +SUPPSERV_OPTION="suppserv" -# Check whether --with-ssl was given. -if test "${with_ssl+set}" = set; then - withval=$with_ssl; +# Check whether --with-suppserv was given. +if test "${with_suppserv+set}" = set; then + withval=$with_suppserv; case ${withval} in n|no) - USE_OPENSSL=no + USE_SUPPSERV=no ;; y|ye|yes) - OPENSSL_MANDATORY="yes" + SUPPSERV_MANDATORY="yes" ;; *) - OPENSSL_DIR="${withval}" - OPENSSL_MANDATORY="yes" + SUPPSERV_DIR="${withval}" + SUPPSERV_MANDATORY="yes" ;; esac fi -PBX_OPENSSL=0 +PBX_SUPPSERV=0 @@ -10170,9 +10718,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -10311,9 +10859,9 @@ echo "$as_me: WARNING: sys/poll.h: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: sys/poll.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sys/poll.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -11809,9 +12357,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -12169,9 +12717,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -12931,9 +13479,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -13357,9 +13905,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -14559,9 +15107,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -16592,9 +17140,9 @@ echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's re { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libkern/OSAtomic.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -17229,9 +17777,9 @@ echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's resu { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -17504,9 +18052,9 @@ echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -17780,9 +18328,9 @@ echo "$as_me: WARNING: sys/capability.h: proceeding with the preprocessor's resu { echo "$as_me:$LINENO: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18369,9 +18917,9 @@ echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocesso { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18509,9 +19057,9 @@ echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preproc { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18648,9 +19196,9 @@ echo "$as_me: WARNING: gsm.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: gsm.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: gsm.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -18785,9 +19333,9 @@ echo "$as_me: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&2 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -19066,9 +19614,9 @@ echo "$as_me: WARNING: iksemel.h: proceeding with the preprocessor's result" >&2 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -19342,9 +19890,9 @@ echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's resul { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -20463,9 +21011,9 @@ echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: ltdl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ltdl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -20955,9 +21503,9 @@ echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -21231,9 +21779,9 @@ echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -21505,9 +22053,9 @@ echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -21690,9 +22238,9 @@ echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the preprocessor's resu { echo "$as_me:$LINENO: WARNING: linux/mISDNdsp.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: linux/mISDNdsp.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -21920,9 +22468,9 @@ echo "$as_me: WARNING: nbs.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: nbs.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: nbs.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -22195,9 +22743,9 @@ echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -22794,9 +23342,9 @@ echo "$as_me: WARNING: newt.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: newt.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: newt.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -23069,9 +23617,9 @@ echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -23344,9 +23892,9 @@ echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -23532,9 +24080,9 @@ echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's res { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -23675,9 +24223,9 @@ echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's resul { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -23908,9 +24456,9 @@ echo "$as_me: WARNING: soundcard.h: proceeding with the preprocessor's result" > { echo "$as_me:$LINENO: WARNING: soundcard.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: soundcard.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -24525,9 +25073,9 @@ echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: popt.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: popt.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -24800,9 +25348,9 @@ echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: libpri.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libpri.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25075,9 +25623,9 @@ echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: libpri.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libpri.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25350,9 +25898,9 @@ echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: libpri.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libpri.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25553,9 +26101,9 @@ echo "$as_me: WARNING: ${PWLIBDIR}/version.h: proceeding with the preprocessor's { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${PWLIBDIR}/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25694,9 +26242,9 @@ echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: proceeding with the pr { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/../pwlib/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25836,9 +26384,9 @@ echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: proceeding with the prepro { echo "$as_me:$LINENO: WARNING: ${HOME}/pwlib/include/ptlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -25975,9 +26523,9 @@ echo "$as_me: WARNING: /usr/local/include/ptlib.h: proceeding with the preproces { echo "$as_me:$LINENO: WARNING: /usr/local/include/ptlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: /usr/local/include/ptlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -26166,9 +26714,9 @@ echo "$as_me: WARNING: /usr/include/ptlib.h: proceeding with the preprocessor's { echo "$as_me:$LINENO: WARNING: /usr/include/ptlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: /usr/include/ptlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -26665,9 +27213,9 @@ echo "$as_me: WARNING: ${OPENH323DIR}/version.h: proceeding with the preprocesso { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -26805,9 +27353,9 @@ echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: proceeding with the pr { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -27501,9 +28049,9 @@ echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the preprocessor's res { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -27776,9 +28324,9 @@ echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -28052,9 +28600,9 @@ echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -28330,9 +28878,9 @@ echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -28610,9 +29158,9 @@ echo "$as_me: WARNING: sqlite.h: proceeding with the preprocessor's result" >&2; { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -28885,9 +29433,9 @@ echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -29161,9 +29709,9 @@ echo "$as_me: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&2 { echo "$as_me:$LINENO: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -29437,9 +29985,9 @@ echo "$as_me: WARNING: tds.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -29739,9 +30287,9 @@ echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -30014,9 +30562,9 @@ echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -30307,9 +30855,9 @@ echo "$as_me: WARNING: ${tonezone_dir}/tonezone.h: proceeding with the preproces { echo "$as_me:$LINENO: WARNING: ${tonezone_dir}/tonezone.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: ${tonezone_dir}/tonezone.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -30583,9 +31131,9 @@ echo "$as_me: WARNING: usb.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: usb.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: usb.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -30858,9 +31406,9 @@ echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -31241,9 +31789,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -31765,9 +32313,9 @@ echo "$as_me: WARNING: h323.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -31904,9 +32452,9 @@ echo "$as_me: WARNING: linux/compiler.h: proceeding with the preprocessor's resu { echo "$as_me:$LINENO: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------- ## -## Report this to www.asterisk.org ## -## ------------------------------- ## +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -32241,509 +32789,6 @@ fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Check whether --with-libcurl was given. -if test "${with_libcurl+set}" = set; then - withval=$with_libcurl; _libcurl_with=$withval -else - _libcurl_with=yes -fi - - - if test "$_libcurl_with" != "no" ; then - - for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { echo "$as_me:$LINENO: result: $AWK" >&5 -echo "${ECHO_T}$AWK" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$AWK" && break -done - - - _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'" - - _libcurl_try_link=yes - - if test -d "$_libcurl_with" ; then - CURL_INCLUDE="-I$withval/include" - _libcurl_ldflags="-L$withval/lib" - # Extract the first word of "curl-config", so it can be a program name with args. -set dummy curl-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path__libcurl_config+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $_libcurl_config in - [\\/]* | ?:[\\/]*) - ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in "$withval/bin" -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin"" - ;; -esac -fi -_libcurl_config=$ac_cv_path__libcurl_config -if test -n "$_libcurl_config"; then - { echo "$as_me:$LINENO: result: $_libcurl_config" >&5 -echo "${ECHO_T}$_libcurl_config" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - else - # Extract the first word of "curl-config", so it can be a program name with args. -set dummy curl-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path__libcurl_config+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $_libcurl_config in - [\\/]* | ?:[\\/]*) - ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -_libcurl_config=$ac_cv_path__libcurl_config -if test -n "$_libcurl_config"; then - { echo "$as_me:$LINENO: result: $_libcurl_config" >&5 -echo "${ECHO_T}$_libcurl_config" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - fi - - if test x$_libcurl_config != "x" ; then - { echo "$as_me:$LINENO: checking for the version of libcurl" >&5 -echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6; } -if test "${libcurl_cv_lib_curl_version+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'` -fi -{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5 -echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6; } - - _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse` - _libcurl_wanted=`echo 7.10.1 | $_libcurl_version_parse` - - if test $_libcurl_wanted -gt 0 ; then - { echo "$as_me:$LINENO: checking for libcurl >= version 7.10.1" >&5 -echo $ECHO_N "checking for libcurl >= version 7.10.1... $ECHO_C" >&6; } -if test "${libcurl_cv_lib_version_ok+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test $_libcurl_version -ge $_libcurl_wanted ; then - libcurl_cv_lib_version_ok=yes - else - libcurl_cv_lib_version_ok=no - fi - -fi -{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5 -echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6; } - fi - - if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then - if test x"$CURL_INCLUDE" = "x" ; then - CURL_INCLUDE=`$_libcurl_config --cflags` - fi - if test x"$CURL_LIB" = "x" ; then - CURL_LIB=`$_libcurl_config --libs` - - # This is so silly, but Apple actually has a bug in their - # curl-config script. Fixed in Tiger, but there are still - # lots of Panther installs around. - case "${host}" in - powerpc-apple-darwin7*) - CURL_LIB=`echo $CURL_LIB | sed -e 's|-arch i386||g'` - ;; - esac - fi - - # All curl-config scripts support --feature - _libcurl_features=`$_libcurl_config --feature` - - # Is it modern enough to have --protocols? (7.12.4) - if test $_libcurl_version -ge 461828 ; then - _libcurl_protocols=`$_libcurl_config --protocols` - fi - else - _libcurl_try_link=no - fi - - unset _libcurl_wanted - fi - - if test $_libcurl_try_link = yes ; then - - # we didn't find curl-config, so let's see if the user-supplied - # link line (or failing that, "-lcurl") is enough. - CURL_LIB=${CURL_LIB-"$_libcurl_ldflags -lcurl"} - - { echo "$as_me:$LINENO: checking whether libcurl is usable" >&5 -echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6; } -if test "${libcurl_cv_lib_curl_usable+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - _libcurl_save_cppflags=$CPPFLAGS - CPPFLAGS="$CURL_INCLUDE $CPPFLAGS" - _libcurl_save_libs=$LIBS - LIBS="$CURL_LIB $LIBS" - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <curl/curl.h> -int -main () -{ - -/* Try and use a few common options to force a failure if we are - missing symbols or can't link. */ -int x; -curl_easy_setopt(NULL,CURLOPT_URL,NULL); -x=CURL_ERROR_SIZE; -x=CURLOPT_WRITEFUNCTION; -x=CURLOPT_FILE; -x=CURLOPT_ERRORBUFFER; -x=CURLOPT_STDERR; -x=CURLOPT_VERBOSE; - - ; - 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 - libcurl_cv_lib_curl_usable=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - libcurl_cv_lib_curl_usable=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - - CPPFLAGS=$_libcurl_save_cppflags - LIBS=$_libcurl_save_libs - unset _libcurl_save_cppflags - unset _libcurl_save_libs - -fi -{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5 -echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6; } - - if test $libcurl_cv_lib_curl_usable = yes ; then - - # Does curl_free() exist in this version of libcurl? - # If not, fake it with free() - - _libcurl_save_cppflags=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $CURL_INCLUDE" - _libcurl_save_libs=$LIBS - LIBS="$LIBS $CURL_LIB" - - { echo "$as_me:$LINENO: checking for curl_free" >&5 -echo $ECHO_N "checking for curl_free... $ECHO_C" >&6; } -if test "${ac_cv_func_curl_free+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define curl_free to an innocuous variant, in case <limits.h> declares curl_free. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define curl_free innocuous_curl_free - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char curl_free (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef curl_free - -/* 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 curl_free (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_curl_free || defined __stub___curl_free -choke me -#endif - -int -main () -{ -return curl_free (); - ; - 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 - ac_cv_func_curl_free=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_curl_free=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5 -echo "${ECHO_T}$ac_cv_func_curl_free" >&6; } -if test $ac_cv_func_curl_free = yes; then - : -else - -cat >>confdefs.h <<\_ACEOF -#define curl_free free -_ACEOF - -fi - - - CPPFLAGS=$_libcurl_save_cppflags - LIBS=$_libcurl_save_libs - unset _libcurl_save_cppflags - unset _libcurl_save_libs - - -cat >>confdefs.h <<\_ACEOF -#define HAVE_CURL 1 -_ACEOF - - - - PBX_CURL=1 - - for _libcurl_feature in $_libcurl_features ; do - cat >>confdefs.h <<_ACEOF -#define `echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1 -_ACEOF - - eval `echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes - done - - if test "x$_libcurl_protocols" = "x" ; then - - # We don't have --protocols, so just assume that all - # protocols are available - _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT" - - if test x$libcurl_feature_SSL = xyes ; then - _libcurl_protocols="$_libcurl_protocols HTTPS" - - # FTPS wasn't standards-compliant until version - # 7.11.0 - if test $_libcurl_version -ge 461568; then - _libcurl_protocols="$_libcurl_protocols FTPS" - fi - fi - fi - - for _libcurl_protocol in $_libcurl_protocols ; do - cat >>confdefs.h <<_ACEOF -#define `echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1 -_ACEOF - - eval `echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes - done - else - unset CURL_LIB - unset CURL_INCLUDE - PBX_CURL=0 - fi - fi - - unset _libcurl_try_link - unset _libcurl_version_parse - unset _libcurl_config - unset _libcurl_feature - unset _libcurl_features - unset _libcurl_protocol - unset _libcurl_protocols - unset _libcurl_version - unset _libcurl_ldflags - fi - - if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then - # This is the IF-NO path - : - else - # This is the IF-YES path - : - fi - - unset _libcurl_with - - ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile" cat >confcache <<\_ACEOF @@ -33401,6 +33446,7 @@ LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim +subdirs!$subdirs$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim @@ -33460,7 +33506,6 @@ WGET!$WGET$ac_delim FETCH!$FETCH$ac_delim DOWNLOAD!$DOWNLOAD$ac_delim PBX_BISON!$PBX_BISON$ac_delim -PBX_FLEX!$PBX_FLEX$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -33502,6 +33547,7 @@ _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +PBX_FLEX!$PBX_FLEX$ac_delim SOXMIX!$SOXMIX$ac_delim acx_pthread_config!$acx_pthread_config$ac_delim PTHREAD_CC!$PTHREAD_CC$ac_delim @@ -33512,10 +33558,6 @@ ALSA_LIB!$ALSA_LIB$ac_delim ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim ALSA_DIR!$ALSA_DIR$ac_delim PBX_ALSA!$PBX_ALSA$ac_delim -CURL_LIB!$CURL_LIB$ac_delim -CURL_INCLUDE!$CURL_INCLUDE$ac_delim -CURL_DIR!$CURL_DIR$ac_delim -PBX_CURL!$PBX_CURL$ac_delim CAP_LIB!$CAP_LIB$ac_delim CAP_INCLUDE!$CAP_INCLUDE$ac_delim CAP_DIR!$CAP_DIR$ac_delim @@ -33536,6 +33578,10 @@ GSM_LIB!$GSM_LIB$ac_delim GSM_INCLUDE!$GSM_INCLUDE$ac_delim GSM_DIR!$GSM_DIR$ac_delim PBX_GSM!$PBX_GSM$ac_delim +OPENH323_LIB!$OPENH323_LIB$ac_delim +OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim +OPENH323_DIR!$OPENH323_DIR$ac_delim +PBX_OPENH323!$PBX_OPENH323$ac_delim IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim IKSEMEL_DIR!$IKSEMEL_DIR$ac_delim @@ -33552,6 +33598,9 @@ KDE_LIB!$KDE_LIB$ac_delim KDE_INCLUDE!$KDE_INCLUDE$ac_delim KDE_DIR!$KDE_DIR$ac_delim PBX_KDE!$PBX_KDE$ac_delim +_libcurl_config!$_libcurl_config$ac_delim +CURL_INCLUDE!$CURL_INCLUDE$ac_delim +CURL_LIB!$CURL_LIB$ac_delim LTDL_LIB!$LTDL_LIB$ac_delim LTDL_INCLUDE!$LTDL_INCLUDE$ac_delim LTDL_DIR!$LTDL_DIR$ac_delim @@ -33584,21 +33633,17 @@ OGG_LIB!$OGG_LIB$ac_delim OGG_INCLUDE!$OGG_INCLUDE$ac_delim OGG_DIR!$OGG_DIR$ac_delim PBX_OGG!$PBX_OGG$ac_delim +OPENAIS_LIB!$OPENAIS_LIB$ac_delim +OPENAIS_INCLUDE!$OPENAIS_INCLUDE$ac_delim +OPENAIS_DIR!$OPENAIS_DIR$ac_delim +PBX_OPENAIS!$PBX_OPENAIS$ac_delim +OPENR2_LIB!$OPENR2_LIB$ac_delim +OPENR2_INCLUDE!$OPENR2_INCLUDE$ac_delim +OPENR2_DIR!$OPENR2_DIR$ac_delim +PBX_OPENR2!$PBX_OPENR2$ac_delim OSPTK_LIB!$OSPTK_LIB$ac_delim OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim OSPTK_DIR!$OSPTK_DIR$ac_delim -PBX_OSPTK!$PBX_OSPTK$ac_delim -OSS_LIB!$OSS_LIB$ac_delim -OSS_INCLUDE!$OSS_INCLUDE$ac_delim -OSS_DIR!$OSS_DIR$ac_delim -PBX_OSS!$PBX_OSS$ac_delim -POPT_LIB!$POPT_LIB$ac_delim -POPT_INCLUDE!$POPT_INCLUDE$ac_delim -POPT_DIR!$POPT_DIR$ac_delim -PBX_POPT!$PBX_POPT$ac_delim -PGSQL_LIB!$PGSQL_LIB$ac_delim -PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim -PGSQL_DIR!$PGSQL_DIR$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -33640,6 +33685,18 @@ _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +PBX_OSPTK!$PBX_OSPTK$ac_delim +OSS_LIB!$OSS_LIB$ac_delim +OSS_INCLUDE!$OSS_INCLUDE$ac_delim +OSS_DIR!$OSS_DIR$ac_delim +PBX_OSS!$PBX_OSS$ac_delim +POPT_LIB!$POPT_LIB$ac_delim +POPT_INCLUDE!$POPT_INCLUDE$ac_delim +POPT_DIR!$POPT_DIR$ac_delim +PBX_POPT!$PBX_POPT$ac_delim +PGSQL_LIB!$PGSQL_LIB$ac_delim +PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim +PGSQL_DIR!$PGSQL_DIR$ac_delim PBX_PGSQL!$PBX_PGSQL$ac_delim PRI_LIB!$PRI_LIB$ac_delim PRI_INCLUDE!$PRI_INCLUDE$ac_delim @@ -33657,10 +33714,6 @@ PWLIB_LIB!$PWLIB_LIB$ac_delim PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim PWLIB_DIR!$PWLIB_DIR$ac_delim PBX_PWLIB!$PBX_PWLIB$ac_delim -OPENH323_LIB!$OPENH323_LIB$ac_delim -OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim -OPENH323_DIR!$OPENH323_DIR$ac_delim -PBX_OPENH323!$PBX_OPENH323$ac_delim RADIUS_LIB!$RADIUS_LIB$ac_delim RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim RADIUS_DIR!$RADIUS_DIR$ac_delim @@ -33681,14 +33734,14 @@ SQLITE_LIB!$SQLITE_LIB$ac_delim SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim SQLITE_DIR!$SQLITE_DIR$ac_delim PBX_SQLITE!$PBX_SQLITE$ac_delim -SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim -SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim -SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim -PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim OPENSSL_LIB!$OPENSSL_LIB$ac_delim OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim OPENSSL_DIR!$OPENSSL_DIR$ac_delim PBX_OPENSSL!$PBX_OPENSSL$ac_delim +SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim +SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim +SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim +PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim FREETDS_LIB!$FREETDS_LIB$ac_delim FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim FREETDS_DIR!$FREETDS_DIR$ac_delim @@ -33729,14 +33782,6 @@ ALLOCA!$ALLOCA$ac_delim LIBOBJS!$LIBOBJS$ac_delim PBX_WORKING_FORK!$PBX_WORKING_FORK$ac_delim 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 -AST_FORTIFY_SOURCE!$AST_FORTIFY_SOURCE$ac_delim -AST_NO_STRICT_OVERFLOW!$AST_NO_STRICT_OVERFLOW$ac_delim -PBX_DAHDI_TRANSCODE!$PBX_DAHDI_TRANSCODE$ac_delim -GSM_INTERNAL!$GSM_INTERNAL$ac_delim -KDEINIT!$KDEINIT$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -33778,6 +33823,14 @@ _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +GC_CFLAGS!$GC_CFLAGS$ac_delim +GC_LDFLAGS!$GC_LDFLAGS$ac_delim +AST_DECLARATION_AFTER_STATEMENT!$AST_DECLARATION_AFTER_STATEMENT$ac_delim +AST_FORTIFY_SOURCE!$AST_FORTIFY_SOURCE$ac_delim +AST_NO_STRICT_OVERFLOW!$AST_NO_STRICT_OVERFLOW$ac_delim +PBX_DAHDI_TRANSCODE!$PBX_DAHDI_TRANSCODE$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 @@ -33803,11 +33856,10 @@ PKGCONFIG!$PKGCONFIG$ac_delim PBX_GTK2!$PBX_GTK2$ac_delim GTK2_INCLUDE!$GTK2_INCLUDE$ac_delim GTK2_LIB!$GTK2_LIB$ac_delim -_libcurl_config!$_libcurl_config$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 @@ -34236,6 +34288,186 @@ if test "$no_create" != yes; then $ac_cs_success || { (exit 1); exit 1; } fi +# +# CONFIG_SUBDIRS section. +# +if test "$no_recursion" != yes; then + + # Remove --cache-file and --srcdir arguments so they do not pile up. + ac_sub_configure_args= + ac_prev= + eval "set x $ac_configure_args" + shift + for ac_arg + do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case $ac_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + ;; + *) + case $ac_arg in + *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; + esac + done + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ac_arg="--prefix=$prefix" + case $ac_arg in + *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" + + # Pass --silent + if test "$silent" = yes; then + ac_sub_configure_args="--silent $ac_sub_configure_args" + fi + + ac_popdir=`pwd` + for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + test -d "$srcdir/$ac_dir" || continue + + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + echo "$as_me:$LINENO: $ac_msg" >&5 + echo "$ac_msg" >&6 + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + cd "$ac_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure + else + { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 +echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + # The eval makes quoting arguments work. + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 +echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} + { (exit 1); exit 1; }; } + fi + + cd "$ac_popdir" + done +fi + if test "x${silent}" != "xyes" ; then echo |