Asteriks configure script

By Adam Taciak, 1 Year ago, written in Bash.
URL http://www.nopaste.taciak.net/index.php/view/17489073
Download Paste or View RawExpand paste to full width of browser | Change Viewing Options
  1. #! /bin/sh
  2. # From configure.ac Revision: 373119 .
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated by GNU Autoconf 2.68 for asterisk trunk.
  5. #
  6. # Report bugs to <https://issues.asterisk.org>.
  7. #
  8. #
  9. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  10. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  11. # Foundation, Inc.
  12. #
  13. #
  14. # This configure script is free software; the Free Software Foundation
  15. # gives unlimited permission to copy, distribute and modify it.
  16. #
  17. # "Asterisk"
  18. ## -------------------- ##
  19. ## M4sh Initialization. ##
  20. ## -------------------- ##
  21.  
  22. # Be more Bourne compatible
  23. DUALCASE=1; export DUALCASE # for MKS sh
  24. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  25.   emulate sh
  26.   NULLCMD=:
  27.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  28.   # is contrary to our usage.  Disable this feature.
  29.   alias -g '${1+"$@"}'='"$@"'
  30.   setopt NO_GLOB_SUBST
  31. else
  32.   case `(set -o) 2>/dev/null` in #(
  33.   *posix*) :
  34.     set -o posix ;; #(
  35.   *) :
  36.      ;;
  37. esac
  38. fi
  39.  
  40.  
  41. as_nl='
  42. '
  43. export as_nl
  44. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  45. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  46. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  47. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  48. # Prefer a ksh shell builtin over an external printf program on Solaris,
  49. # but without wasting forks for bash or zsh.
  50. if test -z "$BASH_VERSION$ZSH_VERSION" \
  51.    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  52.  as_echo='print -r --'
  53.  as_echo_n='print -rn --'
  54. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  55.  as_echo='printf %s\n'
  56.  as_echo_n='printf %s'
  57. else
  58.  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  59.    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  60.    as_echo_n='/usr/ucb/echo -n'
  61.  else
  62.    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  63.    as_echo_n_body='eval
  64.       arg=$1;
  65.       case $arg in #(
  66.       *"$as_nl"*)
  67.         expr "X$arg" : "X\\(.*\\)$as_nl";
  68.         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  69.       esac;
  70.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  71.     '
  72.    export as_echo_n_body
  73.    as_echo_n='sh -c $as_echo_n_body as_echo'
  74.  fi
  75.  export as_echo_body
  76.  as_echo='sh -c $as_echo_body as_echo'
  77. fi
  78.  
  79. # The user is always right.
  80. if test "${PATH_SEPARATOR+set}" != set; then
  81.  PATH_SEPARATOR=:
  82.  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  83.    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  84.      PATH_SEPARATOR=';'
  85.  }
  86. fi
  87.  
  88.  
  89. # IFS
  90. # We need space, tab and new line, in precisely that order.  Quoting is
  91. # there to prevent editors from complaining about space-tab.
  92. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  93. # splitting by setting IFS to empty value.)
  94. IFS=" ""        $as_nl"
  95.  
  96. # Find who we are.  Look in the path if we contain no directory separator.
  97. as_myself=
  98. case $0 in #((
  99.  *[\\/]* ) as_myself=$0 ;;
  100.  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  101. for as_dir in $PATH
  102. do
  103.  IFS=$as_save_IFS
  104.  test -z "$as_dir" && as_dir=.
  105.    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  106.  done
  107. IFS=$as_save_IFS
  108.  
  109.     ;;
  110. esac
  111. # We did not find ourselves, most probably we were run as `sh COMMAND'
  112. # in which case we are not to be found in the path.
  113. if test "x$as_myself" = x; then
  114.   as_myself=$0
  115. fi
  116. if test ! -f "$as_myself"; then
  117.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  118.   exit 1
  119. fi
  120.  
  121. # Unset variables that we do not need and which cause bugs (e.g. in
  122. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  123. # suppresses any "Segmentation fault" message there.  '((' could
  124. # trigger a bug in pdksh 5.2.14.
  125. for as_var in BASH_ENV ENV MAIL MAILPATH
  126. do eval test x\${$as_var+set} = xset \
  127.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  128. done
  129. PS1='$ '
  130. PS2='> '
  131. PS4='+ '
  132.  
  133. # NLS nuisances.
  134. LC_ALL=C
  135. export LC_ALL
  136. LANGUAGE=C
  137. export LANGUAGE
  138.  
  139. # CDPATH.
  140. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  141.  
  142. if test "x$CONFIG_SHELL" = x; then
  143.   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  144.  emulate sh
  145.  NULLCMD=:
  146.  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  147.  # is contrary to our usage.  Disable this feature.
  148.  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  149.  setopt NO_GLOB_SUBST
  150. else
  151.  case \`(set -o) 2>/dev/null\` in #(
  152.  *posix*) :
  153.    set -o posix ;; #(
  154.  *) :
  155.     ;;
  156. esac
  157. fi
  158. "
  159.   as_required="as_fn_return () { (exit \$1); }
  160. as_fn_success () { as_fn_return 0; }
  161. as_fn_failure () { as_fn_return 1; }
  162. as_fn_ret_success () { return 0; }
  163. as_fn_ret_failure () { return 1; }
  164.  
  165. exitcode=0
  166. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  167. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  168. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  169. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  170. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  171.  
  172. else
  173.  exitcode=1; echo positional parameters were not saved.
  174. fi
  175. test x\$exitcode = x0 || exit 1"
  176.   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  177.  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  178.  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  179.  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  180. test \$(( 1 + 1 )) = 2 || exit 1"
  181.   if (eval "$as_required") 2>/dev/null; then :
  182.   as_have_required=yes
  183. else
  184.   as_have_required=no
  185. fi
  186.   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  187.  
  188. else
  189.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  190. as_found=false
  191. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  192. do
  193.   IFS=$as_save_IFS
  194.   test -z "$as_dir" && as_dir=.
  195.   as_found=:
  196.   case $as_dir in #(
  197.          /*)
  198.            for as_base in sh bash ksh sh5; do
  199.              # Try only shells that exist, to save several forks.
  200.              as_shell=$as_dir/$as_base
  201.              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  202.                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  203.   CONFIG_SHELL=$as_shell as_have_required=yes
  204.                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  205.   break 2
  206. fi
  207. fi
  208.            done;;
  209.        esac
  210.   as_found=false
  211. done
  212. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  213.               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  214.   CONFIG_SHELL=$SHELL as_have_required=yes
  215. fi; }
  216. IFS=$as_save_IFS
  217.  
  218.  
  219.       if test "x$CONFIG_SHELL" != x; then :
  220.   # We cannot yet assume a decent shell, so we have to provide a
  221.         # neutralization value for shells without unset; and this also
  222.         # works around shells that cannot unset nonexistent variables.
  223.         # Preserve -v and -x to the replacement shell.
  224.         BASH_ENV=/dev/null
  225.         ENV=/dev/null
  226.         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  227.         export CONFIG_SHELL
  228.         case $- in # ((((
  229.           *v*x* | *x*v* ) as_opts=-vx ;;
  230.           *v* ) as_opts=-v ;;
  231.           *x* ) as_opts=-x ;;
  232.           * ) as_opts= ;;
  233.         esac
  234.         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  235. fi
  236.  
  237.     if test x$as_have_required = xno; then :
  238.   $as_echo "$0: This script requires a shell more modern than all"
  239.   $as_echo "$0: the shells that I found on your system."
  240.   if test x${ZSH_VERSION+set} = xset ; then
  241.     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  242.     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  243.   else
  244.     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  245. $0: https://issues.asterisk.org about your system,
  246. $0: including any error possibly output before this
  247. $0: message. Then install a modern shell, or manually run
  248. $0: the script under such a shell if you do have one."
  249.   fi
  250.   exit 1
  251. fi
  252. fi
  253. fi
  254. SHELL=${CONFIG_SHELL-/bin/sh}
  255. export SHELL
  256. # Unset more variables known to interfere with behavior of common tools.
  257. CLICOLOR_FORCE= GREP_OPTIONS=
  258. unset CLICOLOR_FORCE GREP_OPTIONS
  259.  
  260. ## --------------------- ##
  261. ## M4sh Shell Functions. ##
  262. ## --------------------- ##
  263. # as_fn_unset VAR
  264. # ---------------
  265. # Portably unset VAR.
  266. as_fn_unset ()
  267. {
  268.   { eval $1=; unset $1;}
  269. }
  270. as_unset=as_fn_unset
  271.  
  272. # as_fn_set_status STATUS
  273. # -----------------------
  274. # Set $? to STATUS, without forking.
  275. as_fn_set_status ()
  276. {
  277.   return $1
  278. } # as_fn_set_status
  279.  
  280. # as_fn_exit STATUS
  281. # -----------------
  282. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  283. as_fn_exit ()
  284. {
  285.   set +e
  286.   as_fn_set_status $1
  287.   exit $1
  288. } # as_fn_exit
  289.  
  290. # as_fn_mkdir_p
  291. # -------------
  292. # Create "$as_dir" as a directory, including parents if necessary.
  293. as_fn_mkdir_p ()
  294. {
  295.  
  296.   case $as_dir in #(
  297.   -*) as_dir=./$as_dir;;
  298.   esac
  299.   test -d "$as_dir" || eval $as_mkdir_p || {
  300.     as_dirs=
  301.     while :; do
  302.       case $as_dir in #(
  303.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  304.       *) as_qdir=$as_dir;;
  305.       esac
  306.       as_dirs="'$as_qdir' $as_dirs"
  307.       as_dir=`$as_dirname -- "$as_dir" ||
  308. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  309.          X"$as_dir" : 'X\(//\)[^/]' \| \
  310.          X"$as_dir" : 'X\(//\)$' \| \
  311.          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  312. $as_echo X"$as_dir" |
  313.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  314.             s//\1/
  315.             q
  316.           }
  317.           /^X\(\/\/\)[^/].*/{
  318.             s//\1/
  319.             q
  320.           }
  321.           /^X\(\/\/\)$/{
  322.             s//\1/
  323.             q
  324.           }
  325.           /^X\(\/\).*/{
  326.             s//\1/
  327.             q
  328.           }
  329.           s/.*/./; q'`
  330.       test -d "$as_dir" && break
  331.     done
  332.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  333.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  334.  
  335.  
  336. } # as_fn_mkdir_p
  337. # as_fn_append VAR VALUE
  338. # ----------------------
  339. # Append the text in VALUE to the end of the definition contained in VAR. Take
  340. # advantage of any shell optimizations that allow amortized linear growth over
  341. # repeated appends, instead of the typical quadratic growth present in naive
  342. # implementations.
  343. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  344.   eval 'as_fn_append ()
  345.  {
  346.    eval $1+=\$2
  347.  }'
  348. else
  349.   as_fn_append ()
  350.   {
  351.     eval $1=\$$1\$2
  352.   }
  353. fi # as_fn_append
  354.  
  355. # as_fn_arith ARG...
  356. # ------------------
  357. # Perform arithmetic evaluation on the ARGs, and store the result in the
  358. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  359. # must be portable across $(()) and expr.
  360. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  361.   eval 'as_fn_arith ()
  362.  {
  363.    as_val=$(( $* ))
  364.  }'
  365. else
  366.   as_fn_arith ()
  367.   {
  368.     as_val=`expr "$@" || test $? -eq 1`
  369.   }
  370. fi # as_fn_arith
  371.  
  372.  
  373. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  374. # ----------------------------------------
  375. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  376. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  377. # script with STATUS, using 1 if that was 0.
  378. as_fn_error ()
  379. {
  380.   as_status=$1; test $as_status -eq 0 && as_status=1
  381.   if test "$4"; then
  382.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  383.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  384.   fi
  385.   $as_echo "$as_me: error: $2" >&2
  386.   as_fn_exit $as_status
  387. } # as_fn_error
  388.  
  389. if expr a : '\(a\)' >/dev/null 2>&1 &&
  390.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  391.   as_expr=expr
  392. else
  393.   as_expr=false
  394. fi
  395.  
  396. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  397.   as_basename=basename
  398. else
  399.   as_basename=false
  400. fi
  401.  
  402. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  403.   as_dirname=dirname
  404. else
  405.   as_dirname=false
  406. fi
  407.  
  408. as_me=`$as_basename -- "$0" ||
  409. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  410.          X"$0" : 'X\(//\)$' \| \
  411.          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  412. $as_echo X/"$0" |
  413.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  414.             s//\1/
  415.             q
  416.           }
  417.           /^X\/\(\/\/\)$/{
  418.             s//\1/
  419.             q
  420.           }
  421.           /^X\/\(\/\).*/{
  422.             s//\1/
  423.             q
  424.           }
  425.           s/.*/./; q'`
  426.  
  427. # Avoid depending upon Character Ranges.
  428. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  429. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  430. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  431. as_cr_digits='0123456789'
  432. as_cr_alnum=$as_cr_Letters$as_cr_digits
  433.  
  434.  
  435.   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  436.   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  437.   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  438.  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  439.   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  440.  sed -n '
  441.     p
  442.     /[$]LINENO/=
  443.   ' <$as_myself |
  444.    sed '
  445.       s/[$]LINENO.*/&-/
  446.       t lineno
  447.       b
  448.       :lineno
  449.       N
  450.       :loop
  451.       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  452.       t loop
  453.       s/-\n.*//
  454.     ' >$as_me.lineno &&
  455.  chmod +x "$as_me.lineno" ||
  456.    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  457.  
  458.  # Don't try to exec as it changes $[0], causing all sort of problems
  459.   # (the dirname of $[0] is not the place where we might find the
  460.   # original and so on.  Autoconf is especially sensitive to this).
  461.   . "./$as_me.lineno"
  462.   # Exit status is that of the last command.
  463.   exit
  464. }
  465.  
  466. ECHO_C= ECHO_N= ECHO_T=
  467. case `echo -n x` in #(((((
  468. -n*)
  469.   case `echo 'xy\c'` in
  470.   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
  471.   xy)  ECHO_C='\c';;
  472.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  473.        ECHO_T=' ';;
  474.   esac;;
  475. *)
  476.   ECHO_N='-n';;
  477. esac
  478.  
  479. rm -f conf$$ conf$$.exe conf$$.file
  480. if test -d conf$$.dir; then
  481.   rm -f conf$$.dir/conf$$.file
  482. else
  483.   rm -f conf$$.dir
  484.   mkdir conf$$.dir 2>/dev/null
  485. fi
  486. if (echo >conf$$.file) 2>/dev/null; then
  487.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  488.     as_ln_s='ln -s'
  489.     # ... but there are two gotchas:
  490.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  491.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  492.    # In both cases, we have to default to `cp -p'.
  493.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  494.       as_ln_s='cp -p'
  495.   elif ln conf$$.file conf$$ 2>/dev/null; then
  496.     as_ln_s=ln
  497.   else
  498.     as_ln_s='cp -p'
  499.   fi
  500. else
  501.   as_ln_s='cp -p'
  502. fi
  503. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  504. rmdir conf$$.dir 2>/dev/null
  505.  
  506. if mkdir -p . 2>/dev/null; then
  507.   as_mkdir_p='mkdir -p "$as_dir"'
  508. else
  509.   test -d ./-p && rmdir ./-p
  510.   as_mkdir_p=false
  511. fi
  512.  
  513. if test -x / >/dev/null 2>&1; then
  514.   as_test_x='test -x'
  515. else
  516.   if ls -dL / >/dev/null 2>&1; then
  517.     as_ls_L_option=L
  518.   else
  519.     as_ls_L_option=
  520.   fi
  521.   as_test_x='
  522.    eval sh -c '\''
  523.       if test -d "$1"; then
  524.         test -d "$1/.";
  525.       else
  526.         case $1 in #(
  527.         -*)set "./$1";;
  528.         esac;
  529.         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  530.         ???[sx]*):;;*)false;;esac;fi
  531.     '\'' sh
  532.   '
  533. fi
  534. as_executable_p=$as_test_x
  535.  
  536. # Sed expression to map a string onto a valid CPP name.
  537. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  538.  
  539. # Sed expression to map a string onto a valid variable name.
  540. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  541.  
  542.  
  543. test -n "$DJDIR" || exec 7<&0 </dev/null
  544. exec 6>&1
  545.  
  546. # Name of the host.
  547. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  548. # so uname gets run too.
  549. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  550.  
  551. #
  552. # Initializations.
  553. #
  554. ac_default_prefix=/usr/local
  555. ac_clean_files=
  556. ac_config_libobj_dir=.
  557. LIBOBJS=
  558. cross_compiling=no
  559. subdirs=
  560. MFLAGS=
  561. MAKEFLAGS=
  562.  
  563. # Identity of this package.
  564. PACKAGE_NAME='asterisk'
  565. PACKAGE_TARNAME='asterisk'
  566. PACKAGE_VERSION='trunk'
  567. PACKAGE_STRING='asterisk trunk'
  568. PACKAGE_BUGREPORT='https://issues.asterisk.org'
  569. PACKAGE_URL=''
  570.  
  571. ac_unique_file="main/asterisk.c"
  572. # Factoring default headers for most tests.
  573. ac_includes_default="\
  574. #include <stdio.h>
  575. #ifdef HAVE_SYS_TYPES_H
  576. # include <sys/types.h>
  577. #endif
  578. #ifdef HAVE_SYS_STAT_H
  579. # include <sys/stat.h>
  580. #endif
  581. #ifdef STDC_HEADERS
  582. # include <stdlib.h>
  583. # include <stddef.h>
  584. #else
  585. # ifdef HAVE_STDLIB_H
  586. #  include <stdlib.h>
  587. # endif
  588. #endif
  589. #ifdef HAVE_STRING_H
  590. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  591. #  include <memory.h>
  592. # endif
  593. # include <string.h>
  594. #endif
  595. #ifdef HAVE_STRINGS_H
  596. # include <strings.h>
  597. #endif
  598. #ifdef HAVE_INTTYPES_H
  599. # include <inttypes.h>
  600. #endif
  601. #ifdef HAVE_STDINT_H
  602. # include <stdint.h>
  603. #endif
  604. #ifdef HAVE_UNISTD_H
  605. # include <unistd.h>
  606. #endif"
  607.  
  608. ac_header_list=
  609. ac_subst_vars='LTLIBOBJS
  610. PBX_SYSLOG
  611. PBX_SYSLOG_FACILITY_LOG_UUCP
  612. PBX_SYSLOG_FACILITY_LOG_SYSLOG
  613. PBX_SYSLOG_FACILITY_LOG_NEWS
  614. PBX_SYSLOG_FACILITY_LOG_MAIL
  615. PBX_SYSLOG_FACILITY_LOG_LPR
  616. PBX_SYSLOG_FACILITY_LOG_KERN
  617. PBX_SYSLOG_FACILITY_LOG_FTP
  618. PBX_SYSLOG_FACILITY_LOG_DAEMON
  619. PBX_SYSLOG_FACILITY_LOG_CRON
  620. PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
  621. PBX_SYSLOG_FACILITY_LOG_AUTH
  622. PBX_GENERIC_ODBC
  623. GENERIC_ODBC_INCLUDE
  624. GENERIC_ODBC_LIB
  625. GTK2_LIBS
  626. GTK2_CFLAGS
  627. PBX_LAUNCHD
  628. CONFIG_SDL
  629. PBX_SO_NOSIGPIPE
  630. PBX_MSG_NOSIGNAL
  631. PBX_IXJUSER
  632. PBX_H323
  633. GMIME_LIBS
  634. GMIME_CFLAGS
  635. OPENH323_BUILD
  636. OPENH323_SUFFIX
  637. OPENH323_LIBDIR
  638. OPENH323_INCDIR
  639. OPENH323DIR
  640. PWLIB_PLATFORM
  641. PWLIB_LIBDIR
  642. PWLIB_INCDIR
  643. PWLIBDIR
  644. PTLIB_CONFIG
  645. PG_CONFIG
  646. CONFIG_NETSNMP
  647. CONFIG_NEON29
  648. CONFIG_NEON
  649. CONFIG_MYSQLCLIENT
  650. PBX_MISDN_FAC_ERROR
  651. PBX_MISDN_FAC_RESULT
  652. LIBEDIT_LIBS
  653. LIBEDIT_CFLAGS
  654. LIBEDIT_INTERNAL
  655. ILBC_LIBS
  656. ILBC_CFLAGS
  657. ILBC_INTERNAL
  658. GSM_INTERNAL
  659. PBX_DAHDI_HALF_FULL
  660. PKG_CONFIG_LIBDIR
  661. PKG_CONFIG_PATH
  662. PKG_CONFIG
  663. PBX_DLADDR
  664. PBX_IP_MTU_DISCOVER
  665. PBX_GLOB_BRACE
  666. PBX_GLOB_NOMAGIC
  667. AST_NESTED_FUNCTIONS
  668. AST_NATIVE_ARCH
  669. AST_SHADOW_WARNINGS
  670. AST_NO_STRICT_OVERFLOW
  671. AST_FORTIFY_SOURCE
  672. AST_TRAMPOLINES
  673. AST_DECLARATION_AFTER_STATEMENT
  674. GC_LDFLAGS
  675. GC_CFLAGS
  676. PBX_WEAKREF
  677. PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
  678. PBX_PTHREAD_RWLOCK_INITIALIZER
  679. AST_ASTERISKSSL
  680. HAS_POLL
  681. PBX_DYNAMIC_LIST
  682. POW_LIB
  683. PBX_WORKING_FORK
  684. LIBOBJS
  685. CONFIG_LIBXML2
  686. EDITLINE_LIB
  687. ALLOCA
  688. PBX_ZLIB
  689. ZLIB_DIR
  690. ZLIB_INCLUDE
  691. ZLIB_LIB
  692. PBX_X11
  693. X11_DIR
  694. X11_INCLUDE
  695. X11_LIB
  696. PBX_VPB
  697. VPB_DIR
  698. VPB_INCLUDE
  699. VPB_LIB
  700. PBX_VORBIS
  701. VORBIS_DIR
  702. VORBIS_INCLUDE
  703. VORBIS_LIB
  704. PBX_UNIXODBC
  705. UNIXODBC_DIR
  706. UNIXODBC_INCLUDE
  707. UNIXODBC_LIB
  708. PBX_TONEZONE
  709. TONEZONE_DIR
  710. TONEZONE_INCLUDE
  711. TONEZONE_LIB
  712. PBX_TINFO
  713. TINFO_DIR
  714. TINFO_INCLUDE
  715. TINFO_LIB
  716. PBX_TIMERFD
  717. TIMERFD_DIR
  718. TIMERFD_INCLUDE
  719. TIMERFD_LIB
  720. PBX_TERMCAP
  721. TERMCAP_DIR
  722. TERMCAP_INCLUDE
  723. TERMCAP_LIB
  724. PBX_FREETDS
  725. FREETDS_DIR
  726. FREETDS_INCLUDE
  727. FREETDS_LIB
  728. PBX_SUPPSERV
  729. SUPPSERV_DIR
  730. SUPPSERV_INCLUDE
  731. SUPPSERV_LIB
  732. PBX_OPENSSL
  733. OPENSSL_DIR
  734. OPENSSL_INCLUDE
  735. OPENSSL_LIB
  736. PBX_SRTP
  737. SRTP_DIR
  738. SRTP_INCLUDE
  739. SRTP_LIB
  740. PBX_SQLITE3
  741. SQLITE3_DIR
  742. SQLITE3_INCLUDE
  743. SQLITE3_LIB
  744. PBX_SQLITE
  745. SQLITE_DIR
  746. SQLITE_INCLUDE
  747. SQLITE_LIB
  748. PBX_SPEEXDSP
  749. SPEEXDSP_DIR
  750. SPEEXDSP_INCLUDE
  751. SPEEXDSP_LIB
  752. PBX_SPEEX_PREPROCESS
  753. SPEEX_PREPROCESS_DIR
  754. SPEEX_PREPROCESS_INCLUDE
  755. SPEEX_PREPROCESS_LIB
  756. PBX_SPEEX
  757. SPEEX_DIR
  758. SPEEX_INCLUDE
  759. SPEEX_LIB
  760. PBX_SS7
  761. SS7_DIR
  762. SS7_INCLUDE
  763. SS7_LIB
  764. PBX_SPANDSP
  765. SPANDSP_DIR
  766. SPANDSP_INCLUDE
  767. SPANDSP_LIB
  768. SOUNDS_CACHE_DIR
  769. PBX_SDL_IMAGE
  770. SDL_IMAGE_DIR
  771. SDL_IMAGE_INCLUDE
  772. SDL_IMAGE_LIB
  773. PBX_SDL
  774. SDL_DIR
  775. SDL_INCLUDE
  776. SDL_LIB
  777. PBX_RESAMPLE
  778. RESAMPLE_DIR
  779. RESAMPLE_INCLUDE
  780. RESAMPLE_LIB
  781. PBX_RADIUS
  782. RADIUS_DIR
  783. RADIUS_INCLUDE
  784. RADIUS_LIB
  785. PBX_PWLIB
  786. PWLIB_DIR
  787. PWLIB_INCLUDE
  788. PWLIB_LIB
  789. PBX_PRI_REVERSE_CHARGE
  790. PRI_REVERSE_CHARGE_DIR
  791. PRI_REVERSE_CHARGE_INCLUDE
  792. PRI_REVERSE_CHARGE_LIB
  793. PBX_PRI_SERVICE_MESSAGES
  794. PRI_SERVICE_MESSAGES_DIR
  795. PRI_SERVICE_MESSAGES_INCLUDE
  796. PRI_SERVICE_MESSAGES_LIB
  797. PBX_PRI_PROG_W_CAUSE
  798. PRI_PROG_W_CAUSE_DIR
  799. PRI_PROG_W_CAUSE_INCLUDE
  800. PRI_PROG_W_CAUSE_LIB
  801. PBX_PRI_INBANDDISCONNECT
  802. PRI_INBANDDISCONNECT_DIR
  803. PRI_INBANDDISCONNECT_INCLUDE
  804. PRI_INBANDDISCONNECT_LIB
  805. PBX_PRI_SETUP_KEYPAD
  806. PRI_SETUP_KEYPAD_DIR
  807. PRI_SETUP_KEYPAD_INCLUDE
  808. PRI_SETUP_KEYPAD_LIB
  809. PBX_PRI_CALL_REROUTING
  810. PRI_CALL_REROUTING_DIR
  811. PRI_CALL_REROUTING_INCLUDE
  812. PRI_CALL_REROUTING_LIB
  813. PBX_PRI_CALL_HOLD
  814. PRI_CALL_HOLD_DIR
  815. PRI_CALL_HOLD_INCLUDE
  816. PRI_CALL_HOLD_LIB
  817. PBX_PRI_SUBADDR
  818. PRI_SUBADDR_DIR
  819. PRI_SUBADDR_INCLUDE
  820. PRI_SUBADDR_LIB
  821. PBX_PRI_HANGUP_FIX
  822. PRI_HANGUP_FIX_DIR
  823. PRI_HANGUP_FIX_INCLUDE
  824. PRI_HANGUP_FIX_LIB
  825. PBX_PRI_CCSS
  826. PRI_CCSS_DIR
  827. PRI_CCSS_INCLUDE
  828. PRI_CCSS_LIB
  829. PBX_PRI_TRANSFER
  830. PRI_TRANSFER_DIR
  831. PRI_TRANSFER_INCLUDE
  832. PRI_TRANSFER_LIB
  833. PBX_PRI_AOC_EVENTS
  834. PRI_AOC_EVENTS_DIR
  835. PRI_AOC_EVENTS_INCLUDE
  836. PRI_AOC_EVENTS_LIB
  837. PBX_PRI_CALL_WAITING
  838. PRI_CALL_WAITING_DIR
  839. PRI_CALL_WAITING_INCLUDE
  840. PRI_CALL_WAITING_LIB
  841. PBX_PRI_MCID
  842. PRI_MCID_DIR
  843. PRI_MCID_INCLUDE
  844. PRI_MCID_LIB
  845. PBX_PRI_MWI
  846. PRI_MWI_DIR
  847. PRI_MWI_INCLUDE
  848. PRI_MWI_LIB
  849. PBX_PRI_DISPLAY_TEXT
  850. PRI_DISPLAY_TEXT_DIR
  851. PRI_DISPLAY_TEXT_INCLUDE
  852. PRI_DISPLAY_TEXT_LIB
  853. PBX_PRI_MWI_V2
  854. PRI_MWI_V2_DIR
  855. PRI_MWI_V2_INCLUDE
  856. PRI_MWI_V2_LIB
  857. PBX_PRI_DATETIME_SEND
  858. PRI_DATETIME_SEND_DIR
  859. PRI_DATETIME_SEND_INCLUDE
  860. PRI_DATETIME_SEND_LIB
  861. PBX_PRI_L2_PERSISTENCE
  862. PRI_L2_PERSISTENCE_DIR
  863. PRI_L2_PERSISTENCE_INCLUDE
  864. PRI_L2_PERSISTENCE_LIB
  865. PBX_PRI
  866. PRI_DIR
  867. PRI_INCLUDE
  868. PRI_LIB
  869. PBX_PORTAUDIO
  870. PORTAUDIO_DIR
  871. PORTAUDIO_INCLUDE
  872. PORTAUDIO_LIB
  873. PBX_POPT
  874. POPT_DIR
  875. POPT_INCLUDE
  876. POPT_LIB
  877. PBX_PGSQL
  878. PGSQL_DIR
  879. PGSQL_INCLUDE
  880. PGSQL_LIB
  881. PBX_OSS
  882. OSS_DIR
  883. OSS_INCLUDE
  884. OSS_LIB
  885. PBX_OSPTK
  886. OSPTK_DIR
  887. OSPTK_INCLUDE
  888. OSPTK_LIB
  889. PBX_OPENR2
  890. OPENR2_DIR
  891. OPENR2_INCLUDE
  892. OPENR2_LIB
  893. PBX_OGG
  894. OGG_DIR
  895. OGG_INCLUDE
  896. OGG_LIB
  897. PBX_NEWT
  898. NEWT_DIR
  899. NEWT_INCLUDE
  900. NEWT_LIB
  901. PBX_NETSNMP
  902. NETSNMP_DIR
  903. NETSNMP_INCLUDE
  904. NETSNMP_LIB
  905. PBX_NEON29
  906. NEON29_DIR
  907. NEON29_INCLUDE
  908. NEON29_LIB
  909. PBX_NEON
  910. NEON_DIR
  911. NEON_INCLUDE
  912. NEON_LIB
  913. PBX_NCURSES
  914. NCURSES_DIR
  915. NCURSES_INCLUDE
  916. NCURSES_LIB
  917. PBX_NBS
  918. NBS_DIR
  919. NBS_INCLUDE
  920. NBS_LIB
  921. PBX_MYSQLCLIENT
  922. MYSQLCLIENT_DIR
  923. MYSQLCLIENT_INCLUDE
  924. MYSQLCLIENT_LIB
  925. PBX_MISDN
  926. MISDN_DIR
  927. MISDN_INCLUDE
  928. MISDN_LIB
  929. PBX_LUA
  930. LUA_DIR
  931. LUA_INCLUDE
  932. LUA_LIB
  933. PBX_LTDL
  934. LTDL_DIR
  935. LTDL_INCLUDE
  936. LTDL_LIB
  937. PBX_LIBXML2
  938. LIBXML2_DIR
  939. LIBXML2_INCLUDE
  940. LIBXML2_LIB
  941. PBX_LIBEDIT
  942. LIBEDIT_DIR
  943. LIBEDIT_INCLUDE
  944. LIBEDIT_LIB
  945. CURL_LIB
  946. CURL_INCLUDE
  947. _libcurl_config
  948. PBX_CURL
  949. PBX_LDAP
  950. LDAP_DIR
  951. LDAP_INCLUDE
  952. LDAP_LIB
  953. PBX_KQUEUE
  954. KQUEUE_DIR
  955. KQUEUE_INCLUDE
  956. KQUEUE_LIB
  957. PBX_JACK
  958. JACK_DIR
  959. JACK_INCLUDE
  960. JACK_LIB
  961. PBX_ISDNNET
  962. ISDNNET_DIR
  963. ISDNNET_INCLUDE
  964. ISDNNET_LIB
  965. PBX_IODBC
  966. IODBC_DIR
  967. IODBC_INCLUDE
  968. IODBC_LIB
  969. PBX_INOTIFY
  970. INOTIFY_DIR
  971. INOTIFY_INCLUDE
  972. INOTIFY_LIB
  973. PBX_IMAP_TK
  974. IMAP_TK_DIR
  975. IMAP_TK_INCLUDE
  976. IMAP_TK_LIB
  977. PBX_IKSEMEL
  978. IKSEMEL_DIR
  979. IKSEMEL_INCLUDE
  980. IKSEMEL_LIB
  981. PBX_ICONV
  982. ICONV_DIR
  983. ICONV_INCLUDE
  984. ICONV_LIB
  985. PBX_ICAL
  986. ICAL_DIR
  987. ICAL_INCLUDE
  988. ICAL_LIB
  989. PBX_HOARD
  990. HOARD_DIR
  991. HOARD_INCLUDE
  992. HOARD_LIB
  993. PBX_OPENH323
  994. OPENH323_DIR
  995. OPENH323_INCLUDE
  996. OPENH323_LIB
  997. PBX_GMIME
  998. GMIME_DIR
  999. GMIME_INCLUDE
  1000. GMIME_LIB
  1001. PBX_GTK2
  1002. GTK2_DIR
  1003. GTK2_INCLUDE
  1004. GTK2_LIB
  1005. PBX_ILBC
  1006. ILBC_DIR
  1007. ILBC_INCLUDE
  1008. ILBC_LIB
  1009. PBX_GSM
  1010. GSM_DIR
  1011. GSM_INCLUDE
  1012. GSM_LIB
  1013. PBX_FFMPEG
  1014. FFMPEG_DIR
  1015. FFMPEG_INCLUDE
  1016. FFMPEG_LIB
  1017. PBX_DAHDI
  1018. DAHDI_DIR
  1019. DAHDI_INCLUDE
  1020. DAHDI_LIB
  1021. PBX_OPENSSL_SRTP
  1022. OPENSSL_SRTP_DIR
  1023. OPENSSL_SRTP_INCLUDE
  1024. OPENSSL_SRTP_LIB
  1025. PBX_CRYPTO
  1026. CRYPTO_DIR
  1027. CRYPTO_INCLUDE
  1028. CRYPTO_LIB
  1029. PBX_CURSES
  1030. CURSES_DIR
  1031. CURSES_INCLUDE
  1032. CURSES_LIB
  1033. PBX_COROSYNC_CFG_STATE_TRACK
  1034. COROSYNC_CFG_STATE_TRACK_DIR
  1035. COROSYNC_CFG_STATE_TRACK_INCLUDE
  1036. COROSYNC_CFG_STATE_TRACK_LIB
  1037. PBX_COROSYNC
  1038. COROSYNC_DIR
  1039. COROSYNC_INCLUDE
  1040. COROSYNC_LIB
  1041. PBX_CAP
  1042. CAP_DIR
  1043. CAP_INCLUDE
  1044. CAP_LIB
  1045. PBX_BLUETOOTH
  1046. BLUETOOTH_DIR
  1047. BLUETOOTH_INCLUDE
  1048. BLUETOOTH_LIB
  1049. PBX_BKTR
  1050. BKTR_DIR
  1051. BKTR_INCLUDE
  1052. BKTR_LIB
  1053. PBX_BFD
  1054. BFD_DIR
  1055. BFD_INCLUDE
  1056. BFD_LIB
  1057. PBX_ALSA
  1058. ALSA_DIR
  1059. ALSA_INCLUDE
  1060. ALSA_LIB
  1061. AST_CODE_COVERAGE
  1062. AST_DEVMODE_STRICT
  1063. AST_DEVMODE
  1064. NOISY_BUILD
  1065. PTHREAD_CFLAGS
  1066. PTHREAD_LIBS
  1067. PTHREAD_CC
  1068. acx_pthread_config
  1069. MD5
  1070. SOXMIX
  1071. PBX_FLEX
  1072. PBX_BISON
  1073. OPENSSL
  1074. SHA1SUM
  1075. LDCONFIG
  1076. DOWNLOAD
  1077. FETCH
  1078. XMLSTARLET
  1079. XMLLINT
  1080. KPATHSEA
  1081. CATDVI
  1082. RUBBER
  1083. CURL
  1084. WGET
  1085. DOT
  1086. LN
  1087. DIRNAME
  1088. BASENAME
  1089. COMPRESS
  1090. FIND
  1091. PYTHON
  1092. FLEX
  1093. CMP
  1094. BISON
  1095. GNU_LD
  1096. ac_ct_AR
  1097. AR
  1098. ac_ct_STRIP
  1099. STRIP
  1100. GNU_MAKE
  1101. LN_S
  1102. INSTALL_DATA
  1103. INSTALL_SCRIPT
  1104. INSTALL_PROGRAM
  1105. AWK
  1106. SED
  1107. CXXCPP
  1108. ac_ct_CXX
  1109. CXXFLAGS
  1110. RANLIB
  1111. LD
  1112. CXX
  1113. PBX_OSREV
  1114. UNAME
  1115. PBX_WINARCH
  1116. OSARCH
  1117. HOST_OS
  1118. HOST_VENDOR
  1119. HOST_CPU
  1120. HOST_PLATFORM
  1121. BUILD_OS
  1122. BUILD_VENDOR
  1123. BUILD_CPU
  1124. BUILD_PLATFORM
  1125. astvarrundir
  1126. astlogdir
  1127. astspooldir
  1128. astkeydir
  1129. astdbdir
  1130. astdatadir
  1131. astvarlibdir
  1132. astmandir
  1133. astmoddir
  1134. astlibdir
  1135. astheaderdir
  1136. astetcdir
  1137. astsbindir
  1138. EGREP
  1139. GREP
  1140. CPP
  1141. OBJEXT
  1142. EXEEXT
  1143. ac_ct_CC
  1144. CPPFLAGS
  1145. LDFLAGS
  1146. CFLAGS
  1147. CC
  1148. CONFIG_LDFLAGS
  1149. CONFIG_CFLAGS
  1150. host_os
  1151. host_vendor
  1152. host_cpu
  1153. host
  1154. build_os
  1155. build_vendor
  1156. build_cpu
  1157. build
  1158. target_alias
  1159. host_alias
  1160. build_alias
  1161. LIBS
  1162. ECHO_T
  1163. ECHO_N
  1164. ECHO_C
  1165. DEFS
  1166. mandir
  1167. localedir
  1168. libdir
  1169. psdir
  1170. pdfdir
  1171. dvidir
  1172. htmldir
  1173. infodir
  1174. docdir
  1175. oldincludedir
  1176. includedir
  1177. localstatedir
  1178. sharedstatedir
  1179. sysconfdir
  1180. datadir
  1181. datarootdir
  1182. libexecdir
  1183. sbindir
  1184. bindir
  1185. program_transform_name
  1186. prefix
  1187. exec_prefix
  1188. PACKAGE_URL
  1189. PACKAGE_BUGREPORT
  1190. PACKAGE_STRING
  1191. PACKAGE_VERSION
  1192. PACKAGE_TARNAME
  1193. PACKAGE_NAME
  1194. PATH_SEPARATOR
  1195. SHELL'
  1196. ac_subst_files=''
  1197. ac_user_opts='
  1198. enable_option_checking
  1199. with_gnu_ld
  1200. enable_dev_mode
  1201. enable_coverage
  1202. with_asound
  1203. with_bfd
  1204. with_execinfo
  1205. with_bluetooth
  1206. with_cap
  1207. with_cpg
  1208. with_curses
  1209. with_crypto
  1210. with_dahdi
  1211. with_avcodec
  1212. with_gsm
  1213. with_ilbc
  1214. with_gtk2
  1215. with_gmime
  1216. with_h323
  1217. with_hoard
  1218. with_ical
  1219. with_iconv
  1220. with_iksemel
  1221. with_imap
  1222. with_inotify
  1223. with_iodbc
  1224. with_isdnnet
  1225. with_jack
  1226. with_kqueue
  1227. with_ldap
  1228. with_libcurl
  1229. with_libedit
  1230. with_libxml2
  1231. with_ltdl
  1232. with_lua
  1233. with_misdn
  1234. with_mysqlclient
  1235. with_nbs
  1236. with_ncurses
  1237. with_neon
  1238. with_neon29
  1239. with_netsnmp
  1240. with_newt
  1241. with_ogg
  1242. with_openr2
  1243. with_osptk
  1244. with_oss
  1245. with_postgres
  1246. with_popt
  1247. with_portaudio
  1248. with_pri
  1249. with_pwlib
  1250. with_radius
  1251. with_resample
  1252. with_sdl
  1253. with_SDL_image
  1254. with_sounds_cache
  1255. with_spandsp
  1256. with_ss7
  1257. with_speex
  1258. with_speexdsp
  1259. with_sqlite
  1260. with_sqlite3
  1261. with_srtp
  1262. with_ssl
  1263. with_suppserv
  1264. with_tds
  1265. with_termcap
  1266. with_timerfd
  1267. with_tinfo
  1268. with_tonezone
  1269. with_unixodbc
  1270. with_vorbis
  1271. with_vpb
  1272. with_x11
  1273. with_z
  1274. enable_xmldoc
  1275. enable_largefile
  1276. enable_internal_poll
  1277. enable_asteriskssl
  1278. '
  1279.      ac_precious_vars='build_alias
  1280. host_alias
  1281. target_alias
  1282. CC
  1283. CFLAGS
  1284. LDFLAGS
  1285. LIBS
  1286. CPPFLAGS
  1287. CPP
  1288. CXX
  1289. CXXFLAGS
  1290. CCC
  1291. CXXCPP
  1292. PKG_CONFIG
  1293. PKG_CONFIG_PATH
  1294. PKG_CONFIG_LIBDIR
  1295. ILBC_CFLAGS
  1296. ILBC_LIBS
  1297. LIBEDIT_CFLAGS
  1298. LIBEDIT_LIBS
  1299. GMIME_CFLAGS
  1300. GMIME_LIBS
  1301. GTK2_CFLAGS
  1302. GTK2_LIBS'
  1303.  
  1304.  
  1305. # Initialize some variables set by options.
  1306. ac_init_help=
  1307. ac_init_version=false
  1308. ac_unrecognized_opts=
  1309. ac_unrecognized_sep=
  1310. # The variables have the same names as the options, with
  1311. # dashes changed to underlines.
  1312. cache_file=/dev/null
  1313. exec_prefix=NONE
  1314. no_create=
  1315. no_recursion=
  1316. prefix=NONE
  1317. program_prefix=NONE
  1318. program_suffix=NONE
  1319. program_transform_name=s,x,x,
  1320. silent=
  1321. site=
  1322. srcdir=
  1323. verbose=
  1324. x_includes=NONE
  1325. x_libraries=NONE
  1326.  
  1327. # Installation directory options.
  1328. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1329. # and all the variables that are supposed to be based on exec_prefix
  1330. # by default will actually change.
  1331. # Use braces instead of parens because sh, perl, etc. also accept them.
  1332. # (The list follows the same order as the GNU Coding Standards.)
  1333. bindir='${exec_prefix}/bin'
  1334. sbindir='${exec_prefix}/sbin'
  1335. libexecdir='${exec_prefix}/libexec'
  1336. datarootdir='${prefix}/share'
  1337. datadir='${datarootdir}'
  1338. sysconfdir='${prefix}/etc'
  1339. sharedstatedir='${prefix}/com'
  1340. localstatedir='${prefix}/var'
  1341. includedir='${prefix}/include'
  1342. oldincludedir='/usr/include'
  1343. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1344. infodir='${datarootdir}/info'
  1345. htmldir='${docdir}'
  1346. dvidir='${docdir}'
  1347. pdfdir='${docdir}'
  1348. psdir='${docdir}'
  1349. libdir='${exec_prefix}/lib'
  1350. localedir='${datarootdir}/locale'
  1351. mandir='${datarootdir}/man'
  1352.  
  1353. ac_prev=
  1354. ac_dashdash=
  1355. for ac_option
  1356. do
  1357.  # If the previous option needs an argument, assign it.
  1358.  if test -n "$ac_prev"; then
  1359.    eval $ac_prev=\$ac_option
  1360.    ac_prev=
  1361.    continue
  1362.  fi
  1363.  
  1364.  case $ac_option in
  1365.  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1366.  *=)   ac_optarg= ;;
  1367.  *)    ac_optarg=yes ;;
  1368.  esac
  1369.  
  1370.  # Accept the important Cygnus configure options, so we can diagnose typos.
  1371.  
  1372.  case $ac_dashdash$ac_option in
  1373.  --)
  1374.    ac_dashdash=yes ;;
  1375.  
  1376.  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1377.    ac_prev=bindir ;;
  1378.  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1379.    bindir=$ac_optarg ;;
  1380.  
  1381.  -build | --build | --buil | --bui | --bu)
  1382.    ac_prev=build_alias ;;
  1383.  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1384.    build_alias=$ac_optarg ;;
  1385.  
  1386.  -cache-file | --cache-file | --cache-fil | --cache-fi \
  1387.  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1388.    ac_prev=cache_file ;;
  1389.  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1390.  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1391.    cache_file=$ac_optarg ;;
  1392.  
  1393.  --config-cache | -C)
  1394.    cache_file=config.cache ;;
  1395.  
  1396.  -datadir | --datadir | --datadi | --datad)
  1397.    ac_prev=datadir ;;
  1398.  -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1399.    datadir=$ac_optarg ;;
  1400.  
  1401.  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1402.  | --dataroo | --dataro | --datar)
  1403.    ac_prev=datarootdir ;;
  1404.  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1405.  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1406.    datarootdir=$ac_optarg ;;
  1407.  
  1408.  -disable-* | --disable-*)
  1409.    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1410.    # Reject names that are not valid shell variable names.
  1411.    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1412.      as_fn_error $? "invalid feature name: $ac_useropt"
  1413.    ac_useropt_orig=$ac_useropt
  1414.    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1415.    case $ac_user_opts in
  1416.      *"
  1417. "enable_$ac_useropt"
  1418. "*) ;;
  1419.      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1420.          ac_unrecognized_sep=', ';;
  1421.    esac
  1422.    eval enable_$ac_useropt=no ;;
  1423.  
  1424.  -docdir | --docdir | --docdi | --doc | --do)
  1425.    ac_prev=docdir ;;
  1426.  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1427.    docdir=$ac_optarg ;;
  1428.  
  1429.  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1430.    ac_prev=dvidir ;;
  1431.  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1432.    dvidir=$ac_optarg ;;
  1433.  
  1434.  -enable-* | --enable-*)
  1435.    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1436.    # Reject names that are not valid shell variable names.
  1437.    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1438.      as_fn_error $? "invalid feature name: $ac_useropt"
  1439.    ac_useropt_orig=$ac_useropt
  1440.    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1441.    case $ac_user_opts in
  1442.      *"
  1443. "enable_$ac_useropt"
  1444. "*) ;;
  1445.      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1446.          ac_unrecognized_sep=', ';;
  1447.    esac
  1448.    eval enable_$ac_useropt=\$ac_optarg ;;
  1449.  
  1450.  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1451.  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1452.  | --exec | --exe | --ex)
  1453.    ac_prev=exec_prefix ;;
  1454.  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1455.  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1456.  | --exec=* | --exe=* | --ex=*)
  1457.    exec_prefix=$ac_optarg ;;
  1458.  
  1459.  -gas | --gas | --ga | --g)
  1460.    # Obsolete; use --with-gas.
  1461.    with_gas=yes ;;
  1462.  
  1463.  -help | --help | --hel | --he | -h)
  1464.    ac_init_help=long ;;
  1465.  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1466.    ac_init_help=recursive ;;
  1467.  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1468.    ac_init_help=short ;;
  1469.  
  1470.  -host | --host | --hos | --ho)
  1471.    ac_prev=host_alias ;;
  1472.  -host=* | --host=* | --hos=* | --ho=*)
  1473.    host_alias=$ac_optarg ;;
  1474.  
  1475.  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1476.    ac_prev=htmldir ;;
  1477.  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1478.  | --ht=*)
  1479.    htmldir=$ac_optarg ;;
  1480.  
  1481.  -includedir | --includedir | --includedi | --included | --include \
  1482.  | --includ | --inclu | --incl | --inc)
  1483.    ac_prev=includedir ;;
  1484.  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1485.  | --includ=* | --inclu=* | --incl=* | --inc=*)
  1486.    includedir=$ac_optarg ;;
  1487.  
  1488.  -infodir | --infodir | --infodi | --infod | --info | --inf)
  1489.    ac_prev=infodir ;;
  1490.  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1491.    infodir=$ac_optarg ;;
  1492.  
  1493.  -libdir | --libdir | --libdi | --libd)
  1494.    ac_prev=libdir ;;
  1495.  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1496.    libdir=$ac_optarg ;;
  1497.  
  1498.  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1499.  | --libexe | --libex | --libe)
  1500.    ac_prev=libexecdir ;;
  1501.  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1502.  | --libexe=* | --libex=* | --libe=*)
  1503.    libexecdir=$ac_optarg ;;
  1504.  
  1505.  -localedir | --localedir | --localedi | --localed | --locale)
  1506.    ac_prev=localedir ;;
  1507.  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1508.    localedir=$ac_optarg ;;
  1509.  
  1510.  -localstatedir | --localstatedir | --localstatedi | --localstated \
  1511.  | --localstate | --localstat | --localsta | --localst | --locals)
  1512.    ac_prev=localstatedir ;;
  1513.  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1514.  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1515.    localstatedir=$ac_optarg ;;
  1516.  
  1517.  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1518.    ac_prev=mandir ;;
  1519.  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1520.    mandir=$ac_optarg ;;
  1521.  
  1522.  -nfp | --nfp | --nf)
  1523.    # Obsolete; use --without-fp.
  1524.    with_fp=no ;;
  1525.  
  1526.  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1527.  | --no-cr | --no-c | -n)
  1528.    no_create=yes ;;
  1529.  
  1530.  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1531.  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1532.    no_recursion=yes ;;
  1533.  
  1534.  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1535.  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1536.  | --oldin | --oldi | --old | --ol | --o)
  1537.    ac_prev=oldincludedir ;;
  1538.  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1539.  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1540.  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1541.    oldincludedir=$ac_optarg ;;
  1542.  
  1543.  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1544.    ac_prev=prefix ;;
  1545.  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1546.    prefix=$ac_optarg ;;
  1547.  
  1548.  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1549.  | --program-pre | --program-pr | --program-p)
  1550.    ac_prev=program_prefix ;;
  1551.  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1552.  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1553.    program_prefix=$ac_optarg ;;
  1554.  
  1555.  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1556.  | --program-suf | --program-su | --program-s)
  1557.    ac_prev=program_suffix ;;
  1558.  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1559.  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1560.    program_suffix=$ac_optarg ;;
  1561.  
  1562.  -program-transform-name | --program-transform-name \
  1563.  | --program-transform-nam | --program-transform-na \
  1564.  | --program-transform-n | --program-transform- \
  1565.  | --program-transform | --program-transfor \
  1566.  | --program-transfo | --program-transf \
  1567.  | --program-trans | --program-tran \
  1568.  | --progr-tra | --program-tr | --program-t)
  1569.    ac_prev=program_transform_name ;;
  1570.  -program-transform-name=* | --program-transform-name=* \
  1571.  | --program-transform-nam=* | --program-transform-na=* \
  1572.  | --program-transform-n=* | --program-transform-=* \
  1573.  | --program-transform=* | --program-transfor=* \
  1574.  | --program-transfo=* | --program-transf=* \
  1575.  | --program-trans=* | --program-tran=* \
  1576.  | --progr-tra=* | --program-tr=* | --program-t=*)
  1577.    program_transform_name=$ac_optarg ;;
  1578.  
  1579.  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1580.    ac_prev=pdfdir ;;
  1581.  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1582.    pdfdir=$ac_optarg ;;
  1583.  
  1584.  -psdir | --psdir | --psdi | --psd | --ps)
  1585.    ac_prev=psdir ;;
  1586.  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1587.    psdir=$ac_optarg ;;
  1588.  
  1589.  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1590.  | -silent | --silent | --silen | --sile | --sil)
  1591.    silent=yes ;;
  1592.  
  1593.  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1594.    ac_prev=sbindir ;;
  1595.  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1596.  | --sbi=* | --sb=*)
  1597.    sbindir=$ac_optarg ;;
  1598.  
  1599.  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1600.  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1601.  | --sharedst | --shareds | --shared | --share | --shar \
  1602.  | --sha | --sh)
  1603.    ac_prev=sharedstatedir ;;
  1604.  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1605.  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1606.  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1607.  | --sha=* | --sh=*)
  1608.    sharedstatedir=$ac_optarg ;;
  1609.  
  1610.  -site | --site | --sit)
  1611.    ac_prev=site ;;
  1612.  -site=* | --site=* | --sit=*)
  1613.    site=$ac_optarg ;;
  1614.  
  1615.  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1616.    ac_prev=srcdir ;;
  1617.  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1618.    srcdir=$ac_optarg ;;
  1619.  
  1620.  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1621.  | --syscon | --sysco | --sysc | --sys | --sy)
  1622.    ac_prev=sysconfdir ;;
  1623.  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1624.  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1625.    sysconfdir=$ac_optarg ;;
  1626.  
  1627.  -target | --target | --targe | --targ | --tar | --ta | --t)
  1628.    ac_prev=target_alias ;;
  1629.  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1630.    target_alias=$ac_optarg ;;
  1631.  
  1632.  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1633.    verbose=yes ;;
  1634.  
  1635.  -version | --version | --versio | --versi | --vers | -V)
  1636.    ac_init_version=: ;;
  1637.  
  1638.  -with-* | --with-*)
  1639.    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1640.    # Reject names that are not valid shell variable names.
  1641.    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1642.      as_fn_error $? "invalid package name: $ac_useropt"
  1643.    ac_useropt_orig=$ac_useropt
  1644.    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1645.    case $ac_user_opts in
  1646.      *"
  1647. "with_$ac_useropt"
  1648. "*) ;;
  1649.      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1650.          ac_unrecognized_sep=', ';;
  1651.    esac
  1652.    eval with_$ac_useropt=\$ac_optarg ;;
  1653.  
  1654.  -without-* | --without-*)
  1655.    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1656.    # Reject names that are not valid shell variable names.
  1657.    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1658.      as_fn_error $? "invalid package name: $ac_useropt"
  1659.    ac_useropt_orig=$ac_useropt
  1660.    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1661.    case $ac_user_opts in
  1662.      *"
  1663. "with_$ac_useropt"
  1664. "*) ;;
  1665.      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1666.          ac_unrecognized_sep=', ';;
  1667.    esac
  1668.    eval with_$ac_useropt=no ;;
  1669.  
  1670.  --x)
  1671.    # Obsolete; use --with-x.
  1672.    with_x=yes ;;
  1673.  
  1674.  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1675.  | --x-incl | --x-inc | --x-in | --x-i)
  1676.    ac_prev=x_includes ;;
  1677.  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1678.  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1679.    x_includes=$ac_optarg ;;
  1680.  
  1681.  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1682.  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1683.    ac_prev=x_libraries ;;
  1684.  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1685.  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1686.    x_libraries=$ac_optarg ;;
  1687.  
  1688.  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1689. Try \`$0 --help' for more information"
  1690.    ;;
  1691.  
  1692.  *=*)
  1693.    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1694.    # Reject names that are not valid shell variable names.
  1695.    case $ac_envvar in #(
  1696.      '' | [0-9]* | *[!_$as_cr_alnum]* )
  1697.      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1698.    esac
  1699.    eval $ac_envvar=\$ac_optarg
  1700.    export $ac_envvar ;;
  1701.  
  1702.  *)
  1703.    # FIXME: should be removed in autoconf 3.0.
  1704.    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1705.    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1706.      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1707.    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1708.    ;;
  1709.  
  1710.  esac
  1711. done
  1712.  
  1713. if test -n "$ac_prev"; then
  1714.  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1715.  as_fn_error $? "missing argument to $ac_option"
  1716. fi
  1717.  
  1718. if test -n "$ac_unrecognized_opts"; then
  1719.  case $enable_option_checking in
  1720.    no) ;;
  1721.    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1722.    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1723.  esac
  1724. fi
  1725.  
  1726. # Check all directory arguments for consistency.
  1727. for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1728.                 datadir sysconfdir sharedstatedir localstatedir includedir \
  1729.                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1730.                 libdir localedir mandir
  1731. do
  1732.  eval ac_val=\$$ac_var
  1733.  # Remove trailing slashes.
  1734.  case $ac_val in
  1735.    */ )
  1736.      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1737.      eval $ac_var=\$ac_val;;
  1738.  esac
  1739.  # Be sure to have absolute directory names.
  1740.  case $ac_val in
  1741.    [\\/$]* | ?:[\\/]* )  continue;;
  1742.    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1743.  esac
  1744.  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1745. done
  1746.  
  1747. # There might be people who depend on the old broken behavior: `$host'
  1748. # used to hold the argument of --host etc.
  1749. # FIXME: To remove some day.
  1750. build=$build_alias
  1751. host=$host_alias
  1752. target=$target_alias
  1753.  
  1754. # FIXME: To remove some day.
  1755. if test "x$host_alias" != x; then
  1756.  if test "x$build_alias" = x; then
  1757.    cross_compiling=maybe
  1758.    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1759.    If a cross compiler is detected then cross compile mode will be used" >&2
  1760.  elif test "x$build_alias" != "x$host_alias"; then
  1761.    cross_compiling=yes
  1762.  fi
  1763. fi
  1764.  
  1765. ac_tool_prefix=
  1766. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1767.  
  1768. test "$silent" = yes && exec 6>/dev/null
  1769.  
  1770.  
  1771. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1772. ac_ls_di=`ls -di .` &&
  1773. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1774.  as_fn_error $? "working directory cannot be determined"
  1775. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1776.  as_fn_error $? "pwd does not report name of working directory"
  1777.  
  1778.  
  1779. # Find the source files, if location was not specified.
  1780. if test -z "$srcdir"; then
  1781.  ac_srcdir_defaulted=yes
  1782.  # Try the directory containing this script, then the parent directory.
  1783.  ac_confdir=`$as_dirname -- "$as_myself" ||
  1784. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1785.          X"$as_myself" : 'X\(//\)[^/]' \| \
  1786.          X"$as_myself" : 'X\(//\)$' \| \
  1787.          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1788. $as_echo X"$as_myself" |
  1789.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1790.             s//\1/
  1791.             q
  1792.           }
  1793.           /^X\(\/\/\)[^/].*/{
  1794.             s//\1/
  1795.             q
  1796.           }
  1797.           /^X\(\/\/\)$/{
  1798.             s//\1/
  1799.             q
  1800.           }
  1801.           /^X\(\/\).*/{
  1802.             s//\1/
  1803.             q
  1804.           }
  1805.           s/.*/./; q'`
  1806.  srcdir=$ac_confdir
  1807.  if test ! -r "$srcdir/$ac_unique_file"; then
  1808.    srcdir=..
  1809.  fi
  1810. else
  1811.  ac_srcdir_defaulted=no
  1812. fi
  1813. if test ! -r "$srcdir/$ac_unique_file"; then
  1814.  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1815.  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1816. fi
  1817. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1818. ac_abs_confdir=`(
  1819.         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1820.         pwd)`
  1821. # When building in place, set srcdir=.
  1822. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1823.  srcdir=.
  1824. fi
  1825. # Remove unnecessary trailing slashes from srcdir.
  1826. # Double slashes in file names in object file debugging info
  1827. # mess up M-x gdb in Emacs.
  1828. case $srcdir in
  1829. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1830. esac
  1831. for ac_var in $ac_precious_vars; do
  1832.  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1833.  eval ac_env_${ac_var}_value=\$${ac_var}
  1834.  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1835.  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1836. done
  1837.  
  1838. #
  1839. # Report the --help message.
  1840. #
  1841. if test "$ac_init_help" = "long"; then
  1842.  # Omit some internal or obsolete options to make the list less imposing.
  1843.  # This message is too long to be a string in the A/UX 3.1 sh.
  1844.  cat <<_ACEOF
  1845. \`configure' configures asterisk trunk to adapt to many kinds of systems.
  1846.  
  1847. Usage: $0 [OPTION]... [VAR=VALUE]...
  1848.  
  1849. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1850. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1851.  
  1852. Defaults for the options are specified in brackets.
  1853.  
  1854. Configuration:
  1855.  -h, --help              display this help and exit
  1856.      --help=short        display options specific to this package
  1857.      --help=recursive    display the short help of all the included packages
  1858.  -V, --version           display version information and exit
  1859.  -q, --quiet, --silent   do not print \`checking ...' messages
  1860.      --cache-file=FILE   cache test results in FILE [disabled]
  1861.  -C, --config-cache      alias for \`--cache-file=config.cache'
  1862.  -n, --no-create         do not create output files
  1863.      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1864.  
  1865. Installation directories:
  1866.  --prefix=PREFIX         install architecture-independent files in PREFIX
  1867.                          [$ac_default_prefix]
  1868.  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1869.                          [PREFIX]
  1870.  
  1871. By default, \`make install' will install all the files in
  1872. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1873. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1874. for instance \`--prefix=\$HOME'.
  1875.  
  1876. For better control, use the options below.
  1877.  
  1878. Fine tuning of the installation directories:
  1879.  --bindir=DIR            user executables [EPREFIX/bin]
  1880.  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1881.  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1882.  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1883.  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1884.  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1885.  --libdir=DIR            object code libraries [EPREFIX/lib]
  1886.  --includedir=DIR        C header files [PREFIX/include]
  1887.  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1888.  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1889.  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1890.  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1891.  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1892.  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1893.  --docdir=DIR            documentation root [DATAROOTDIR/doc/asterisk]
  1894.  --htmldir=DIR           html documentation [DOCDIR]
  1895.  --dvidir=DIR            dvi documentation [DOCDIR]
  1896.  --pdfdir=DIR            pdf documentation [DOCDIR]
  1897.  --psdir=DIR             ps documentation [DOCDIR]
  1898. _ACEOF
  1899.  
  1900.  cat <<\_ACEOF
  1901.  
  1902. System types:
  1903.  --build=BUILD     configure for building on BUILD [guessed]
  1904.  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1905. _ACEOF
  1906. fi
  1907.  
  1908. if test -n "$ac_init_help"; then
  1909.  case $ac_init_help in
  1910.     short | recursive ) echo "Configuration of asterisk trunk:";;
  1911.   esac
  1912.  cat <<\_ACEOF
  1913.  
  1914. Optional Features:
  1915.  --disable-option-checking  ignore unrecognized --enable/--with options
  1916.  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1917.  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1918.  --enable-dev-mode       Turn on developer mode
  1919.  --enable-coverage       Turn on code coverage tracking (for gcov)
  1920.  --disable-xmldoc        Explicitly disable XML documentation
  1921.  --disable-largefile     omit support for large files
  1922.  --enable-internal-poll  Use Asterisk's poll implementation
  1923.  --disable-asteriskssl   Disable Asterisk's SSL wrapper library
  1924.  
  1925. Optional Packages:
  1926.  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1927.  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1928.  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1929.  --with-asound=PATH      use Advanced Linux Sound Architecture files in PATH
  1930.  --with-bfd=PATH         use Debug symbol decoding files in PATH
  1931.  --with-execinfo=PATH    use Stack Backtrace files in PATH
  1932.  --with-bluetooth=PATH   use Bluetooth files in PATH
  1933.  --with-cap=PATH         use POSIX 1.e capabilities files in PATH
  1934.  --with-cpg=PATH         use Corosync files in PATH
  1935.  --with-curses=PATH      use curses files in PATH
  1936.  --with-crypto=PATH      use OpenSSL Cryptography files in PATH
  1937.  --with-dahdi=PATH       use DAHDI files in PATH
  1938.  --with-avcodec=PATH     use Ffmpeg and avcodec files in PATH
  1939.  --with-gsm=PATH         use External GSM files in PATH, use 'internal' GSM
  1940.                          otherwise
  1941.  --with-ilbc=PATH        use System iLBC files in PATH, use 'internal' iLBC
  1942.                          otherwise
  1943.  --with-gtk2=PATH        use gtk2 files in PATH
  1944.  --with-gmime=PATH       use GMime files in PATH
  1945.  --with-h323=PATH        use OpenH323 files in PATH
  1946.  --with-hoard=PATH       use Hoard Memory Allocator files in PATH
  1947.  --with-ical=PATH        use iCal files in PATH
  1948.  --with-iconv=PATH       use Iconv files in PATH
  1949.  --with-iksemel=PATH     use Iksemel Jabber files in PATH
  1950.  --with-imap=PATH        use UW IMAP Toolkit files in PATH
  1951.  --with-inotify=PATH     use inotify support files in PATH
  1952.  --with-iodbc=PATH       use iODBC files in PATH
  1953.  --with-isdnnet=PATH     use ISDN4Linux files in PATH
  1954.  --with-jack=PATH        use Jack Audio Connection Kit files in PATH
  1955.  --with-kqueue=PATH      use kqueue support files in PATH
  1956.  --with-ldap=PATH        use OpenLDAP files in PATH
  1957.  --with-libcurl=DIR      look for the curl library in DIR
  1958.  --with-libedit=PATH     use NetBSD Editline library files in PATH, use
  1959.                          'internal' Editline otherwise
  1960.  --with-libxml2=PATH     use LibXML2 files in PATH
  1961.  --with-ltdl=PATH        use libtool files in PATH
  1962.  --with-lua=PATH         use Lua files in PATH
  1963.  --with-misdn=PATH       use mISDN user files in PATH
  1964.  --with-mysqlclient=PATH use MySQL client files in PATH
  1965.  --with-nbs=PATH         use Network Broadcast Sound files in PATH
  1966.  --with-ncurses=PATH     use ncurses files in PATH
  1967.  --with-neon=PATH        use neon files in PATH
  1968.  --with-neon29=PATH      use neon29 files in PATH
  1969.  --with-netsnmp=PATH     use Net-SNMP files in PATH
  1970.  --with-newt=PATH        use newt files in PATH
  1971.  --with-ogg=PATH         use OGG files in PATH
  1972.  --with-openr2=PATH      use MFR2 files in PATH
  1973.  --with-osptk=PATH       use OSP Toolkit files in PATH
  1974.  --with-oss=PATH         use Open Sound System files in PATH
  1975.  --with-postgres=PATH    use PostgreSQL files in PATH
  1976.  --with-popt=PATH        use popt files in PATH
  1977.  --with-portaudio=PATH   use PortAudio files in PATH
  1978.  --with-pri=PATH         use ISDN PRI files in PATH
  1979.  --with-pwlib=PATH       use PWlib files in PATH
  1980.  --with-radius=PATH      use Radius Client files in PATH
  1981.  --with-resample=PATH    use LIBRESAMPLE files in PATH
  1982.  --with-sdl=PATH         use Sdl files in PATH
  1983.  --with-SDL_image=PATH   use Sdl Image files in PATH
  1984.  --with-sounds-cache=PATH
  1985.                          use cached sound tarfiles in PATH
  1986.  --with-spandsp=PATH     use SPANDSP files in PATH
  1987.  --with-ss7=PATH         use ISDN SS7 files in PATH
  1988.  --with-speex=PATH       use Speex files in PATH
  1989.  --with-speex=PATH       use Speex preprocess routines files in PATH
  1990.  --with-speexdsp=PATH    use SpeexDSP files in PATH
  1991.  --with-sqlite=PATH      use SQLite files in PATH
  1992.  --with-sqlite3=PATH     use SQLite files in PATH
  1993.  --with-srtp=PATH        use Secure RTP files in PATH
  1994.  --with-ssl=PATH         use OpenSSL Secure Sockets Layer files in PATH
  1995.  --with-suppserv=PATH    use mISDN Supplemental Services files in PATH
  1996.  --with-tds=PATH         use FreeTDS files in PATH
  1997.  --with-termcap=PATH     use Termcap files in PATH
  1998.  --with-timerfd=PATH     use timerfd files in PATH
  1999.  --with-tinfo=PATH       use Term Info files in PATH
  2000.  --with-tonezone=PATH    use tonezone files in PATH
  2001.  --with-unixodbc=PATH    use unixODBC files in PATH
  2002.  --with-vorbis=PATH      use Vorbis files in PATH
  2003.  --with-vpb=PATH         use Voicetronix API files in PATH
  2004.  --with-x11=PATH         use X11 files in PATH
  2005.  --with-z=PATH           use zlib compression files in PATH
  2006.  
  2007. Some influential environment variables:
  2008.  CC          C compiler command
  2009.  CFLAGS      C compiler flags
  2010.  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  2011.              nonstandard directory <lib dir>
  2012.  LIBS        libraries to pass to the linker, e.g. -l<library>
  2013.  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2014.              you have headers in a nonstandard directory <include dir>
  2015.  CPP         C preprocessor
  2016.  CXX         C++ compiler command
  2017.  CXXFLAGS    C++ compiler flags
  2018.  CXXCPP      C++ preprocessor
  2019.  PKG_CONFIG  path to pkg-config utility
  2020.  PKG_CONFIG_PATH
  2021.              directories to add to pkg-config's search path
  2022.  PKG_CONFIG_LIBDIR
  2023.              path overriding pkg-config's built-in search path
  2024.  ILBC_CFLAGS C compiler flags for ILBC, overriding pkg-config
  2025.  ILBC_LIBS   linker flags for ILBC, overriding pkg-config
  2026.  LIBEDIT_CFLAGS
  2027.              C compiler flags for LIBEDIT, overriding pkg-config
  2028.  LIBEDIT_LIBS
  2029.              linker flags for LIBEDIT, overriding pkg-config
  2030.  GMIME_CFLAGS
  2031.              C compiler flags for GMIME, overriding pkg-config
  2032.  GMIME_LIBS  linker flags for GMIME, overriding pkg-config
  2033.  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
  2034.  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
  2035.  
  2036. Use these variables to override the choices made by `configure' or to help
  2037. it to find libraries and programs with nonstandard names/locations.
  2038.  
  2039. Report bugs to <https://issues.asterisk.org>.
  2040. _ACEOF
  2041. ac_status=$?
  2042. fi
  2043.  
  2044. if test "$ac_init_help" = "recursive"; then
  2045.  # If there are subdirs, report their specific --help.
  2046.  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2047.    test -d "$ac_dir" ||
  2048.      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2049.      continue
  2050.    ac_builddir=.
  2051.  
  2052. case "$ac_dir" in
  2053. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2054. *)
  2055.  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2056.  # A ".." for each directory in $ac_dir_suffix.
  2057.  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2058.  case $ac_top_builddir_sub in
  2059.  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2060.  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2061.  esac ;;
  2062. esac
  2063. ac_abs_top_builddir=$ac_pwd
  2064. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2065. # for backward compatibility:
  2066. ac_top_builddir=$ac_top_build_prefix
  2067.  
  2068. case $srcdir in
  2069.  .)  # We are building in place.
  2070.    ac_srcdir=.
  2071.    ac_top_srcdir=$ac_top_builddir_sub
  2072.    ac_abs_top_srcdir=$ac_pwd ;;
  2073.  [\\/]* | ?:[\\/]* )  # Absolute name.
  2074.    ac_srcdir=$srcdir$ac_dir_suffix;
  2075.    ac_top_srcdir=$srcdir
  2076.    ac_abs_top_srcdir=$srcdir ;;
  2077.  *) # Relative name.
  2078.    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2079.    ac_top_srcdir=$ac_top_build_prefix$srcdir
  2080.    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2081. esac
  2082. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2083.  
  2084.    cd "$ac_dir" || { ac_status=$?; continue; }
  2085.    # Check for guested configure.
  2086.    if test -f "$ac_srcdir/configure.gnu"; then
  2087.      echo &&
  2088.      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2089.    elif test -f "$ac_srcdir/configure"; then
  2090.      echo &&
  2091.      $SHELL "$ac_srcdir/configure" --help=recursive
  2092.    else
  2093.      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2094.    fi || ac_status=$?
  2095.    cd "$ac_pwd" || { ac_status=$?; break; }
  2096.  done
  2097. fi
  2098.  
  2099. test -n "$ac_init_help" && exit $ac_status
  2100. if $ac_init_version; then
  2101.  cat <<\_ACEOF
  2102. asterisk configure trunk
  2103. generated by GNU Autoconf 2.68
  2104.  
  2105. Copyright (C) 2010 Free Software Foundation, Inc.
  2106. This configure script is free software; the Free Software Foundation
  2107. gives unlimited permission to copy, distribute and modify it.
  2108.  
  2109. "Asterisk"
  2110. _ACEOF
  2111.  exit
  2112. fi
  2113.  
  2114. ## ------------------------ ##
  2115. ## Autoconf initialization. ##
  2116. ## ------------------------ ##
  2117.  
  2118. # ac_fn_c_try_compile LINENO
  2119. # --------------------------
  2120. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2121. ac_fn_c_try_compile ()
  2122. {
  2123.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2124.  rm -f conftest.$ac_objext
  2125.  if { { ac_try="$ac_compile"
  2126. case "(($ac_try" in
  2127.  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2128.  *) ac_try_echo=$ac_try;;
  2129. esac
  2130. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2131. $as_echo "$ac_try_echo"; } >&5
  2132.   (eval "$ac_compile") 2>conftest.err
  2133.   ac_status=$?
  2134.   if test -s conftest.err; then
  2135.     grep -v '^ *+' conftest.err >conftest.er1
  2136.     cat conftest.er1 >&5
  2137.     mv -f conftest.er1 conftest.err
  2138.   fi
  2139.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2140.   test $ac_status = 0; } && {
  2141.          test -z "$ac_c_werror_flag" ||
  2142.          test ! -s conftest.err
  2143.        } && test -s conftest.$ac_objext; then :
  2144.   ac_retval=0
  2145. else
  2146.   $as_echo "$as_me: failed program was:" >&5
  2147. sed 's/^/| /' conftest.$ac_ext >&5
  2148.  
  2149.         ac_retval=1
  2150. fi
  2151.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2152.   as_fn_set_status $ac_retval
  2153.  
  2154. } # ac_fn_c_try_compile
  2155.  
  2156. # ac_fn_c_try_cpp LINENO
  2157. # ----------------------
  2158. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2159. ac_fn_c_try_cpp ()
  2160. {
  2161.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2162.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  2163. case "(($ac_try" in
  2164.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2165.  *) ac_try_echo=$ac_try;;
  2166. esac
  2167. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2168. $as_echo "$ac_try_echo"; } >&5
  2169.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2170.   ac_status=$?
  2171.   if test -s conftest.err; then
  2172.     grep -v '^ *+' conftest.err >conftest.er1
  2173.     cat conftest.er1 >&5
  2174.     mv -f conftest.er1 conftest.err
  2175.   fi
  2176.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2177.   test $ac_status = 0; } > conftest.i && {
  2178.          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2179.          test ! -s conftest.err
  2180.        }; then :
  2181.   ac_retval=0
  2182. else
  2183.   $as_echo "$as_me: failed program was:" >&5
  2184. sed 's/^/| /' conftest.$ac_ext >&5
  2185.  
  2186.     ac_retval=1
  2187. fi
  2188.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2189.   as_fn_set_status $ac_retval
  2190.  
  2191. } # ac_fn_c_try_cpp
  2192.  
  2193. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2194. # -------------------------------------------------------
  2195. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2196. # the include files in INCLUDES and setting the cache variable VAR
  2197. # accordingly.
  2198. ac_fn_c_check_header_mongrel ()
  2199. {
  2200.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2201.   if eval \${$3+:} false; then :
  2202.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2203. $as_echo_n "checking for $2... " >&6; }
  2204. if eval \${$3+:} false; then :
  2205.   $as_echo_n "(cached) " >&6
  2206. fi
  2207. eval ac_res=\$$3
  2208.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2209. $as_echo "$ac_res" >&6; }
  2210. else
  2211.   # Is the header compilable?
  2212. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2213. $as_echo_n "checking $2 usability... " >&6; }
  2214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2215. /* end confdefs.h.  */
  2216. $4
  2217. #include <$2>
  2218. _ACEOF
  2219. if ac_fn_c_try_compile "$LINENO"; then :
  2220.   ac_header_compiler=yes
  2221. else
  2222.   ac_header_compiler=no
  2223. fi
  2224. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2226. $as_echo "$ac_header_compiler" >&6; }
  2227.  
  2228. # Is the header present?
  2229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2230. $as_echo_n "checking $2 presence... " >&6; }
  2231. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2232. /* end confdefs.h.  */
  2233. #include <$2>
  2234. _ACEOF
  2235. if ac_fn_c_try_cpp "$LINENO"; then :
  2236.   ac_header_preproc=yes
  2237. else
  2238.   ac_header_preproc=no
  2239. fi
  2240. rm -f conftest.err conftest.i conftest.$ac_ext
  2241. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2242. $as_echo "$ac_header_preproc" >&6; }
  2243.  
  2244. # So?  What about this header?
  2245. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2246.   yes:no: )
  2247.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2248. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2249.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2250. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2251.     ;;
  2252.   no:yes:* )
  2253.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2254. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2255.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  2256. $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  2257.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2258. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2259.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  2260. $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  2261.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2262. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2263. ( $as_echo "## ------------------------------------------ ##
  2264. ## Report this to https://issues.asterisk.org ##
  2265. ## ------------------------------------------ ##"
  2266.      ) | sed "s/^/$as_me: WARNING:     /" >&2
  2267.     ;;
  2268. esac
  2269.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2270. $as_echo_n "checking for $2... " >&6; }
  2271. if eval \${$3+:} false; then :
  2272.   $as_echo_n "(cached) " >&6
  2273. else
  2274.   eval "$3=\$ac_header_compiler"
  2275. fi
  2276. eval ac_res=\$$3
  2277.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2278. $as_echo "$ac_res" >&6; }
  2279. fi
  2280.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2281.  
  2282. } # ac_fn_c_check_header_mongrel
  2283.  
  2284. # ac_fn_c_try_run LINENO
  2285. # ----------------------
  2286. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2287. # that executables *can* be run.
  2288. ac_fn_c_try_run ()
  2289. {
  2290.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2291.   if { { ac_try="$ac_link"
  2292. case "(($ac_try" in
  2293.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2294.  *) ac_try_echo=$ac_try;;
  2295. esac
  2296. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2297. $as_echo "$ac_try_echo"; } >&5
  2298.   (eval "$ac_link") 2>&5
  2299.   ac_status=$?
  2300.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2301.   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2302.   { { case "(($ac_try" in
  2303.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2304.  *) ac_try_echo=$ac_try;;
  2305. esac
  2306. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2307. $as_echo "$ac_try_echo"; } >&5
  2308.   (eval "$ac_try") 2>&5
  2309.   ac_status=$?
  2310.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2311.   test $ac_status = 0; }; }; then :
  2312.   ac_retval=0
  2313. else
  2314.   $as_echo "$as_me: program exited with status $ac_status" >&5
  2315.        $as_echo "$as_me: failed program was:" >&5
  2316. sed 's/^/| /' conftest.$ac_ext >&5
  2317.  
  2318.        ac_retval=$ac_status
  2319. fi
  2320.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2321.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2322.   as_fn_set_status $ac_retval
  2323.  
  2324. } # ac_fn_c_try_run
  2325.  
  2326. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2327. # -------------------------------------------------------
  2328. # Tests whether HEADER exists and can be compiled using the include files in
  2329. # INCLUDES, setting the cache variable VAR accordingly.
  2330. ac_fn_c_check_header_compile ()
  2331. {
  2332.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2333.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2334. $as_echo_n "checking for $2... " >&6; }
  2335. if eval \${$3+:} false; then :
  2336.   $as_echo_n "(cached) " >&6
  2337. else
  2338.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2339. /* end confdefs.h.  */
  2340. $4
  2341. #include <$2>
  2342. _ACEOF
  2343. if ac_fn_c_try_compile "$LINENO"; then :
  2344.   eval "$3=yes"
  2345. else
  2346.   eval "$3=no"
  2347. fi
  2348. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2349. fi
  2350. eval ac_res=\$$3
  2351.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2352. $as_echo "$ac_res" >&6; }
  2353.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2354.  
  2355. } # ac_fn_c_check_header_compile
  2356.  
  2357. # ac_fn_cxx_try_compile LINENO
  2358. # ----------------------------
  2359. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2360. ac_fn_cxx_try_compile ()
  2361. {
  2362.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2363.   rm -f conftest.$ac_objext
  2364.   if { { ac_try="$ac_compile"
  2365. case "(($ac_try" in
  2366.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2367.  *) ac_try_echo=$ac_try;;
  2368. esac
  2369. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2370. $as_echo "$ac_try_echo"; } >&5
  2371.   (eval "$ac_compile") 2>conftest.err
  2372.   ac_status=$?
  2373.   if test -s conftest.err; then
  2374.     grep -v '^ *+' conftest.err >conftest.er1
  2375.     cat conftest.er1 >&5
  2376.     mv -f conftest.er1 conftest.err
  2377.   fi
  2378.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2379.   test $ac_status = 0; } && {
  2380.          test -z "$ac_cxx_werror_flag" ||
  2381.          test ! -s conftest.err
  2382.        } && test -s conftest.$ac_objext; then :
  2383.   ac_retval=0
  2384. else
  2385.   $as_echo "$as_me: failed program was:" >&5
  2386. sed 's/^/| /' conftest.$ac_ext >&5
  2387.  
  2388.         ac_retval=1
  2389. fi
  2390.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2391.   as_fn_set_status $ac_retval
  2392.  
  2393. } # ac_fn_cxx_try_compile
  2394.  
  2395. # ac_fn_cxx_try_cpp LINENO
  2396. # ------------------------
  2397. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2398. ac_fn_cxx_try_cpp ()
  2399. {
  2400.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2401.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  2402. case "(($ac_try" in
  2403.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2404.  *) ac_try_echo=$ac_try;;
  2405. esac
  2406. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2407. $as_echo "$ac_try_echo"; } >&5
  2408.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2409.   ac_status=$?
  2410.   if test -s conftest.err; then
  2411.     grep -v '^ *+' conftest.err >conftest.er1
  2412.     cat conftest.er1 >&5
  2413.     mv -f conftest.er1 conftest.err
  2414.   fi
  2415.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2416.   test $ac_status = 0; } > conftest.i && {
  2417.          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  2418.          test ! -s conftest.err
  2419.        }; then :
  2420.   ac_retval=0
  2421. else
  2422.   $as_echo "$as_me: failed program was:" >&5
  2423. sed 's/^/| /' conftest.$ac_ext >&5
  2424.  
  2425.     ac_retval=1
  2426. fi
  2427.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2428.   as_fn_set_status $ac_retval
  2429.  
  2430. } # ac_fn_cxx_try_cpp
  2431.  
  2432. # ac_fn_c_try_link LINENO
  2433. # -----------------------
  2434. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2435. ac_fn_c_try_link ()
  2436. {
  2437.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2438.   rm -f conftest.$ac_objext conftest$ac_exeext
  2439.   if { { ac_try="$ac_link"
  2440. case "(($ac_try" in
  2441.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2442.  *) ac_try_echo=$ac_try;;
  2443. esac
  2444. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2445. $as_echo "$ac_try_echo"; } >&5
  2446.   (eval "$ac_link") 2>conftest.err
  2447.   ac_status=$?
  2448.   if test -s conftest.err; then
  2449.     grep -v '^ *+' conftest.err >conftest.er1
  2450.     cat conftest.er1 >&5
  2451.     mv -f conftest.er1 conftest.err
  2452.   fi
  2453.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2454.   test $ac_status = 0; } && {
  2455.          test -z "$ac_c_werror_flag" ||
  2456.          test ! -s conftest.err
  2457.        } && test -s conftest$ac_exeext && {
  2458.          test "$cross_compiling" = yes ||
  2459.          $as_test_x conftest$ac_exeext
  2460.        }; then :
  2461.   ac_retval=0
  2462. else
  2463.   $as_echo "$as_me: failed program was:" >&5
  2464. sed 's/^/| /' conftest.$ac_ext >&5
  2465.  
  2466.         ac_retval=1
  2467. fi
  2468.   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2469.   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2470.   # interfere with the next link command; also delete a directory that is
  2471.   # left behind by Apple's compiler.  We do this before executing the actions.
  2472.  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2473.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2474.  as_fn_set_status $ac_retval
  2475.  
  2476. } # ac_fn_c_try_link
  2477.  
  2478. # ac_fn_c_check_func LINENO FUNC VAR
  2479. # ----------------------------------
  2480. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  2481. ac_fn_c_check_func ()
  2482. {
  2483.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2484.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2485. $as_echo_n "checking for $2... " >&6; }
  2486. if eval \${$3+:} false; then :
  2487.  $as_echo_n "(cached) " >&6
  2488. else
  2489.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2490. /* end confdefs.h.  */
  2491. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2492.   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  2493. #define $2 innocuous_$2
  2494.  
  2495. /* System header to define __stub macros and hopefully few prototypes,
  2496.    which can conflict with char $2 (); below.
  2497.    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2498.    <limits.h> exists even on freestanding compilers.  */
  2499.  
  2500. #ifdef __STDC__
  2501. # include <limits.h>
  2502. #else
  2503. # include <assert.h>
  2504. #endif
  2505.  
  2506. #undef $2
  2507.  
  2508. /* Override any GCC internal prototype to avoid an error.
  2509.   Use char because int might match the return type of a GCC
  2510.   builtin and then its argument prototype would still apply.  */
  2511. #ifdef __cplusplus
  2512. extern "C"
  2513. #endif
  2514. char $2 ();
  2515. /* The GNU C library defines this for functions which it implements
  2516.    to always fail with ENOSYS.  Some functions are actually named
  2517.    something starting with __ and the normal name is an alias.  */
  2518. #if defined __stub_$2 || defined __stub___$2
  2519. choke me
  2520. #endif
  2521.  
  2522. int
  2523. main ()
  2524. {
  2525. return $2 ();
  2526.  ;
  2527.  return 0;
  2528. }
  2529. _ACEOF
  2530. if ac_fn_c_try_link "$LINENO"; then :
  2531.  eval "$3=yes"
  2532. else
  2533.  eval "$3=no"
  2534. fi
  2535. rm -f core conftest.err conftest.$ac_objext \
  2536.    conftest$ac_exeext conftest.$ac_ext
  2537. fi
  2538. eval ac_res=\$$3
  2539.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2540. $as_echo "$ac_res" >&6; }
  2541.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2542.  
  2543. } # ac_fn_c_check_func
  2544.  
  2545. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2546. # -------------------------------------------
  2547. # Tests whether TYPE exists after having included INCLUDES, setting cache
  2548. # variable VAR accordingly.
  2549. ac_fn_c_check_type ()
  2550. {
  2551.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2552.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2553. $as_echo_n "checking for $2... " >&6; }
  2554. if eval \${$3+:} false; then :
  2555.  $as_echo_n "(cached) " >&6
  2556. else
  2557.  eval "$3=no"
  2558.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2559. /* end confdefs.h.  */
  2560. $4
  2561. int
  2562. main ()
  2563. {
  2564. if (sizeof ($2))
  2565.          return 0;
  2566.  ;
  2567.  return 0;
  2568. }
  2569. _ACEOF
  2570. if ac_fn_c_try_compile "$LINENO"; then :
  2571.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2572. /* end confdefs.h.  */
  2573. $4
  2574. int
  2575. main ()
  2576. {
  2577. if (sizeof (($2)))
  2578.             return 0;
  2579.  ;
  2580.  return 0;
  2581. }
  2582. _ACEOF
  2583. if ac_fn_c_try_compile "$LINENO"; then :
  2584.  
  2585. else
  2586.  eval "$3=yes"
  2587. fi
  2588. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2589. fi
  2590. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2591. fi
  2592. eval ac_res=\$$3
  2593.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2594. $as_echo "$ac_res" >&6; }
  2595.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2596.  
  2597. } # ac_fn_c_check_type
  2598.  
  2599. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2600. # ----------------------------------------------------
  2601. # Tries to find if the field MEMBER exists in type AGGR, after including
  2602. # INCLUDES, setting cache variable VAR accordingly.
  2603. ac_fn_c_check_member ()
  2604. {
  2605.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2606.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2607. $as_echo_n "checking for $2.$3... " >&6; }
  2608. if eval \${$4+:} false; then :
  2609.  $as_echo_n "(cached) " >&6
  2610. else
  2611.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2612. /* end confdefs.h.  */
  2613. $5
  2614. int
  2615. main ()
  2616. {
  2617. static $2 ac_aggr;
  2618. if (ac_aggr.$3)
  2619. return 0;
  2620.  ;
  2621.  return 0;
  2622. }
  2623. _ACEOF
  2624. if ac_fn_c_try_compile "$LINENO"; then :
  2625.  eval "$4=yes"
  2626. else
  2627.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2628. /* end confdefs.h.  */
  2629. $5
  2630. int
  2631. main ()
  2632. {
  2633. static $2 ac_aggr;
  2634. if (sizeof ac_aggr.$3)
  2635. return 0;
  2636.  ;
  2637.  return 0;
  2638. }
  2639. _ACEOF
  2640. if ac_fn_c_try_compile "$LINENO"; then :
  2641.  eval "$4=yes"
  2642. else
  2643.  eval "$4=no"
  2644. fi
  2645. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2646. fi
  2647. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2648. fi
  2649. eval ac_res=\$$4
  2650.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2651. $as_echo "$ac_res" >&6; }
  2652.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2653.  
  2654. } # ac_fn_c_check_member
  2655.  
  2656. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  2657. # --------------------------------------------
  2658. # Tries to find the compile-time value of EXPR in a program that includes
  2659. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  2660. # computed
  2661. ac_fn_c_compute_int ()
  2662. {
  2663.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2664.  if test "$cross_compiling" = yes; then
  2665.    # Depending upon the size, compute the lo and hi bounds.
  2666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2667. /* end confdefs.h.  */
  2668. $4
  2669. int
  2670. main ()
  2671. {
  2672. static int test_array [1 - 2 * !(($2) >= 0)];
  2673. test_array [0] = 0
  2674.  
  2675.  ;
  2676.  return 0;
  2677. }
  2678. _ACEOF
  2679. if ac_fn_c_try_compile "$LINENO"; then :
  2680.  ac_lo=0 ac_mid=0
  2681.  while :; do
  2682.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2683. /* end confdefs.h.  */
  2684. $4
  2685. int
  2686. main ()
  2687. {
  2688. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2689. test_array [0] = 0
  2690.  
  2691.  ;
  2692.  return 0;
  2693. }
  2694. _ACEOF
  2695. if ac_fn_c_try_compile "$LINENO"; then :
  2696.  ac_hi=$ac_mid; break
  2697. else
  2698.  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2699.                         if test $ac_lo -le $ac_mid; then
  2700.                           ac_lo= ac_hi=
  2701.                           break
  2702.                         fi
  2703.                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2704. fi
  2705. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2706.  done
  2707. else
  2708.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2709. /* end confdefs.h.  */
  2710. $4
  2711. int
  2712. main ()
  2713. {
  2714. static int test_array [1 - 2 * !(($2) < 0)];
  2715. test_array [0] = 0
  2716.  
  2717.  ;
  2718.  return 0;
  2719. }
  2720. _ACEOF
  2721. if ac_fn_c_try_compile "$LINENO"; then :
  2722.  ac_hi=-1 ac_mid=-1
  2723.  while :; do
  2724.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2725. /* end confdefs.h.  */
  2726. $4
  2727. int
  2728. main ()
  2729. {
  2730. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2731. test_array [0] = 0
  2732.  
  2733.  ;
  2734.  return 0;
  2735. }
  2736. _ACEOF
  2737. if ac_fn_c_try_compile "$LINENO"; then :
  2738.  ac_lo=$ac_mid; break
  2739. else
  2740.  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2741.                         if test $ac_mid -le $ac_hi; then
  2742.                           ac_lo= ac_hi=
  2743.                           break
  2744.                         fi
  2745.                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2746. fi
  2747. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2748.  done
  2749. else
  2750.  ac_lo= ac_hi=
  2751. fi
  2752. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2753. fi
  2754. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2755. # Binary search between lo and hi bounds.
  2756. while test "x$ac_lo" != "x$ac_hi"; do
  2757.  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2758.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2759. /* end confdefs.h.  */
  2760. $4
  2761. int
  2762. main ()
  2763. {
  2764. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2765. test_array [0] = 0
  2766.  
  2767.  ;
  2768.  return 0;
  2769. }
  2770. _ACEOF
  2771. if ac_fn_c_try_compile "$LINENO"; then :
  2772.  ac_hi=$ac_mid
  2773. else
  2774.  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2775. fi
  2776. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2777. done
  2778. case $ac_lo in #((
  2779. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2780. '') ac_retval=1 ;;
  2781. esac
  2782.  else
  2783.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2784. /* end confdefs.h.  */
  2785. $4
  2786. static long int longval () { return $2; }
  2787. static unsigned long int ulongval () { return $2; }
  2788. #include <stdio.h>
  2789. #include <stdlib.h>
  2790. int
  2791. main ()
  2792. {
  2793.  
  2794.  FILE *f = fopen ("conftest.val", "w");
  2795.  if (! f)
  2796.    return 1;
  2797.  if (($2) < 0)
  2798.    {
  2799.      long int i = longval ();
  2800.      if (i != ($2))
  2801.         return 1;
  2802.      fprintf (f, "%ld", i);
  2803.    }
  2804.  else
  2805.    {
  2806.      unsigned long int i = ulongval ();
  2807.      if (i != ($2))
  2808.         return 1;
  2809.      fprintf (f, "%lu", i);
  2810.    }
  2811.  /* Do not output a trailing newline, as this causes \r\n confusion
  2812.     on some platforms.  */
  2813.  return ferror (f) || fclose (f) != 0;
  2814.  
  2815.  ;
  2816.  return 0;
  2817. }
  2818. _ACEOF
  2819. if ac_fn_c_try_run "$LINENO"; then :
  2820.  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2821. else
  2822.  ac_retval=1
  2823. fi
  2824. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2825.  conftest.$ac_objext conftest.beam conftest.$ac_ext
  2826. rm -f conftest.val
  2827.  
  2828.  fi
  2829.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2830.  as_fn_set_status $ac_retval
  2831.  
  2832. } # ac_fn_c_compute_int
  2833.  
  2834. # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
  2835. # ---------------------------------------------------------
  2836. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2837. # the include files in INCLUDES and setting the cache variable VAR
  2838. # accordingly.
  2839. ac_fn_cxx_check_header_mongrel ()
  2840. {
  2841.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2842.  if eval \${$3+:} false; then :
  2843.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2844. $as_echo_n "checking for $2... " >&6; }
  2845. if eval \${$3+:} false; then :
  2846.  $as_echo_n "(cached) " >&6
  2847. fi
  2848. eval ac_res=\$$3
  2849.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2850. $as_echo "$ac_res" >&6; }
  2851. else
  2852.  # Is the header compilable?
  2853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2854. $as_echo_n "checking $2 usability... " >&6; }
  2855. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2856. /* end confdefs.h.  */
  2857. $4
  2858. #include <$2>
  2859. _ACEOF
  2860. if ac_fn_cxx_try_compile "$LINENO"; then :
  2861.  ac_header_compiler=yes
  2862. else
  2863.  ac_header_compiler=no
  2864. fi
  2865. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2867. $as_echo "$ac_header_compiler" >&6; }
  2868.  
  2869. # Is the header present?
  2870. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2871. $as_echo_n "checking $2 presence... " >&6; }
  2872. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2873. /* end confdefs.h.  */
  2874. #include <$2>
  2875. _ACEOF
  2876. if ac_fn_cxx_try_cpp "$LINENO"; then :
  2877.  ac_header_preproc=yes
  2878. else
  2879.  ac_header_preproc=no
  2880. fi
  2881. rm -f conftest.err conftest.i conftest.$ac_ext
  2882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2883. $as_echo "$ac_header_preproc" >&6; }
  2884.  
  2885. # So?  What about this header?
  2886. case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
  2887.  yes:no: )
  2888.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2889. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2890.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2891. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2892.    ;;
  2893.  no:yes:* )
  2894.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2895. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2896.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  2897. $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  2898.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2899. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2900.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  2901. $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  2902.    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2903. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2904. ( $as_echo "## ------------------------------------------ ##
  2905. ## Report this to https://issues.asterisk.org ##
  2906. ## ------------------------------------------ ##"
  2907.     ) | sed "s/^/$as_me: WARNING:     /" >&2
  2908.    ;;
  2909. esac
  2910.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2911. $as_echo_n "checking for $2... " >&6; }
  2912. if eval \${$3+:} false; then :
  2913.  $as_echo_n "(cached) " >&6
  2914. else
  2915.  eval "$3=\$ac_header_compiler"
  2916. fi
  2917. eval ac_res=\$$3
  2918.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2919. $as_echo "$ac_res" >&6; }
  2920. fi
  2921.  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2922.  
  2923. } # ac_fn_cxx_check_header_mongrel
  2924.  
  2925. # ac_fn_cxx_try_link LINENO
  2926. # -------------------------
  2927. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2928. ac_fn_cxx_try_link ()
  2929. {
  2930.  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2931.  rm -f conftest.$ac_objext conftest$ac_exeext
  2932.  if { { ac_try="$ac_link"
  2933. case "(($ac_try" in
  2934.  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2935.  *) ac_try_echo=$ac_try;;
  2936. esac
  2937. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2938. $as_echo "$ac_try_echo"; } >&5
  2939.  (eval "$ac_link") 2>conftest.err
  2940.  ac_status=$?
  2941.  if test -s conftest.err; then
  2942.    grep -v '^ *+' conftest.err >conftest.er1
  2943.    cat conftest.er1 >&5
  2944.    mv -f conftest.er1 conftest.err
  2945.  fi
  2946.  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2947.  test $ac_status = 0; } && {
  2948.          test -z "$ac_cxx_werror_flag" ||
  2949.          test ! -s conftest.err
  2950.       } && test -s conftest$ac_exeext && {
  2951.          test "$cross_compiling" = yes ||
  2952.          $as_test_x conftest$ac_exeext
  2953.       }; then :
  2954.  ac_retval=0
  2955. else
  2956.  $as_echo "$as_me: failed program was:" >&5
  2957. sed 's/^/| /' conftest.$ac_ext >&5
  2958.  
  2959.         ac_retval=1
  2960. fi
  2961.  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2962.  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2963.  # interfere with the next link command; also delete a directory that is
  2964.  # left behind by Apple's compiler.  We do this before executing the actions.
  2965.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2966.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2967.   as_fn_set_status $ac_retval
  2968.  
  2969. } # ac_fn_cxx_try_link
  2970.  
  2971. # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
  2972. # ---------------------------------------------------------
  2973. # Tests whether HEADER exists and can be compiled using the include files in
  2974. # INCLUDES, setting the cache variable VAR accordingly.
  2975. ac_fn_cxx_check_header_compile ()
  2976. {
  2977.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2978.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2979. $as_echo_n "checking for $2... " >&6; }
  2980. if eval \${$3+:} false; then :
  2981.   $as_echo_n "(cached) " >&6
  2982. else
  2983.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2984. /* end confdefs.h.  */
  2985. $4
  2986. #include <$2>
  2987. _ACEOF
  2988. if ac_fn_cxx_try_compile "$LINENO"; then :
  2989.   eval "$3=yes"
  2990. else
  2991.   eval "$3=no"
  2992. fi
  2993. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2994. fi
  2995. eval ac_res=\$$3
  2996.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2997. $as_echo "$ac_res" >&6; }
  2998.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2999.  
  3000. } # ac_fn_cxx_check_header_compile
  3001. cat >config.log <<_ACEOF
  3002. This file contains any messages produced by compilers while
  3003. running configure, to aid debugging if configure makes a mistake.
  3004.  
  3005. It was created by asterisk $as_me trunk, which was
  3006. generated by GNU Autoconf 2.68.  Invocation command line was
  3007.  
  3008.   $ $0 $@
  3009.  
  3010. _ACEOF
  3011. exec 5>>config.log
  3012. {
  3013. cat <<_ASUNAME
  3014. ## --------- ##
  3015. ## Platform. ##
  3016. ## --------- ##
  3017.  
  3018. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3019. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3020. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3021. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3022. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3023.  
  3024. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3025. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  3026.  
  3027. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  3028. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  3029. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3030. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  3031. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  3032. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  3033. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  3034.  
  3035. _ASUNAME
  3036.  
  3037. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3038. for as_dir in $PATH
  3039. do
  3040.   IFS=$as_save_IFS
  3041.   test -z "$as_dir" && as_dir=.
  3042.     $as_echo "PATH: $as_dir"
  3043.   done
  3044. IFS=$as_save_IFS
  3045.  
  3046. } >&5
  3047.  
  3048. cat >&5 <<_ACEOF
  3049.  
  3050.  
  3051. ## ----------- ##
  3052. ## Core tests. ##
  3053. ## ----------- ##
  3054.  
  3055. _ACEOF
  3056.  
  3057.  
  3058. # Keep a trace of the command line.
  3059. # Strip out --no-create and --no-recursion so they do not pile up.
  3060. # Strip out --silent because we don't want to record it for future runs.
  3061. # Also quote any args containing shell meta-characters.
  3062. # Make two passes to allow for proper duplicate-argument suppression.
  3063. ac_configure_args=
  3064. ac_configure_args0=
  3065. ac_configure_args1=
  3066. ac_must_keep_next=false
  3067. for ac_pass in 1 2
  3068. do
  3069.  for ac_arg
  3070.  do
  3071.    case $ac_arg in
  3072.    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3073.    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3074.    | -silent | --silent | --silen | --sile | --sil)
  3075.      continue ;;
  3076.    *\'*)
  3077.      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3078.    esac
  3079.    case $ac_pass in
  3080.    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3081.    2)
  3082.      as_fn_append ac_configure_args1 " '$ac_arg'"
  3083.      if test $ac_must_keep_next = true; then
  3084.         ac_must_keep_next=false # Got value, back to normal.
  3085.      else
  3086.         case $ac_arg in
  3087.           *=* | --config-cache | -C | -disable-* | --disable-* \
  3088.           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3089.           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3090.           | -with-* | --with-* | -without-* | --without-* | --x)
  3091.             case "$ac_configure_args0 " in
  3092.               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3093.             esac
  3094.             ;;
  3095.           -* ) ac_must_keep_next=true ;;
  3096.         esac
  3097.      fi
  3098.      as_fn_append ac_configure_args " '$ac_arg'"
  3099.      ;;
  3100.    esac
  3101.  done
  3102. done
  3103. { ac_configure_args0=; unset ac_configure_args0;}
  3104. { ac_configure_args1=; unset ac_configure_args1;}
  3105.  
  3106. # When interrupted or exit'd, cleanup temporary files, and complete
  3107. # config.log.  We remove comments because anyway the quotes in there
  3108. # would cause problems or look ugly.
  3109. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3110. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3111. trap 'exit_status=$?
  3112.  # Save into config.log some information that might help in debugging.
  3113.  {
  3114.    echo
  3115.  
  3116.    $as_echo "## ---------------- ##
  3117. ## Cache variables. ##
  3118. ## ---------------- ##"
  3119.    echo
  3120.    # The following way of writing the cache mishandles newlines in values,
  3121. (
  3122.  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3123.     eval ac_val=\$$ac_var
  3124.     case $ac_val in #(
  3125.     *${as_nl}*)
  3126.       case $ac_var in #(
  3127.       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3128. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3129.       esac
  3130.       case $ac_var in #(
  3131.       _ | IFS | as_nl) ;; #(
  3132.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3133.       *) { eval $ac_var=; unset $ac_var;} ;;
  3134.       esac ;;
  3135.     esac
  3136.   done
  3137.   (set) 2>&1 |
  3138.     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3139.     *${as_nl}ac_space=\ *)
  3140.       sed -n \
  3141.         "s/'\''/'\''\\\\'\'''\''/g;
  3142.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3143.       ;; #(
  3144.     *)
  3145.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3146.       ;;
  3147.     esac |
  3148.     sort
  3149. )
  3150.     echo
  3151.  
  3152.     $as_echo "## ----------------- ##
  3153. ## Output variables. ##
  3154. ## ----------------- ##"
  3155.     echo
  3156.     for ac_var in $ac_subst_vars
  3157.     do
  3158.       eval ac_val=\$$ac_var
  3159.       case $ac_val in
  3160.       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3161.       esac
  3162.       $as_echo "$ac_var='\''$ac_val'\''"
  3163.     done | sort
  3164.     echo
  3165.  
  3166.     if test -n "$ac_subst_files"; then
  3167.       $as_echo "## ------------------- ##
  3168. ## File substitutions. ##
  3169. ## ------------------- ##"
  3170.       echo
  3171.       for ac_var in $ac_subst_files
  3172.       do
  3173.         eval ac_val=\$$ac_var
  3174.         case $ac_val in
  3175.         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3176.         esac
  3177.         $as_echo "$ac_var='\''$ac_val'\''"
  3178.       done | sort
  3179.       echo
  3180.     fi
  3181.  
  3182.     if test -s confdefs.h; then
  3183.       $as_echo "## ----------- ##
  3184. ## confdefs.h. ##
  3185. ## ----------- ##"
  3186.       echo
  3187.       cat confdefs.h
  3188.       echo
  3189.     fi
  3190.     test "$ac_signal" != 0 &&
  3191.       $as_echo "$as_me: caught signal $ac_signal"
  3192.     $as_echo "$as_me: exit $exit_status"
  3193.   } >&5
  3194.   rm -f core *.core core.conftest.* &&
  3195.     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3196.     exit $exit_status
  3197. ' 0
  3198. for ac_signal in 1 2 13 15; do
  3199.  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3200. done
  3201. ac_signal=0
  3202.  
  3203. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3204. rm -f -r conftest* confdefs.h
  3205.  
  3206. $as_echo "/* confdefs.h */" > confdefs.h
  3207.  
  3208. # Predefined preprocessor variables.
  3209.  
  3210. cat >>confdefs.h <<_ACEOF
  3211. #define PACKAGE_NAME "$PACKAGE_NAME"
  3212. _ACEOF
  3213.  
  3214. cat >>confdefs.h <<_ACEOF
  3215. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3216. _ACEOF
  3217.  
  3218. cat >>confdefs.h <<_ACEOF
  3219. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3220. _ACEOF
  3221.  
  3222. cat >>confdefs.h <<_ACEOF
  3223. #define PACKAGE_STRING "$PACKAGE_STRING"
  3224. _ACEOF
  3225.  
  3226. cat >>confdefs.h <<_ACEOF
  3227. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3228. _ACEOF
  3229.  
  3230. cat >>confdefs.h <<_ACEOF
  3231. #define PACKAGE_URL "$PACKAGE_URL"
  3232. _ACEOF
  3233.  
  3234.  
  3235. # Let the site file select an alternate cache file if it wants to.
  3236. # Prefer an explicitly selected file to automatically selected ones.
  3237. ac_site_file1=NONE
  3238. ac_site_file2=NONE
  3239. if test -n "$CONFIG_SITE"; then
  3240.  # We do not want a PATH search for config.site.
  3241.  case $CONFIG_SITE in #((
  3242.    -*)  ac_site_file1=./$CONFIG_SITE;;
  3243.    */*) ac_site_file1=$CONFIG_SITE;;
  3244.    *)   ac_site_file1=./$CONFIG_SITE;;
  3245.  esac
  3246. elif test "x$prefix" != xNONE; then
  3247.  ac_site_file1=$prefix/share/config.site
  3248.  ac_site_file2=$prefix/etc/config.site
  3249. else
  3250.  ac_site_file1=$ac_default_prefix/share/config.site
  3251.  ac_site_file2=$ac_default_prefix/etc/config.site
  3252. fi
  3253. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3254. do
  3255.  test "x$ac_site_file" = xNONE && continue
  3256.  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3257.    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3258. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3259.    sed 's/^/| /' "$ac_site_file" >&5
  3260.    . "$ac_site_file" \
  3261.      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3262. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3263. as_fn_error $? "failed to load site script $ac_site_file
  3264. See \`config.log' for more details" "$LINENO" 5; }
  3265.  fi
  3266. done
  3267.  
  3268. if test -r "$cache_file"; then
  3269.  # Some versions of bash will fail to source /dev/null (special files
  3270.  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  3271.  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3272.    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3273. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3274.    case $cache_file in
  3275.      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3276.      *)                      . "./$cache_file";;
  3277.    esac
  3278.  fi
  3279. else
  3280.  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3281. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3282.  >$cache_file
  3283. fi
  3284.  
  3285. as_fn_append ac_header_list " stdlib.h"
  3286. as_fn_append ac_header_list " unistd.h"
  3287. as_fn_append ac_header_list " sys/param.h"
  3288. as_fn_append ac_header_list " utime.h"
  3289. # Check that the precious variables saved in the cache have kept the same
  3290. # value.
  3291. ac_cache_corrupted=false
  3292. for ac_var in $ac_precious_vars; do
  3293.  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3294.  eval ac_new_set=\$ac_env_${ac_var}_set
  3295.  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3296.  eval ac_new_val=\$ac_env_${ac_var}_value
  3297.  case $ac_old_set,$ac_new_set in
  3298.    set,)
  3299.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3300. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3301.      ac_cache_corrupted=: ;;
  3302.    ,set)
  3303.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3304. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3305.      ac_cache_corrupted=: ;;
  3306.    ,);;
  3307.    *)
  3308.      if test "x$ac_old_val" != "x$ac_new_val"; then
  3309.         # differences in whitespace do not lead to failure.
  3310.         ac_old_val_w=`echo x $ac_old_val`
  3311.         ac_new_val_w=`echo x $ac_new_val`
  3312.         if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3313.           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3314. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3315.           ac_cache_corrupted=:
  3316.         else
  3317.           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3318. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3319.           eval $ac_var=\$ac_old_val
  3320.         fi
  3321.         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  3322. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  3323.         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  3324. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  3325.      fi;;
  3326.  esac
  3327.  # Pass precious variables to config.status.
  3328.  if test "$ac_new_set" = set; then
  3329.    case $ac_new_val in
  3330.    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3331.    *) ac_arg=$ac_var=$ac_new_val ;;
  3332.    esac
  3333.    case " $ac_configure_args " in
  3334.      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  3335.      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3336.    esac
  3337.  fi
  3338. done
  3339. if $ac_cache_corrupted; then
  3340.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3341. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3342.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3343. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3344.  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3345. fi
  3346. ## -------------------- ##
  3347. ## Main body of script. ##
  3348. ## -------------------- ##
  3349.  
  3350. ac_ext=c
  3351. ac_cpp='$CPP $CPPFLAGS'
  3352. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3353. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3354. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3355.  
  3356.  
  3357.  
  3358. # cross-compile macros
  3359. ac_aux_dir=
  3360. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  3361.  if test -f "$ac_dir/install-sh"; then
  3362.    ac_aux_dir=$ac_dir
  3363.    ac_install_sh="$ac_aux_dir/install-sh -c"
  3364.    break
  3365.  elif test -f "$ac_dir/install.sh"; then
  3366.    ac_aux_dir=$ac_dir
  3367.    ac_install_sh="$ac_aux_dir/install.sh -c"
  3368.    break
  3369.  elif test -f "$ac_dir/shtool"; then
  3370.    ac_aux_dir=$ac_dir
  3371.    ac_install_sh="$ac_aux_dir/shtool install -c"
  3372.    break
  3373.  fi
  3374. done
  3375. if test -z "$ac_aux_dir"; then
  3376.  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  3377. fi
  3378.  
  3379. # These three variables are undocumented and unsupported,
  3380. # and are intended to be withdrawn in a future Autoconf release.
  3381. # They can cause serious problems if a builder's source tree is in a directory
  3382. # whose full name contains unusual characters.
  3383. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  3384. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  3385. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  3386.  
  3387.  
  3388. # Make sure we can run config.sub.
  3389. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3390.   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3391.  
  3392. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3393. $as_echo_n "checking build system type... " >&6; }
  3394. if ${ac_cv_build+:} false; then :
  3395.   $as_echo_n "(cached) " >&6
  3396. else
  3397.   ac_build_alias=$build_alias
  3398. test "x$ac_build_alias" = x &&
  3399.   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3400. test "x$ac_build_alias" = x &&
  3401.   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3402. ac_cv_build=`$SHELL "$ac_aux_dir/config.su