Update configure script to be compatible with ptlib 2.10.9
[asterisk/asterisk.git] / configure
1 #! /bin/sh
2 # From configure.ac Revision: 379549 .
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_RPATH
668 AST_NESTED_FUNCTIONS
669 AST_NATIVE_ARCH
670 AST_SHADOW_WARNINGS
671 AST_NO_STRICT_OVERFLOW
672 AST_FORTIFY_SOURCE
673 AST_TRAMPOLINES
674 AST_DECLARATION_AFTER_STATEMENT
675 GC_LDFLAGS
676 GC_CFLAGS
677 PBX_WEAKREF
678 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
679 PBX_PTHREAD_RWLOCK_INITIALIZER
680 AST_ASTERISKSSL
681 HAS_POLL
682 PBX_DYNAMIC_LIST
683 POW_LIB
684 PBX_WORKING_FORK
685 LIBOBJS
686 CONFIG_LIBXML2
687 EDITLINE_LIB
688 ALLOCA
689 PBX_ZLIB
690 ZLIB_DIR
691 ZLIB_INCLUDE
692 ZLIB_LIB
693 PBX_X11
694 X11_DIR
695 X11_INCLUDE
696 X11_LIB
697 PBX_VPB
698 VPB_DIR
699 VPB_INCLUDE
700 VPB_LIB
701 PBX_VORBIS
702 VORBIS_DIR
703 VORBIS_INCLUDE
704 VORBIS_LIB
705 PBX_UNIXODBC
706 UNIXODBC_DIR
707 UNIXODBC_INCLUDE
708 UNIXODBC_LIB
709 PBX_TONEZONE
710 TONEZONE_DIR
711 TONEZONE_INCLUDE
712 TONEZONE_LIB
713 PBX_TINFO
714 TINFO_DIR
715 TINFO_INCLUDE
716 TINFO_LIB
717 PBX_TIMERFD
718 TIMERFD_DIR
719 TIMERFD_INCLUDE
720 TIMERFD_LIB
721 PBX_TERMCAP
722 TERMCAP_DIR
723 TERMCAP_INCLUDE
724 TERMCAP_LIB
725 PBX_FREETDS
726 FREETDS_DIR
727 FREETDS_INCLUDE
728 FREETDS_LIB
729 PBX_SUPPSERV
730 SUPPSERV_DIR
731 SUPPSERV_INCLUDE
732 SUPPSERV_LIB
733 PBX_OPENSSL
734 OPENSSL_DIR
735 OPENSSL_INCLUDE
736 OPENSSL_LIB
737 PBX_SRTP
738 SRTP_DIR
739 SRTP_INCLUDE
740 SRTP_LIB
741 PBX_SQLITE3
742 SQLITE3_DIR
743 SQLITE3_INCLUDE
744 SQLITE3_LIB
745 PBX_SQLITE
746 SQLITE_DIR
747 SQLITE_INCLUDE
748 SQLITE_LIB
749 PBX_SPEEXDSP
750 SPEEXDSP_DIR
751 SPEEXDSP_INCLUDE
752 SPEEXDSP_LIB
753 PBX_SPEEX_PREPROCESS
754 SPEEX_PREPROCESS_DIR
755 SPEEX_PREPROCESS_INCLUDE
756 SPEEX_PREPROCESS_LIB
757 PBX_SPEEX
758 SPEEX_DIR
759 SPEEX_INCLUDE
760 SPEEX_LIB
761 PBX_SS7
762 SS7_DIR
763 SS7_INCLUDE
764 SS7_LIB
765 PBX_SPANDSP
766 SPANDSP_DIR
767 SPANDSP_INCLUDE
768 SPANDSP_LIB
769 SOUNDS_CACHE_DIR
770 PBX_SDL_IMAGE
771 SDL_IMAGE_DIR
772 SDL_IMAGE_INCLUDE
773 SDL_IMAGE_LIB
774 PBX_SDL
775 SDL_DIR
776 SDL_INCLUDE
777 SDL_LIB
778 PBX_RESAMPLE
779 RESAMPLE_DIR
780 RESAMPLE_INCLUDE
781 RESAMPLE_LIB
782 PBX_RADIUS
783 RADIUS_DIR
784 RADIUS_INCLUDE
785 RADIUS_LIB
786 PBX_PWLIB
787 PWLIB_DIR
788 PWLIB_INCLUDE
789 PWLIB_LIB
790 PBX_PRI_REVERSE_CHARGE
791 PRI_REVERSE_CHARGE_DIR
792 PRI_REVERSE_CHARGE_INCLUDE
793 PRI_REVERSE_CHARGE_LIB
794 PBX_PRI_SERVICE_MESSAGES
795 PRI_SERVICE_MESSAGES_DIR
796 PRI_SERVICE_MESSAGES_INCLUDE
797 PRI_SERVICE_MESSAGES_LIB
798 PBX_PRI_PROG_W_CAUSE
799 PRI_PROG_W_CAUSE_DIR
800 PRI_PROG_W_CAUSE_INCLUDE
801 PRI_PROG_W_CAUSE_LIB
802 PBX_PRI_INBANDDISCONNECT
803 PRI_INBANDDISCONNECT_DIR
804 PRI_INBANDDISCONNECT_INCLUDE
805 PRI_INBANDDISCONNECT_LIB
806 PBX_PRI_SETUP_KEYPAD
807 PRI_SETUP_KEYPAD_DIR
808 PRI_SETUP_KEYPAD_INCLUDE
809 PRI_SETUP_KEYPAD_LIB
810 PBX_PRI_CALL_REROUTING
811 PRI_CALL_REROUTING_DIR
812 PRI_CALL_REROUTING_INCLUDE
813 PRI_CALL_REROUTING_LIB
814 PBX_PRI_CALL_HOLD
815 PRI_CALL_HOLD_DIR
816 PRI_CALL_HOLD_INCLUDE
817 PRI_CALL_HOLD_LIB
818 PBX_PRI_SUBADDR
819 PRI_SUBADDR_DIR
820 PRI_SUBADDR_INCLUDE
821 PRI_SUBADDR_LIB
822 PBX_PRI_HANGUP_FIX
823 PRI_HANGUP_FIX_DIR
824 PRI_HANGUP_FIX_INCLUDE
825 PRI_HANGUP_FIX_LIB
826 PBX_PRI_CCSS
827 PRI_CCSS_DIR
828 PRI_CCSS_INCLUDE
829 PRI_CCSS_LIB
830 PBX_PRI_TRANSFER
831 PRI_TRANSFER_DIR
832 PRI_TRANSFER_INCLUDE
833 PRI_TRANSFER_LIB
834 PBX_PRI_AOC_EVENTS
835 PRI_AOC_EVENTS_DIR
836 PRI_AOC_EVENTS_INCLUDE
837 PRI_AOC_EVENTS_LIB
838 PBX_PRI_CALL_WAITING
839 PRI_CALL_WAITING_DIR
840 PRI_CALL_WAITING_INCLUDE
841 PRI_CALL_WAITING_LIB
842 PBX_PRI_MCID
843 PRI_MCID_DIR
844 PRI_MCID_INCLUDE
845 PRI_MCID_LIB
846 PBX_PRI_MWI
847 PRI_MWI_DIR
848 PRI_MWI_INCLUDE
849 PRI_MWI_LIB
850 PBX_PRI_DISPLAY_TEXT
851 PRI_DISPLAY_TEXT_DIR
852 PRI_DISPLAY_TEXT_INCLUDE
853 PRI_DISPLAY_TEXT_LIB
854 PBX_PRI_MWI_V2
855 PRI_MWI_V2_DIR
856 PRI_MWI_V2_INCLUDE
857 PRI_MWI_V2_LIB
858 PBX_PRI_DATETIME_SEND
859 PRI_DATETIME_SEND_DIR
860 PRI_DATETIME_SEND_INCLUDE
861 PRI_DATETIME_SEND_LIB
862 PBX_PRI_L2_PERSISTENCE
863 PRI_L2_PERSISTENCE_DIR
864 PRI_L2_PERSISTENCE_INCLUDE
865 PRI_L2_PERSISTENCE_LIB
866 PBX_PRI
867 PRI_DIR
868 PRI_INCLUDE
869 PRI_LIB
870 PBX_PORTAUDIO
871 PORTAUDIO_DIR
872 PORTAUDIO_INCLUDE
873 PORTAUDIO_LIB
874 PBX_POPT
875 POPT_DIR
876 POPT_INCLUDE
877 POPT_LIB
878 PBX_PGSQL
879 PGSQL_DIR
880 PGSQL_INCLUDE
881 PGSQL_LIB
882 PBX_OSS
883 OSS_DIR
884 OSS_INCLUDE
885 OSS_LIB
886 PBX_OSPTK
887 OSPTK_DIR
888 OSPTK_INCLUDE
889 OSPTK_LIB
890 PBX_OPENR2
891 OPENR2_DIR
892 OPENR2_INCLUDE
893 OPENR2_LIB
894 PBX_OGG
895 OGG_DIR
896 OGG_INCLUDE
897 OGG_LIB
898 PBX_NEWT
899 NEWT_DIR
900 NEWT_INCLUDE
901 NEWT_LIB
902 PBX_NETSNMP
903 NETSNMP_DIR
904 NETSNMP_INCLUDE
905 NETSNMP_LIB
906 PBX_NEON29
907 NEON29_DIR
908 NEON29_INCLUDE
909 NEON29_LIB
910 PBX_NEON
911 NEON_DIR
912 NEON_INCLUDE
913 NEON_LIB
914 PBX_NCURSES
915 NCURSES_DIR
916 NCURSES_INCLUDE
917 NCURSES_LIB
918 PBX_NBS
919 NBS_DIR
920 NBS_INCLUDE
921 NBS_LIB
922 PBX_MYSQLCLIENT
923 MYSQLCLIENT_DIR
924 MYSQLCLIENT_INCLUDE
925 MYSQLCLIENT_LIB
926 PBX_MISDN
927 MISDN_DIR
928 MISDN_INCLUDE
929 MISDN_LIB
930 PBX_LUA
931 LUA_DIR
932 LUA_INCLUDE
933 LUA_LIB
934 PBX_LTDL
935 LTDL_DIR
936 LTDL_INCLUDE
937 LTDL_LIB
938 PBX_LIBXML2
939 LIBXML2_DIR
940 LIBXML2_INCLUDE
941 LIBXML2_LIB
942 PBX_LIBEDIT
943 LIBEDIT_DIR
944 LIBEDIT_INCLUDE
945 LIBEDIT_LIB
946 CURL_LIB
947 CURL_INCLUDE
948 _libcurl_config
949 PBX_CURL
950 PBX_LDAP
951 LDAP_DIR
952 LDAP_INCLUDE
953 LDAP_LIB
954 PBX_KQUEUE
955 KQUEUE_DIR
956 KQUEUE_INCLUDE
957 KQUEUE_LIB
958 PBX_JANSSON
959 JANSSON_DIR
960 JANSSON_INCLUDE
961 JANSSON_LIB
962 PBX_JACK
963 JACK_DIR
964 JACK_INCLUDE
965 JACK_LIB
966 PBX_ISDNNET
967 ISDNNET_DIR
968 ISDNNET_INCLUDE
969 ISDNNET_LIB
970 PBX_IODBC
971 IODBC_DIR
972 IODBC_INCLUDE
973 IODBC_LIB
974 PBX_INOTIFY
975 INOTIFY_DIR
976 INOTIFY_INCLUDE
977 INOTIFY_LIB
978 PBX_IMAP_TK
979 IMAP_TK_DIR
980 IMAP_TK_INCLUDE
981 IMAP_TK_LIB
982 PBX_IKSEMEL
983 IKSEMEL_DIR
984 IKSEMEL_INCLUDE
985 IKSEMEL_LIB
986 PBX_ICONV
987 ICONV_DIR
988 ICONV_INCLUDE
989 ICONV_LIB
990 PBX_ICAL
991 ICAL_DIR
992 ICAL_INCLUDE
993 ICAL_LIB
994 PBX_HOARD
995 HOARD_DIR
996 HOARD_INCLUDE
997 HOARD_LIB
998 PBX_OPENH323
999 OPENH323_DIR
1000 OPENH323_INCLUDE
1001 OPENH323_LIB
1002 PBX_GMIME
1003 GMIME_DIR
1004 GMIME_INCLUDE
1005 GMIME_LIB
1006 PBX_GTK2
1007 GTK2_DIR
1008 GTK2_INCLUDE
1009 GTK2_LIB
1010 PBX_ILBC
1011 ILBC_DIR
1012 ILBC_INCLUDE
1013 ILBC_LIB
1014 PBX_GSM
1015 GSM_DIR
1016 GSM_INCLUDE
1017 GSM_LIB
1018 PBX_FFMPEG
1019 FFMPEG_DIR
1020 FFMPEG_INCLUDE
1021 FFMPEG_LIB
1022 PBX_DAHDI
1023 DAHDI_DIR
1024 DAHDI_INCLUDE
1025 DAHDI_LIB
1026 PBX_OPENSSL_SRTP
1027 OPENSSL_SRTP_DIR
1028 OPENSSL_SRTP_INCLUDE
1029 OPENSSL_SRTP_LIB
1030 PBX_CRYPTO
1031 CRYPTO_DIR
1032 CRYPTO_INCLUDE
1033 CRYPTO_LIB
1034 PBX_CURSES
1035 CURSES_DIR
1036 CURSES_INCLUDE
1037 CURSES_LIB
1038 PBX_COROSYNC_CFG_STATE_TRACK
1039 COROSYNC_CFG_STATE_TRACK_DIR
1040 COROSYNC_CFG_STATE_TRACK_INCLUDE
1041 COROSYNC_CFG_STATE_TRACK_LIB
1042 PBX_COROSYNC
1043 COROSYNC_DIR
1044 COROSYNC_INCLUDE
1045 COROSYNC_LIB
1046 PBX_CAP
1047 CAP_DIR
1048 CAP_INCLUDE
1049 CAP_LIB
1050 PBX_BLUETOOTH
1051 BLUETOOTH_DIR
1052 BLUETOOTH_INCLUDE
1053 BLUETOOTH_LIB
1054 PBX_BKTR
1055 BKTR_DIR
1056 BKTR_INCLUDE
1057 BKTR_LIB
1058 PBX_BFD
1059 BFD_DIR
1060 BFD_INCLUDE
1061 BFD_LIB
1062 PBX_ALSA
1063 ALSA_DIR
1064 ALSA_INCLUDE
1065 ALSA_LIB
1066 AST_CODE_COVERAGE
1067 AST_DEVMODE_STRICT
1068 AST_DEVMODE
1069 NOISY_BUILD
1070 PTHREAD_CFLAGS
1071 PTHREAD_LIBS
1072 PTHREAD_CC
1073 acx_pthread_config
1074 MD5
1075 SOXMIX
1076 PBX_FLEX
1077 PBX_BISON
1078 OPENSSL
1079 SHA1SUM
1080 LDCONFIG
1081 DOWNLOAD
1082 FETCH
1083 GIT
1084 XMLSTARLET
1085 XMLLINT
1086 KPATHSEA
1087 CATDVI
1088 RUBBER
1089 CURL
1090 WGET
1091 DOT
1092 DOXYGEN
1093 LN
1094 DIRNAME
1095 BASENAME
1096 COMPRESS
1097 FIND
1098 PYTHON
1099 FLEX
1100 CMP
1101 BISON
1102 GNU_LD
1103 ac_ct_AR
1104 AR
1105 ac_ct_STRIP
1106 STRIP
1107 GNU_MAKE
1108 LN_S
1109 INSTALL_DATA
1110 INSTALL_SCRIPT
1111 INSTALL_PROGRAM
1112 AWK
1113 SED
1114 CXXCPP
1115 ac_ct_CXX
1116 CXXFLAGS
1117 RANLIB
1118 LD
1119 CXX
1120 PBX_OSREV
1121 UNAME
1122 PBX_WINARCH
1123 OSARCH
1124 HOST_OS
1125 HOST_VENDOR
1126 HOST_CPU
1127 HOST_PLATFORM
1128 BUILD_OS
1129 BUILD_VENDOR
1130 BUILD_CPU
1131 BUILD_PLATFORM
1132 astvarrundir
1133 astlogdir
1134 astspooldir
1135 astkeydir
1136 astdbdir
1137 astdatadir
1138 astvarlibdir
1139 astmandir
1140 astmoddir
1141 astlibdir
1142 astheaderdir
1143 astetcdir
1144 astsbindir
1145 EGREP
1146 GREP
1147 CPP
1148 OBJEXT
1149 EXEEXT
1150 ac_ct_CC
1151 CPPFLAGS
1152 LDFLAGS
1153 CFLAGS
1154 CC
1155 CONFIG_LDFLAGS
1156 CONFIG_CFLAGS
1157 host_os
1158 host_vendor
1159 host_cpu
1160 host
1161 build_os
1162 build_vendor
1163 build_cpu
1164 build
1165 target_alias
1166 host_alias
1167 build_alias
1168 LIBS
1169 ECHO_T
1170 ECHO_N
1171 ECHO_C
1172 DEFS
1173 mandir
1174 localedir
1175 libdir
1176 psdir
1177 pdfdir
1178 dvidir
1179 htmldir
1180 infodir
1181 docdir
1182 oldincludedir
1183 includedir
1184 localstatedir
1185 sharedstatedir
1186 sysconfdir
1187 datadir
1188 datarootdir
1189 libexecdir
1190 sbindir
1191 bindir
1192 program_transform_name
1193 prefix
1194 exec_prefix
1195 PACKAGE_URL
1196 PACKAGE_BUGREPORT
1197 PACKAGE_STRING
1198 PACKAGE_VERSION
1199 PACKAGE_TARNAME
1200 PACKAGE_NAME
1201 PATH_SEPARATOR
1202 SHELL'
1203 ac_subst_files=''
1204 ac_user_opts='
1205 enable_option_checking
1206 with_gnu_ld
1207 enable_dev_mode
1208 enable_coverage
1209 with_asound
1210 with_bfd
1211 with_execinfo
1212 with_bluetooth
1213 with_cap
1214 with_cpg
1215 with_curses
1216 with_crypto
1217 with_dahdi
1218 with_avcodec
1219 with_gsm
1220 with_ilbc
1221 with_gtk2
1222 with_gmime
1223 with_h323
1224 with_hoard
1225 with_ical
1226 with_iconv
1227 with_iksemel
1228 with_imap
1229 with_inotify
1230 with_iodbc
1231 with_isdnnet
1232 with_jack
1233 with_jansson
1234 with_kqueue
1235 with_ldap
1236 with_libcurl
1237 with_libedit
1238 with_libxml2
1239 with_ltdl
1240 with_lua
1241 with_misdn
1242 with_mysqlclient
1243 with_nbs
1244 with_ncurses
1245 with_neon
1246 with_neon29
1247 with_netsnmp
1248 with_newt
1249 with_ogg
1250 with_openr2
1251 with_osptk
1252 with_oss
1253 with_postgres
1254 with_popt
1255 with_portaudio
1256 with_pri
1257 with_pwlib
1258 with_radius
1259 with_resample
1260 with_sdl
1261 with_SDL_image
1262 with_sounds_cache
1263 with_spandsp
1264 with_ss7
1265 with_speex
1266 with_speexdsp
1267 with_sqlite
1268 with_sqlite3
1269 with_srtp
1270 with_ssl
1271 with_suppserv
1272 with_tds
1273 with_termcap
1274 with_timerfd
1275 with_tinfo
1276 with_tonezone
1277 with_unixodbc
1278 with_vorbis
1279 with_vpb
1280 with_x11
1281 with_z
1282 enable_xmldoc
1283 enable_largefile
1284 enable_internal_poll
1285 enable_asteriskssl
1286 enable_rpath
1287 '
1288       ac_precious_vars='build_alias
1289 host_alias
1290 target_alias
1291 CC
1292 CFLAGS
1293 LDFLAGS
1294 LIBS
1295 CPPFLAGS
1296 CPP
1297 CXX
1298 CXXFLAGS
1299 CCC
1300 CXXCPP
1301 PKG_CONFIG
1302 PKG_CONFIG_PATH
1303 PKG_CONFIG_LIBDIR
1304 ILBC_CFLAGS
1305 ILBC_LIBS
1306 LIBEDIT_CFLAGS
1307 LIBEDIT_LIBS
1308 GMIME_CFLAGS
1309 GMIME_LIBS
1310 GTK2_CFLAGS
1311 GTK2_LIBS'
1312
1313
1314 # Initialize some variables set by options.
1315 ac_init_help=
1316 ac_init_version=false
1317 ac_unrecognized_opts=
1318 ac_unrecognized_sep=
1319 # The variables have the same names as the options, with
1320 # dashes changed to underlines.
1321 cache_file=/dev/null
1322 exec_prefix=NONE
1323 no_create=
1324 no_recursion=
1325 prefix=NONE
1326 program_prefix=NONE
1327 program_suffix=NONE
1328 program_transform_name=s,x,x,
1329 silent=
1330 site=
1331 srcdir=
1332 verbose=
1333 x_includes=NONE
1334 x_libraries=NONE
1335
1336 # Installation directory options.
1337 # These are left unexpanded so users can "make install exec_prefix=/foo"
1338 # and all the variables that are supposed to be based on exec_prefix
1339 # by default will actually change.
1340 # Use braces instead of parens because sh, perl, etc. also accept them.
1341 # (The list follows the same order as the GNU Coding Standards.)
1342 bindir='${exec_prefix}/bin'
1343 sbindir='${exec_prefix}/sbin'
1344 libexecdir='${exec_prefix}/libexec'
1345 datarootdir='${prefix}/share'
1346 datadir='${datarootdir}'
1347 sysconfdir='${prefix}/etc'
1348 sharedstatedir='${prefix}/com'
1349 localstatedir='${prefix}/var'
1350 includedir='${prefix}/include'
1351 oldincludedir='/usr/include'
1352 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1353 infodir='${datarootdir}/info'
1354 htmldir='${docdir}'
1355 dvidir='${docdir}'
1356 pdfdir='${docdir}'
1357 psdir='${docdir}'
1358 libdir='${exec_prefix}/lib'
1359 localedir='${datarootdir}/locale'
1360 mandir='${datarootdir}/man'
1361
1362 ac_prev=
1363 ac_dashdash=
1364 for ac_option
1365 do
1366   # If the previous option needs an argument, assign it.
1367   if test -n "$ac_prev"; then
1368     eval $ac_prev=\$ac_option
1369     ac_prev=
1370     continue
1371   fi
1372
1373   case $ac_option in
1374   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1375   *=)   ac_optarg= ;;
1376   *)    ac_optarg=yes ;;
1377   esac
1378
1379   # Accept the important Cygnus configure options, so we can diagnose typos.
1380
1381   case $ac_dashdash$ac_option in
1382   --)
1383     ac_dashdash=yes ;;
1384
1385   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1386     ac_prev=bindir ;;
1387   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1388     bindir=$ac_optarg ;;
1389
1390   -build | --build | --buil | --bui | --bu)
1391     ac_prev=build_alias ;;
1392   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1393     build_alias=$ac_optarg ;;
1394
1395   -cache-file | --cache-file | --cache-fil | --cache-fi \
1396   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1397     ac_prev=cache_file ;;
1398   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1399   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1400     cache_file=$ac_optarg ;;
1401
1402   --config-cache | -C)
1403     cache_file=config.cache ;;
1404
1405   -datadir | --datadir | --datadi | --datad)
1406     ac_prev=datadir ;;
1407   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1408     datadir=$ac_optarg ;;
1409
1410   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1411   | --dataroo | --dataro | --datar)
1412     ac_prev=datarootdir ;;
1413   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1414   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1415     datarootdir=$ac_optarg ;;
1416
1417   -disable-* | --disable-*)
1418     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1419     # Reject names that are not valid shell variable names.
1420     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1421       as_fn_error $? "invalid feature name: $ac_useropt"
1422     ac_useropt_orig=$ac_useropt
1423     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1424     case $ac_user_opts in
1425       *"
1426 "enable_$ac_useropt"
1427 "*) ;;
1428       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1429          ac_unrecognized_sep=', ';;
1430     esac
1431     eval enable_$ac_useropt=no ;;
1432
1433   -docdir | --docdir | --docdi | --doc | --do)
1434     ac_prev=docdir ;;
1435   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1436     docdir=$ac_optarg ;;
1437
1438   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1439     ac_prev=dvidir ;;
1440   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1441     dvidir=$ac_optarg ;;
1442
1443   -enable-* | --enable-*)
1444     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1445     # Reject names that are not valid shell variable names.
1446     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1447       as_fn_error $? "invalid feature name: $ac_useropt"
1448     ac_useropt_orig=$ac_useropt
1449     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1450     case $ac_user_opts in
1451       *"
1452 "enable_$ac_useropt"
1453 "*) ;;
1454       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1455          ac_unrecognized_sep=', ';;
1456     esac
1457     eval enable_$ac_useropt=\$ac_optarg ;;
1458
1459   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1460   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1461   | --exec | --exe | --ex)
1462     ac_prev=exec_prefix ;;
1463   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1464   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1465   | --exec=* | --exe=* | --ex=*)
1466     exec_prefix=$ac_optarg ;;
1467
1468   -gas | --gas | --ga | --g)
1469     # Obsolete; use --with-gas.
1470     with_gas=yes ;;
1471
1472   -help | --help | --hel | --he | -h)
1473     ac_init_help=long ;;
1474   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1475     ac_init_help=recursive ;;
1476   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1477     ac_init_help=short ;;
1478
1479   -host | --host | --hos | --ho)
1480     ac_prev=host_alias ;;
1481   -host=* | --host=* | --hos=* | --ho=*)
1482     host_alias=$ac_optarg ;;
1483
1484   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1485     ac_prev=htmldir ;;
1486   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1487   | --ht=*)
1488     htmldir=$ac_optarg ;;
1489
1490   -includedir | --includedir | --includedi | --included | --include \
1491   | --includ | --inclu | --incl | --inc)
1492     ac_prev=includedir ;;
1493   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1494   | --includ=* | --inclu=* | --incl=* | --inc=*)
1495     includedir=$ac_optarg ;;
1496
1497   -infodir | --infodir | --infodi | --infod | --info | --inf)
1498     ac_prev=infodir ;;
1499   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1500     infodir=$ac_optarg ;;
1501
1502   -libdir | --libdir | --libdi | --libd)
1503     ac_prev=libdir ;;
1504   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1505     libdir=$ac_optarg ;;
1506
1507   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1508   | --libexe | --libex | --libe)
1509     ac_prev=libexecdir ;;
1510   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1511   | --libexe=* | --libex=* | --libe=*)
1512     libexecdir=$ac_optarg ;;
1513
1514   -localedir | --localedir | --localedi | --localed | --locale)
1515     ac_prev=localedir ;;
1516   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1517     localedir=$ac_optarg ;;
1518
1519   -localstatedir | --localstatedir | --localstatedi | --localstated \
1520   | --localstate | --localstat | --localsta | --localst | --locals)
1521     ac_prev=localstatedir ;;
1522   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1523   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1524     localstatedir=$ac_optarg ;;
1525
1526   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1527     ac_prev=mandir ;;
1528   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1529     mandir=$ac_optarg ;;
1530
1531   -nfp | --nfp | --nf)
1532     # Obsolete; use --without-fp.
1533     with_fp=no ;;
1534
1535   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1536   | --no-cr | --no-c | -n)
1537     no_create=yes ;;
1538
1539   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1540   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1541     no_recursion=yes ;;
1542
1543   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1544   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1545   | --oldin | --oldi | --old | --ol | --o)
1546     ac_prev=oldincludedir ;;
1547   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1548   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1549   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1550     oldincludedir=$ac_optarg ;;
1551
1552   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1553     ac_prev=prefix ;;
1554   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1555     prefix=$ac_optarg ;;
1556
1557   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1558   | --program-pre | --program-pr | --program-p)
1559     ac_prev=program_prefix ;;
1560   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1561   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1562     program_prefix=$ac_optarg ;;
1563
1564   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1565   | --program-suf | --program-su | --program-s)
1566     ac_prev=program_suffix ;;
1567   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1568   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1569     program_suffix=$ac_optarg ;;
1570
1571   -program-transform-name | --program-transform-name \
1572   | --program-transform-nam | --program-transform-na \
1573   | --program-transform-n | --program-transform- \
1574   | --program-transform | --program-transfor \
1575   | --program-transfo | --program-transf \
1576   | --program-trans | --program-tran \
1577   | --progr-tra | --program-tr | --program-t)
1578     ac_prev=program_transform_name ;;
1579   -program-transform-name=* | --program-transform-name=* \
1580   | --program-transform-nam=* | --program-transform-na=* \
1581   | --program-transform-n=* | --program-transform-=* \
1582   | --program-transform=* | --program-transfor=* \
1583   | --program-transfo=* | --program-transf=* \
1584   | --program-trans=* | --program-tran=* \
1585   | --progr-tra=* | --program-tr=* | --program-t=*)
1586     program_transform_name=$ac_optarg ;;
1587
1588   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1589     ac_prev=pdfdir ;;
1590   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1591     pdfdir=$ac_optarg ;;
1592
1593   -psdir | --psdir | --psdi | --psd | --ps)
1594     ac_prev=psdir ;;
1595   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1596     psdir=$ac_optarg ;;
1597
1598   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1599   | -silent | --silent | --silen | --sile | --sil)
1600     silent=yes ;;
1601
1602   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1603     ac_prev=sbindir ;;
1604   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1605   | --sbi=* | --sb=*)
1606     sbindir=$ac_optarg ;;
1607
1608   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1609   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1610   | --sharedst | --shareds | --shared | --share | --shar \
1611   | --sha | --sh)
1612     ac_prev=sharedstatedir ;;
1613   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1614   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1615   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1616   | --sha=* | --sh=*)
1617     sharedstatedir=$ac_optarg ;;
1618
1619   -site | --site | --sit)
1620     ac_prev=site ;;
1621   -site=* | --site=* | --sit=*)
1622     site=$ac_optarg ;;
1623
1624   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1625     ac_prev=srcdir ;;
1626   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1627     srcdir=$ac_optarg ;;
1628
1629   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1630   | --syscon | --sysco | --sysc | --sys | --sy)
1631     ac_prev=sysconfdir ;;
1632   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1633   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1634     sysconfdir=$ac_optarg ;;
1635
1636   -target | --target | --targe | --targ | --tar | --ta | --t)
1637     ac_prev=target_alias ;;
1638   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1639     target_alias=$ac_optarg ;;
1640
1641   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1642     verbose=yes ;;
1643
1644   -version | --version | --versio | --versi | --vers | -V)
1645     ac_init_version=: ;;
1646
1647   -with-* | --with-*)
1648     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1649     # Reject names that are not valid shell variable names.
1650     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1651       as_fn_error $? "invalid package name: $ac_useropt"
1652     ac_useropt_orig=$ac_useropt
1653     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1654     case $ac_user_opts in
1655       *"
1656 "with_$ac_useropt"
1657 "*) ;;
1658       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1659          ac_unrecognized_sep=', ';;
1660     esac
1661     eval with_$ac_useropt=\$ac_optarg ;;
1662
1663   -without-* | --without-*)
1664     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1665     # Reject names that are not valid shell variable names.
1666     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1667       as_fn_error $? "invalid package name: $ac_useropt"
1668     ac_useropt_orig=$ac_useropt
1669     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1670     case $ac_user_opts in
1671       *"
1672 "with_$ac_useropt"
1673 "*) ;;
1674       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1675          ac_unrecognized_sep=', ';;
1676     esac
1677     eval with_$ac_useropt=no ;;
1678
1679   --x)
1680     # Obsolete; use --with-x.
1681     with_x=yes ;;
1682
1683   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1684   | --x-incl | --x-inc | --x-in | --x-i)
1685     ac_prev=x_includes ;;
1686   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1687   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1688     x_includes=$ac_optarg ;;
1689
1690   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1691   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1692     ac_prev=x_libraries ;;
1693   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1694   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1695     x_libraries=$ac_optarg ;;
1696
1697   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1698 Try \`$0 --help' for more information"
1699     ;;
1700
1701   *=*)
1702     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1703     # Reject names that are not valid shell variable names.
1704     case $ac_envvar in #(
1705       '' | [0-9]* | *[!_$as_cr_alnum]* )
1706       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1707     esac
1708     eval $ac_envvar=\$ac_optarg
1709     export $ac_envvar ;;
1710
1711   *)
1712     # FIXME: should be removed in autoconf 3.0.
1713     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1714     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1715       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1716     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1717     ;;
1718
1719   esac
1720 done
1721
1722 if test -n "$ac_prev"; then
1723   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1724   as_fn_error $? "missing argument to $ac_option"
1725 fi
1726
1727 if test -n "$ac_unrecognized_opts"; then
1728   case $enable_option_checking in
1729     no) ;;
1730     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1731     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1732   esac
1733 fi
1734
1735 # Check all directory arguments for consistency.
1736 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1737                 datadir sysconfdir sharedstatedir localstatedir includedir \
1738                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1739                 libdir localedir mandir
1740 do
1741   eval ac_val=\$$ac_var
1742   # Remove trailing slashes.
1743   case $ac_val in
1744     */ )
1745       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1746       eval $ac_var=\$ac_val;;
1747   esac
1748   # Be sure to have absolute directory names.
1749   case $ac_val in
1750     [\\/$]* | ?:[\\/]* )  continue;;
1751     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1752   esac
1753   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1754 done
1755
1756 # There might be people who depend on the old broken behavior: `$host'
1757 # used to hold the argument of --host etc.
1758 # FIXME: To remove some day.
1759 build=$build_alias
1760 host=$host_alias
1761 target=$target_alias
1762
1763 # FIXME: To remove some day.
1764 if test "x$host_alias" != x; then
1765   if test "x$build_alias" = x; then
1766     cross_compiling=maybe
1767     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1768     If a cross compiler is detected then cross compile mode will be used" >&2
1769   elif test "x$build_alias" != "x$host_alias"; then
1770     cross_compiling=yes
1771   fi
1772 fi
1773
1774 ac_tool_prefix=
1775 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1776
1777 test "$silent" = yes && exec 6>/dev/null
1778
1779
1780 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1781 ac_ls_di=`ls -di .` &&
1782 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1783   as_fn_error $? "working directory cannot be determined"
1784 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1785   as_fn_error $? "pwd does not report name of working directory"
1786
1787
1788 # Find the source files, if location was not specified.
1789 if test -z "$srcdir"; then
1790   ac_srcdir_defaulted=yes
1791   # Try the directory containing this script, then the parent directory.
1792   ac_confdir=`$as_dirname -- "$as_myself" ||
1793 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1794          X"$as_myself" : 'X\(//\)[^/]' \| \
1795          X"$as_myself" : 'X\(//\)$' \| \
1796          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1797 $as_echo X"$as_myself" |
1798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1799             s//\1/
1800             q
1801           }
1802           /^X\(\/\/\)[^/].*/{
1803             s//\1/
1804             q
1805           }
1806           /^X\(\/\/\)$/{
1807             s//\1/
1808             q
1809           }
1810           /^X\(\/\).*/{
1811             s//\1/
1812             q
1813           }
1814           s/.*/./; q'`
1815   srcdir=$ac_confdir
1816   if test ! -r "$srcdir/$ac_unique_file"; then
1817     srcdir=..
1818   fi
1819 else
1820   ac_srcdir_defaulted=no
1821 fi
1822 if test ! -r "$srcdir/$ac_unique_file"; then
1823   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1824   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1825 fi
1826 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1827 ac_abs_confdir=`(
1828         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1829         pwd)`
1830 # When building in place, set srcdir=.
1831 if test "$ac_abs_confdir" = "$ac_pwd"; then
1832   srcdir=.
1833 fi
1834 # Remove unnecessary trailing slashes from srcdir.
1835 # Double slashes in file names in object file debugging info
1836 # mess up M-x gdb in Emacs.
1837 case $srcdir in
1838 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1839 esac
1840 for ac_var in $ac_precious_vars; do
1841   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1842   eval ac_env_${ac_var}_value=\$${ac_var}
1843   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1844   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1845 done
1846
1847 #
1848 # Report the --help message.
1849 #
1850 if test "$ac_init_help" = "long"; then
1851   # Omit some internal or obsolete options to make the list less imposing.
1852   # This message is too long to be a string in the A/UX 3.1 sh.
1853   cat <<_ACEOF
1854 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1855
1856 Usage: $0 [OPTION]... [VAR=VALUE]...
1857
1858 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1859 VAR=VALUE.  See below for descriptions of some of the useful variables.
1860
1861 Defaults for the options are specified in brackets.
1862
1863 Configuration:
1864   -h, --help              display this help and exit
1865       --help=short        display options specific to this package
1866       --help=recursive    display the short help of all the included packages
1867   -V, --version           display version information and exit
1868   -q, --quiet, --silent   do not print \`checking ...' messages
1869       --cache-file=FILE   cache test results in FILE [disabled]
1870   -C, --config-cache      alias for \`--cache-file=config.cache'
1871   -n, --no-create         do not create output files
1872       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1873
1874 Installation directories:
1875   --prefix=PREFIX         install architecture-independent files in PREFIX
1876                           [$ac_default_prefix]
1877   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1878                           [PREFIX]
1879
1880 By default, \`make install' will install all the files in
1881 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1882 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1883 for instance \`--prefix=\$HOME'.
1884
1885 For better control, use the options below.
1886
1887 Fine tuning of the installation directories:
1888   --bindir=DIR            user executables [EPREFIX/bin]
1889   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1890   --libexecdir=DIR        program executables [EPREFIX/libexec]
1891   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1892   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1893   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1894   --libdir=DIR            object code libraries [EPREFIX/lib]
1895   --includedir=DIR        C header files [PREFIX/include]
1896   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1897   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1898   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1899   --infodir=DIR           info documentation [DATAROOTDIR/info]
1900   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1901   --mandir=DIR            man documentation [DATAROOTDIR/man]
1902   --docdir=DIR            documentation root [DATAROOTDIR/doc/asterisk]
1903   --htmldir=DIR           html documentation [DOCDIR]
1904   --dvidir=DIR            dvi documentation [DOCDIR]
1905   --pdfdir=DIR            pdf documentation [DOCDIR]
1906   --psdir=DIR             ps documentation [DOCDIR]
1907 _ACEOF
1908
1909   cat <<\_ACEOF
1910
1911 System types:
1912   --build=BUILD     configure for building on BUILD [guessed]
1913   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1914 _ACEOF
1915 fi
1916
1917 if test -n "$ac_init_help"; then
1918   case $ac_init_help in
1919      short | recursive ) echo "Configuration of asterisk trunk:";;
1920    esac
1921   cat <<\_ACEOF
1922
1923 Optional Features:
1924   --disable-option-checking  ignore unrecognized --enable/--with options
1925   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1926   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1927   --enable-dev-mode       Turn on developer mode
1928   --enable-coverage       Turn on code coverage tracking (for gcov)
1929   --disable-xmldoc        Explicitly disable XML documentation
1930   --disable-largefile     omit support for large files
1931   --enable-internal-poll  Use Asterisk's poll implementation
1932   --disable-asteriskssl   Disable Asterisk's SSL wrapper library
1933   --disable-rpath         Disables rpath linker option checking
1934
1935 Optional Packages:
1936   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1937   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1938   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1939   --with-asound=PATH      use Advanced Linux Sound Architecture files in PATH
1940   --with-bfd=PATH         use Debug symbol decoding files in PATH
1941   --with-execinfo=PATH    use Stack Backtrace files in PATH
1942   --with-bluetooth=PATH   use Bluetooth files in PATH
1943   --with-cap=PATH         use POSIX 1.e capabilities files in PATH
1944   --with-cpg=PATH         use Corosync files in PATH
1945   --with-curses=PATH      use curses files in PATH
1946   --with-crypto=PATH      use OpenSSL Cryptography files in PATH
1947   --with-dahdi=PATH       use DAHDI files in PATH
1948   --with-avcodec=PATH     use Ffmpeg and avcodec files in PATH
1949   --with-gsm=PATH         use External GSM files in PATH, use 'internal' GSM
1950                           otherwise
1951   --with-ilbc=PATH        use System iLBC files in PATH, use 'internal' iLBC
1952                           otherwise
1953   --with-gtk2=PATH        use gtk2 files in PATH
1954   --with-gmime=PATH       use GMime files in PATH
1955   --with-h323=PATH        use OpenH323 files in PATH
1956   --with-hoard=PATH       use Hoard Memory Allocator files in PATH
1957   --with-ical=PATH        use iCal files in PATH
1958   --with-iconv=PATH       use Iconv files in PATH
1959   --with-iksemel=PATH     use Iksemel Jabber files in PATH
1960   --with-imap=PATH        use UW IMAP Toolkit files in PATH
1961   --with-inotify=PATH     use inotify support files in PATH
1962   --with-iodbc=PATH       use iODBC files in PATH
1963   --with-isdnnet=PATH     use ISDN4Linux files in PATH
1964   --with-jack=PATH        use Jack Audio Connection Kit files in PATH
1965   --with-jansson=PATH     use Jansson JSON library files in PATH
1966   --with-kqueue=PATH      use kqueue support files in PATH
1967   --with-ldap=PATH        use OpenLDAP files in PATH
1968   --with-libcurl=DIR      look for the curl library in DIR
1969   --with-libedit=PATH     use NetBSD Editline library files in PATH, use
1970                           'internal' Editline otherwise
1971   --with-libxml2=PATH     use LibXML2 files in PATH
1972   --with-ltdl=PATH        use libtool files in PATH
1973   --with-lua=PATH         use Lua files in PATH
1974   --with-misdn=PATH       use mISDN user files in PATH
1975   --with-mysqlclient=PATH use MySQL client files in PATH
1976   --with-nbs=PATH         use Network Broadcast Sound files in PATH
1977   --with-ncurses=PATH     use ncurses files in PATH
1978   --with-neon=PATH        use neon files in PATH
1979   --with-neon29=PATH      use neon29 files in PATH
1980   --with-netsnmp=PATH     use Net-SNMP files in PATH
1981   --with-newt=PATH        use newt files in PATH
1982   --with-ogg=PATH         use OGG files in PATH
1983   --with-openr2=PATH      use MFR2 files in PATH
1984   --with-osptk=PATH       use OSP Toolkit files in PATH
1985   --with-oss=PATH         use Open Sound System files in PATH
1986   --with-postgres=PATH    use PostgreSQL files in PATH
1987   --with-popt=PATH        use popt files in PATH
1988   --with-portaudio=PATH   use PortAudio files in PATH
1989   --with-pri=PATH         use ISDN PRI files in PATH
1990   --with-pwlib=PATH       use PWlib files in PATH
1991   --with-radius=PATH      use Radius Client files in PATH
1992   --with-resample=PATH    use LIBRESAMPLE files in PATH
1993   --with-sdl=PATH         use Sdl files in PATH
1994   --with-SDL_image=PATH   use Sdl Image files in PATH
1995   --with-sounds-cache=PATH
1996                           use cached sound tarfiles in PATH
1997   --with-spandsp=PATH     use SPANDSP files in PATH
1998   --with-ss7=PATH         use ISDN SS7 files in PATH
1999   --with-speex=PATH       use Speex files in PATH
2000   --with-speex=PATH       use Speex preprocess routines files in PATH
2001   --with-speexdsp=PATH    use SpeexDSP files in PATH
2002   --with-sqlite=PATH      use SQLite files in PATH
2003   --with-sqlite3=PATH     use SQLite files in PATH
2004   --with-srtp=PATH        use Secure RTP files in PATH
2005   --with-ssl=PATH         use OpenSSL Secure Sockets Layer files in PATH
2006   --with-suppserv=PATH    use mISDN Supplemental Services files in PATH
2007   --with-tds=PATH         use FreeTDS files in PATH
2008   --with-termcap=PATH     use Termcap files in PATH
2009   --with-timerfd=PATH     use timerfd files in PATH
2010   --with-tinfo=PATH       use Term Info files in PATH
2011   --with-tonezone=PATH    use tonezone files in PATH
2012   --with-unixodbc=PATH    use unixODBC files in PATH
2013   --with-vorbis=PATH      use Vorbis files in PATH
2014   --with-vpb=PATH         use Voicetronix API files in PATH
2015   --with-x11=PATH         use X11 files in PATH
2016   --with-z=PATH           use zlib compression files in PATH
2017
2018 Some influential environment variables:
2019   CC          C compiler command
2020   CFLAGS      C compiler flags
2021   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2022               nonstandard directory <lib dir>
2023   LIBS        libraries to pass to the linker, e.g. -l<library>
2024   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2025               you have headers in a nonstandard directory <include dir>
2026   CPP         C preprocessor
2027   CXX         C++ compiler command
2028   CXXFLAGS    C++ compiler flags
2029   CXXCPP      C++ preprocessor
2030   PKG_CONFIG  path to pkg-config utility
2031   PKG_CONFIG_PATH
2032               directories to add to pkg-config's search path
2033   PKG_CONFIG_LIBDIR
2034               path overriding pkg-config's built-in search path
2035   ILBC_CFLAGS C compiler flags for ILBC, overriding pkg-config
2036   ILBC_LIBS   linker flags for ILBC, overriding pkg-config
2037   LIBEDIT_CFLAGS
2038               C compiler flags for LIBEDIT, overriding pkg-config
2039   LIBEDIT_LIBS
2040               linker flags for LIBEDIT, overriding pkg-config
2041   GMIME_CFLAGS
2042               C compiler flags for GMIME, overriding pkg-config
2043   GMIME_LIBS  linker flags for GMIME, overriding pkg-config
2044   GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
2045   GTK2_LIBS   linker flags for GTK2, overriding pkg-config
2046
2047 Use these variables to override the choices made by `configure' or to help
2048 it to find libraries and programs with nonstandard names/locations.
2049
2050 Report bugs to <https://issues.asterisk.org>.
2051 _ACEOF
2052 ac_status=$?
2053 fi
2054
2055 if test "$ac_init_help" = "recursive"; then
2056   # If there are subdirs, report their specific --help.
2057   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2058     test -d "$ac_dir" ||
2059       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2060       continue
2061     ac_builddir=.
2062
2063 case "$ac_dir" in
2064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2065 *)
2066   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2067   # A ".." for each directory in $ac_dir_suffix.
2068   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2069   case $ac_top_builddir_sub in
2070   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2071   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2072   esac ;;
2073 esac
2074 ac_abs_top_builddir=$ac_pwd
2075 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2076 # for backward compatibility:
2077 ac_top_builddir=$ac_top_build_prefix
2078
2079 case $srcdir in
2080   .)  # We are building in place.
2081     ac_srcdir=.
2082     ac_top_srcdir=$ac_top_builddir_sub
2083     ac_abs_top_srcdir=$ac_pwd ;;
2084   [\\/]* | ?:[\\/]* )  # Absolute name.
2085     ac_srcdir=$srcdir$ac_dir_suffix;
2086     ac_top_srcdir=$srcdir
2087     ac_abs_top_srcdir=$srcdir ;;
2088   *) # Relative name.
2089     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2090     ac_top_srcdir=$ac_top_build_prefix$srcdir
2091     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2092 esac
2093 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2094
2095     cd "$ac_dir" || { ac_status=$?; continue; }
2096     # Check for guested configure.
2097     if test -f "$ac_srcdir/configure.gnu"; then
2098       echo &&
2099       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2100     elif test -f "$ac_srcdir/configure"; then
2101       echo &&
2102       $SHELL "$ac_srcdir/configure" --help=recursive
2103     else
2104       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2105     fi || ac_status=$?
2106     cd "$ac_pwd" || { ac_status=$?; break; }
2107   done
2108 fi
2109
2110 test -n "$ac_init_help" && exit $ac_status
2111 if $ac_init_version; then
2112   cat <<\_ACEOF
2113 asterisk configure trunk
2114 generated by GNU Autoconf 2.68
2115
2116 Copyright (C) 2010 Free Software Foundation, Inc.
2117 This configure script is free software; the Free Software Foundation
2118 gives unlimited permission to copy, distribute and modify it.
2119
2120 "Asterisk"
2121 _ACEOF
2122   exit
2123 fi
2124
2125 ## ------------------------ ##
2126 ## Autoconf initialization. ##
2127 ## ------------------------ ##
2128
2129 # ac_fn_c_try_compile LINENO
2130 # --------------------------
2131 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2132 ac_fn_c_try_compile ()
2133 {
2134   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135   rm -f conftest.$ac_objext
2136   if { { ac_try="$ac_compile"
2137 case "(($ac_try" in
2138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2139   *) ac_try_echo=$ac_try;;
2140 esac
2141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2142 $as_echo "$ac_try_echo"; } >&5
2143   (eval "$ac_compile") 2>conftest.err
2144   ac_status=$?
2145   if test -s conftest.err; then
2146     grep -v '^ *+' conftest.err >conftest.er1
2147     cat conftest.er1 >&5
2148     mv -f conftest.er1 conftest.err
2149   fi
2150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151   test $ac_status = 0; } && {
2152          test -z "$ac_c_werror_flag" ||
2153          test ! -s conftest.err
2154        } && test -s conftest.$ac_objext; then :
2155   ac_retval=0
2156 else
2157   $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2159
2160         ac_retval=1
2161 fi
2162   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163   as_fn_set_status $ac_retval
2164
2165 } # ac_fn_c_try_compile
2166
2167 # ac_fn_c_try_cpp LINENO
2168 # ----------------------
2169 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2170 ac_fn_c_try_cpp ()
2171 {
2172   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173   if { { ac_try="$ac_cpp conftest.$ac_ext"
2174 case "(($ac_try" in
2175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176   *) ac_try_echo=$ac_try;;
2177 esac
2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179 $as_echo "$ac_try_echo"; } >&5
2180   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2181   ac_status=$?
2182   if test -s conftest.err; then
2183     grep -v '^ *+' conftest.err >conftest.er1
2184     cat conftest.er1 >&5
2185     mv -f conftest.er1 conftest.err
2186   fi
2187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2188   test $ac_status = 0; } > conftest.i && {
2189          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2190          test ! -s conftest.err
2191        }; then :
2192   ac_retval=0
2193 else
2194   $as_echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2196
2197     ac_retval=1
2198 fi
2199   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200   as_fn_set_status $ac_retval
2201
2202 } # ac_fn_c_try_cpp
2203
2204 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2205 # -------------------------------------------------------
2206 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2207 # the include files in INCLUDES and setting the cache variable VAR
2208 # accordingly.
2209 ac_fn_c_check_header_mongrel ()
2210 {
2211   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212   if eval \${$3+:} false; then :
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval \${$3+:} false; then :
2216   $as_echo_n "(cached) " >&6
2217 fi
2218 eval ac_res=\$$3
2219                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 else
2222   # Is the header compilable?
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2224 $as_echo_n "checking $2 usability... " >&6; }
2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h.  */
2227 $4
2228 #include <$2>
2229 _ACEOF
2230 if ac_fn_c_try_compile "$LINENO"; then :
2231   ac_header_compiler=yes
2232 else
2233   ac_header_compiler=no
2234 fi
2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2237 $as_echo "$ac_header_compiler" >&6; }
2238
2239 # Is the header present?
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2241 $as_echo_n "checking $2 presence... " >&6; }
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h.  */
2244 #include <$2>
2245 _ACEOF
2246 if ac_fn_c_try_cpp "$LINENO"; then :
2247   ac_header_preproc=yes
2248 else
2249   ac_header_preproc=no
2250 fi
2251 rm -f conftest.err conftest.i conftest.$ac_ext
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2253 $as_echo "$ac_header_preproc" >&6; }
2254
2255 # So?  What about this header?
2256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2257   yes:no: )
2258     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2259 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2260     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2261 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2262     ;;
2263   no:yes:* )
2264     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2265 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2266     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2267 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2268     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2269 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2270     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2271 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2272     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2273 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2274 ( $as_echo "## ------------------------------------------ ##
2275 ## Report this to https://issues.asterisk.org ##
2276 ## ------------------------------------------ ##"
2277      ) | sed "s/^/$as_me: WARNING:     /" >&2
2278     ;;
2279 esac
2280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2281 $as_echo_n "checking for $2... " >&6; }
2282 if eval \${$3+:} false; then :
2283   $as_echo_n "(cached) " >&6
2284 else
2285   eval "$3=\$ac_header_compiler"
2286 fi
2287 eval ac_res=\$$3
2288                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290 fi
2291   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292
2293 } # ac_fn_c_check_header_mongrel
2294
2295 # ac_fn_c_try_run LINENO
2296 # ----------------------
2297 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2298 # that executables *can* be run.
2299 ac_fn_c_try_run ()
2300 {
2301   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302   if { { ac_try="$ac_link"
2303 case "(($ac_try" in
2304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305   *) ac_try_echo=$ac_try;;
2306 esac
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309   (eval "$ac_link") 2>&5
2310   ac_status=$?
2311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2313   { { case "(($ac_try" in
2314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315   *) ac_try_echo=$ac_try;;
2316 esac
2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319   (eval "$ac_try") 2>&5
2320   ac_status=$?
2321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322   test $ac_status = 0; }; }; then :
2323   ac_retval=0
2324 else
2325   $as_echo "$as_me: program exited with status $ac_status" >&5
2326        $as_echo "$as_me: failed program was:" >&5
2327 sed 's/^/| /' conftest.$ac_ext >&5
2328
2329        ac_retval=$ac_status
2330 fi
2331   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2332   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333   as_fn_set_status $ac_retval
2334
2335 } # ac_fn_c_try_run
2336
2337 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2338 # -------------------------------------------------------
2339 # Tests whether HEADER exists and can be compiled using the include files in
2340 # INCLUDES, setting the cache variable VAR accordingly.
2341 ac_fn_c_check_header_compile ()
2342 {
2343   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2345 $as_echo_n "checking for $2... " >&6; }
2346 if eval \${$3+:} false; then :
2347   $as_echo_n "(cached) " >&6
2348 else
2349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350 /* end confdefs.h.  */
2351 $4
2352 #include <$2>
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355   eval "$3=yes"
2356 else
2357   eval "$3=no"
2358 fi
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 fi
2361 eval ac_res=\$$3
2362                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2363 $as_echo "$ac_res" >&6; }
2364   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365
2366 } # ac_fn_c_check_header_compile
2367
2368 # ac_fn_cxx_try_compile LINENO
2369 # ----------------------------
2370 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2371 ac_fn_cxx_try_compile ()
2372 {
2373   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2374   rm -f conftest.$ac_objext
2375   if { { ac_try="$ac_compile"
2376 case "(($ac_try" in
2377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378   *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382   (eval "$ac_compile") 2>conftest.err
2383   ac_status=$?
2384   if test -s conftest.err; then
2385     grep -v '^ *+' conftest.err >conftest.er1
2386     cat conftest.er1 >&5
2387     mv -f conftest.er1 conftest.err
2388   fi
2389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390   test $ac_status = 0; } && {
2391          test -z "$ac_cxx_werror_flag" ||
2392          test ! -s conftest.err
2393        } && test -s conftest.$ac_objext; then :
2394   ac_retval=0
2395 else
2396   $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2398
2399         ac_retval=1
2400 fi
2401   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402   as_fn_set_status $ac_retval
2403
2404 } # ac_fn_cxx_try_compile
2405
2406 # ac_fn_cxx_try_cpp LINENO
2407 # ------------------------
2408 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2409 ac_fn_cxx_try_cpp ()
2410 {
2411   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412   if { { ac_try="$ac_cpp conftest.$ac_ext"
2413 case "(($ac_try" in
2414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415   *) ac_try_echo=$ac_try;;
2416 esac
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2420   ac_status=$?
2421   if test -s conftest.err; then
2422     grep -v '^ *+' conftest.err >conftest.er1
2423     cat conftest.er1 >&5
2424     mv -f conftest.er1 conftest.err
2425   fi
2426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427   test $ac_status = 0; } > conftest.i && {
2428          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2429          test ! -s conftest.err
2430        }; then :
2431   ac_retval=0
2432 else
2433   $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2435
2436     ac_retval=1
2437 fi
2438   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439   as_fn_set_status $ac_retval
2440
2441 } # ac_fn_cxx_try_cpp
2442
2443 # ac_fn_c_try_link LINENO
2444 # -----------------------
2445 # Try to link conftest.$ac_ext, and return whether this succeeded.
2446 ac_fn_c_try_link ()
2447 {
2448   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2449   rm -f conftest.$ac_objext conftest$ac_exeext
2450   if { { ac_try="$ac_link"
2451 case "(($ac_try" in
2452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453   *) ac_try_echo=$ac_try;;
2454 esac
2455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2456 $as_echo "$ac_try_echo"; } >&5
2457   (eval "$ac_link") 2>conftest.err
2458   ac_status=$?
2459   if test -s conftest.err; then
2460     grep -v '^ *+' conftest.err >conftest.er1
2461     cat conftest.er1 >&5
2462     mv -f conftest.er1 conftest.err
2463   fi
2464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465   test $ac_status = 0; } && {
2466          test -z "$ac_c_werror_flag" ||
2467          test ! -s conftest.err
2468        } && test -s conftest$ac_exeext && {
2469          test "$cross_compiling" = yes ||
2470          $as_test_x conftest$ac_exeext
2471        }; then :
2472   ac_retval=0
2473 else
2474   $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2476
2477         ac_retval=1
2478 fi
2479   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2480   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2481   # interfere with the next link command; also delete a directory that is
2482   # left behind by Apple's compiler.  We do this before executing the actions.
2483   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2484   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2485   as_fn_set_status $ac_retval
2486
2487 } # ac_fn_c_try_link
2488
2489 # ac_fn_c_check_func LINENO FUNC VAR
2490 # ----------------------------------
2491 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2492 ac_fn_c_check_func ()
2493 {
2494   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2496 $as_echo_n "checking for $2... " >&6; }
2497 if eval \${$3+:} false; then :
2498   $as_echo_n "(cached) " >&6
2499 else
2500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h.  */
2502 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2504 #define $2 innocuous_$2
2505
2506 /* System header to define __stub macros and hopefully few prototypes,
2507     which can conflict with char $2 (); below.
2508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2509     <limits.h> exists even on freestanding compilers.  */
2510
2511 #ifdef __STDC__
2512 # include <limits.h>
2513 #else
2514 # include <assert.h>
2515 #endif
2516
2517 #undef $2
2518
2519 /* Override any GCC internal prototype to avoid an error.
2520    Use char because int might match the return type of a GCC
2521    builtin and then its argument prototype would still apply.  */
2522 #ifdef __cplusplus
2523 extern "C"
2524 #endif
2525 char $2 ();
2526 /* The GNU C library defines this for functions which it implements
2527     to always fail with ENOSYS.  Some functions are actually named
2528     something starting with __ and the normal name is an alias.  */
2529 #if defined __stub_$2 || defined __stub___$2
2530 choke me
2531 #endif
2532
2533 int
2534 main ()
2535 {
2536 return $2 ();
2537   ;
2538   return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_c_try_link "$LINENO"; then :
2542   eval "$3=yes"
2543 else
2544   eval "$3=no"
2545 fi
2546 rm -f core conftest.err conftest.$ac_objext \
2547     conftest$ac_exeext conftest.$ac_ext
2548 fi
2549 eval ac_res=\$$3
2550                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553
2554 } # ac_fn_c_check_func
2555
2556 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2557 # -------------------------------------------
2558 # Tests whether TYPE exists after having included INCLUDES, setting cache
2559 # variable VAR accordingly.
2560 ac_fn_c_check_type ()
2561 {
2562   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566   $as_echo_n "(cached) " >&6
2567 else
2568   eval "$3=no"
2569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h.  */
2571 $4
2572 int
2573 main ()
2574 {
2575 if (sizeof ($2))
2576          return 0;
2577   ;
2578   return 0;
2579 }
2580 _ACEOF
2581 if ac_fn_c_try_compile "$LINENO"; then :
2582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h.  */
2584 $4
2585 int
2586 main ()
2587 {
2588 if (sizeof (($2)))
2589             return 0;
2590   ;
2591   return 0;
2592 }
2593 _ACEOF
2594 if ac_fn_c_try_compile "$LINENO"; then :
2595
2596 else
2597   eval "$3=yes"
2598 fi
2599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2600 fi
2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2602 fi
2603 eval ac_res=\$$3
2604                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607
2608 } # ac_fn_c_check_type
2609
2610 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2611 # ----------------------------------------------------
2612 # Tries to find if the field MEMBER exists in type AGGR, after including
2613 # INCLUDES, setting cache variable VAR accordingly.
2614 ac_fn_c_check_member ()
2615 {
2616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2618 $as_echo_n "checking for $2.$3... " >&6; }
2619 if eval \${$4+:} false; then :
2620   $as_echo_n "(cached) " >&6
2621 else
2622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h.  */
2624 $5
2625 int
2626 main ()
2627 {
2628 static $2 ac_aggr;
2629 if (ac_aggr.$3)
2630 return 0;
2631   ;
2632   return 0;
2633 }
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636   eval "$4=yes"
2637 else
2638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h.  */
2640 $5
2641 int
2642 main ()
2643 {
2644 static $2 ac_aggr;
2645 if (sizeof ac_aggr.$3)
2646 return 0;
2647   ;
2648   return 0;
2649 }
2650 _ACEOF
2651 if ac_fn_c_try_compile "$LINENO"; then :
2652   eval "$4=yes"
2653 else
2654   eval "$4=no"
2655 fi
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 fi
2658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2659 fi
2660 eval ac_res=\$$4
2661                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2663   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2664
2665 } # ac_fn_c_check_member
2666
2667 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2668 # --------------------------------------------
2669 # Tries to find the compile-time value of EXPR in a program that includes
2670 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2671 # computed
2672 ac_fn_c_compute_int ()
2673 {
2674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675   if test "$cross_compiling" = yes; then
2676     # Depending upon the size, compute the lo and hi bounds.
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h.  */
2679 $4
2680 int
2681 main ()
2682 {
2683 static int test_array [1 - 2 * !(($2) >= 0)];
2684 test_array [0] = 0
2685
2686   ;
2687   return 0;
2688 }
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691   ac_lo=0 ac_mid=0
2692   while :; do
2693     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h.  */
2695 $4
2696 int
2697 main ()
2698 {
2699 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2700 test_array [0] = 0
2701
2702   ;
2703   return 0;
2704 }
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707   ac_hi=$ac_mid; break
2708 else
2709   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2710                         if test $ac_lo -le $ac_mid; then
2711                           ac_lo= ac_hi=
2712                           break
2713                         fi
2714                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2715 fi
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717   done
2718 else
2719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h.  */
2721 $4
2722 int
2723 main ()
2724 {
2725 static int test_array [1 - 2 * !(($2) < 0)];
2726 test_array [0] = 0
2727
2728   ;
2729   return 0;
2730 }
2731 _ACEOF
2732 if ac_fn_c_try_compile "$LINENO"; then :
2733   ac_hi=-1 ac_mid=-1
2734   while :; do
2735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h.  */
2737 $4
2738 int
2739 main ()
2740 {
2741 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2742 test_array [0] = 0
2743
2744   ;
2745   return 0;
2746 }
2747 _ACEOF
2748 if ac_fn_c_try_compile "$LINENO"; then :
2749   ac_lo=$ac_mid; break
2750 else
2751   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2752                         if test $ac_mid -le $ac_hi; then
2753                           ac_lo= ac_hi=
2754                           break
2755                         fi
2756                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2757 fi
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759   done
2760 else
2761   ac_lo= ac_hi=
2762 fi
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 fi
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 # Binary search between lo and hi bounds.
2767 while test "x$ac_lo" != "x$ac_hi"; do
2768   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h.  */
2771 $4
2772 int
2773 main ()
2774 {
2775 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2776 test_array [0] = 0
2777
2778   ;
2779   return 0;
2780 }
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783   ac_hi=$ac_mid
2784 else
2785   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2786 fi
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 done
2789 case $ac_lo in #((
2790 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2791 '') ac_retval=1 ;;
2792 esac
2793   else
2794     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h.  */
2796 $4
2797 static long int longval () { return $2; }
2798 static unsigned long int ulongval () { return $2; }
2799 #include <stdio.h>
2800 #include <stdlib.h>
2801 int
2802 main ()
2803 {
2804
2805   FILE *f = fopen ("conftest.val", "w");
2806   if (! f)
2807     return 1;
2808   if (($2) < 0)
2809     {
2810       long int i = longval ();
2811       if (i != ($2))
2812         return 1;
2813       fprintf (f, "%ld", i);
2814     }
2815   else
2816     {
2817       unsigned long int i = ulongval ();
2818       if (i != ($2))
2819         return 1;
2820       fprintf (f, "%lu", i);
2821     }
2822   /* Do not output a trailing newline, as this causes \r\n confusion
2823      on some platforms.  */
2824   return ferror (f) || fclose (f) != 0;
2825
2826   ;
2827   return 0;
2828 }
2829 _ACEOF
2830 if ac_fn_c_try_run "$LINENO"; then :
2831   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2832 else
2833   ac_retval=1
2834 fi
2835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2836   conftest.$ac_objext conftest.beam conftest.$ac_ext
2837 rm -f conftest.val
2838
2839   fi
2840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841   as_fn_set_status $ac_retval
2842
2843 } # ac_fn_c_compute_int
2844
2845 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2846 # ---------------------------------------------------------
2847 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2848 # the include files in INCLUDES and setting the cache variable VAR
2849 # accordingly.
2850 ac_fn_cxx_check_header_mongrel ()
2851 {
2852   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853   if eval \${$3+:} false; then :
2854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2855 $as_echo_n "checking for $2... " >&6; }
2856 if eval \${$3+:} false; then :
2857   $as_echo_n "(cached) " >&6
2858 fi
2859 eval ac_res=\$$3
2860                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2861 $as_echo "$ac_res" >&6; }
2862 else
2863   # Is the header compilable?
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2865 $as_echo_n "checking $2 usability... " >&6; }
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h.  */
2868 $4
2869 #include <$2>
2870 _ACEOF
2871 if ac_fn_cxx_try_compile "$LINENO"; then :
2872   ac_header_compiler=yes
2873 else
2874   ac_header_compiler=no
2875 fi
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2878 $as_echo "$ac_header_compiler" >&6; }
2879
2880 # Is the header present?
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2882 $as_echo_n "checking $2 presence... " >&6; }
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h.  */
2885 #include <$2>
2886 _ACEOF
2887 if ac_fn_cxx_try_cpp "$LINENO"; then :
2888   ac_header_preproc=yes
2889 else
2890   ac_header_preproc=no
2891 fi
2892 rm -f conftest.err conftest.i conftest.$ac_ext
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2894 $as_echo "$ac_header_preproc" >&6; }
2895
2896 # So?  What about this header?
2897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2898   yes:no: )
2899     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2900 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2901     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2902 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2903     ;;
2904   no:yes:* )
2905     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2906 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2907     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2908 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2909     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2910 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2911     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2912 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2913     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2914 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2915 ( $as_echo "## ------------------------------------------ ##
2916 ## Report this to https://issues.asterisk.org ##
2917 ## ------------------------------------------ ##"
2918      ) | sed "s/^/$as_me: WARNING:     /" >&2
2919     ;;
2920 esac
2921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922 $as_echo_n "checking for $2... " >&6; }
2923 if eval \${$3+:} false; then :
2924   $as_echo_n "(cached) " >&6
2925 else
2926   eval "$3=\$ac_header_compiler"
2927 fi
2928 eval ac_res=\$$3
2929                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 fi
2932   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933
2934 } # ac_fn_cxx_check_header_mongrel
2935
2936 # ac_fn_cxx_try_link LINENO
2937 # -------------------------
2938 # Try to link conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_cxx_try_link ()
2940 {
2941   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942   rm -f conftest.$ac_objext conftest$ac_exeext
2943   if { { ac_try="$ac_link"
2944 case "(($ac_try" in
2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946   *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950   (eval "$ac_link") 2>conftest.err
2951   ac_status=$?
2952   if test -s conftest.err; then
2953     grep -v '^ *+' conftest.err >conftest.er1
2954     cat conftest.er1 >&5
2955     mv -f conftest.er1 conftest.err
2956   fi
2957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958   test $ac_status = 0; } && {
2959          test -z "$ac_cxx_werror_flag" ||
2960          test ! -s conftest.err
2961        } && test -s conftest$ac_exeext && {
2962          test "$cross_compiling" = yes ||
2963          $as_test_x conftest$ac_exeext
2964        }; then :
2965   ac_retval=0
2966 else
2967   $as_echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2969
2970         ac_retval=1
2971 fi
2972   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2973   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2974   # interfere with the next link command; also delete a directory that is
2975   # left behind by Apple's compiler.  We do this before executing the actions.
2976   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2977   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978   as_fn_set_status $ac_retval
2979
2980 } # ac_fn_cxx_try_link
2981
2982 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2983 # ---------------------------------------------------------
2984 # Tests whether HEADER exists and can be compiled using the include files in
2985 # INCLUDES, setting the cache variable VAR accordingly.
2986 ac_fn_cxx_check_header_compile ()
2987 {
2988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2990 $as_echo_n "checking for $2... " >&6; }
2991 if eval \${$3+:} false; then :
2992   $as_echo_n "(cached) " >&6
2993 else
2994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h.  */
2996 $4
2997 #include <$2>
2998 _ACEOF
2999 if ac_fn_cxx_try_compile "$LINENO"; then :
3000   eval "$3=yes"
3001 else
3002   eval "$3=no"
3003 fi
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 fi
3006 eval ac_res=\$$3
3007                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010
3011 } # ac_fn_cxx_check_header_compile
3012 cat >config.log <<_ACEOF
3013 This file contains any messages produced by compilers while
3014 running configure, to aid debugging if configure makes a mistake.
3015
3016 It was created by asterisk $as_me trunk, which was
3017 generated by GNU Autoconf 2.68.  Invocation command line was
3018
3019   $ $0 $@
3020
3021 _ACEOF
3022 exec 5>>config.log
3023 {
3024 cat <<_ASUNAME
3025 ## --------- ##
3026 ## Platform. ##
3027 ## --------- ##
3028
3029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3034
3035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3036 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3037
3038 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3039 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3041 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3042 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3043 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3044 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3045
3046 _ASUNAME
3047
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3050 do
3051   IFS=$as_save_IFS
3052   test -z "$as_dir" && as_dir=.
3053     $as_echo "PATH: $as_dir"
3054   done
3055 IFS=$as_save_IFS
3056
3057 } >&5
3058
3059 cat >&5 <<_ACEOF
3060
3061
3062 ## ----------- ##
3063 ## Core tests. ##
3064 ## ----------- ##
3065
3066 _ACEOF
3067
3068
3069 # Keep a trace of the command line.
3070 # Strip out --no-create and --no-recursion so they do not pile up.
3071 # Strip out --silent because we don't want to record it for future runs.
3072 # Also quote any args containing shell meta-characters.
3073 # Make two passes to allow for proper duplicate-argument suppression.
3074 ac_configure_args=
3075 ac_configure_args0=
3076 ac_configure_args1=
3077 ac_must_keep_next=false
3078 for ac_pass in 1 2
3079 do
3080   for ac_arg
3081   do
3082     case $ac_arg in
3083     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3084     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3085     | -silent | --silent | --silen | --sile | --sil)
3086       continue ;;
3087     *\'*)
3088       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3089     esac
3090     case $ac_pass in
3091     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3092     2)
3093       as_fn_append ac_configure_args1 " '$ac_arg'"
3094       if test $ac_must_keep_next = true; then
3095         ac_must_keep_next=false # Got value, back to normal.
3096       else
3097         case $ac_arg in
3098           *=* | --config-cache | -C | -disable-* | --disable-* \
3099           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3100           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3101           | -with-* | --with-* | -without-* | --without-* | --x)
3102             case "$ac_configure_args0 " in
3103               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3104             esac
3105             ;;
3106           -* ) ac_must_keep_next=true ;;
3107         esac
3108       fi
3109       as_fn_append ac_configure_args " '$ac_arg'"
3110       ;;
3111     esac
3112   done
3113 done
3114 { ac_configure_args0=; unset ac_configure_args0;}
3115 { ac_configure_args1=; unset ac_configure_args1;}
3116
3117 # When interrupted or exit'd, cleanup temporary files, and complete
3118 # config.log.  We remove comments because anyway the quotes in there
3119 # would cause problems or look ugly.
3120 # WARNING: Use '\'' to represent an apostrophe within the trap.
3121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3122 trap 'exit_status=$?
3123   # Save into config.log some information that might help in debugging.
3124   {
3125     echo
3126
3127     $as_echo "## ---------------- ##
3128 ## Cache variables. ##
3129 ## ---------------- ##"
3130     echo
3131     # The following way of writing the cache mishandles newlines in values,
3132 (
3133   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3134     eval ac_val=\$$ac_var
3135     case $ac_val in #(
3136     *${as_nl}*)
3137       case $ac_var in #(
3138       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3140       esac
3141       case $ac_var in #(
3142       _ | IFS | as_nl) ;; #(
3143       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3144       *) { eval $ac_var=; unset $ac_var;} ;;
3145       esac ;;
3146     esac
3147   done
3148   (set) 2>&1 |
3149     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3150     *${as_nl}ac_space=\ *)
3151       sed -n \
3152         "s/'\''/'\''\\\\'\'''\''/g;
3153           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3154       ;; #(
3155     *)
3156       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3157       ;;
3158     esac |
3159     sort
3160 )
3161     echo
3162
3163     $as_echo "## ----------------- ##
3164 ## Output variables. ##
3165 ## ----------------- ##"
3166     echo
3167     for ac_var in $ac_subst_vars
3168     do
3169       eval ac_val=\$$ac_var
3170       case $ac_val in
3171       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3172       esac
3173       $as_echo "$ac_var='\''$ac_val'\''"
3174     done | sort
3175     echo
3176
3177     if test -n "$ac_subst_files"; then
3178       $as_echo "## ------------------- ##
3179 ## File substitutions. ##
3180 ## ------------------- ##"
3181       echo
3182       for ac_var in $ac_subst_files
3183       do
3184         eval ac_val=\$$ac_var
3185         case $ac_val in
3186         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3187         esac
3188         $as_echo "$ac_var='\''$ac_val'\''"
3189       done | sort
3190       echo
3191     fi
3192
3193     if test -s confdefs.h; then
3194       $as_echo "## ----------- ##
3195 ## confdefs.h. ##
3196 ## ----------- ##"
3197       echo
3198       cat confdefs.h
3199       echo
3200     fi
3201     test "$ac_signal" != 0 &&
3202       $as_echo "$as_me: caught signal $ac_signal"
3203     $as_echo "$as_me: exit $exit_status"
3204   } >&5
3205   rm -f core *.core core.conftest.* &&
3206     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3207     exit $exit_status
3208 ' 0
3209 for ac_signal in 1 2 13 15; do
3210   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3211 done
3212 ac_signal=0
3213
3214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3215 rm -f -r conftest* confdefs.h
3216
3217 $as_echo "/* confdefs.h */" > confdefs.h
3218
3219 # Predefined preprocessor variables.
3220
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_NAME "$PACKAGE_NAME"
3223 _ACEOF
3224
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3227 _ACEOF
3228
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3231 _ACEOF
3232
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_STRING "$PACKAGE_STRING"
3235 _ACEOF
3236
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3239 _ACEOF
3240
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_URL "$PACKAGE_URL"
3243 _ACEOF
3244
3245
3246 # Let the site file select an alternate cache file if it wants to.
3247 # Prefer an explicitly selected file to automatically selected ones.
3248 ac_site_file1=NONE
3249 ac_site_file2=NONE
3250 if test -n "$CONFIG_SITE"; then
3251   # We do not want a PATH search for config.site.
3252   case $CONFIG_SITE in #((
3253     -*)  ac_site_file1=./$CONFIG_SITE;;
3254     */*) ac_site_file1=$CONFIG_SITE;;
3255     *)   ac_site_file1=./$CONFIG_SITE;;
3256   esac
3257 elif test "x$prefix" != xNONE; then
3258   ac_site_file1=$prefix/share/config.site
3259   ac_site_file2=$prefix/etc/config.site
3260 else
3261   ac_site_file1=$ac_default_prefix/share/config.site
3262   ac_site_file2=$ac_default_prefix/etc/config.site
3263 fi
3264 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3265 do
3266   test "x$ac_site_file" = xNONE && continue
3267   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3268     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3269 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3270     sed 's/^/| /' "$ac_site_file" >&5
3271     . "$ac_site_file" \
3272       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "failed to load site script $ac_site_file
3275 See \`config.log' for more details" "$LINENO" 5; }
3276   fi
3277 done
3278
3279 if test -r "$cache_file"; then
3280   # Some versions of bash will fail to source /dev/null (special files
3281   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3282   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3283     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3284 $as_echo "$as_me: loading cache $cache_file" >&6;}
3285     case $cache_file in
3286       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3287       *)                      . "./$cache_file";;
3288     esac
3289   fi
3290 else
3291   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3292 $as_echo "$as_me: creating cache $cache_file" >&6;}
3293   >$cache_file
3294 fi
3295
3296 as_fn_append ac_header_list " stdlib.h"
3297 as_fn_append ac_header_list " unistd.h"
3298 as_fn_append ac_header_list " sys/param.h"
3299 as_fn_append ac_header_list " utime.h"
3300 # Check that the precious variables saved in the cache have kept the same
3301 # value.
3302 ac_cache_corrupted=false
3303 for ac_var in $ac_precious_vars; do
3304   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3305   eval ac_new_set=\$ac_env_${ac_var}_set
3306   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3307   eval ac_new_val=\$ac_env_${ac_var}_value
3308   case $ac_old_set,$ac_new_set in
3309     set,)
3310       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3312       ac_cache_corrupted=: ;;
3313     ,set)
3314       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3316       ac_cache_corrupted=: ;;
3317     ,);;
3318     *)
3319       if test "x$ac_old_val" != "x$ac_new_val"; then
3320         # differences in whitespace do not lead to failure.
3321         ac_old_val_w=`echo x $ac_old_val`
3322         ac_new_val_w=`echo x $ac_new_val`
3323         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3324           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3326           ac_cache_corrupted=:
3327         else
3328           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3330           eval $ac_var=\$ac_old_val
3331         fi
3332         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3333 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3334         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3335 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3336       fi;;
3337   esac
3338   # Pass precious variables to config.status.
3339   if test "$ac_new_set" = set; then
3340     case $ac_new_val in
3341     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3342     *) ac_arg=$ac_var=$ac_new_val ;;
3343     esac
3344     case " $ac_configure_args " in
3345       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3346       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3347     esac
3348   fi
3349 done
3350 if $ac_cache_corrupted; then
3351   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3355   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3356 fi
3357 ## -------------------- ##
3358 ## Main body of script. ##
3359 ## -------------------- ##
3360
3361 ac_ext=c
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366
3367
3368
3369 # cross-compile macros
3370 ac_aux_dir=
3371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3372   if test -f "$ac_dir/install-sh"; then
3373     ac_aux_dir=$ac_dir
3374     ac_install_sh="$ac_aux_dir/install-sh -c"
3375     break
3376   elif test -f "$ac_dir/install.sh"; then
3377     ac_aux_dir=$ac_dir
3378     ac_install_sh="$ac_aux_dir/install.sh -c"
3379     break
3380   elif test -f "$ac_dir/shtool"; then
3381     ac_aux_dir=$ac_dir
3382     ac_install_sh="$ac_aux_dir/shtool install -c"
3383     break
3384   fi
3385 done
3386 if test -z "$ac_aux_dir"; then
3387   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3388 fi
3389
3390 # These three variables are undocumented and unsupported,
3391 # and are intended to be withdrawn in a future Autoconf release.
3392 # They can cause serious problems if a builder's source tree is in a directory
3393 # whose full name contains unusual characters.
3394 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3395 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3396 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3397
3398
3399 # Make sure we can run config.sub.
3400 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3401   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3402
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3404 $as_echo_n "checking build system type... " >&6; }
3405 if ${ac_cv_build+:} false; then :
3406   $as_echo_n "(cached) " >&6
3407 else
3408   ac_build_alias=$build_alias
3409 test "x$ac_build_alias" = x &&
3410   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3411 test "x$ac_build_alias" = x &&
3412   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3413 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3414   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3415
3416 fi
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3418 $as_echo "$ac_cv_build" >&6; }
3419 case $ac_cv_build in
3420 *-*-*) ;;
3421 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3422 esac
3423 build=$ac_cv_build
3424 ac_save_IFS=$IFS; IFS='-'
3425 set x $ac_cv_build
3426 shift
3427 build_cpu=$1
3428 build_vendor=$2
3429 shift; shift
3430 # Remember, the first character of IFS is used to create $*,
3431 # except with old shells:
3432 build_os=$*
3433 IFS=$ac_save_IFS
3434 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3435
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3438 $as_echo_n "checking host system type... " >&6; }
3439 if ${ac_cv_host+:} false; then :
3440   $as_echo_n "(cached) " >&6
3441 else
3442   if test "x$host_alias" = x; then
3443   ac_cv_host=$ac_cv_build
3444 else
3445   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3446     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3447 fi
3448
3449 fi
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3451 $as_echo "$ac_cv_host" >&6; }
3452 case $ac_cv_host in
3453 *-*-*) ;;
3454 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3455 esac
3456 host=$ac_cv_host
3457 ac_save_IFS=$IFS; IFS='-'
3458 set x $ac_cv_host
3459 shift
3460 host_cpu=$1
3461 host_vendor=$2
3462 shift; shift
3463 # Remember, the first character of IFS is used to create $*,
3464 # except with old shells:
3465 host_os=$*
3466 IFS=$ac_save_IFS
3467 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3468
3469
3470
3471 # check existence of the package
3472
3473
3474 ac_aux_dir=
3475 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3476   if test -f "$ac_dir/install-sh"; then
3477     ac_aux_dir=$ac_dir
3478     ac_install_sh="$ac_aux_dir/install-sh -c"
3479     break
3480   elif test -f "$ac_dir/install.sh"; then
3481     ac_aux_dir=$ac_dir
3482     ac_install_sh="$ac_aux_dir/install.sh -c"
3483     break
3484   elif test -f "$ac_dir/shtool"; then
3485     ac_aux_dir=$ac_dir
3486     ac_install_sh="$ac_aux_dir/shtool install -c"
3487     break
3488   fi
3489 done
3490 if test -z "$ac_aux_dir"; then
3491   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`pwd\` \"$srcdir\"/\`pwd\`" "$LINENO" 5
3492 fi
3493
3494 # These three variables are undocumented and unsupported,
3495 # and are intended to be withdrawn in a future Autoconf release.
3496 # They can cause serious problems if a builder's source tree is in a directory
3497 # whose full name contains unusual characters.
3498 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3499 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3500 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3501
3502
3503
3504
3505
3506
3507 # preserve any CFLAGS or LDFLAGS that may be set
3508 # NOTE: This must be done before calling any macros that end up
3509 # calling AC_PROG_CC or the like, since they will set a default
3510 # set of CFLAGS ("-g -O2") if the user did not supply any, and
3511 # we don't want those default flags to be carried over into the
3512 # rest of the build system since we have other means of controlling
3513 # debugging symbol generation and optimization.
3514 CONFIG_CFLAGS="${CFLAGS}"
3515 CONFIG_LDFLAGS="${LDFLAGS}"
3516
3517
3518
3519 # specify output header file
3520 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
3521
3522
3523 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
3524 # other macro that uses the C compiler, or the default order will be used.
3525 ac_ext=c
3526 ac_cpp='$CPP $CPPFLAGS'
3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3530 if test -n "$ac_tool_prefix"; then
3531   for ac_prog in gcc cc
3532   do
3533     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   if test -n "$CC"; then
3541   ac_cv_prog_CC="$CC" # Let the user override the test.
3542 else
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 for as_dir in $PATH
3545 do
3546   IFS=$as_save_IFS
3547   test -z "$as_dir" && as_dir=.
3548     for ac_exec_ext in '' $ac_executable_extensions; do
3549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552     break 2
3553   fi
3554 done
3555   done
3556 IFS=$as_save_IFS
3557
3558 fi
3559 fi
3560 CC=$ac_cv_prog_CC
3561 if test -n "$CC"; then
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 fi
3568
3569
3570     test -n "$CC" && break
3571   done
3572 fi
3573 if test -z "$CC"; then
3574   ac_ct_CC=$CC
3575   for ac_prog in gcc cc
3576 do
3577   # Extract the first word of "$ac_prog", so it can be a program name with args.
3578 set dummy $ac_prog; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3582   $as_echo_n "(cached) " >&6
3583 else
3584   if test -n "$ac_ct_CC"; then
3585   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3589 do
3590   IFS=$as_save_IFS
3591   test -z "$as_dir" && as_dir=.
3592     for ac_exec_ext in '' $ac_executable_extensions; do
3593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594     ac_cv_prog_ac_ct_CC="$ac_prog"
3595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596     break 2
3597   fi
3598 done
3599   done
3600 IFS=$as_save_IFS
3601
3602 fi
3603 fi
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3608 else
3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3611 fi
3612
3613
3614   test -n "$ac_ct_CC" && break
3615 done
3616
3617   if test "x$ac_ct_CC" = x; then
3618     CC=""
3619   else
3620     case $cross_compiling:$ac_tool_warned in
3621 yes:)
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3625 esac
3626     CC=$ac_ct_CC
3627   fi
3628 fi
3629
3630
3631 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 as_fn_error $? "no acceptable C compiler found in \$PATH
3634 See \`config.log' for more details" "$LINENO" 5; }
3635
3636 # Provide some information about the compiler.
3637 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3638 set X $ac_compile
3639 ac_compiler=$2
3640 for ac_option in --version -v -V -qversion; do
3641   { { ac_try="$ac_compiler $ac_option >&5"
3642 case "(($ac_try" in
3643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644   *) ac_try_echo=$ac_try;;
3645 esac
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3649   ac_status=$?
3650   if test -s conftest.err; then
3651     sed '10a\
3652 ... rest of stderr output deleted ...
3653          10q' conftest.err >conftest.er1
3654     cat conftest.er1 >&5
3655   fi
3656   rm -f conftest.er1 conftest.err
3657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658   test $ac_status = 0; }
3659 done
3660
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h.  */
3663
3664 int
3665 main ()
3666 {
3667
3668   ;
3669   return 0;
3670 }
3671 _ACEOF
3672 ac_clean_files_save=$ac_clean_files
3673 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3674 # Try to create an executable without -o first, disregard a.out.
3675 # It will help us diagnose broken compilers, and finding out an intuition
3676 # of exeext.
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3678 $as_echo_n "checking whether the C compiler works... " >&6; }
3679 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3680
3681 # The possible output files:
3682 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3683
3684 ac_rmfiles=
3685 for ac_file in $ac_files
3686 do
3687   case $ac_file in
3688     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3689     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3690   esac
3691 done
3692 rm -f $ac_rmfiles
3693
3694 if { { ac_try="$ac_link_default"
3695 case "(($ac_try" in
3696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697   *) ac_try_echo=$ac_try;;
3698 esac
3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700 $as_echo "$ac_try_echo"; } >&5
3701   (eval "$ac_link_default") 2>&5
3702   ac_status=$?
3703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704   test $ac_status = 0; }; then :
3705   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3706 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3707 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3708 # so that the user can short-circuit this test for compilers unknown to
3709 # Autoconf.
3710 for ac_file in $ac_files ''
3711 do
3712   test -f "$ac_file" || continue
3713   case $ac_file in
3714     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3715         ;;
3716     [ab].out )
3717         # We found the default executable, but exeext='' is most
3718         # certainly right.
3719         break;;
3720     *.* )
3721         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3722         then :; else
3723            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3724         fi
3725         # We set ac_cv_exeext here because the later test for it is not
3726         # safe: cross compilers may not add the suffix if given an `-o'
3727         # argument, so we may need to know it at that point already.
3728         # Even if this section looks crufty: it has the advantage of
3729         # actually working.
3730         break;;
3731     * )
3732         break;;
3733   esac
3734 done
3735 test "$ac_cv_exeext" = no && ac_cv_exeext=
3736
3737 else
3738   ac_file=''
3739 fi
3740 if test -z "$ac_file"; then :
3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3743 $as_echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.$ac_ext >&5
3745
3746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3748 as_fn_error 77 "C compiler cannot create executables
3749 See \`config.log' for more details" "$LINENO" 5; }
3750 else
3751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3752 $as_echo "yes" >&6; }
3753 fi
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3755 $as_echo_n "checking for C compiler default output file name... " >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3757 $as_echo "$ac_file" >&6; }
3758 ac_exeext=$ac_cv_exeext
3759
3760 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3761 ac_clean_files=$ac_clean_files_save
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3763 $as_echo_n "checking for suffix of executables... " >&6; }
3764 if { { ac_try="$ac_link"
3765 case "(($ac_try" in
3766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767   *) ac_try_echo=$ac_try;;
3768 esac
3769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770 $as_echo "$ac_try_echo"; } >&5
3771   (eval "$ac_link") 2>&5
3772   ac_status=$?
3773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774   test $ac_status = 0; }; then :
3775   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3776 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3777 # work properly (i.e., refer to `conftest.exe'), while it won't with
3778 # `rm'.
3779 for ac_file in conftest.exe conftest conftest.*; do
3780   test -f "$ac_file" || continue
3781   case $ac_file in
3782     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3783     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3784           break;;
3785     * ) break;;
3786   esac
3787 done
3788 else
3789   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3792 See \`config.log' for more details" "$LINENO" 5; }
3793 fi
3794 rm -f conftest conftest$ac_cv_exeext
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3796 $as_echo "$ac_cv_exeext" >&6; }
3797
3798 rm -f conftest.$ac_ext
3799 EXEEXT=$ac_cv_exeext
3800 ac_exeext=$EXEEXT
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h.  */
3803 #include <stdio.h>
3804 int
3805 main ()
3806 {
3807 FILE *f = fopen ("conftest.out", "w");
3808  return ferror (f) || fclose (f) != 0;
3809
3810   ;
3811   return 0;
3812 }
3813 _ACEOF
3814 ac_clean_files="$ac_clean_files conftest.out"
3815 # Check that the compiler produces executables we can run.  If not, either
3816 # the compiler is broken, or we cross compile.
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3818 $as_echo_n "checking whether we are cross compiling... " >&6; }
3819 if test "$cross_compiling" != yes; then
3820   { { ac_try="$ac_link"
3821 case "(($ac_try" in
3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823   *) ac_try_echo=$ac_try;;
3824 esac
3825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3826 $as_echo "$ac_try_echo"; } >&5
3827   (eval "$ac_link") 2>&5
3828   ac_status=$?
3829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3830   test $ac_status = 0; }
3831   if { ac_try='./conftest$ac_cv_exeext'
3832   { { case "(($ac_try" in
3833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834   *) ac_try_echo=$ac_try;;
3835 esac
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838   (eval "$ac_try") 2>&5
3839   ac_status=$?
3840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841   test $ac_status = 0; }; }; then
3842     cross_compiling=no
3843   else
3844     if test "$cross_compiling" = maybe; then
3845         cross_compiling=yes
3846     else
3847         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error $? "cannot run C compiled programs.
3850 If you meant to cross compile, use \`--host'.
3851 See \`config.log' for more details" "$LINENO" 5; }
3852     fi
3853   fi
3854 fi
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3856 $as_echo "$cross_compiling" >&6; }
3857
3858 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3859 ac_clean_files=$ac_clean_files_save
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3861 $as_echo_n "checking for suffix of object files... " >&6; }
3862 if ${ac_cv_objext+:} false; then :
3863   $as_echo_n "(cached) " >&6
3864 else
3865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h.  */
3867
3868 int
3869 main ()
3870 {
3871
3872   ;
3873   return 0;
3874 }
3875 _ACEOF
3876 rm -f conftest.o conftest.obj
3877 if { { ac_try="$ac_compile"
3878 case "(($ac_try" in
3879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880   *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884   (eval "$ac_compile") 2>&5
3885   ac_status=$?
3886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887   test $ac_status = 0; }; then :
3888   for ac_file in conftest.o conftest.obj conftest.*; do
3889   test -f "$ac_file" || continue;
3890   case $ac_file in
3891     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3892     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3893        break;;
3894   esac
3895 done
3896 else
3897   $as_echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3899
3900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error $? "cannot compute suffix of object files: cannot compile
3903 See \`config.log' for more details" "$LINENO" 5; }
3904 fi
3905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3906 fi
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3908 $as_echo "$ac_cv_objext" >&6; }
3909 OBJEXT=$ac_cv_objext
3910 ac_objext=$OBJEXT
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3913 if ${ac_cv_c_compiler_gnu+:} false; then :
3914   $as_echo_n "(cached) " >&6
3915 else
3916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h.  */
3918
3919 int
3920 main ()
3921 {
3922 #ifndef __GNUC__
3923        choke me
3924 #endif
3925
3926   ;
3927   return 0;
3928 }
3929 _ACEOF
3930 if ac_fn_c_try_compile "$LINENO"; then :