]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 267775 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jun 2010 01:22:45 +0000 (01:22 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jun 2010 01:22:45 +0000 (01:22 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r267775 | tilghman | 2010-06-03 20:20:17 -0500 (Thu, 03 Jun 2010) | 14 lines

  Merged revisions 267759 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r267759 | tilghman | 2010-06-03 20:16:26 -0500 (Thu, 03 Jun 2010) | 7 lines

    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: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configure
configure.ac
include/asterisk/autoconfig.h.in

index 2246def02f5b88bc63257ba1c7113f1d742ac507..0ceb2ce3d036792461d27ab0481a5dc24d76f57c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,9 +1,9 @@
 #! /bin/sh
-# From configure.ac Revision: 264250 .
+# From configure.ac Revision: 265748 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for asterisk 1.6.
+# Generated by GNU Autoconf 2.61 for asterisk trunk.
 #
-# 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.
@@ -577,9 +577,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='asterisk'
 PACKAGE_TARNAME='asterisk'
-PACKAGE_VERSION='1.6'
-PACKAGE_STRING='asterisk 1.6'
-PACKAGE_BUGREPORT='www.asterisk.org'
+PACKAGE_VERSION='trunk'
+PACKAGE_STRING='asterisk trunk'
+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
@@ -735,10 +739,10 @@ ALSA_LIB
 ALSA_INCLUDE
 ALSA_DIR
 PBX_ALSA
-BKTR_LIB
-BKTR_INCLUDE
-BKTR_DIR
-PBX_BKTR
+FFMPEG_LIB
+FFMPEG_INCLUDE
+FFMPEG_DIR
+PBX_FFMPEG
 CAP_LIB
 CAP_INCLUDE
 CAP_DIR
@@ -759,10 +763,10 @@ DAHDI_LIB
 DAHDI_INCLUDE
 DAHDI_DIR
 PBX_DAHDI
-FFMPEG_LIB
-FFMPEG_INCLUDE
-FFMPEG_DIR
-PBX_FFMPEG
+BKTR_LIB
+BKTR_INCLUDE
+BKTR_DIR
+PBX_BKTR
 GSM_LIB
 GSM_INCLUDE
 GSM_DIR
@@ -779,6 +783,10 @@ GMIME_LIB
 GMIME_INCLUDE
 GMIME_DIR
 PBX_GMIME
+OPENH323_LIB
+OPENH323_INCLUDE
+OPENH323_DIR
+PBX_OPENH323
 HOARD_LIB
 HOARD_INCLUDE
 HOARD_DIR
@@ -815,6 +823,7 @@ LDAP_LIB
 LDAP_INCLUDE
 LDAP_DIR
 PBX_LDAP
+_libcurl_config
 LIBXML2_LIB
 LIBXML2_INCLUDE
 LIBXML2_DIR
@@ -851,6 +860,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
@@ -879,6 +896,14 @@ PRI_INBANDDISCONNECT_LIB
 PRI_INBANDDISCONNECT_INCLUDE
 PRI_INBANDDISCONNECT_DIR
 PBX_PRI_INBANDDISCONNECT
+PWLIB_LIB
+PWLIB_INCLUDE
+PWLIB_DIR
+PBX_PWLIB
+RADIUS_LIB
+RADIUS_INCLUDE
+RADIUS_DIR
+PBX_RADIUS
 RESAMPLE_LIB
 RESAMPLE_INCLUDE
 RESAMPLE_DIR
@@ -891,34 +916,6 @@ SS7_LIB
 SS7_INCLUDE
 SS7_DIR
 PBX_SS7
-OPENR2_LIB
-OPENR2_INCLUDE
-OPENR2_DIR
-PBX_OPENR2
-PWLIB_LIB
-PWLIB_INCLUDE
-PWLIB_DIR
-PBX_PWLIB
-OPENH323_LIB
-OPENH323_INCLUDE
-OPENH323_DIR
-PBX_OPENH323
-RADIUS_LIB
-RADIUS_INCLUDE
-RADIUS_DIR
-PBX_RADIUS
-SDL_LIB
-SDL_INCLUDE
-SDL_DIR
-PBX_SDL
-SDL_IMAGE_LIB
-SDL_IMAGE_INCLUDE
-SDL_IMAGE_DIR
-PBX_SDL_IMAGE
-OPENAIS_LIB
-OPENAIS_INCLUDE
-OPENAIS_DIR
-PBX_OPENAIS
 SPEEX_LIB
 SPEEX_INCLUDE
 SPEEX_DIR
@@ -939,14 +936,14 @@ SQLITE3_LIB
 SQLITE3_INCLUDE
 SQLITE3_DIR
 PBX_SQLITE3
-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
@@ -955,6 +952,10 @@ TERMCAP_LIB
 TERMCAP_INCLUDE
 TERMCAP_DIR
 PBX_TERMCAP
+TIMERFD_LIB
+TIMERFD_INCLUDE
+TIMERFD_DIR
+PBX_TIMERFD
 TINFO_LIB
 TINFO_INCLUDE
 TINFO_DIR
@@ -987,10 +988,6 @@ ZLIB_LIB
 ZLIB_INCLUDE
 ZLIB_DIR
 PBX_ZLIB
-TIMERFD_LIB
-TIMERFD_INCLUDE
-TIMERFD_DIR
-PBX_TIMERFD
 ALLOCA
 LIBOBJS
 PBX_WORKING_FORK
@@ -1032,7 +1029,6 @@ PBX_IXJUSER
 CONFIG_SDL
 CONFIG_GTK
 PKGCONFIG
-_libcurl_config
 GENERIC_ODBC_LIB
 GENERIC_ODBC_INCLUDE
 PBX_GENERIC_ODBC
@@ -1051,7 +1047,7 @@ CXX
 CXXFLAGS
 CCC
 CXXCPP'
-
+ac_subdirs_all='menuselect'
 
 # Initialize some variables set by options.
 ac_init_help=
@@ -1553,7 +1549,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 asterisk 1.6 to adapt to many kinds of systems.
+\`configure' configures asterisk trunk to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1618,7 +1614,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of asterisk 1.6:";;
+     short | recursive ) echo "Configuration of asterisk trunk:";;
    esac
   cat <<\_ACEOF
 
@@ -1635,18 +1631,19 @@ 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-execinfo=PATH    use Stack Backtrace files in PATH
+  --with-avcodec=PATH     use Ffmpeg and avcodec files in PATH
   --with-cap=PATH         use POSIX 1.e capabilities files in PATH
   --with-curl=PATH        use cURL files in PATH
   --with-curses=PATH      use curses files in PATH
   --with-crypto=PATH      use OpenSSL Cryptography files in PATH
   --with-dahdi=PATH       use DAHDI files in PATH
-  --with-avcodec=PATH     use Ffmpeg and avcodec files in PATH
+  --with-execinfo=PATH    use Stack Backtrace files in PATH
   --with-gsm=PATH         use External GSM files in PATH , use 'internal' GSM
                           otherwise
   --with-gtk=PATH         use gtk files in PATH
   --with-gtk2=PATH        use gtk2 files in PATH
   --with-gmime=PATH       use GMime files in PATH
+  --with-h323=PATH        use OpenH323 files in PATH
   --with-hoard=PATH       use Hoard Memory Allocator files in PATH
   --with-iconv=PATH       use Iconv files in PATH
   --with-iksemel=PATH     use Iksemel Jabber files in PATH
@@ -1656,6 +1653,7 @@ Optional Packages:
   --with-isdnnet=PATH     use ISDN4Linux files in PATH
   --with-jack=PATH        use Jack Audio Connection Kit files in PATH
   --with-ldap=PATH        use OpenLDAP files in PATH
+  --with-libcurl=DIR      look for the curl library in DIR
   --with-libxml2=PATH     use LibXML2 files in PATH
   --with-ltdl=PATH        use libtool files in PATH
   --with-lua=PATH         use Lua files in PATH
@@ -1665,31 +1663,29 @@ Optional Packages:
   --with-netsnmp=PATH     use Net-SNMP files in PATH
   --with-newt=PATH        use newt 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-postgres=PATH    use PostgreSQL files in PATH
   --with-popt=PATH        use popt files in PATH
   --with-portaudio=PATH   use PortAudio files in PATH
   --with-pri=PATH         use ISDN PRI files in PATH
+  --with-pwlib=PATH       use PWlib files in PATH
+  --with-radius=PATH      use Radius Client files in PATH
   --with-resample=PATH    use LIBRESAMPLE files in PATH
   --with-spandsp=PATH     use SPANDSP files in PATH
   --with-ss7=PATH         use ISDN SS7 files in PATH
-  --with-openr2=PATH      use MFR2 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-sdl=PATH         use Sdl files in PATH
-  --with-SDL_image=PATH   use Sdl Image files in PATH
-  --with-openais=PATH     use OpenAIS files in PATH
   --with-speex=PATH       use Speex files in PATH
   --with-speex=PATH       use Speex preprocess routines files in PATH
   --with-speexdsp=PATH    use SpeexDSP files in PATH
   --with-sqlite=PATH      use SQLite files in PATH
   --with-sqlite3=PATH     use SQLite files in PATH
-  --with-suppserv=PATH    use mISDN Supplemental Services files in PATH
   --with-ssl=PATH         use OpenSSL Secure Sockets Layer 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-timerfd=PATH     use timerfd files in PATH
   --with-tinfo=PATH       use Term Info files in PATH
   --with-tonezone=PATH    use tonezone files in PATH
   --with-unixodbc=PATH    use unixODBC files in PATH
@@ -1698,8 +1694,6 @@ Optional Packages:
   --with-vpb=PATH         use Voicetronix API files in PATH
   --with-x11=PATH         use X11 files in PATH
   --with-z=PATH           use zlib compression files in PATH
-  --with-timerfd=PATH     use timerfd files in PATH
-  --with-libcurl=DIR      look for the curl library in DIR
 
 Some influential environment variables:
   CC          C compiler command
@@ -1717,7 +1711,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
@@ -1778,7 +1772,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-asterisk configure 1.6
+asterisk configure trunk
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1794,7 +1788,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 asterisk $as_me 1.6, which was
+It was created by asterisk $as_me trunk, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -2149,7 +2143,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
@@ -2181,6 +2175,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
@@ -4022,9 +4020,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
     ;;
@@ -4143,12 +4141,12 @@ _ACEOF
 
 case "${host_os}" in
      freebsd*)
-     ac_default_prefix=/usr/local
+
      CPPFLAGS=-I/usr/local/include
      LDFLAGS=-L/usr/local/lib
      ;;
      openbsd*)
-     ac_default_prefix=/usr/local
+
      if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
         if test ${sysconfdir} = '${prefix}/etc'; then
            sysconfdir=/etc
@@ -4168,7 +4166,7 @@ _ACEOF
 
      ;;
      *)
-     ac_default_prefix=/usr
+
      if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
         if test ${sysconfdir} = '${prefix}/etc'; then
            sysconfdir=/etc
@@ -8326,6 +8324,204 @@ fi
 
 
 
+    FFMPEG_DESCRIP="Ffmpeg and avcodec"
+    FFMPEG_OPTION="avcodec"
+    PBX_FFMPEG=0
+
+# Check whether --with-avcodec was given.
+if test "${with_avcodec+set}" = set; then
+  withval=$with_avcodec;
+       case ${withval} in
+       n|no)
+       USE_FFMPEG=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_FFMPEG=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} FFMPEG"
+       ;;
+       *)
+       FFMPEG_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} FFMPEG"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    CAP_DESCRIP="POSIX 1.e capabilities"
+    CAP_OPTION="cap"
+    PBX_CAP=0
+
+# Check whether --with-cap was given.
+if test "${with_cap+set}" = set; then
+  withval=$with_cap;
+       case ${withval} in
+       n|no)
+       USE_CAP=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_CAP=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} CAP"
+       ;;
+       *)
+       CAP_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} CAP"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    CURL_DESCRIP="cURL"
+    CURL_OPTION="curl"
+    PBX_CURL=0
+
+# Check whether --with-curl was given.
+if test "${with_curl+set}" = set; then
+  withval=$with_curl;
+       case ${withval} in
+       n|no)
+       USE_CURL=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_CURL=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} CURL"
+       ;;
+       *)
+       CURL_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} CURL"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    CURSES_DESCRIP="curses"
+    CURSES_OPTION="curses"
+    PBX_CURSES=0
+
+# Check whether --with-curses was given.
+if test "${with_curses+set}" = set; then
+  withval=$with_curses;
+       case ${withval} in
+       n|no)
+       USE_CURSES=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_CURSES=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} CURSES"
+       ;;
+       *)
+       CURSES_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} CURSES"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    CRYPTO_DESCRIP="OpenSSL Cryptography"
+    CRYPTO_OPTION="crypto"
+    PBX_CRYPTO=0
+
+# Check whether --with-crypto was given.
+if test "${with_crypto+set}" = set; then
+  withval=$with_crypto;
+       case ${withval} in
+       n|no)
+       USE_CRYPTO=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_CRYPTO=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} CRYPTO"
+       ;;
+       *)
+       CRYPTO_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} CRYPTO"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    DAHDI_DESCRIP="DAHDI"
+    DAHDI_OPTION="dahdi"
+    PBX_DAHDI=0
+
+# Check whether --with-dahdi was given.
+if test "${with_dahdi+set}" = set; then
+  withval=$with_dahdi;
+       case ${withval} in
+       n|no)
+       USE_DAHDI=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_DAHDI=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} DAHDI"
+       ;;
+       *)
+       DAHDI_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} DAHDI"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
 # BKTR is used for backtrace support on platforms that do not
 # have it natively.
 
@@ -8362,204 +8558,6 @@ fi
 
 
 
-    CAP_DESCRIP="POSIX 1.e capabilities"
-    CAP_OPTION="cap"
-    PBX_CAP=0
-
-# Check whether --with-cap was given.
-if test "${with_cap+set}" = set; then
-  withval=$with_cap;
-       case ${withval} in
-       n|no)
-       USE_CAP=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_CAP=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} CAP"
-       ;;
-       *)
-       CAP_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} CAP"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
-    CURL_DESCRIP="cURL"
-    CURL_OPTION="curl"
-    PBX_CURL=0
-
-# Check whether --with-curl was given.
-if test "${with_curl+set}" = set; then
-  withval=$with_curl;
-       case ${withval} in
-       n|no)
-       USE_CURL=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_CURL=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} CURL"
-       ;;
-       *)
-       CURL_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} CURL"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
-    CURSES_DESCRIP="curses"
-    CURSES_OPTION="curses"
-    PBX_CURSES=0
-
-# Check whether --with-curses was given.
-if test "${with_curses+set}" = set; then
-  withval=$with_curses;
-       case ${withval} in
-       n|no)
-       USE_CURSES=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_CURSES=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} CURSES"
-       ;;
-       *)
-       CURSES_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} CURSES"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
-    CRYPTO_DESCRIP="OpenSSL Cryptography"
-    CRYPTO_OPTION="crypto"
-    PBX_CRYPTO=0
-
-# Check whether --with-crypto was given.
-if test "${with_crypto+set}" = set; then
-  withval=$with_crypto;
-       case ${withval} in
-       n|no)
-       USE_CRYPTO=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_CRYPTO=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} CRYPTO"
-       ;;
-       *)
-       CRYPTO_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} CRYPTO"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
-    DAHDI_DESCRIP="DAHDI"
-    DAHDI_OPTION="dahdi"
-    PBX_DAHDI=0
-
-# Check whether --with-dahdi was given.
-if test "${with_dahdi+set}" = set; then
-  withval=$with_dahdi;
-       case ${withval} in
-       n|no)
-       USE_DAHDI=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_DAHDI=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} DAHDI"
-       ;;
-       *)
-       DAHDI_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} DAHDI"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
-    FFMPEG_DESCRIP="Ffmpeg and avcodec"
-    FFMPEG_OPTION="avcodec"
-    PBX_FFMPEG=0
-
-# Check whether --with-avcodec was given.
-if test "${with_avcodec+set}" = set; then
-  withval=$with_avcodec;
-       case ${withval} in
-       n|no)
-       USE_FFMPEG=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_FFMPEG=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} FFMPEG"
-       ;;
-       *)
-       FFMPEG_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} FFMPEG"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
     GSM_DESCRIP="External GSM"
     GSM_OPTION="gsm"
     PBX_GSM=0
@@ -8692,6 +8690,39 @@ fi
 
 
 
+    OPENH323_DESCRIP="OpenH323"
+    OPENH323_OPTION="h323"
+    PBX_OPENH323=0
+
+# Check whether --with-h323 was given.
+if test "${with_h323+set}" = set; then
+  withval=$with_h323;
+       case ${withval} in
+       n|no)
+       USE_OPENH323=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_OPENH323=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} OPENH323"
+       ;;
+       *)
+       OPENH323_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OPENH323"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
     HOARD_DESCRIP="Hoard Memory Allocator"
     HOARD_OPTION="hoard"
     PBX_HOARD=0
@@ -8989,63 +9020,14 @@ fi
 
 
 
-    LIBXML2_DESCRIP="LibXML2"
-    LIBXML2_OPTION="libxml2"
-    PBX_LIBXML2=0
-
-# Check whether --with-libxml2 was given.
-if test "${with_libxml2+set}" = set; then
-  withval=$with_libxml2;
-       case ${withval} in
-       n|no)
-       USE_LIBXML2=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_LIBXML2=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} LIBXML2"
-       ;;
-       *)
-       LIBXML2_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} LIBXML2"
-       ;;
-       esac
-
-fi
-
-
-
 
 
 
 
 
 
-    LTDL_DESCRIP="libtool"
-    LTDL_OPTION="ltdl"
-    PBX_LTDL=0
 
-# Check whether --with-ltdl was given.
-if test "${with_ltdl+set}" = set; then
-  withval=$with_ltdl;
-       case ${withval} in
-       n|no)
-       USE_LTDL=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_LTDL=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} LTDL"
-       ;;
-       *)
-       LTDL_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} LTDL"
-       ;;
-       esac
 
-fi
 
 
 
@@ -9055,30 +9037,8 @@ fi
 
 
 
-    LUA_DESCRIP="Lua"
-    LUA_OPTION="lua"
-    PBX_LUA=0
 
-# Check whether --with-lua was given.
-if test "${with_lua+set}" = set; then
-  withval=$with_lua;
-       case ${withval} in
-       n|no)
-       USE_LUA=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_LUA=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} LUA"
-       ;;
-       *)
-       LUA_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} LUA"
-       ;;
-       esac
 
-fi
 
 
 
@@ -9088,30 +9048,8 @@ fi
 
 
 
-    MISDN_DESCRIP="mISDN user"
-    MISDN_OPTION="misdn"
-    PBX_MISDN=0
 
-# Check whether --with-misdn was given.
-if test "${with_misdn+set}" = set; then
-  withval=$with_misdn;
-       case ${withval} in
-       n|no)
-       USE_MISDN=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_MISDN=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} MISDN"
-       ;;
-       *)
-       MISDN_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} MISDN"
-       ;;
-       esac
 
-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
 
 
-    NBS_DESCRIP="Network Broadcast Sound"
-    NBS_OPTION="nbs"
-    PBX_NBS=0
+  if test "$_libcurl_with" != "no" ; then
 
-# Check whether --with-nbs was given.
-if test "${with_nbs+set}" = set; then
-  withval=$with_nbs;
-       case ${withval} in
-       n|no)
-       USE_NBS=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_NBS=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} NBS"
-       ;;
-       *)
-       NBS_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} NBS"
-       ;;
-       esac
+     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
 
 
-    NCURSES_DESCRIP="ncurses"
-    NCURSES_OPTION="ncurses"
-    PBX_NCURSES=0
-
-# Check whether --with-ncurses was given.
-if test "${with_ncurses+set}" = set; then
-  withval=$with_ncurses;
-       case ${withval} in
-       n|no)
-       USE_NCURSES=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_NCURSES=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} NCURSES"
-       ;;
-       *)
-       NCURSES_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} NCURSES"
-       ;;
-       esac
+     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`
 
-    NETSNMP_DESCRIP="Net-SNMP"
-    NETSNMP_OPTION="netsnmp"
-    PBX_NETSNMP=0
-
-# Check whether --with-netsnmp was given.
-if test "${with_netsnmp+set}" = set; then
-  withval=$with_netsnmp;
-       case ${withval} in
-       n|no)
-       USE_NETSNMP=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_NETSNMP=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} NETSNMP"
-       ;;
-       *)
-       NETSNMP_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} NETSNMP"
-       ;;
-       esac
-
-fi
+              # 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 ()
+{
 
-    NEWT_DESCRIP="newt"
-    NEWT_OPTION="newt"
-    PBX_NEWT=0
+/* 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;
 
-# Check whether --with-newt was given.
-if test "${with_newt+set}" = set; then
-  withval=$with_newt;
-       case ${withval} in
-       n|no)
-       USE_NEWT=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_NEWT=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} NEWT"
-       ;;
-       *)
-       NEWT_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} NEWT"
-       ;;
-       esac
+  ;
+  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.  */
 
-    OGG_DESCRIP="OGG"
-    OGG_OPTION="ogg"
-    PBX_OGG=0
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
 
-# Check whether --with-ogg was given.
-if test "${with_ogg+set}" = set; then
-  withval=$with_ogg;
-       case ${withval} in
-       n|no)
-       USE_OGG=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_OGG=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OGG"
-       ;;
-       *)
-       OGG_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OGG"
-       ;;
-       esac
+#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
 
-    OSPTK_DESCRIP="OSP Toolkit"
-    OSPTK_OPTION="osptk"
-    PBX_OSPTK=0
+              eval `echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
+           done
 
-# Check whether --with-osptk was given.
-if test "${with_osptk+set}" = set; then
-  withval=$with_osptk;
-       case ${withval} in
-       n|no)
-       USE_OSPTK=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_OSPTK=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OSPTK"
-       ;;
-       *)
-       OSPTK_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OSPTK"
-       ;;
-       esac
+           if test "x$_libcurl_protocols" = "x" ; then
 
-fi
+              # 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
 
 
-    OSS_DESCRIP="Open Sound System"
-    OSS_OPTION="oss"
-    PBX_OSS=0
+    LIBXML2_DESCRIP="LibXML2"
+    LIBXML2_OPTION="libxml2"
+    PBX_LIBXML2=0
 
-# Check whether --with-oss was given.
-if test "${with_oss+set}" = set; then
-  withval=$with_oss;
+# Check whether --with-libxml2 was given.
+if test "${with_libxml2+set}" = set; then
+  withval=$with_libxml2;
        case ${withval} in
        n|no)
-       USE_OSS=no
+       USE_LIBXML2=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_OSS=-1
+       PBX_LIBXML2=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OSS"
+       ac_mandatory_list="${ac_mandatory_list} LIBXML2"
        ;;
        *)
-       OSS_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OSS"
+       LIBXML2_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} LIBXML2"
        ;;
        esac
 
@@ -9352,26 +9555,26 @@ fi
 
 
 
-    PGSQL_DESCRIP="PostgreSQL"
-    PGSQL_OPTION="postgres"
-    PBX_PGSQL=0
+    LTDL_DESCRIP="libtool"
+    LTDL_OPTION="ltdl"
+    PBX_LTDL=0
 
-# Check whether --with-postgres was given.
-if test "${with_postgres+set}" = set; then
-  withval=$with_postgres;
+# Check whether --with-ltdl was given.
+if test "${with_ltdl+set}" = set; then
+  withval=$with_ltdl;
        case ${withval} in
        n|no)
-       USE_PGSQL=no
+       USE_LTDL=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_PGSQL=-1
+       PBX_LTDL=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} PGSQL"
+       ac_mandatory_list="${ac_mandatory_list} LTDL"
        ;;
        *)
-       PGSQL_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} PGSQL"
+       LTDL_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} LTDL"
        ;;
        esac
 
@@ -9385,26 +9588,26 @@ fi
 
 
 
-    POPT_DESCRIP="popt"
-    POPT_OPTION="popt"
-    PBX_POPT=0
+    LUA_DESCRIP="Lua"
+    LUA_OPTION="lua"
+    PBX_LUA=0
 
-# Check whether --with-popt was given.
-if test "${with_popt+set}" = set; then
-  withval=$with_popt;
+# Check whether --with-lua was given.
+if test "${with_lua+set}" = set; then
+  withval=$with_lua;
        case ${withval} in
        n|no)
-       USE_POPT=no
+       USE_LUA=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_POPT=-1
+       PBX_LUA=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} POPT"
+       ac_mandatory_list="${ac_mandatory_list} LUA"
        ;;
        *)
-       POPT_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} POPT"
+       LUA_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} LUA"
        ;;
        esac
 
@@ -9418,26 +9621,26 @@ fi
 
 
 
-    PORTAUDIO_DESCRIP="PortAudio"
-    PORTAUDIO_OPTION="portaudio"
-    PBX_PORTAUDIO=0
+    MISDN_DESCRIP="mISDN user"
+    MISDN_OPTION="misdn"
+    PBX_MISDN=0
 
-# Check whether --with-portaudio was given.
-if test "${with_portaudio+set}" = set; then
-  withval=$with_portaudio;
+# Check whether --with-misdn was given.
+if test "${with_misdn+set}" = set; then
+  withval=$with_misdn;
        case ${withval} in
        n|no)
-       USE_PORTAUDIO=no
+       USE_MISDN=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_PORTAUDIO=-1
+       PBX_MISDN=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
+       ac_mandatory_list="${ac_mandatory_list} MISDN"
        ;;
        *)
-       PORTAUDIO_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
+       MISDN_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} MISDN"
        ;;
        esac
 
@@ -9451,26 +9654,26 @@ fi
 
 
 
-    PRI_DESCRIP="ISDN PRI"
-    PRI_OPTION="pri"
-    PBX_PRI=0
+    NBS_DESCRIP="Network Broadcast Sound"
+    NBS_OPTION="nbs"
+    PBX_NBS=0
 
-# Check whether --with-pri was given.
-if test "${with_pri+set}" = set; then
-  withval=$with_pri;
+# Check whether --with-nbs was given.
+if test "${with_nbs+set}" = set; then
+  withval=$with_nbs;
        case ${withval} in
        n|no)
-       USE_PRI=no
+       USE_NBS=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_PRI=-1
+       PBX_NBS=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} PRI"
+       ac_mandatory_list="${ac_mandatory_list} NBS"
        ;;
        *)
-       PRI_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} PRI"
+       NBS_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} NBS"
        ;;
        esac
 
@@ -9484,45 +9687,26 @@ fi
 
 
 
-PRI_INBANDDISCONNECT_DESCRIP="ISDN PRI set_inbanddisconnect"
-PRI_INBANDDISCONNECT_OPTION=pri
-
-for i in ${ac_mandatory_list}; do
-   if test "xPRI" = "x$i"; then
-      ac_mandatory_list="${ac_mandatory_list} PRI_INBANDDISCONNECT"
-      break
-   fi
-done
-
-PBX_PRI_INBANDDISCONNECT=0
-
-
-
-
-
-
-
-
-    RESAMPLE_DESCRIP="LIBRESAMPLE"
-    RESAMPLE_OPTION="resample"
-    PBX_RESAMPLE=0
+    NCURSES_DESCRIP="ncurses"
+    NCURSES_OPTION="ncurses"
+    PBX_NCURSES=0
 
-# Check whether --with-resample was given.
-if test "${with_resample+set}" = set; then
-  withval=$with_resample;
+# Check whether --with-ncurses was given.
+if test "${with_ncurses+set}" = set; then
+  withval=$with_ncurses;
        case ${withval} in
        n|no)
-       USE_RESAMPLE=no
+       USE_NCURSES=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_RESAMPLE=-1
+       PBX_NCURSES=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} RESAMPLE"
+       ac_mandatory_list="${ac_mandatory_list} NCURSES"
        ;;
        *)
-       RESAMPLE_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} RESAMPLE"
+       NCURSES_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} NCURSES"
        ;;
        esac
 
@@ -9536,26 +9720,26 @@ fi
 
 
 
-    SPANDSP_DESCRIP="SPANDSP"
-    SPANDSP_OPTION="spandsp"
-    PBX_SPANDSP=0
+    NETSNMP_DESCRIP="Net-SNMP"
+    NETSNMP_OPTION="netsnmp"
+    PBX_NETSNMP=0
 
-# Check whether --with-spandsp was given.
-if test "${with_spandsp+set}" = set; then
-  withval=$with_spandsp;
+# Check whether --with-netsnmp was given.
+if test "${with_netsnmp+set}" = set; then
+  withval=$with_netsnmp;
        case ${withval} in
        n|no)
-       USE_SPANDSP=no
+       USE_NETSNMP=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_SPANDSP=-1
+       PBX_NETSNMP=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} SPANDSP"
+       ac_mandatory_list="${ac_mandatory_list} NETSNMP"
        ;;
        *)
-       SPANDSP_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} SPANDSP"
+       NETSNMP_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} NETSNMP"
        ;;
        esac
 
@@ -9569,26 +9753,92 @@ fi
 
 
 
-    SS7_DESCRIP="ISDN SS7"
-    SS7_OPTION="ss7"
-    PBX_SS7=0
+    NEWT_DESCRIP="newt"
+    NEWT_OPTION="newt"
+    PBX_NEWT=0
 
-# Check whether --with-ss7 was given.
-if test "${with_ss7+set}" = set; then
-  withval=$with_ss7;
+# Check whether --with-newt was given.
+if test "${with_newt+set}" = set; then
+  withval=$with_newt;
        case ${withval} in
        n|no)
-       USE_SS7=no
+       USE_NEWT=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_SS7=-1
+       PBX_NEWT=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} SS7"
+       ac_mandatory_list="${ac_mandatory_list} NEWT"
        ;;
        *)
-       SS7_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} SS7"
+       NEWT_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} NEWT"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    OGG_DESCRIP="OGG"
+    OGG_OPTION="ogg"
+    PBX_OGG=0
+
+# Check whether --with-ogg was given.
+if test "${with_ogg+set}" = set; then
+  withval=$with_ogg;
+       case ${withval} in
+       n|no)
+       USE_OGG=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_OGG=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} OGG"
+       ;;
+       *)
+       OGG_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OGG"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    OPENAIS_DESCRIP="OpenAIS"
+    OPENAIS_OPTION="openais"
+    PBX_OPENAIS=0
+
+# Check whether --with-openais was given.
+if test "${with_openais+set}" = set; then
+  withval=$with_openais;
+       case ${withval} in
+       n|no)
+       USE_OPENAIS=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_OPENAIS=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} OPENAIS"
+       ;;
+       *)
+       OPENAIS_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OPENAIS"
        ;;
        esac
 
@@ -9635,26 +9885,26 @@ fi
 
 
 
-    PWLIB_DESCRIP="PWlib"
-    PWLIB_OPTION="pwlib"
-    PBX_PWLIB=0
+    OSPTK_DESCRIP="OSP Toolkit"
+    OSPTK_OPTION="osptk"
+    PBX_OSPTK=0
 
-# Check whether --with-pwlib was given.
-if test "${with_pwlib+set}" = set; then
-  withval=$with_pwlib;
+# Check whether --with-osptk was given.
+if test "${with_osptk+set}" = set; then
+  withval=$with_osptk;
        case ${withval} in
        n|no)
-       USE_PWLIB=no
+       USE_OSPTK=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_PWLIB=-1
+       PBX_OSPTK=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} PWLIB"
+       ac_mandatory_list="${ac_mandatory_list} OSPTK"
        ;;
        *)
-       PWLIB_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} PWLIB"
+       OSPTK_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OSPTK"
        ;;
        esac
 
 
 
 
-    OPENH323_DESCRIP="OpenH323"
-    OPENH323_OPTION="h323"
-    PBX_OPENH323=0
+    OSS_DESCRIP="Open Sound System"
+    OSS_OPTION="oss"
+    PBX_OSS=0
 
-# Check whether --with-h323 was given.
-if test "${with_h323+set}" = set; then
-  withval=$with_h323;
+# Check whether --with-oss was given.
+if test "${with_oss+set}" = set; then
+  withval=$with_oss;
        case ${withval} in
        n|no)
-       USE_OPENH323=no
+       USE_OSS=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_OPENH323=-1
+       PBX_OSS=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OPENH323"
+       ac_mandatory_list="${ac_mandatory_list} OSS"
        ;;
        *)
-       OPENH323_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OPENH323"
+       OSS_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OSS"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    PGSQL_DESCRIP="PostgreSQL"
+    PGSQL_OPTION="postgres"
+    PBX_PGSQL=0
+
+# Check whether --with-postgres was given.
+if test "${with_postgres+set}" = set; then
+  withval=$with_postgres;
+       case ${withval} in
+       n|no)
+       USE_PGSQL=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_PGSQL=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} PGSQL"
+       ;;
+       *)
+       PGSQL_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} PGSQL"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    POPT_DESCRIP="popt"
+    POPT_OPTION="popt"
+    PBX_POPT=0
+
+# Check whether --with-popt was given.
+if test "${with_popt+set}" = set; then
+  withval=$with_popt;
+       case ${withval} in
+       n|no)
+       USE_POPT=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_POPT=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} POPT"
+       ;;
+       *)
+       POPT_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} POPT"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    PORTAUDIO_DESCRIP="PortAudio"
+    PORTAUDIO_OPTION="portaudio"
+    PBX_PORTAUDIO=0
+
+# Check whether --with-portaudio was given.
+if test "${with_portaudio+set}" = set; then
+  withval=$with_portaudio;
+       case ${withval} in
+       n|no)
+       USE_PORTAUDIO=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_PORTAUDIO=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
+       ;;
+       *)
+       PORTAUDIO_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} PORTAUDIO"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+    PRI_DESCRIP="ISDN PRI"
+    PRI_OPTION="pri"
+    PBX_PRI=0
+
+# Check whether --with-pri was given.
+if test "${with_pri+set}" = set; then
+  withval=$with_pri;
+       case ${withval} in
+       n|no)
+       USE_PRI=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_PRI=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} PRI"
+       ;;
+       *)
+       PRI_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} PRI"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
+PRI_INBANDDISCONNECT_DESCRIP="ISDN PRI set_inbanddisconnect"
+PRI_INBANDDISCONNECT_OPTION=pri
+
+for i in ${ac_mandatory_list}; do
+   if test "xPRI" = "x$i"; then
+      ac_mandatory_list="${ac_mandatory_list} PRI_INBANDDISCONNECT"
+      break
+   fi
+done
+
+PBX_PRI_INBANDDISCONNECT=0
+
+
+
+
+
+
+
+
+    PWLIB_DESCRIP="PWlib"
+    PWLIB_OPTION="pwlib"
+    PBX_PWLIB=0
+
+# Check whether --with-pwlib was given.
+if test "${with_pwlib+set}" = set; then
+  withval=$with_pwlib;
+       case ${withval} in
+       n|no)
+       USE_PWLIB=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_PWLIB=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} PWLIB"
+       ;;
+       *)
+       PWLIB_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} PWLIB"
        ;;
        esac
 
 
 
 
-    SDL_DESCRIP="Sdl"
-    SDL_OPTION="sdl"
-    PBX_SDL=0
+    RESAMPLE_DESCRIP="LIBRESAMPLE"
+    RESAMPLE_OPTION="resample"
+    PBX_RESAMPLE=0
 
-# Check whether --with-sdl was given.
-if test "${with_sdl+set}" = set; then
-  withval=$with_sdl;
+# Check whether --with-resample was given.
+if test "${with_resample+set}" = set; then
+  withval=$with_resample;
        case ${withval} in
        n|no)
-       USE_SDL=no
+       USE_RESAMPLE=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_SDL=-1
+       PBX_RESAMPLE=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} SDL"
+       ac_mandatory_list="${ac_mandatory_list} RESAMPLE"
        ;;
        *)
-       SDL_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} SDL"
+       RESAMPLE_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} RESAMPLE"
        ;;
        esac
 
 
 
 
-    SDL_IMAGE_DESCRIP="Sdl Image"
-    SDL_IMAGE_OPTION="SDL_image"
-    PBX_SDL_IMAGE=0
+    SPANDSP_DESCRIP="SPANDSP"
+    SPANDSP_OPTION="spandsp"
+    PBX_SPANDSP=0
 
-# Check whether --with-SDL_image was given.
-if test "${with_SDL_image+set}" = set; then
-  withval=$with_SDL_image;
+# Check whether --with-spandsp was given.
+if test "${with_spandsp+set}" = set; then
+  withval=$with_spandsp;
        case ${withval} in
        n|no)
-       USE_SDL_IMAGE=no
+       USE_SPANDSP=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_SDL_IMAGE=-1
+       PBX_SPANDSP=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} SDL_IMAGE"
+       ac_mandatory_list="${ac_mandatory_list} SPANDSP"
        ;;
        *)
-       SDL_IMAGE_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} SDL_IMAGE"
+       SPANDSP_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} SPANDSP"
        ;;
        esac
 
 
 
 
-    OPENAIS_DESCRIP="OpenAIS"
-    OPENAIS_OPTION="openais"
-    PBX_OPENAIS=0
+    SS7_DESCRIP="ISDN SS7"
+    SS7_OPTION="ss7"
+    PBX_SS7=0
 
-# Check whether --with-openais was given.
-if test "${with_openais+set}" = set; then
-  withval=$with_openais;
+# Check whether --with-ss7 was given.
+if test "${with_ss7+set}" = set; then
+  withval=$with_ss7;
        case ${withval} in
        n|no)
-       USE_OPENAIS=no
+       USE_SS7=no
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_OPENAIS=-1
+       PBX_SS7=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OPENAIS"
+       ac_mandatory_list="${ac_mandatory_list} SS7"
        ;;
        *)
-       OPENAIS_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OPENAIS"
+       SS7_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} SS7"
        ;;
        esac
 
 
 
 
-    SUPPSERV_DESCRIP="mISDN Supplemental Services"
-    SUPPSERV_OPTION="suppserv"
-    PBX_SUPPSERV=0
+    OPENSSL_DESCRIP="OpenSSL Secure Sockets Layer"
+    OPENSSL_OPTION="ssl"
+    PBX_OPENSSL=0
 
-# 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
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_SUPPSERV=-1
+       PBX_OPENSSL=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
+       ac_mandatory_list="${ac_mandatory_list} OPENSSL"
        ;;
        *)
-       SUPPSERV_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
+       OPENSSL_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} OPENSSL"
        ;;
        esac
 
 
 
 
-    OPENSSL_DESCRIP="OpenSSL Secure Sockets Layer"
-    OPENSSL_OPTION="ssl"
-    PBX_OPENSSL=0
+    SUPPSERV_DESCRIP="mISDN Supplemental Services"
+    SUPPSERV_OPTION="suppserv"
+    PBX_SUPPSERV=0
 
-# 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
        # -1 is a magic value used by menuselect to know that the package
        # was disabled, other than 'not found'
-       PBX_OPENSSL=-1
+       PBX_SUPPSERV=-1
        ;;
        y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} OPENSSL"
+       ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
        ;;
        *)
-       OPENSSL_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} OPENSSL"
+       SUPPSERV_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} SUPPSERV"
        ;;
        esac
 
 
 
 
+    TIMERFD_DESCRIP="timerfd"
+    TIMERFD_OPTION="timerfd"
+    PBX_TIMERFD=0
+
+# Check whether --with-timerfd was given.
+if test "${with_timerfd+set}" = set; then
+  withval=$with_timerfd;
+       case ${withval} in
+       n|no)
+       USE_TIMERFD=no
+       # -1 is a magic value used by menuselect to know that the package
+       # was disabled, other than 'not found'
+       PBX_TIMERFD=-1
+       ;;
+       y|ye|yes)
+       ac_mandatory_list="${ac_mandatory_list} TIMERFD"
+       ;;
+       *)
+       TIMERFD_DIR="${withval}"
+       ac_mandatory_list="${ac_mandatory_list} TIMERFD"
+       ;;
+       esac
+
+fi
+
+
+
+
+
+
+
+
+
     TINFO_DESCRIP="Term Info"
     TINFO_OPTION="tinfo"
     PBX_TINFO=0
 
 
 
-    TIMERFD_DESCRIP="timerfd"
-    TIMERFD_OPTION="timerfd"
-    PBX_TIMERFD=0
-
-# Check whether --with-timerfd was given.
-if test "${with_timerfd+set}" = set; then
-  withval=$with_timerfd;
-       case ${withval} in
-       n|no)
-       USE_TIMERFD=no
-       # -1 is a magic value used by menuselect to know that the package
-       # was disabled, other than 'not found'
-       PBX_TIMERFD=-1
-       ;;
-       y|ye|yes)
-       ac_mandatory_list="${ac_mandatory_list} TIMERFD"
-       ;;
-       *)
-       TIMERFD_DIR="${withval}"
-       ac_mandatory_list="${ac_mandatory_list} TIMERFD"
-       ;;
-       esac
-
-fi
-
-
-
-
-
-
-
-
-
 # check for basic system features and functionality before
 # checking for package libraries
 
@@ -11424,9 +11858,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
     ;;
@@ -11571,9 +12005,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
     ;;
@@ -11712,9 +12146,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
     ;;
@@ -13210,9 +13644,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
     ;;
@@ -13570,9 +14004,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
     ;;
@@ -14332,9 +14766,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
     ;;
@@ -14758,9 +15192,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
     ;;
@@ -15960,9 +16394,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
     ;;
@@ -16781,9 +17215,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
     ;;
@@ -17380,9 +17814,9 @@ echo "$as_me: WARNING: byteswap.h: proceeding with the preprocessor's result" >&
     { echo "$as_me:$LINENO: WARNING: byteswap.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: byteswap.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
     ;;
@@ -20050,9 +20484,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
     ;;
@@ -20700,9 +21134,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
     ;;
@@ -20959,9 +21393,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
     ;;
@@ -21219,9 +21653,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
     ;;
@@ -21985,9 +22419,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
     ;;
@@ -22125,9 +22559,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
     ;;
@@ -22264,9 +22698,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
     ;;
@@ -22401,9 +22835,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
     ;;
@@ -22695,9 +23129,9 @@ echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: iconv.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
     ;;
@@ -22954,9 +23388,9 @@ echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: iconv.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
     ;;
@@ -23213,9 +23647,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
     ;;
@@ -24304,9 +24738,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
     ;;
@@ -24563,9 +24997,9 @@ echo "$as_me: WARNING: sys/inotify.h: proceeding with the preprocessor's result"
     { echo "$as_me:$LINENO: WARNING: sys/inotify.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: sys/inotify.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
     ;;
@@ -24822,9 +25256,9 @@ echo "$as_me: WARNING: jack/jack.h: proceeding with the preprocessor's result" >
     { echo "$as_me:$LINENO: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: jack/jack.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
     ;;
@@ -25082,9 +25516,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
     ;;
@@ -25341,9 +25775,9 @@ echo "$as_me: WARNING: ldap.h: proceeding with the preprocessor's result" >&2;}
     { echo "$as_me:$LINENO: WARNING: ldap.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: ldap.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
     ;;
@@ -25806,9 +26240,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
     ;;
@@ -26066,9 +26500,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
     ;;
@@ -26324,9 +26758,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
     ;;
@@ -26624,9 +27058,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
     ;;
@@ -26867,9 +27301,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
     ;;
@@ -27126,9 +27560,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
     ;;
@@ -27568,9 +28002,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
     ;;
@@ -27827,9 +28261,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
     ;;
@@ -28086,9 +28520,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
     ;;
@@ -28346,9 +28780,9 @@ echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&
     { echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: execinfo.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
     ;;
@@ -28605,9 +29039,9 @@ echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&
     { echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: execinfo.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
     ;;
@@ -28865,9 +29299,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
     ;;
@@ -29123,9 +29557,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
     ;;
@@ -29381,9 +29815,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
     ;;
@@ -29968,9 +30402,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
     ;;
@@ -30227,9 +30661,9 @@ echo "$as_me: WARNING: portaudio.h: proceeding with the preprocessor's result" >
     { echo "$as_me:$LINENO: WARNING: portaudio.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: portaudio.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
     ;;
@@ -30486,9 +30920,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
     ;;
@@ -30745,9 +31179,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
     ;;
@@ -31004,9 +31438,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
     ;;
@@ -31263,9 +31697,9 @@ echo "$as_me: WARNING: libresample.h: proceeding with the preprocessor's result"
     { echo "$as_me:$LINENO: WARNING: libresample.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: libresample.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
     ;;
@@ -31610,9 +32044,9 @@ echo "$as_me: WARNING: spandsp.h: proceeding with the preprocessor's result" >&2
     { echo "$as_me:$LINENO: WARNING: spandsp.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: spandsp.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
     ;;
@@ -31873,9 +32307,9 @@ echo "$as_me: WARNING: spandsp.h: proceeding with the preprocessor's result" >&2
     { echo "$as_me:$LINENO: WARNING: spandsp.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: spandsp.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
     ;;
@@ -32189,9 +32623,9 @@ echo "$as_me: WARNING: libss7.h: proceeding with the preprocessor's result" >&2;
     { echo "$as_me:$LINENO: WARNING: libss7.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: libss7.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
     ;;
@@ -32448,9 +32882,9 @@ echo "$as_me: WARNING: openr2.h: proceeding with the preprocessor's result" >&2;
     { echo "$as_me:$LINENO: WARNING: openr2.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: openr2.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
     ;;
@@ -32623,9 +33057,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
     ;;
@@ -32764,9 +33198,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
     ;;
@@ -32906,9 +33340,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
     ;;
@@ -33045,9 +33479,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
     ;;
@@ -33236,9 +33670,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
     ;;
@@ -33723,9 +34157,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
     ;;
@@ -33863,9 +34297,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
     ;;
@@ -34562,9 +34996,9 @@ echo "$as_me: WARNING: lua5.1/lua.h: proceeding with the preprocessor's result"
     { echo "$as_me:$LINENO: WARNING: lua5.1/lua.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: lua5.1/lua.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
     ;;
@@ -34829,9 +35263,9 @@ echo "$as_me: WARNING: lua.h: proceeding with the preprocessor's result" >&2;}
     { echo "$as_me:$LINENO: WARNING: lua.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: lua.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
     ;;
@@ -35088,9 +35522,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
     ;;
@@ -35356,9 +35790,9 @@ echo "$as_me: WARNING: openais/saClm.h: proceeding with the preprocessor's resul
     { echo "$as_me:$LINENO: WARNING: openais/saClm.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: openais/saClm.h: in the future, the compiler will take precedence" >&2;}
     ( cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to www.asterisk.org ##
-## ------------------------------- ##
+## ------------------------------------------ ##
+## Report this to https://issues.asterisk.org ##
+## ------------------------------------------ ##
 _ASBOX
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
@@ -35630,9 +36064,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
     ;;
@@ -35890,9 +36324,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
     ;;
@@ -36152,9 +36586,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
     ;;
@@ -36416,9 +36850,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
     ;;
@@ -36675,9 +37109,9 @@ echo "$as_me: WARNING: sqlite3.h: proceeding with the preprocessor's result" >&2
     { echo "$as_me:$LINENO: WARNING: sqlite3.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: sqlite3.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
     ;;
@@ -36934,9 +37368,9 @@ echo "$as_me: WARNING: openssl/aes.h: proceeding with the preprocessor's result"
     { echo "$as_me:$LINENO: WARNING: openssl/aes.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: openssl/aes.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
     ;;
@@ -37195,9 +37629,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
     ;;
@@ -37370,9 +37804,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
     ;;
@@ -37948,9 +38382,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
     ;;
@@ -38207,9 +38641,9 @@ echo "$as_me: WARNING: sybdb.h: proceeding with the preprocessor's result" >&2;}
     { echo "$as_me:$LINENO: WARNING: sybdb.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: sybdb.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
     ;;
@@ -38466,9 +38900,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
     ;;
@@ -38725,9 +39159,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
     ;;
@@ -39056,9 +39490,9 @@ echo "$as_me: WARNING: dahdi/tonezone.h: proceeding with the preprocessor's resu
     { echo "$as_me:$LINENO: WARNING: dahdi/tonezone.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: dahdi/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
     ;;
@@ -39315,9 +39749,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
     ;;
@@ -39576,9 +40010,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
     ;;
@@ -39835,9 +40269,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
     ;;
@@ -40194,9 +40628,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
     ;;
@@ -40425,9 +40859,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
     ;;
@@ -40564,9 +40998,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
     ;;
@@ -41042,9 +41476,9 @@ echo "$as_me: WARNING: SDL_image.h: proceeding with the preprocessor's result" >
     { echo "$as_me:$LINENO: WARNING: SDL_image.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: SDL_image.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
     ;;
@@ -41300,9 +41734,9 @@ echo "$as_me: WARNING: ffmpeg/avcodec.h: proceeding with the preprocessor's resu
     { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: ffmpeg/avcodec.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
     ;;
@@ -41458,9 +41892,9 @@ echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's resu
     { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: linux/videodev.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
     ;;
@@ -41701,9 +42135,9 @@ echo "$as_me: WARNING: X11/Xlib.h: proceeding with the preprocessor's result" >&
     { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: X11/Xlib.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
     ;;
@@ -41964,9 +42398,9 @@ echo "$as_me: WARNING: X11/Xlib.h: proceeding with the preprocessor's result" >&
     { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5
 echo "$as_me: WARNING: X11/Xlib.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
     ;;
@@ -42192,649 +42626,146 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         test ! -s conftest.err
        } && test -s conftest$ac_exeext &&
        $as_test_x conftest$ac_exeext; then
-     PBX_GTK=1
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_GTK 1
-_ACEOF
-
-
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-               CPPFLAGS="${saved_cppflags}"
-               LIBS="${saved_libs}"
-           else
-               PBX_GTK=1
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_GTK 1
-_ACEOF
-
-           fi
-       fi
-    fi
-
-
-PBX_GTK2=0
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}pkg-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_prog_PKGCONFIG+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$PKGCONFIG"; then
-  ac_cv_prog_PKGCONFIG="$PKGCONFIG" # 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_PKGCONFIG="${ac_tool_prefix}pkg-config"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-PKGCONFIG=$ac_cv_prog_PKGCONFIG
-if test -n "$PKGCONFIG"; then
-  { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
-echo "${ECHO_T}$PKGCONFIG" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_PKGCONFIG"; then
-  ac_ct_PKGCONFIG=$PKGCONFIG
-  # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-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_prog_ac_ct_PKGCONFIG+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$ac_ct_PKGCONFIG"; then
-  ac_cv_prog_ac_ct_PKGCONFIG="$ac_ct_PKGCONFIG" # 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_ac_ct_PKGCONFIG="pkg-config"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_PKGCONFIG=$ac_cv_prog_ac_ct_PKGCONFIG
-if test -n "$ac_ct_PKGCONFIG"; then
-  { echo "$as_me:$LINENO: result: $ac_ct_PKGCONFIG" >&5
-echo "${ECHO_T}$ac_ct_PKGCONFIG" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-  if test "x$ac_ct_PKGCONFIG" = x; then
-    PKGCONFIG="No"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
-    PKGCONFIG=$ac_ct_PKGCONFIG
-  fi
-else
-  PKGCONFIG="$ac_cv_prog_PKGCONFIG"
-fi
-
-if test ! "x${PKGCONFIG}" = xNo; then
-   GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null)
-   GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
-   PBX_GTK2=1
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_GTK2 1
-_ACEOF
-
-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
+     PBX_GTK=1
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_GTK 1
+_ACEOF
+
+
 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
-
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+               CPPFLAGS="${saved_cppflags}"
+               LIBS="${saved_libs}"
+           else
+               PBX_GTK=1
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_CURL 1
+#define HAVE_GTK 1
 _ACEOF
 
+           fi
+       fi
+    fi
 
 
-           PBX_CURL=1
+PBX_GTK2=0
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-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_prog_PKGCONFIG+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$PKGCONFIG"; then
+  ac_cv_prog_PKGCONFIG="$PKGCONFIG" # 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_PKGCONFIG="${ac_tool_prefix}pkg-config"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
 
-           for _libcurl_feature in $_libcurl_features ; do
-              cat >>confdefs.h <<_ACEOF
-#define `echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
-_ACEOF
+fi
+fi
+PKGCONFIG=$ac_cv_prog_PKGCONFIG
+if test -n "$PKGCONFIG"; then
+  { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
+echo "${ECHO_T}$PKGCONFIG" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
 
-              eval `echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
-           done
 
-           if test "x$_libcurl_protocols" = "x" ; then
+fi
+if test -z "$ac_cv_prog_PKGCONFIG"; then
+  ac_ct_PKGCONFIG=$PKGCONFIG
+  # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-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_prog_ac_ct_PKGCONFIG+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_PKGCONFIG"; then
+  ac_cv_prog_ac_ct_PKGCONFIG="$ac_ct_PKGCONFIG" # 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_ac_ct_PKGCONFIG="pkg-config"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
 
-              # We don't have --protocols, so just assume that all
-              # protocols are available
-              _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT"
+fi
+fi
+ac_ct_PKGCONFIG=$ac_cv_prog_ac_ct_PKGCONFIG
+if test -n "$ac_ct_PKGCONFIG"; then
+  { echo "$as_me:$LINENO: result: $ac_ct_PKGCONFIG" >&5
+echo "${ECHO_T}$ac_ct_PKGCONFIG" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
 
-              if test x$libcurl_feature_SSL = xyes ; then
-                 _libcurl_protocols="$_libcurl_protocols HTTPS"
+  if test "x$ac_ct_PKGCONFIG" = x; then
+    PKGCONFIG="No"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet.  If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet.  If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+    PKGCONFIG=$ac_ct_PKGCONFIG
+  fi
+else
+  PKGCONFIG="$ac_cv_prog_PKGCONFIG"
+fi
 
-                 # 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
+if test ! "x${PKGCONFIG}" = xNo; then
+   GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null)
+   GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
+   PBX_GTK2=1
 
-           for _libcurl_protocol in $_libcurl_protocols ; do
-              cat >>confdefs.h <<_ACEOF
-#define `echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_GTK2 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
+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
 
 
 # build a GENERIC_ODBC result based on the presence of either UnixODBC (preferred)
@@ -43291,7 +43222,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by asterisk $as_me 1.6, which was
+This file was extended by asterisk $as_me trunk, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -43340,7 +43271,7 @@ Report bugs to <bug-autoconf@gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-asterisk config.status 1.6
+asterisk config.status trunk
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
@@ -43550,6 +43481,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
@@ -43609,7 +43541,6 @@ DIRNAME!$DIRNAME$ac_delim
 LN!$LN$ac_delim
 DOT!$DOT$ac_delim
 WGET!$WGET$ac_delim
-CURL!$CURL$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -43651,6 +43582,7 @@ _ACEOF
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
+CURL!$CURL$ac_delim
 RUBBER!$RUBBER$ac_delim
 CATDVI!$CATDVI$ac_delim
 KPATHSEA!$KPATHSEA$ac_delim
@@ -43670,10 +43602,10 @@ ALSA_LIB!$ALSA_LIB$ac_delim
 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
 ALSA_DIR!$ALSA_DIR$ac_delim
 PBX_ALSA!$PBX_ALSA$ac_delim
-BKTR_LIB!$BKTR_LIB$ac_delim
-BKTR_INCLUDE!$BKTR_INCLUDE$ac_delim
-BKTR_DIR!$BKTR_DIR$ac_delim
-PBX_BKTR!$PBX_BKTR$ac_delim
+FFMPEG_LIB!$FFMPEG_LIB$ac_delim
+FFMPEG_INCLUDE!$FFMPEG_INCLUDE$ac_delim
+FFMPEG_DIR!$FFMPEG_DIR$ac_delim
+PBX_FFMPEG!$PBX_FFMPEG$ac_delim
 CAP_LIB!$CAP_LIB$ac_delim
 CAP_INCLUDE!$CAP_INCLUDE$ac_delim
 CAP_DIR!$CAP_DIR$ac_delim
@@ -43694,10 +43626,10 @@ DAHDI_LIB!$DAHDI_LIB$ac_delim
 DAHDI_INCLUDE!$DAHDI_INCLUDE$ac_delim
 DAHDI_DIR!$DAHDI_DIR$ac_delim
 PBX_DAHDI!$PBX_DAHDI$ac_delim
-FFMPEG_LIB!$FFMPEG_LIB$ac_delim
-FFMPEG_INCLUDE!$FFMPEG_INCLUDE$ac_delim
-FFMPEG_DIR!$FFMPEG_DIR$ac_delim
-PBX_FFMPEG!$PBX_FFMPEG$ac_delim
+BKTR_LIB!$BKTR_LIB$ac_delim
+BKTR_INCLUDE!$BKTR_INCLUDE$ac_delim
+BKTR_DIR!$BKTR_DIR$ac_delim
+PBX_BKTR!$PBX_BKTR$ac_delim
 GSM_LIB!$GSM_LIB$ac_delim
 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
 GSM_DIR!$GSM_DIR$ac_delim
@@ -43714,6 +43646,10 @@ GMIME_LIB!$GMIME_LIB$ac_delim
 GMIME_INCLUDE!$GMIME_INCLUDE$ac_delim
 GMIME_DIR!$GMIME_DIR$ac_delim
 PBX_GMIME!$PBX_GMIME$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
 HOARD_LIB!$HOARD_LIB$ac_delim
 HOARD_INCLUDE!$HOARD_INCLUDE$ac_delim
 HOARD_DIR!$HOARD_DIR$ac_delim
@@ -43743,11 +43679,6 @@ ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
 ISDNNET_DIR!$ISDNNET_DIR$ac_delim
 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
 JACK_LIB!$JACK_LIB$ac_delim
-JACK_INCLUDE!$JACK_INCLUDE$ac_delim
-JACK_DIR!$JACK_DIR$ac_delim
-PBX_JACK!$PBX_JACK$ac_delim
-LDAP_LIB!$LDAP_LIB$ac_delim
-LDAP_INCLUDE!$LDAP_INCLUDE$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -43789,8 +43720,14 @@ _ACEOF
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
+JACK_INCLUDE!$JACK_INCLUDE$ac_delim
+JACK_DIR!$JACK_DIR$ac_delim
+PBX_JACK!$PBX_JACK$ac_delim
+LDAP_LIB!$LDAP_LIB$ac_delim
+LDAP_INCLUDE!$LDAP_INCLUDE$ac_delim
 LDAP_DIR!$LDAP_DIR$ac_delim
 PBX_LDAP!$PBX_LDAP$ac_delim
+_libcurl_config!$_libcurl_config$ac_delim
 LIBXML2_LIB!$LIBXML2_LIB$ac_delim
 LIBXML2_INCLUDE!$LIBXML2_INCLUDE$ac_delim
 LIBXML2_DIR!$LIBXML2_DIR$ac_delim
@@ -43827,6 +43764,14 @@ 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
@@ -43855,6 +43800,14 @@ PRI_INBANDDISCONNECT_LIB!$PRI_INBANDDISCONNECT_LIB$ac_delim
 PRI_INBANDDISCONNECT_INCLUDE!$PRI_INBANDDISCONNECT_INCLUDE$ac_delim
 PRI_INBANDDISCONNECT_DIR!$PRI_INBANDDISCONNECT_DIR$ac_delim
 PBX_PRI_INBANDDISCONNECT!$PBX_PRI_INBANDDISCONNECT$ac_delim
+PWLIB_LIB!$PWLIB_LIB$ac_delim
+PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
+PWLIB_DIR!$PWLIB_DIR$ac_delim
+PBX_PWLIB!$PBX_PWLIB$ac_delim
+RADIUS_LIB!$RADIUS_LIB$ac_delim
+RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
+RADIUS_DIR!$RADIUS_DIR$ac_delim
+PBX_RADIUS!$PBX_RADIUS$ac_delim
 RESAMPLE_LIB!$RESAMPLE_LIB$ac_delim
 RESAMPLE_INCLUDE!$RESAMPLE_INCLUDE$ac_delim
 RESAMPLE_DIR!$RESAMPLE_DIR$ac_delim
@@ -43864,28 +43817,6 @@ SPANDSP_INCLUDE!$SPANDSP_INCLUDE$ac_delim
 SPANDSP_DIR!$SPANDSP_DIR$ac_delim
 PBX_SPANDSP!$PBX_SPANDSP$ac_delim
 SS7_LIB!$SS7_LIB$ac_delim
-SS7_INCLUDE!$SS7_INCLUDE$ac_delim
-SS7_DIR!$SS7_DIR$ac_delim
-PBX_SS7!$PBX_SS7$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
-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
-PBX_RADIUS!$PBX_RADIUS$ac_delim
-SDL_LIB!$SDL_LIB$ac_delim
-SDL_INCLUDE!$SDL_INCLUDE$ac_delim
-SDL_DIR!$SDL_DIR$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -43927,15 +43858,9 @@ _ACEOF
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
-PBX_SDL!$PBX_SDL$ac_delim
-SDL_IMAGE_LIB!$SDL_IMAGE_LIB$ac_delim
-SDL_IMAGE_INCLUDE!$SDL_IMAGE_INCLUDE$ac_delim
-SDL_IMAGE_DIR!$SDL_IMAGE_DIR$ac_delim
-PBX_SDL_IMAGE!$PBX_SDL_IMAGE$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
+SS7_INCLUDE!$SS7_INCLUDE$ac_delim
+SS7_DIR!$SS7_DIR$ac_delim
+PBX_SS7!$PBX_SS7$ac_delim
 SPEEX_LIB!$SPEEX_LIB$ac_delim
 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
 SPEEX_DIR!$SPEEX_DIR$ac_delim
@@ -43956,14 +43881,14 @@ SQLITE3_LIB!$SQLITE3_LIB$ac_delim
 SQLITE3_INCLUDE!$SQLITE3_INCLUDE$ac_delim
 SQLITE3_DIR!$SQLITE3_DIR$ac_delim
 PBX_SQLITE3!$PBX_SQLITE3$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
@@ -43972,6 +43897,10 @@ TERMCAP_LIB!$TERMCAP_LIB$ac_delim
 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
 TERMCAP_DIR!$TERMCAP_DIR$ac_delim
 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
+TIMERFD_LIB!$TIMERFD_LIB$ac_delim
+TIMERFD_INCLUDE!$TIMERFD_INCLUDE$ac_delim
+TIMERFD_DIR!$TIMERFD_DIR$ac_delim
+PBX_TIMERFD!$PBX_TIMERFD$ac_delim
 TINFO_LIB!$TINFO_LIB$ac_delim
 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
 TINFO_DIR!$TINFO_DIR$ac_delim
@@ -44004,10 +43933,6 @@ ZLIB_LIB!$ZLIB_LIB$ac_delim
 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
 ZLIB_DIR!$ZLIB_DIR$ac_delim
 PBX_ZLIB!$PBX_ZLIB$ac_delim
-TIMERFD_LIB!$TIMERFD_LIB$ac_delim
-TIMERFD_INCLUDE!$TIMERFD_INCLUDE$ac_delim
-TIMERFD_DIR!$TIMERFD_DIR$ac_delim
-PBX_TIMERFD!$PBX_TIMERFD$ac_delim
 ALLOCA!$ALLOCA$ac_delim
 LIBOBJS!$LIBOBJS$ac_delim
 PBX_WORKING_FORK!$PBX_WORKING_FORK$ac_delim
@@ -44024,6 +43949,12 @@ AST_SHADOW_WARNINGS!$AST_SHADOW_WARNINGS$ac_delim
 PBX_IP_MTU_DISCOVER!$PBX_IP_MTU_DISCOVER$ac_delim
 PBX_DAHDI_HALF_FULL!$PBX_DAHDI_HALF_FULL$ac_delim
 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
+CONFIG_LIBXML2!$CONFIG_LIBXML2$ac_delim
+PBX_MISDN_FAC_RESULT!$PBX_MISDN_FAC_RESULT$ac_delim
+PBX_MISDN_FAC_ERROR!$PBX_MISDN_FAC_ERROR$ac_delim
+CONFIG_NETSNMP!$CONFIG_NETSNMP$ac_delim
+PG_CONFIG!$PG_CONFIG$ac_delim
+PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -44065,12 +43996,6 @@ _ACEOF
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
-CONFIG_LIBXML2!$CONFIG_LIBXML2$ac_delim
-PBX_MISDN_FAC_RESULT!$PBX_MISDN_FAC_RESULT$ac_delim
-PBX_MISDN_FAC_ERROR!$PBX_MISDN_FAC_ERROR$ac_delim
-CONFIG_NETSNMP!$CONFIG_NETSNMP$ac_delim
-PG_CONFIG!$PG_CONFIG$ac_delim
-PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
 PWLIBDIR!$PWLIBDIR$ac_delim
 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
@@ -44090,14 +44015,13 @@ PBX_IXJUSER!$PBX_IXJUSER$ac_delim
 CONFIG_SDL!$CONFIG_SDL$ac_delim
 CONFIG_GTK!$CONFIG_GTK$ac_delim
 PKGCONFIG!$PKGCONFIG$ac_delim
-_libcurl_config!$_libcurl_config$ac_delim
 GENERIC_ODBC_LIB!$GENERIC_ODBC_LIB$ac_delim
 GENERIC_ODBC_INCLUDE!$GENERIC_ODBC_INCLUDE$ac_delim
 PBX_GENERIC_ODBC!$PBX_GENERIC_ODBC$ac_delim
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -44526,6 +44450,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
index d36db4195bbc18ac4dc2f7a2ce6d0af26def6b23..21a94b6d783c65630615766813e2a683524109fa 100644 (file)
@@ -8,7 +8,10 @@
 
 AC_PREREQ(2.60)
 
-AC_INIT(asterisk, 1.6, www.asterisk.org)
+AC_INIT([asterisk], [trunk], [https://issues.asterisk.org])
+
+# Allow the --help=recursive option to function correctly
+AC_CONFIG_SUBDIRS([menuselect])
 
 # cross-compile macros
 AC_CANONICAL_BUILD
@@ -41,12 +44,12 @@ AC_USE_SYSTEM_EXTENSIONS    # note- does not work on FreeBSD
 
 case "${host_os}" in
      freebsd*)
-     ac_default_prefix=/usr/local
+     AC_PREFIX_DEFAULT([/usr/local])
      CPPFLAGS=-I/usr/local/include
      LDFLAGS=-L/usr/local/lib
      ;;
      openbsd*)
-     ac_default_prefix=/usr/local
+     AC_PREFIX_DEFAULT([/usr/local])
      if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
         if test ${sysconfdir} = '${prefix}/etc'; then
            sysconfdir=/etc
@@ -62,7 +65,7 @@ case "${host_os}" in
      AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.])
      ;;
      *)
-     ac_default_prefix=/usr
+     AC_PREFIX_DEFAULT([/usr])
      if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
         if test ${sysconfdir} = '${prefix}/etc'; then
            sysconfdir=/etc
@@ -291,20 +294,21 @@ AC_SUBST(AST_DEVMODE)
 # to make things easier for the users.
 
 AST_EXT_LIB_SETUP([ALSA], [Advanced Linux Sound Architecture], [asound])
-
-# BKTR is used for backtrace support on platforms that do not
-# have it natively.
-AST_EXT_LIB_SETUP([BKTR], [Stack Backtrace], [execinfo])
+AST_EXT_LIB_SETUP([FFMPEG], [Ffmpeg and avcodec], [avcodec])
 AST_EXT_LIB_SETUP([CAP], [POSIX 1.e capabilities], [cap])
 AST_EXT_LIB_SETUP([CURL], [cURL], [curl])
 AST_EXT_LIB_SETUP([CURSES], [curses], [curses])
 AST_EXT_LIB_SETUP([CRYPTO], [OpenSSL Cryptography], [crypto])
 AST_EXT_LIB_SETUP([DAHDI], [DAHDI], [dahdi])
-AST_EXT_LIB_SETUP([FFMPEG], [Ffmpeg and avcodec], [avcodec])
+
+# BKTR is used for backtrace support on platforms that do not
+# have it natively.
+AST_EXT_LIB_SETUP([BKTR], [Stack Backtrace], [execinfo])
 AST_EXT_LIB_SETUP([GSM], [External GSM], [gsm], [, use 'internal' GSM otherwise])
 AST_EXT_LIB_SETUP([GTK], [gtk], [gtk])
 AST_EXT_LIB_SETUP([GTK2], [gtk2], [gtk2])
 AST_EXT_LIB_SETUP([GMIME], [GMime], [gmime])
+AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323])
 AST_EXT_LIB_SETUP([HOARD], [Hoard Memory Allocator], [hoard])
 AST_EXT_LIB_SETUP([ICONV], [Iconv], [iconv])
 AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber], [iksemel])
@@ -314,6 +318,7 @@ AST_EXT_LIB_SETUP([IODBC], [iODBC], [iodbc])
 AST_EXT_LIB_SETUP([ISDNNET], [ISDN4Linux], [isdnnet])
 AST_EXT_LIB_SETUP([JACK], [Jack Audio Connection Kit], [jack])
 AST_EXT_LIB_SETUP([LDAP], [OpenLDAP], [ldap])
+AST_LIBCURL_CHECK_CONFIG([], [7.10.1])
 AST_EXT_LIB_SETUP([LIBXML2], [LibXML2], [libxml2])
 AST_EXT_LIB_SETUP([LTDL], [libtool], [ltdl])
 AST_EXT_LIB_SETUP([LUA], [Lua], [lua])
@@ -323,6 +328,8 @@ AST_EXT_LIB_SETUP([NCURSES], [ncurses], [ncurses])
 AST_EXT_LIB_SETUP([NETSNMP], [Net-SNMP], [netsnmp])
 AST_EXT_LIB_SETUP([NEWT], [newt], [newt])
 AST_EXT_LIB_SETUP([OGG], [OGG], [ogg])
+AST_EXT_LIB_SETUP([OPENAIS], [OpenAIS], [openais])
+AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2])
 AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk])
 AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss])
 AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres])
@@ -330,26 +337,22 @@ AST_EXT_LIB_SETUP([POPT], [popt], [popt])
 AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio])
 AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri])
 AST_EXT_LIB_SETUP_DEPENDENT([PRI_INBANDDISCONNECT], [ISDN PRI set_inbanddisconnect], [PRI], [pri])
+AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib])
+AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius])
 AST_EXT_LIB_SETUP([RESAMPLE], [LIBRESAMPLE], [resample])
 AST_EXT_LIB_SETUP([SPANDSP], [SPANDSP], [spandsp])
 AST_EXT_LIB_SETUP([SS7], [ISDN SS7], [ss7])
-AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2])
-AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib])
-AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323])
-AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius])
-AST_EXT_LIB_SETUP([SDL], [Sdl], [sdl])
-AST_EXT_LIB_SETUP([SDL_IMAGE], [Sdl Image], [SDL_image])
-AST_EXT_LIB_SETUP([OPENAIS], [OpenAIS], [openais])
 AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex])
 AST_EXT_LIB_SETUP([SPEEX_PREPROCESS], [Speex preprocess routines], [speex])
 AST_EXT_LIB_SETUP([SPEEXDSP], [SpeexDSP], [speexdsp])
 AST_EXT_LIB_SETUP_DEPENDENT([SPEEX_PREPROCESS], [speex_preprocess_ctl], [], [speex])
 AST_EXT_LIB_SETUP([SQLITE], [SQLite], [sqlite])
 AST_EXT_LIB_SETUP([SQLITE3], [SQLite], [sqlite3])
-AST_EXT_LIB_SETUP([SUPPSERV], [mISDN Supplemental Services], [suppserv])
 AST_EXT_LIB_SETUP([OPENSSL], [OpenSSL Secure Sockets Layer], [ssl])
+AST_EXT_LIB_SETUP([SUPPSERV], [mISDN Supplemental Services], [suppserv])
 AST_EXT_LIB_SETUP([FREETDS], [FreeTDS], [tds])
 AST_EXT_LIB_SETUP([TERMCAP], [Termcap], [termcap])
+AST_EXT_LIB_SETUP([TIMERFD], [timerfd], [timerfd])
 AST_EXT_LIB_SETUP([TINFO], [Term Info], [tinfo])
 AST_EXT_LIB_SETUP([TONEZONE], [tonezone], [tonezone])
 AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [unixodbc])
@@ -358,7 +361,6 @@ AST_EXT_LIB_SETUP([VORBIS], [Vorbis], [vorbis])
 AST_EXT_LIB_SETUP([VPB], [Voicetronix API], [vpb])
 AST_EXT_LIB_SETUP([X11], [X11], [x11])
 AST_EXT_LIB_SETUP([ZLIB], [zlib compression], [z])
-AST_EXT_LIB_SETUP([TIMERFD], [timerfd], [timerfd])
 
 # check for basic system features and functionality before
 # checking for package libraries
@@ -1777,8 +1779,6 @@ AC_SUBST(PBX_GTK2)
 AC_SUBST(GTK2_INCLUDE)
 AC_SUBST(GTK2_LIB)
 
-AST_LIBCURL_CHECK_CONFIG([], [7.10.1])
-
 # build a GENERIC_ODBC result based on the presence of either UnixODBC (preferred)
 # or iODBC
 
index a6f108e82e21a4acdcb4a97b8ccd300b7edc91f9..e3bd573cc340733b25479a69b84a82071bd9e3ba 100644 (file)
 /* Define if your system has the SDL libraries. */
 #undef HAVE_SDL
 
-/* Define to 1 if you have the Sdl Image library. */
-#undef HAVE_SDL_IMAGE
-
 /* Define to 1 if you have the `select' function. */
 #undef HAVE_SELECT