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.
6 # Report bugs to <https://issues.asterisk.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
18 ## -------------------- ##
19 ## M4sh Initialization. ##
20 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
32 case `(set -o) 2>/dev/null` in #(
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
53 as_echo_n='print -rn --'
54 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
62 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67 expr "X$arg" : "X\\(.*\\)$as_nl";
68 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73 as_echo_n='sh -c $as_echo_n_body as_echo'
76 as_echo='sh -c $as_echo_body as_echo'
79 # The user is always right.
80 if test "${PATH_SEPARATOR+set}" != set; then
82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
96 # Find who we are. Look in the path if we contain no directory separator.
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
151 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
173 exitcode=1; echo positional parameters were not saved.
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 :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
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 :
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
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.
226 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
229 *v*x* | *x*v* ) as_opts=-vx ;;
234 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
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."
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."
254 SHELL=${CONFIG_SHELL-/bin/sh}
256 # Unset more variables known to interfere with behavior of common tools.
257 CLICOLOR_FORCE= GREP_OPTIONS=
258 unset CLICOLOR_FORCE GREP_OPTIONS
260 ## --------------------- ##
261 ## M4sh Shell Functions. ##
262 ## --------------------- ##
265 # Portably unset VAR.
268 { eval $1=; unset $1;}
272 # as_fn_set_status STATUS
273 # -----------------------
274 # Set $? to STATUS, without forking.
282 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
292 # Create "$as_dir" as a directory, including parents if necessary.
297 -*) as_dir=./$as_dir;;
299 test -d "$as_dir" || eval $as_mkdir_p || {
303 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
330 test -d "$as_dir" && break
332 test -z "$as_dirs" || eval "mkdir $as_dirs"
333 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
343 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
344 eval 'as_fn_append ()
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 :
368 as_val=`expr "$@" || test $? -eq 1`
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.
380 as_status=$1; test $as_status -eq 0 && as_status=1
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
385 $as_echo "$as_me: error: $2" >&2
386 as_fn_exit $as_status
389 if expr a : '\(a\)' >/dev/null 2>&1 &&
390 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_me=`$as_basename -- "$0" ||
409 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
410 X"$0" : 'X\(//\)$' \| \
411 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
413 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
462 # Exit status is that of the last command.
466 ECHO_C= ECHO_N= ECHO_T=
467 case `echo -n x` in #(((((
469 case `echo 'xy\c'` in
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
472 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
479 rm -f conf$$ conf$$.exe conf$$.file
480 if test -d conf$$.dir; then
481 rm -f conf$$.dir/conf$$.file
484 mkdir conf$$.dir 2>/dev/null
486 if (echo >conf$$.file) 2>/dev/null; then
487 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
495 elif ln conf$$.file conf$$ 2>/dev/null; then
503 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
504 rmdir conf$$.dir 2>/dev/null
506 if mkdir -p . 2>/dev/null; then
507 as_mkdir_p='mkdir -p "$as_dir"'
509 test -d ./-p && rmdir ./-p
513 if test -x / >/dev/null 2>&1; then
516 if ls -dL / >/dev/null 2>&1; then
523 if test -d "$1"; then
529 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
530 ???[sx]*):;;*)false;;esac;fi
534 as_executable_p=$as_test_x
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'"
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'"
543 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
554 ac_default_prefix=/usr/local
556 ac_config_libobj_dir=.
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'
571 ac_unique_file="main/asterisk.c"
572 # Factoring default headers for most tests.
573 ac_includes_default="\
575 #ifdef HAVE_SYS_TYPES_H
576 # include <sys/types.h>
578 #ifdef HAVE_SYS_STAT_H
579 # include <sys/stat.h>
585 # ifdef HAVE_STDLIB_H
590 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #ifdef HAVE_STRINGS_H
596 # include <strings.h>
598 #ifdef HAVE_INTTYPES_H
599 # include <inttypes.h>
609 ac_subst_vars='LTLIBOBJS
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
671 AST_NO_STRICT_OVERFLOW
674 AST_DECLARATION_AFTER_STATEMENT
678 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
679 PBX_PTHREAD_RWLOCK_INITIALIZER
755 SPEEX_PREPROCESS_INCLUDE
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
800 PRI_PROG_W_CAUSE_INCLUDE
802 PBX_PRI_INBANDDISCONNECT
803 PRI_INBANDDISCONNECT_DIR
804 PRI_INBANDDISCONNECT_INCLUDE
805 PRI_INBANDDISCONNECT_LIB
808 PRI_SETUP_KEYPAD_INCLUDE
810 PBX_PRI_CALL_REROUTING
811 PRI_CALL_REROUTING_DIR
812 PRI_CALL_REROUTING_INCLUDE
813 PRI_CALL_REROUTING_LIB
816 PRI_CALL_HOLD_INCLUDE
824 PRI_HANGUP_FIX_INCLUDE
836 PRI_AOC_EVENTS_INCLUDE
840 PRI_CALL_WAITING_INCLUDE
852 PRI_DISPLAY_TEXT_INCLUDE
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
1028 OPENSSL_SRTP_INCLUDE
1038 PBX_COROSYNC_CFG_STATE_TRACK
1039 COROSYNC_CFG_STATE_TRACK_DIR
1040 COROSYNC_CFG_STATE_TRACK_INCLUDE
1041 COROSYNC_CFG_STATE_TRACK_LIB
1192 program_transform_name
1205 enable_option_checking
1284 enable_internal_poll
1288 ac_precious_vars='build_alias
1314 # Initialize some variables set by options.
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
1328 program_transform_name=s,x,x,
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'
1358 libdir='${exec_prefix}/lib'
1359 localedir='${datarootdir}/locale'
1360 mandir='${datarootdir}/man'
1366 # If the previous option needs an argument, assign it.
1367 if test -n "$ac_prev"; then
1368 eval $ac_prev=\$ac_option
1374 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1379 # Accept the important Cygnus configure options, so we can diagnose typos.
1381 case $ac_dashdash$ac_option in
1385 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1387 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1388 bindir=$ac_optarg ;;
1390 -build | --build | --buil | --bui | --bu)
1391 ac_prev=build_alias ;;
1392 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1393 build_alias=$ac_optarg ;;
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 ;;
1402 --config-cache | -C)
1403 cache_file=config.cache ;;
1405 -datadir | --datadir | --datadi | --datad)
1407 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1408 datadir=$ac_optarg ;;
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 ;;
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
1426 "enable_$ac_useropt"
1428 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1429 ac_unrecognized_sep=', ';;
1431 eval enable_$ac_useropt=no ;;
1433 -docdir | --docdir | --docdi | --doc | --do)
1435 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1436 docdir=$ac_optarg ;;
1438 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1440 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1441 dvidir=$ac_optarg ;;
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
1452 "enable_$ac_useropt"
1454 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1455 ac_unrecognized_sep=', ';;
1457 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
1468 -gas | --gas | --ga | --g)
1469 # Obsolete; use --with-gas.
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 ;;
1479 -host | --host | --hos | --ho)
1480 ac_prev=host_alias ;;
1481 -host=* | --host=* | --hos=* | --ho=*)
1482 host_alias=$ac_optarg ;;
1484 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1486 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1488 htmldir=$ac_optarg ;;
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 ;;
1497 -infodir | --infodir | --infodi | --infod | --info | --inf)
1499 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1500 infodir=$ac_optarg ;;
1502 -libdir | --libdir | --libdi | --libd)
1504 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1505 libdir=$ac_optarg ;;
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 ;;
1514 -localedir | --localedir | --localedi | --localed | --locale)
1515 ac_prev=localedir ;;
1516 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1517 localedir=$ac_optarg ;;
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 ;;
1526 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1528 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1529 mandir=$ac_optarg ;;
1531 -nfp | --nfp | --nf)
1532 # Obsolete; use --without-fp.
1535 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1536 | --no-cr | --no-c | -n)
1539 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1540 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
1552 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1554 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1555 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
1588 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1590 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1591 pdfdir=$ac_optarg ;;
1593 -psdir | --psdir | --psdi | --psd | --ps)
1595 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1599 | -silent | --silent | --silen | --sile | --sil)
1602 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1604 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1606 sbindir=$ac_optarg ;;
1608 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1609 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1610 | --sharedst | --shareds | --shared | --share | --shar \
1612 ac_prev=sharedstatedir ;;
1613 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1614 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1615 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1617 sharedstatedir=$ac_optarg ;;
1619 -site | --site | --sit)
1621 -site=* | --site=* | --sit=*)
1624 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1626 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1627 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1641 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1644 -version | --version | --versio | --versi | --vers | -V)
1645 ac_init_version=: ;;
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
1658 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1659 ac_unrecognized_sep=', ';;
1661 eval with_$ac_useropt=\$ac_optarg ;;
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
1674 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1675 ac_unrecognized_sep=', ';;
1677 eval with_$ac_useropt=no ;;
1680 # Obsolete; use --with-x.
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 ;;
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 ;;
1697 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1698 Try \`$0 --help' for more information"
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'" ;;
1708 eval $ac_envvar=\$ac_optarg
1709 export $ac_envvar ;;
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}"
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"
1727 if test -n "$ac_unrecognized_opts"; then
1728 case $enable_option_checking in
1730 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1731 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1741 eval ac_val=\$$ac_var
1742 # Remove trailing slashes.
1745 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1746 eval $ac_var=\$ac_val;;
1748 # Be sure to have absolute directory names.
1750 [\\/$]* | ?:[\\/]* ) continue;;
1751 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1753 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1761 target=$target_alias
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
1775 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1777 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1816 if test ! -r "$srcdir/$ac_unique_file"; then
1820 ac_srcdir_defaulted=no
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"
1826 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1828 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1830 # When building in place, set srcdir=.
1831 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1838 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1848 # Report the --help message.
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.
1854 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1856 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1861 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1885 For better control, use the options below.
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]
1912 --build=BUILD configure for building on BUILD [guessed]
1913 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1917 if test -n "$ac_init_help"; then
1918 case $ac_init_help in
1919 short | recursive ) echo "Configuration of asterisk trunk:";;
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
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
1951 --with-ilbc=PATH use System iLBC files in PATH, use 'internal' iLBC
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
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>
2027 CXX C++ compiler command
2028 CXXFLAGS C++ compiler flags
2029 CXXCPP C++ preprocessor
2030 PKG_CONFIG path to pkg-config utility
2032 directories to add to pkg-config's search path
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
2038 C compiler flags for LIBEDIT, overriding pkg-config
2040 linker flags for LIBEDIT, overriding pkg-config
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
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.
2050 Report bugs to <https://issues.asterisk.org>.
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"; } ||
2064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
2080 .) # We are building in place.
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 ;;
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 ;;
2093 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2095 cd "$ac_dir" || { ac_status=$?; continue; }
2096 # Check for guested configure.
2097 if test -f "$ac_srcdir/configure.gnu"; then
2099 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2100 elif test -f "$ac_srcdir/configure"; then
2102 $SHELL "$ac_srcdir/configure" --help=recursive
2104 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2106 cd "$ac_pwd" || { ac_status=$?; break; }
2110 test -n "$ac_init_help" && exit $ac_status
2111 if $ac_init_version; then
2113 asterisk configure trunk
2114 generated by GNU Autoconf 2.68
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.
2125 ## ------------------------ ##
2126 ## Autoconf initialization. ##
2127 ## ------------------------ ##
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 ()
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"
2138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2139 *) ac_try_echo=$ac_try;;
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
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
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 :
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163 as_fn_set_status $ac_retval
2165 } # ac_fn_c_try_compile
2167 # ac_fn_c_try_cpp LINENO
2168 # ----------------------
2169 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 if { { ac_try="$ac_cpp conftest.$ac_ext"
2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
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
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
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
2194 $as_echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200 as_fn_set_status $ac_retval
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
2209 ac_fn_c_check_header_mongrel ()
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
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
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. */
2230 if ac_fn_c_try_compile "$LINENO"; then :
2231 ac_header_compiler=yes
2233 ac_header_compiler=no
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; }
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. */
2246 if ac_fn_c_try_cpp "$LINENO"; then :
2247 ac_header_preproc=yes
2249 ac_header_preproc=no
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; }
2255 # So? What about this header?
2256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
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;}
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
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
2285 eval "$3=\$ac_header_compiler"
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2291 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293 } # ac_fn_c_check_header_mongrel
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.
2301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302 if { { ac_try="$ac_link"
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
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
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;;
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
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; }; }; then :
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
2329 ac_retval=$ac_status
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
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 ()
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
2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350 /* end confdefs.h. */
2354 if ac_fn_c_try_compile "$LINENO"; then :
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
2366 } # ac_fn_c_check_header_compile
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 ()
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"
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
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
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
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 :
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402 as_fn_set_status $ac_retval
2404 } # ac_fn_cxx_try_compile
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 ()
2411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412 if { { ac_try="$ac_cpp conftest.$ac_ext"
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
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
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
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
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status $ac_retval
2441 } # ac_fn_cxx_try_cpp
2443 # ac_fn_c_try_link LINENO
2444 # -----------------------
2445 # Try to link conftest.$ac_ext, and return whether this succeeded.
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"
2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453 *) ac_try_echo=$ac_try;;
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
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
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
2474 $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
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
2487 } # ac_fn_c_try_link
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 ()
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
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
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. */
2512 # include <limits.h>
2514 # include <assert.h>
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. */
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
2541 if ac_fn_c_try_link "$LINENO"; then :
2546 rm -f core conftest.err conftest.$ac_objext \
2547 conftest$ac_exeext conftest.$ac_ext
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
2554 } # ac_fn_c_check_func
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 ()
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
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2581 if ac_fn_c_try_compile "$LINENO"; then :
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2594 if ac_fn_c_try_compile "$LINENO"; then :
2599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
2608 } # ac_fn_c_check_type
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 ()
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
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2635 if ac_fn_c_try_compile "$LINENO"; then :
2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2645 if (sizeof ac_aggr.$3)
2651 if ac_fn_c_try_compile "$LINENO"; then :
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
2665 } # ac_fn_c_check_member
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
2672 ac_fn_c_compute_int ()
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. */
2683 static int test_array [1 - 2 * !(($2) >= 0)];
2690 if ac_fn_c_try_compile "$LINENO"; then :
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2699 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 ac_hi=$ac_mid; break
2709 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2710 if test $ac_lo -le $ac_mid; then
2714 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2725 static int test_array [1 - 2 * !(($2) < 0)];
2732 if ac_fn_c_try_compile "$LINENO"; then :
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2741 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2748 if ac_fn_c_try_compile "$LINENO"; then :
2749 ac_lo=$ac_mid; break
2751 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2752 if test $ac_mid -le $ac_hi; then
2756 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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. */
2775 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2782 if ac_fn_c_try_compile "$LINENO"; then :
2785 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2797 static long int longval () { return $2; }
2798 static unsigned long int ulongval () { return $2; }
2805 FILE *f = fopen ("conftest.val", "w");
2810 long int i = longval ();
2813 fprintf (f, "%ld", i);
2817 unsigned long int i = ulongval ();
2820 fprintf (f, "%lu", i);
2822 /* Do not output a trailing newline, as this causes \r\n confusion
2823 on some platforms. */
2824 return ferror (f) || fclose (f) != 0;
2830 if ac_fn_c_try_run "$LINENO"; then :
2831 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2836 conftest.$ac_objext conftest.beam conftest.$ac_ext
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 as_fn_set_status $ac_retval
2843 } # ac_fn_c_compute_int
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
2850 ac_fn_cxx_check_header_mongrel ()
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
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2861 $as_echo "$ac_res" >&6; }
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. */
2871 if ac_fn_cxx_try_compile "$LINENO"; then :
2872 ac_header_compiler=yes
2874 ac_header_compiler=no
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; }
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. */
2887 if ac_fn_cxx_try_cpp "$LINENO"; then :
2888 ac_header_preproc=yes
2890 ac_header_preproc=no
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; }
2896 # So? What about this header?
2897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
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;}
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
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
2926 eval "$3=\$ac_header_compiler"
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_cxx_check_header_mongrel
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 ()
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"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
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
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
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
2967 $as_echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
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
2980 } # ac_fn_cxx_try_link
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 ()
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
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2999 if ac_fn_cxx_try_compile "$LINENO"; then :
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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.
3016 It was created by asterisk $as_me trunk, which was
3017 generated by GNU Autoconf 2.68. Invocation command line was
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`
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`
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`
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 $as_echo "PATH: $as_dir"
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.
3077 ac_must_keep_next=false
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)
3088 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
3106 -* ) ac_must_keep_next=true ;;
3109 as_fn_append ac_configure_args " '$ac_arg'"
3114 { ac_configure_args0=; unset ac_configure_args0;}
3115 { ac_configure_args1=; unset ac_configure_args1;}
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.
3127 $as_echo "## ---------------- ##
3128 ## Cache variables. ##
3129 ## ---------------- ##"
3131 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
3142 _ | IFS | as_nl) ;; #(
3143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3144 *) { eval $ac_var=; unset $ac_var;} ;;
3149 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3150 *${as_nl}ac_space=\ *)
3152 "s/'\''/'\''\\\\'\'''\''/g;
3153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3163 $as_echo "## ----------------- ##
3164 ## Output variables. ##
3165 ## ----------------- ##"
3167 for ac_var in $ac_subst_vars
3169 eval ac_val=\$$ac_var
3171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3173 $as_echo "$ac_var='\''$ac_val'\''"
3177 if test -n "$ac_subst_files"; then
3178 $as_echo "## ------------------- ##
3179 ## File substitutions. ##
3180 ## ------------------- ##"
3182 for ac_var in $ac_subst_files
3184 eval ac_val=\$$ac_var
3186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3188 $as_echo "$ac_var='\''$ac_val'\''"
3193 if test -s confdefs.h; then
3194 $as_echo "## ----------- ##
3201 test "$ac_signal" != 0 &&
3202 $as_echo "$as_me: caught signal $ac_signal"
3203 $as_echo "$as_me: exit $exit_status"
3205 rm -f core *.core core.conftest.* &&
3206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3209 for ac_signal in 1 2 13 15; do
3210 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3215 rm -f -r conftest* confdefs.h
3217 $as_echo "/* confdefs.h */" > confdefs.h
3219 # Predefined preprocessor variables.
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_NAME "$PACKAGE_NAME"
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_STRING "$PACKAGE_STRING"
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_URL "$PACKAGE_URL"
3246 # Let the site file select an alternate cache file if it wants to.
3247 # Prefer an explicitly selected file to automatically selected ones.
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;;
3257 elif test "x$prefix" != xNONE; then
3258 ac_site_file1=$prefix/share/config.site
3259 ac_site_file2=$prefix/etc/config.site
3261 ac_site_file1=$ac_default_prefix/share/config.site
3262 ac_site_file2=$ac_default_prefix/etc/config.site
3264 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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; }
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;}
3286 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3287 *) . "./$cache_file";;
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3292 $as_echo "$as_me: creating cache $cache_file" >&6;}
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
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
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=: ;;
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=: ;;
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=:
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
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;}
3338 # Pass precious variables to config.status.
3339 if test "$ac_new_set" = set; then
3341 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3342 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
3357 ## -------------------- ##
3358 ## Main body of script. ##
3359 ## -------------------- ##
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
3369 # cross-compile macros
3371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3372 if test -f "$ac_dir/install-sh"; then
3374 ac_install_sh="$ac_aux_dir/install-sh -c"
3376 elif test -f "$ac_dir/install.sh"; then
3378 ac_install_sh="$ac_aux_dir/install.sh -c"
3380 elif test -f "$ac_dir/shtool"; then
3382 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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
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
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
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
3421 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3424 ac_save_IFS=$IFS; IFS='-'
3430 # Remember, the first character of IFS is used to create $*,
3431 # except with old shells:
3434 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
3442 if test "x$host_alias" = x; then
3443 ac_cv_host=$ac_cv_build
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
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3451 $as_echo "$ac_cv_host" >&6; }
3454 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3457 ac_save_IFS=$IFS; IFS='-'
3463 # Remember, the first character of IFS is used to create $*,
3464 # except with old shells:
3467 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3471 # check existence of the package
3475 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3476 if test -f "$ac_dir/install-sh"; then
3478 ac_install_sh="$ac_aux_dir/install-sh -c"
3480 elif test -f "$ac_dir/install.sh"; then
3482 ac_install_sh="$ac_aux_dir/install.sh -c"
3484 elif test -f "$ac_dir/shtool"; then
3486 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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}"
3519 # specify output header file
3520 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
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.
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
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
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3570 test -n "$CC" && break
3573 if test -z "$CC"; then
3575 for ac_prog in gcc cc
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
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3614 test -n "$ac_ct_CC" && break
3617 if test "x$ac_ct_CC" = x; then
3620 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }
3636 # Provide some information about the compiler.
3637 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3640 for ac_option in --version -v -V -qversion; do
3641 { { ac_try="$ac_compiler $ac_option >&5"
3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
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
3650 if test -s conftest.err; then
3652 ... rest of stderr output deleted ...
3653 10q' conftest.err >conftest.er1
3654 cat conftest.er1 >&5
3656 rm -f conftest.er1 conftest.err
3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 test $ac_status = 0; }
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
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
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[^ ]*//'`
3681 # The possible output files:
3682 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3685 for ac_file in $ac_files
3688 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3689 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3694 if { { ac_try="$ac_link_default"
3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
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
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
3710 for ac_file in $ac_files ''
3712 test -f "$ac_file" || continue
3714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3717 # We found the default executable, but exeext='' is most
3721 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3723 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
3735 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3752 $as_echo "yes" >&6; }
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
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"
3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
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
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
3779 for ac_file in conftest.exe conftest conftest.*; do
3780 test -f "$ac_file" || continue
3782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3783 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }
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; }
3798 rm -f conftest.$ac_ext
3799 EXEEXT=$ac_cv_exeext
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3807 FILE *f = fopen ("conftest.out", "w");
3808 return ferror (f) || fclose (f) != 0;
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"
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
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
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;;
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
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; }; then
3844 if test "$cross_compiling" = maybe; then
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; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3856 $as_echo "$cross_compiling" >&6; }
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
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3876 rm -f conftest.o conftest.obj
3877 if { { ac_try="$ac_compile"
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
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
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;
3891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3892 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3897 $as_echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
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; }
3905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :