Skip to content
Snippets Groups Projects
configure 1.4 MiB
Newer Older
  • Learn to ignore specific revisions
  • if test "${USE_CURL}" != "no"; then
       if test -n "$ac_tool_prefix"; then
    
      # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
    set dummy ${ac_tool_prefix}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_CURL_CONFIG+set}" = set; then
    
      case $CURL_CONFIG in
    
      ac_cv_path_CURL_CONFIG="$CURL_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_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    
        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        break 2
      fi
    
    Russell Bryant's avatar
    Russell Bryant committed
    done
    
    Russell Bryant's avatar
    Russell Bryant committed
    esac
    
    CURL_CONFIG=$ac_cv_path_CURL_CONFIG
    if test -n "$CURL_CONFIG"; then
      { echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
    echo "${ECHO_T}$CURL_CONFIG" >&6; }
    
    Russell Bryant's avatar
    Russell Bryant committed
    else
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    fi
    
    if test -z "$ac_cv_path_CURL_CONFIG"; then
      ac_pt_CURL_CONFIG=$CURL_CONFIG
    
      # 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_ac_pt_CURL_CONFIG+set}" = set; then
    
    Russell Bryant's avatar
    Russell Bryant committed
    else
    
      case $ac_pt_CURL_CONFIG in
    
      ac_cv_path_ac_pt_CURL_CONFIG="$ac_pt_CURL_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_ac_pt_CURL_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
    
    Russell Bryant's avatar
    Russell Bryant committed
    
    
    Russell Bryant's avatar
    Russell Bryant committed
    fi
    
    ac_pt_CURL_CONFIG=$ac_cv_path_ac_pt_CURL_CONFIG
    if test -n "$ac_pt_CURL_CONFIG"; then
      { echo "$as_me:$LINENO: result: $ac_pt_CURL_CONFIG" >&5
    echo "${ECHO_T}$ac_pt_CURL_CONFIG" >&6; }
    
    Russell Bryant's avatar
    Russell Bryant committed
    else
    
      { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
    
    Russell Bryant's avatar
    Russell Bryant committed
    fi
    
      if test "x$ac_pt_CURL_CONFIG" = x; then
        CURL_CONFIG="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
    
        CURL_CONFIG=$ac_pt_CURL_CONFIG
    
      CURL_CONFIG="$ac_cv_path_CURL_CONFIG"
    
    Russell Bryant's avatar
    Russell Bryant committed
    fi
    
       if test ! x"${CURL_CONFIG}" = xNo; then
    
          if test $(printf "%d" 0x$(${CURL_CONFIG} --vernum)) -ge $(printf "%d" 0x070907); then
             CURL_INCLUDE=$(${CURL_CONFIG} --cflags)
             CURL_LIB=$(${CURL_CONFIG} --libs)
    
    
             { echo "$as_me:$LINENO: checking for curl_version() in curl/curl.h" >&5
    echo $ECHO_N "checking for curl_version() in curl/curl.h... $ECHO_C" >&6; }
             saved_cppflags="${CPPFLAGS}"
             CPPFLAGS="${CPPFLAGS} ${CURL_INCLUDE}"
             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 ()
    {
    curl_version();
      ;
      return 0;
    }
    
    _ACEOF
    rm -f conftest.$ac_objext
    if { (ac_try="$ac_compile"
    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_compile") 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_objext; then
    
    
                    { echo "$as_me:$LINENO: result: yes" >&5
    echo "${ECHO_T}yes" >&6; }
                    ac_cv_curl_h="yes"
    
    else
      echo "$as_me: failed program was:" >&5
    sed 's/^/| /' conftest.$ac_ext >&5
    
    
                    { echo "$as_me:$LINENO: result: no" >&5
    echo "${ECHO_T}no" >&6; }
                    ac_cv_curl_h="no"
    
    
    fi
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	 CPPFLAGS="${saved_cppflags}"
             if test "${ac_cv_curl_h}" = "yes"; then
                 PBX_CURL=1
    
    Russell Bryant's avatar
    Russell Bryant committed
    _ACEOF
    
    
    ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
    
    
    	{ echo "$as_me:$LINENO: checking for mandatory modules: ${ac_mandatory_list}" >&5
    echo $ECHO_N "checking for mandatory modules: ${ac_mandatory_list}... $ECHO_C" >&6; }
    	err=0;
    	for i in ${ac_mandatory_list}; do
    		eval "a=\${PBX_$i}"
    		if test "x${a}" = "x1" ; then continue; fi
    		if test ${err} = "0" ; then { echo "$as_me:$LINENO: result: fail" >&5
    echo "${ECHO_T}fail" >&6; } ; fi
    		{ echo "$as_me:$LINENO: result: " >&5
    echo "${ECHO_T}" >&6; }
    		eval "a=\${${i}_OPTION}"
    		{ echo "$as_me:$LINENO: ***" >&5
    echo "$as_me: ***" >&6;}
    		{ echo "$as_me:$LINENO: *** The $i installation appears to be missing or broken." >&5
    echo "$as_me: *** The $i installation appears to be missing or broken." >&6;}
    
    		{ echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
    echo "$as_me: *** Either correct the installation, or run configure" >&6;}
    
    		{ echo "$as_me:$LINENO: *** including --without-${a}." >&5
    echo "$as_me: *** including --without-${a}." >&6;}
    		err=1
    	done
    	if test $err = 1 ; then exit 1; fi
    	{ echo "$as_me:$LINENO: result: ok" >&5
    echo "${ECHO_T}ok" >&6; }
    
    
    
    cat >confcache <<\_ACEOF
    # This file is a shell script that caches the results of configure
    # tests run on this system so they can be shared between configure
    # scripts and configure runs, see configure's option --config-cache.
    # It is not useful on other systems.  If it contains results you don't
    # want to keep, you may remove or edit it.
    #
    # config.status only pays attention to the cache file if you give it
    # the --recheck option to rerun configure.
    #
    # `ac_cv_env_foo' variables (set or unset) will be overridden when
    # loading this file, other *unset* `ac_cv_foo' will be assigned the
    # following values.
    
    _ACEOF
    
    # The following way of writing the cache mishandles newlines in values,
    # but we know of no workaround that is simple, portable, and efficient.
    
    # So, we kill variables containing newlines.
    
    # Ultrix sh set writes to stderr and can't be redirected directly,
    # and sets the high bit in the cache file unless we assign to the vars.
    
    (
      for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
        eval ac_val=\$$ac_var
        case $ac_val in #(
        *${as_nl}*)
          case $ac_var in #(
          *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
          esac
          case $ac_var in #(
          _ | IFS | as_nl) ;; #(
          *) $as_unset $ac_var ;;
          esac ;;
        esac
      done
    
    
        case $as_nl`(ac_space=' '; set) 2>&1` in #(
        *${as_nl}ac_space=\ *)
    
          # `set' does not quote correctly, so add quotes (double-quote
          # substitution turns \\\\ into \\, and sed turns \\ into \).
          sed -n \
    	"s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    
        *)
          # `set' quotes correctly as required by POSIX, so do not add quotes.
    
          sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    
         s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
         t end
    
         s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
         :end' >>confcache
    
    if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
      if test -w "$cache_file"; then
    
        test "x$cache_file" != "x/dev/null" &&
          { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    echo "$as_me: updating cache $cache_file" >&6;}
    
        { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    
      fi
    fi
    rm -f confcache
    
    test "x$prefix" = xNONE && prefix=$ac_default_prefix
    # Let make expand exec_prefix.
    test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    
    DEFS=-DHAVE_CONFIG_H
    
    ac_libobjs=
    ac_ltlibobjs=
    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
      # 1. Remove the extension, and $U if already installed.
    
      ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
      ac_i=`echo "$ac_i" | sed "$ac_script"`
      # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
      #    will be set to the directory where LIBOBJS objects are built.
      ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
      ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    
    done
    LIBOBJS=$ac_libobjs
    
    LTLIBOBJS=$ac_ltlibobjs
    
    
    
    : ${CONFIG_STATUS=./config.status}
    ac_clean_files_save=$ac_clean_files
    ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    echo "$as_me: creating $CONFIG_STATUS" >&6;}
    cat >$CONFIG_STATUS <<_ACEOF
    #! $SHELL
    # Generated by $as_me.
    # Run this file to recreate the current configuration.
    # Compiler output produced by configure, useful for debugging
    # configure, is in config.log if it exists.
    
    debug=false
    ac_cs_recheck=false
    ac_cs_silent=false
    SHELL=\${CONFIG_SHELL-$SHELL}
    _ACEOF
    
    cat >>$CONFIG_STATUS <<\_ACEOF
    ## --------------------- ##
    ## M4sh Initialization.  ##
    ## --------------------- ##
    
    
    # Be more Bourne compatible
    DUALCASE=1; export DUALCASE # for MKS sh
    
    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
      emulate sh
      NULLCMD=:
      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
      # is contrary to our usage.  Disable this feature.
      alias -g '${1+"$@"}'='"$@"'
    
      case `(set -o) 2>/dev/null` in
      *posix*) set -o posix ;;
    esac
    
    
    
    # PATH needs CR
    # Avoid depending upon Character Ranges.
    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    as_cr_digits='0123456789'
    as_cr_alnum=$as_cr_Letters$as_cr_digits
    
    # The user is always right.
    if test "${PATH_SEPARATOR+set}" != set; then
      echo "#! /bin/sh" >conf$$.sh
      echo  "exit 0"   >>conf$$.sh
      chmod +x conf$$.sh
      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
        PATH_SEPARATOR=';'
      else
        PATH_SEPARATOR=:
      fi
      rm -f conf$$.sh
    fi
    
    
    # Support unset when possible.
    if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
      as_unset=unset
    else
      as_unset=false
    fi
    
    
    
    # IFS
    # We need space, tab and new line, in precisely that order.  Quoting is
    # there to prevent editors from complaining about space-tab.
    # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    # splitting by setting IFS to empty value.)
    as_nl='
    '
    IFS=" ""	$as_nl"
    
    # Find who we are.  Look in the path if we contain no directory separator.
    case $0 in
      *[\\/]* ) as_myself=$0 ;;
      *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    done
    IFS=$as_save_IFS
    
         ;;
    esac
    # We did not find ourselves, most probably we were run as `sh COMMAND'
    # in which case we are not to be found in the path.
    if test "x$as_myself" = x; then
      as_myself=$0
    fi
    if test ! -f "$as_myself"; then
      echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
      { (exit 1); exit 1; }
    fi
    
    
    # Work around bugs in pre-3.0 UWIN ksh.
    
    for as_var in ENV MAIL MAILPATH
    do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    done
    
    PS1='$ '
    PS2='> '
    PS4='+ '
    
    # NLS nuisances.
    for as_var in \
      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
      LC_TELEPHONE LC_TIME
    do
      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
        eval $as_var=C; export $as_var
      else
    
        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    
    # Required to use basename.
    if expr a : '\(a\)' >/dev/null 2>&1 &&
       test "X`expr 00001 : '.*\(...\)'`" = X001; then
      as_expr=expr
    else
      as_expr=false
    
    if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
      as_basename=basename
    else
      as_basename=false
    fi
    
    
    # Name of the executable.
    as_me=`$as_basename -- "$0" ||
    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    	 X"$0" : 'X\(//\)$' \| \
    	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    echo X/"$0" |
        sed '/^.*\/\([^/][^/]*\)\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\/\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\/\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
    
    # CDPATH.
    $as_unset CDPATH
    
    
    
    
      as_lineno_1=$LINENO
      as_lineno_2=$LINENO
      test "x$as_lineno_1" != "x$as_lineno_2" &&
    
      test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    
    
      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
      # uniformly replaced by the line number.  The first 'sed' inserts a
    
      # line-number line after each line using $LINENO; the second 'sed'
      # does the real work.  The second script uses 'N' to pair each
      # line-number line with the line containing $LINENO, and appends
      # trailing '-' during substitution so that $LINENO is not a special
      # case at line end.
    
      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    
      # scripts with optimization help from Paolo Bonzini.  Blame Lee
      # E. McMahon (1931-1989) for sed's syntax.  :-)
      sed -n '
        p
        /[$]LINENO/=
      ' <$as_myself |
    
          :loop
          s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    
      chmod +x "$as_me.lineno" ||
        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    
       { (exit 1); exit 1; }; }
    
      # Don't try to exec as it changes $[0], causing all sort of problems
      # (the dirname of $[0] is not the place where we might find the
    
      # original and so on.  Autoconf is especially sensitive to this).
      . "./$as_me.lineno"
    
    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    
      as_dirname=dirname
    else
      as_dirname=false
    fi
    
    ECHO_C= ECHO_N= ECHO_T=
    case `echo -n x` in
    -n*)
      case `echo 'x\c'` in
      *c*) ECHO_T='	';;	# ECHO_T is single tab character.
      *)   ECHO_C='\c';;
      esac;;
    *)
      ECHO_N='-n';;
    
    if expr a : '\(a\)' >/dev/null 2>&1 &&
       test "X`expr 00001 : '.*\(...\)'`" = X001; then
    
      as_expr=expr
    else
      as_expr=false
    fi
    
    rm -f conf$$ conf$$.exe conf$$.file
    
    if test -d conf$$.dir; then
      rm -f conf$$.dir/conf$$.file
    else
      rm -f conf$$.dir
      mkdir conf$$.dir
    fi
    
    echo >conf$$.file
    if ln -s conf$$.file conf$$ 2>/dev/null; then
    
      as_ln_s='ln -s'
      # ... but there are two gotchas:
      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
      # In both cases, we have to default to `cp -p'.
      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    
        as_ln_s='cp -p'
    elif ln conf$$.file conf$$ 2>/dev/null; then
      as_ln_s=ln
    else
      as_ln_s='cp -p'
    fi
    
    rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    rmdir conf$$.dir 2>/dev/null
    
    
    if mkdir -p . 2>/dev/null; then
      as_mkdir_p=:
    else
      test -d ./-p && rmdir ./-p
      as_mkdir_p=false
    fi
    
    
    if test -x / >/dev/null 2>&1; then
      as_test_x='test -x'
    
      if ls -dL / >/dev/null 2>&1; then
        as_ls_L_option=L
      else
        as_ls_L_option=
      fi
      as_test_x='
        eval sh -c '\''
          if test -d "$1"; then
            test -d "$1/.";
          else
    	case $1 in
            -*)set "./$1";;
    	esac;
    	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    	???[sx]*):;;*)false;;esac;fi
        '\'' sh
      '
    
    as_executable_p=$as_test_x
    
    
    # Sed expression to map a string onto a valid CPP name.
    as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    
    # Sed expression to map a string onto a valid variable name.
    as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    
    
    exec 6>&1
    
    
    # Save the log message, to keep $[0] and so on meaningful, and to
    
    # 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.4, which was
    generated by GNU Autoconf 2.61.  Invocation command line was
    
    
      CONFIG_FILES    = $CONFIG_FILES
      CONFIG_HEADERS  = $CONFIG_HEADERS
      CONFIG_LINKS    = $CONFIG_LINKS
      CONFIG_COMMANDS = $CONFIG_COMMANDS
      $ $0 $@
    
    
    on `(hostname || uname -n) 2>/dev/null | sed 1q`
    "
    
    
    cat >>$CONFIG_STATUS <<_ACEOF
    
    # Files that config.status was made for.
    
    config_files="$ac_config_files"
    config_headers="$ac_config_headers"
    
    
    cat >>$CONFIG_STATUS <<\_ACEOF
    ac_cs_usage="\
    \`$as_me' instantiates files from templates according to the
    current configuration.
    
    Usage: $0 [OPTIONS] [FILE]...
    
      -h, --help       print this help, then exit
    
      -V, --version    print version number and configuration settings, then exit
    
      -q, --quiet      do not print progress messages
      -d, --debug      don't remove temporary files
          --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
    		   instantiate the configuration file FILE
      --header=FILE[:TEMPLATE]
    		   instantiate the configuration header FILE
    
    Configuration files:
    $config_files
    
    Configuration headers:
    $config_headers
    
    Report bugs to <bug-autoconf@gnu.org>."
    
    
    cat >>$CONFIG_STATUS <<_ACEOF
    ac_cs_version="\\
    
    asterisk config.status 1.4
    configured by $0, generated by GNU Autoconf 2.61,
    
      with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    
    Copyright (C) 2006 Free Software Foundation, Inc.
    
    This config.status script is free software; the Free Software Foundation
    gives unlimited permission to copy, distribute and modify it."
    
    
    ac_pwd='$ac_pwd'
    srcdir='$srcdir'
    INSTALL='$INSTALL'
    
    _ACEOF
    
    cat >>$CONFIG_STATUS <<\_ACEOF
    # If no file are specified by the user, then we need to provide default
    # value.  By we need to know if files were specified by the user.
    ac_need_defaults=:
    while test $# != 0
    do
      case $1 in
      --*=*)
    
        ac_option=`expr "X$1" : 'X\([^=]*\)='`
        ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    
        ac_option=$1
        ac_optarg=$2
        ac_shift=shift
        ;;
      esac
    
      case $ac_option in
      # Handling of the options.
      -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        ac_cs_recheck=: ;;
    
      --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
        echo "$ac_cs_version"; exit ;;
      --debug | --debu | --deb | --de | --d | -d )
    
        debug=: ;;
      --file | --fil | --fi | --f )
        $ac_shift
        CONFIG_FILES="$CONFIG_FILES $ac_optarg"
        ac_need_defaults=false;;
      --header | --heade | --head | --hea )
        $ac_shift
        CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
        ac_need_defaults=false;;
    
      --he | --h)
        # Conflict between --help and --header
        { echo "$as_me: error: ambiguous option: $1
    Try \`$0 --help' for more information." >&2
       { (exit 1); exit 1; }; };;
      --help | --hel | -h )
        echo "$ac_cs_usage"; exit ;;
    
      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
      | -silent | --silent | --silen | --sile | --sil | --si | --s)
        ac_cs_silent=: ;;
    
      # This is an error.
    
      -*) { echo "$as_me: error: unrecognized option: $1
    Try \`$0 --help' for more information." >&2
    
      *) ac_config_targets="$ac_config_targets $1"
         ac_need_defaults=false ;;
    
    
      esac
      shift
    done
    
    ac_configure_extra_args=
    
    if $ac_cs_silent; then
      exec 6>/dev/null
      ac_configure_extra_args="$ac_configure_extra_args --silent"
    fi
    
    _ACEOF
    cat >>$CONFIG_STATUS <<_ACEOF
    if \$ac_cs_recheck; then
    
      echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    
      CONFIG_SHELL=$SHELL
      export CONFIG_SHELL
    
      exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    
    cat >>$CONFIG_STATUS <<\_ACEOF
    exec 5>>config.log
    {
      echo
      sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    ## Running $as_me. ##
    _ASBOX
      echo "$ac_log"
    } >&5
    
    _ACEOF
    cat >>$CONFIG_STATUS <<_ACEOF
    _ACEOF
    
    for ac_config_target in $ac_config_targets
    do
    
      case $ac_config_target in
    
        "include/asterisk/autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
    
        "build_tools/menuselect-deps") CONFIG_FILES="$CONFIG_FILES build_tools/menuselect-deps" ;;
        "makeopts") CONFIG_FILES="$CONFIG_FILES makeopts" ;;
    
        "channels/h323/Makefile") CONFIG_FILES="$CONFIG_FILES channels/h323/Makefile" ;;
    
      *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
       { (exit 1); exit 1; }; };;
      esac
    done
    
    
    # If the user did not use the arguments to specify the items to instantiate,
    # then the envvar interface is used.  Set only those that are not.
    # We use the long form for the default assignment because of an extremely
    # bizarre bug on SunOS 4.1.3.
    if $ac_need_defaults; then
      test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
      test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    fi
    
    # Have a temporary directory for convenience.  Make it in the build tree
    
    # simply because there is no reason against having it here, and in addition,
    
    # creating and moving files from /tmp can sometimes cause problems.
    
    # Hook for its removal unless debugging.
    # Note that there is a small window in which the directory will not be cleaned:
    # after its creation but before its name has been assigned to `$tmp'.
    
      tmp=
      trap 'exit_status=$?
      { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    ' 0
    
      trap '{ (exit 1); exit 1; }' 1 2 13 15
    }
    # Create a (secure) tmp directory for tmp files.
    
    {
    
      tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    
      test -n "$tmp" && test -d "$tmp"
    }  ||
    {
    
      tmp=./conf$$-$RANDOM
      (umask 077 && mkdir "$tmp")
    
    } ||
    {
       echo "$me: cannot create a temporary directory in ." >&2
       { (exit 1); exit 1; }
    }
    
    #
    
    # Set up the sed scripts for CONFIG_FILES section.
    
    #
    
    # No need to generate the scripts if there are no CONFIG_FILES.
    # This happens for instance when ./config.status config.h
    
    if test -n "$CONFIG_FILES"; then
    
    _ACEOF
    
    
    
    ac_delim='%!_!# '
    for ac_last_try in false false false false false :; do
      cat >conf$$subs.sed <<_ACEOF
    SHELL!$SHELL$ac_delim
    PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    exec_prefix!$exec_prefix$ac_delim
    prefix!$prefix$ac_delim
    program_transform_name!$program_transform_name$ac_delim
    bindir!$bindir$ac_delim
    sbindir!$sbindir$ac_delim
    libexecdir!$libexecdir$ac_delim
    datarootdir!$datarootdir$ac_delim
    datadir!$datadir$ac_delim
    sysconfdir!$sysconfdir$ac_delim
    sharedstatedir!$sharedstatedir$ac_delim
    localstatedir!$localstatedir$ac_delim
    includedir!$includedir$ac_delim
    oldincludedir!$oldincludedir$ac_delim
    docdir!$docdir$ac_delim
    infodir!$infodir$ac_delim
    htmldir!$htmldir$ac_delim
    dvidir!$dvidir$ac_delim
    pdfdir!$pdfdir$ac_delim
    psdir!$psdir$ac_delim
    libdir!$libdir$ac_delim
    localedir!$localedir$ac_delim
    mandir!$mandir$ac_delim
    DEFS!$DEFS$ac_delim
    ECHO_C!$ECHO_C$ac_delim
    ECHO_N!$ECHO_N$ac_delim
    ECHO_T!$ECHO_T$ac_delim
    LIBS!$LIBS$ac_delim
    build_alias!$build_alias$ac_delim
    host_alias!$host_alias$ac_delim
    target_alias!$target_alias$ac_delim
    build!$build$ac_delim
    build_cpu!$build_cpu$ac_delim
    build_vendor!$build_vendor$ac_delim
    build_os!$build_os$ac_delim
    host!$host$ac_delim
    host_cpu!$host_cpu$ac_delim
    host_vendor!$host_vendor$ac_delim
    host_os!$host_os$ac_delim
    
    CC!$CC$ac_delim
    CFLAGS!$CFLAGS$ac_delim
    LDFLAGS!$LDFLAGS$ac_delim
    CPPFLAGS!$CPPFLAGS$ac_delim
    ac_ct_CC!$ac_ct_CC$ac_delim
    EXEEXT!$EXEEXT$ac_delim
    OBJEXT!$OBJEXT$ac_delim
    CPP!$CPP$ac_delim
    GREP!$GREP$ac_delim
    EGREP!$EGREP$ac_delim
    
    BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
    BUILD_CPU!$BUILD_CPU$ac_delim
    BUILD_VENDOR!$BUILD_VENDOR$ac_delim
    BUILD_OS!$BUILD_OS$ac_delim
    HOST_PLATFORM!$HOST_PLATFORM$ac_delim
    HOST_CPU!$HOST_CPU$ac_delim
    HOST_VENDOR!$HOST_VENDOR$ac_delim
    HOST_OS!$HOST_OS$ac_delim
    
    UNAME!$UNAME$ac_delim
    PBX_OSREV!$PBX_OSREV$ac_delim
    CXX!$CXX$ac_delim
    
    RANLIB!$RANLIB$ac_delim
    CXXFLAGS!$CXXFLAGS$ac_delim
    ac_ct_CXX!$ac_ct_CXX$ac_delim
    CXXCPP!$CXXCPP$ac_delim
    
    SED!$SED$ac_delim
    
    AWK!$AWK$ac_delim
    INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    INSTALL_DATA!$INSTALL_DATA$ac_delim
    LN_S!$LN_S$ac_delim
    GNU_MAKE!$GNU_MAKE$ac_delim
    
    STRIP!$STRIP$ac_delim
    
    GNU_LD!$GNU_LD$ac_delim
    
    FIND!$FIND$ac_delim
    COMPRESS!$COMPRESS$ac_delim
    BASENAME!$BASENAME$ac_delim
    
    ID!$ID$ac_delim
    
    DIRNAME!$DIRNAME$ac_delim
    LN!$LN$ac_delim
    DOT!$DOT$ac_delim
    
    WGET!$WGET$ac_delim
    
    RUBBER!$RUBBER$ac_delim
    
    FETCH!$FETCH$ac_delim
    DOWNLOAD!$DOWNLOAD$ac_delim
    
    SOXMIX!$SOXMIX$ac_delim
    
    acx_pthread_config!$acx_pthread_config$ac_delim
    PTHREAD_CC!$PTHREAD_CC$ac_delim
    
      if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
    
        break
      elif $ac_last_try; then
        { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       { (exit 1); exit 1; }; }
      else
        ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    
    ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    if test -n "$ac_eof"; then
      ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
      ac_eof=`expr $ac_eof + 1`
    
    fi
    
    cat >>$CONFIG_STATUS <<_ACEOF
    cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    _ACEOF
    sed '
    s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    s/^/s,@/; s/!/@,|#_!!_#|/
    :n
    t n
    s/'"$ac_delim"'$/,g/; t
    s/$/\\/; p
    N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    ' >>$CONFIG_STATUS <conf$$subs.sed
    rm -f conf$$subs.sed
    cat >>$CONFIG_STATUS <<_ACEOF
    CEOF$ac_eof
    _ACEOF
    
    
    ac_delim='%!_!# '
    for ac_last_try in false false false false false :; do
      cat >conf$$subs.sed <<_ACEOF
    
    PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
    
    AST_DEVMODE!$AST_DEVMODE$ac_delim
    
    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
    
    CAP_LIB!$CAP_LIB$ac_delim
    
    CAP_INCLUDE!$CAP_INCLUDE$ac_delim
    
    CAP_DIR!$CAP_DIR$ac_delim
    
    PBX_CAP!$PBX_CAP$ac_delim
    CURL_LIB!$CURL_LIB$ac_delim
    
    CURL_INCLUDE!$CURL_INCLUDE$ac_delim
    
    CURL_DIR!$CURL_DIR$ac_delim
    
    PBX_CURL!$PBX_CURL$ac_delim
    
    CURSES_LIB!$CURSES_LIB$ac_delim
    CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
    
    CURSES_DIR!$CURSES_DIR$ac_delim
    
    CRYPTO_LIB!$CRYPTO_LIB$ac_delim
    CRYPTO_INCLUDE!$CRYPTO_INCLUDE$ac_delim
    CRYPTO_DIR!$CRYPTO_DIR$ac_delim
    PBX_CRYPTO!$PBX_CRYPTO$ac_delim
    
    GSM_LIB!$GSM_LIB$ac_delim
    GSM_INCLUDE!$GSM_INCLUDE$ac_delim
    
    GSM_DIR!$GSM_DIR$ac_delim