2 # From configure.ac Revision: 416416 .
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
674 AST_NO_STRICT_OVERFLOW
677 AST_DECLARATION_AFTER_STATEMENT
680 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
681 PBX_PTHREAD_RWLOCK_INITIALIZER
743 SRTP_SHUTDOWN_INCLUDE
763 SPEEX_PREPROCESS_INCLUDE
798 PBX_PRI_REVERSE_CHARGE
799 PRI_REVERSE_CHARGE_DIR
800 PRI_REVERSE_CHARGE_INCLUDE
801 PRI_REVERSE_CHARGE_LIB
802 PBX_PRI_SERVICE_MESSAGES
803 PRI_SERVICE_MESSAGES_DIR
804 PRI_SERVICE_MESSAGES_INCLUDE
805 PRI_SERVICE_MESSAGES_LIB
808 PRI_PROG_W_CAUSE_INCLUDE
810 PBX_PRI_INBANDDISCONNECT
811 PRI_INBANDDISCONNECT_DIR
812 PRI_INBANDDISCONNECT_INCLUDE
813 PRI_INBANDDISCONNECT_LIB
816 PRI_SETUP_KEYPAD_INCLUDE
818 PBX_PRI_CALL_REROUTING
819 PRI_CALL_REROUTING_DIR
820 PRI_CALL_REROUTING_INCLUDE
821 PRI_CALL_REROUTING_LIB
824 PRI_CALL_HOLD_INCLUDE
832 PRI_HANGUP_FIX_INCLUDE
844 PRI_AOC_EVENTS_INCLUDE
848 PRI_CALL_WAITING_INCLUDE
860 PRI_DISPLAY_TEXT_INCLUDE
866 PBX_PRI_DATETIME_SEND
867 PRI_DATETIME_SEND_DIR
868 PRI_DATETIME_SEND_INCLUDE
869 PRI_DATETIME_SEND_LIB
870 PBX_PRI_L2_PERSISTENCE
871 PRI_L2_PERSISTENCE_DIR
872 PRI_L2_PERSISTENCE_INCLUDE
873 PRI_L2_PERSISTENCE_LIB
874 PBX_PRI_SETUP_ACK_INBAND
875 PRI_SETUP_ACK_INBAND_DIR
876 PRI_SETUP_ACK_INBAND_INCLUDE
877 PRI_SETUP_ACK_INBAND_LIB
886 PBX_PJSIP_REPLACE_MEDIA_STREAM
887 PJSIP_REPLACE_MEDIA_STREAM_DIR
888 PJSIP_REPLACE_MEDIA_STREAM_INCLUDE
889 PJSIP_REPLACE_MEDIA_STREAM_LIB
890 PBX_PJ_TRANSACTION_GRP_LOCK
891 PJ_TRANSACTION_GRP_LOCK_DIR
892 PJ_TRANSACTION_GRP_LOCK_INCLUDE
893 PJ_TRANSACTION_GRP_LOCK_LIB
964 LIBXSLT_CLEANUP_INCLUDE
1068 OPENSSL_SRTP_INCLUDE
1082 PBX_COROSYNC_CFG_STATE_TRACK
1083 COROSYNC_CFG_STATE_TRACK_DIR
1084 COROSYNC_CFG_STATE_TRACK_INCLUDE
1085 COROSYNC_CFG_STATE_TRACK_LIB
1236 program_transform_name
1249 enable_option_checking
1332 enable_internal_poll
1336 ac_precious_vars='build_alias
1364 # Initialize some variables set by options.
1366 ac_init_version=false
1367 ac_unrecognized_opts=
1368 ac_unrecognized_sep=
1369 # The variables have the same names as the options, with
1370 # dashes changed to underlines.
1371 cache_file=/dev/null
1378 program_transform_name=s,x,x,
1386 # Installation directory options.
1387 # These are left unexpanded so users can "make install exec_prefix=/foo"
1388 # and all the variables that are supposed to be based on exec_prefix
1389 # by default will actually change.
1390 # Use braces instead of parens because sh, perl, etc. also accept them.
1391 # (The list follows the same order as the GNU Coding Standards.)
1392 bindir='${exec_prefix}/bin'
1393 sbindir='${exec_prefix}/sbin'
1394 libexecdir='${exec_prefix}/libexec'
1395 datarootdir='${prefix}/share'
1396 datadir='${datarootdir}'
1397 sysconfdir='${prefix}/etc'
1398 sharedstatedir='${prefix}/com'
1399 localstatedir='${prefix}/var'
1400 includedir='${prefix}/include'
1401 oldincludedir='/usr/include'
1402 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1403 infodir='${datarootdir}/info'
1408 libdir='${exec_prefix}/lib'
1409 localedir='${datarootdir}/locale'
1410 mandir='${datarootdir}/man'
1416 # If the previous option needs an argument, assign it.
1417 if test -n "$ac_prev"; then
1418 eval $ac_prev=\$ac_option
1424 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1429 # Accept the important Cygnus configure options, so we can diagnose typos.
1431 case $ac_dashdash$ac_option in
1435 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1437 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1438 bindir=$ac_optarg ;;
1440 -build | --build | --buil | --bui | --bu)
1441 ac_prev=build_alias ;;
1442 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1443 build_alias=$ac_optarg ;;
1445 -cache-file | --cache-file | --cache-fil | --cache-fi \
1446 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1447 ac_prev=cache_file ;;
1448 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1449 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1450 cache_file=$ac_optarg ;;
1452 --config-cache | -C)
1453 cache_file=config.cache ;;
1455 -datadir | --datadir | --datadi | --datad)
1457 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1458 datadir=$ac_optarg ;;
1460 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1461 | --dataroo | --dataro | --datar)
1462 ac_prev=datarootdir ;;
1463 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1464 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1465 datarootdir=$ac_optarg ;;
1467 -disable-* | --disable-*)
1468 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1469 # Reject names that are not valid shell variable names.
1470 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1471 as_fn_error $? "invalid feature name: $ac_useropt"
1472 ac_useropt_orig=$ac_useropt
1473 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1474 case $ac_user_opts in
1476 "enable_$ac_useropt"
1478 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1479 ac_unrecognized_sep=', ';;
1481 eval enable_$ac_useropt=no ;;
1483 -docdir | --docdir | --docdi | --doc | --do)
1485 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1486 docdir=$ac_optarg ;;
1488 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1490 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1491 dvidir=$ac_optarg ;;
1493 -enable-* | --enable-*)
1494 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1495 # Reject names that are not valid shell variable names.
1496 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1497 as_fn_error $? "invalid feature name: $ac_useropt"
1498 ac_useropt_orig=$ac_useropt
1499 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1500 case $ac_user_opts in
1502 "enable_$ac_useropt"
1504 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1505 ac_unrecognized_sep=', ';;
1507 eval enable_$ac_useropt=\$ac_optarg ;;
1509 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1510 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1511 | --exec | --exe | --ex)
1512 ac_prev=exec_prefix ;;
1513 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1514 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1515 | --exec=* | --exe=* | --ex=*)
1516 exec_prefix=$ac_optarg ;;
1518 -gas | --gas | --ga | --g)
1519 # Obsolete; use --with-gas.
1522 -help | --help | --hel | --he | -h)
1523 ac_init_help=long ;;
1524 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1525 ac_init_help=recursive ;;
1526 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1527 ac_init_help=short ;;
1529 -host | --host | --hos | --ho)
1530 ac_prev=host_alias ;;
1531 -host=* | --host=* | --hos=* | --ho=*)
1532 host_alias=$ac_optarg ;;
1534 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1536 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1538 htmldir=$ac_optarg ;;
1540 -includedir | --includedir | --includedi | --included | --include \
1541 | --includ | --inclu | --incl | --inc)
1542 ac_prev=includedir ;;
1543 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1544 | --includ=* | --inclu=* | --incl=* | --inc=*)
1545 includedir=$ac_optarg ;;
1547 -infodir | --infodir | --infodi | --infod | --info | --inf)
1549 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1550 infodir=$ac_optarg ;;
1552 -libdir | --libdir | --libdi | --libd)
1554 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1555 libdir=$ac_optarg ;;
1557 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1558 | --libexe | --libex | --libe)
1559 ac_prev=libexecdir ;;
1560 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1561 | --libexe=* | --libex=* | --libe=*)
1562 libexecdir=$ac_optarg ;;
1564 -localedir | --localedir | --localedi | --localed | --locale)
1565 ac_prev=localedir ;;
1566 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1567 localedir=$ac_optarg ;;
1569 -localstatedir | --localstatedir | --localstatedi | --localstated \
1570 | --localstate | --localstat | --localsta | --localst | --locals)
1571 ac_prev=localstatedir ;;
1572 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1573 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1574 localstatedir=$ac_optarg ;;
1576 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1578 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1579 mandir=$ac_optarg ;;
1581 -nfp | --nfp | --nf)
1582 # Obsolete; use --without-fp.
1585 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1586 | --no-cr | --no-c | -n)
1589 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1590 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1593 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1594 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1595 | --oldin | --oldi | --old | --ol | --o)
1596 ac_prev=oldincludedir ;;
1597 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1598 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1599 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1600 oldincludedir=$ac_optarg ;;
1602 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1604 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1605 prefix=$ac_optarg ;;
1607 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1608 | --program-pre | --program-pr | --program-p)
1609 ac_prev=program_prefix ;;
1610 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1611 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1612 program_prefix=$ac_optarg ;;
1614 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1615 | --program-suf | --program-su | --program-s)
1616 ac_prev=program_suffix ;;
1617 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1618 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1619 program_suffix=$ac_optarg ;;
1621 -program-transform-name | --program-transform-name \
1622 | --program-transform-nam | --program-transform-na \
1623 | --program-transform-n | --program-transform- \
1624 | --program-transform | --program-transfor \
1625 | --program-transfo | --program-transf \
1626 | --program-trans | --program-tran \
1627 | --progr-tra | --program-tr | --program-t)
1628 ac_prev=program_transform_name ;;
1629 -program-transform-name=* | --program-transform-name=* \
1630 | --program-transform-nam=* | --program-transform-na=* \
1631 | --program-transform-n=* | --program-transform-=* \
1632 | --program-transform=* | --program-transfor=* \
1633 | --program-transfo=* | --program-transf=* \
1634 | --program-trans=* | --program-tran=* \
1635 | --progr-tra=* | --program-tr=* | --program-t=*)
1636 program_transform_name=$ac_optarg ;;
1638 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1640 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1641 pdfdir=$ac_optarg ;;
1643 -psdir | --psdir | --psdi | --psd | --ps)
1645 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1649 | -silent | --silent | --silen | --sile | --sil)
1652 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1654 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1656 sbindir=$ac_optarg ;;
1658 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1659 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1660 | --sharedst | --shareds | --shared | --share | --shar \
1662 ac_prev=sharedstatedir ;;
1663 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1664 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1665 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1667 sharedstatedir=$ac_optarg ;;
1669 -site | --site | --sit)
1671 -site=* | --site=* | --sit=*)
1674 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1676 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1677 srcdir=$ac_optarg ;;
1679 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1680 | --syscon | --sysco | --sysc | --sys | --sy)
1681 ac_prev=sysconfdir ;;
1682 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1683 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1684 sysconfdir=$ac_optarg ;;
1686 -target | --target | --targe | --targ | --tar | --ta | --t)
1687 ac_prev=target_alias ;;
1688 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1689 target_alias=$ac_optarg ;;
1691 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1694 -version | --version | --versio | --versi | --vers | -V)
1695 ac_init_version=: ;;
1698 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1699 # Reject names that are not valid shell variable names.
1700 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1701 as_fn_error $? "invalid package name: $ac_useropt"
1702 ac_useropt_orig=$ac_useropt
1703 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1704 case $ac_user_opts in
1708 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1709 ac_unrecognized_sep=', ';;
1711 eval with_$ac_useropt=\$ac_optarg ;;
1713 -without-* | --without-*)
1714 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1715 # Reject names that are not valid shell variable names.
1716 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1717 as_fn_error $? "invalid package name: $ac_useropt"
1718 ac_useropt_orig=$ac_useropt
1719 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1720 case $ac_user_opts in
1724 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1725 ac_unrecognized_sep=', ';;
1727 eval with_$ac_useropt=no ;;
1730 # Obsolete; use --with-x.
1733 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1734 | --x-incl | --x-inc | --x-in | --x-i)
1735 ac_prev=x_includes ;;
1736 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1737 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1738 x_includes=$ac_optarg ;;
1740 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1741 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1742 ac_prev=x_libraries ;;
1743 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1744 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1745 x_libraries=$ac_optarg ;;
1747 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1748 Try \`$0 --help' for more information"
1752 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1753 # Reject names that are not valid shell variable names.
1754 case $ac_envvar in #(
1755 '' | [0-9]* | *[!_$as_cr_alnum]* )
1756 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1758 eval $ac_envvar=\$ac_optarg
1759 export $ac_envvar ;;
1762 # FIXME: should be removed in autoconf 3.0.
1763 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1764 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1765 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1766 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1772 if test -n "$ac_prev"; then
1773 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1774 as_fn_error $? "missing argument to $ac_option"
1777 if test -n "$ac_unrecognized_opts"; then
1778 case $enable_option_checking in
1780 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1781 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1785 # Check all directory arguments for consistency.
1786 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1787 datadir sysconfdir sharedstatedir localstatedir includedir \
1788 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1789 libdir localedir mandir
1791 eval ac_val=\$$ac_var
1792 # Remove trailing slashes.
1795 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1796 eval $ac_var=\$ac_val;;
1798 # Be sure to have absolute directory names.
1800 [\\/$]* | ?:[\\/]* ) continue;;
1801 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1803 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1806 # There might be people who depend on the old broken behavior: `$host'
1807 # used to hold the argument of --host etc.
1808 # FIXME: To remove some day.
1811 target=$target_alias
1813 # FIXME: To remove some day.
1814 if test "x$host_alias" != x; then
1815 if test "x$build_alias" = x; then
1816 cross_compiling=maybe
1817 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1818 If a cross compiler is detected then cross compile mode will be used" >&2
1819 elif test "x$build_alias" != "x$host_alias"; then
1825 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1827 test "$silent" = yes && exec 6>/dev/null
1830 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1831 ac_ls_di=`ls -di .` &&
1832 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1833 as_fn_error $? "working directory cannot be determined"
1834 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1835 as_fn_error $? "pwd does not report name of working directory"
1838 # Find the source files, if location was not specified.
1839 if test -z "$srcdir"; then
1840 ac_srcdir_defaulted=yes
1841 # Try the directory containing this script, then the parent directory.
1842 ac_confdir=`$as_dirname -- "$as_myself" ||
1843 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1844 X"$as_myself" : 'X\(//\)[^/]' \| \
1845 X"$as_myself" : 'X\(//\)$' \| \
1846 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1847 $as_echo X"$as_myself" |
1848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1866 if test ! -r "$srcdir/$ac_unique_file"; then
1870 ac_srcdir_defaulted=no
1872 if test ! -r "$srcdir/$ac_unique_file"; then
1873 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1874 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1876 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1878 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1880 # When building in place, set srcdir=.
1881 if test "$ac_abs_confdir" = "$ac_pwd"; then
1884 # Remove unnecessary trailing slashes from srcdir.
1885 # Double slashes in file names in object file debugging info
1886 # mess up M-x gdb in Emacs.
1888 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1890 for ac_var in $ac_precious_vars; do
1891 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1892 eval ac_env_${ac_var}_value=\$${ac_var}
1893 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1894 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1898 # Report the --help message.
1900 if test "$ac_init_help" = "long"; then
1901 # Omit some internal or obsolete options to make the list less imposing.
1902 # This message is too long to be a string in the A/UX 3.1 sh.
1904 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1906 Usage: $0 [OPTION]... [VAR=VALUE]...
1908 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1909 VAR=VALUE. See below for descriptions of some of the useful variables.
1911 Defaults for the options are specified in brackets.
1914 -h, --help display this help and exit
1915 --help=short display options specific to this package
1916 --help=recursive display the short help of all the included packages
1917 -V, --version display version information and exit
1918 -q, --quiet, --silent do not print \`checking ...' messages
1919 --cache-file=FILE cache test results in FILE [disabled]
1920 -C, --config-cache alias for \`--cache-file=config.cache'
1921 -n, --no-create do not create output files
1922 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1924 Installation directories:
1925 --prefix=PREFIX install architecture-independent files in PREFIX
1926 [$ac_default_prefix]
1927 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1930 By default, \`make install' will install all the files in
1931 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1932 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1933 for instance \`--prefix=\$HOME'.
1935 For better control, use the options below.
1937 Fine tuning of the installation directories:
1938 --bindir=DIR user executables [EPREFIX/bin]
1939 --sbindir=DIR system admin executables [EPREFIX/sbin]
1940 --libexecdir=DIR program executables [EPREFIX/libexec]
1941 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1942 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1943 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1944 --libdir=DIR object code libraries [EPREFIX/lib]
1945 --includedir=DIR C header files [PREFIX/include]
1946 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1947 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1948 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1949 --infodir=DIR info documentation [DATAROOTDIR/info]
1950 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1951 --mandir=DIR man documentation [DATAROOTDIR/man]
1952 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1953 --htmldir=DIR html documentation [DOCDIR]
1954 --dvidir=DIR dvi documentation [DOCDIR]
1955 --pdfdir=DIR pdf documentation [DOCDIR]
1956 --psdir=DIR ps documentation [DOCDIR]
1962 --build=BUILD configure for building on BUILD [guessed]
1963 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1967 if test -n "$ac_init_help"; then
1968 case $ac_init_help in
1969 short | recursive ) echo "Configuration of asterisk trunk:";;
1974 --disable-option-checking ignore unrecognized --enable/--with options
1975 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1976 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1977 --enable-dev-mode Turn on developer mode
1978 --enable-coverage Turn on code coverage tracking (for gcov)
1979 --disable-xmldoc Explicitly disable XML documentation
1980 --disable-largefile omit support for large files
1981 --enable-internal-poll Use Asterisk's poll implementation
1982 --disable-asteriskssl Disable Asterisk's SSL wrapper library
1983 --disable-rpath Disables rpath linker option checking
1986 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1987 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1988 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1989 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1990 --with-bfd=PATH use Debug symbol decoding files in PATH
1991 --with-execinfo=PATH use Stack Backtrace files in PATH
1992 --with-bluetooth=PATH use Bluetooth files in PATH
1993 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1994 --with-cpg=PATH use Corosync files in PATH
1995 --with-curses=PATH use curses files in PATH
1996 --with-crypt=PATH use password and data encryption files in PATH
1997 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1998 --with-dahdi=PATH use DAHDI files in PATH
1999 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
2000 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
2002 --with-ilbc=PATH use System iLBC files in PATH, use 'internal' iLBC
2004 --with-gtk2=PATH use gtk2 files in PATH
2005 --with-gmime=PATH use GMime files in PATH
2006 --with-h323=PATH use OpenH323 files in PATH
2007 --with-hoard=PATH use Hoard Memory Allocator files in PATH
2008 --with-ical=PATH use iCal files in PATH
2009 --with-iconv=PATH use Iconv files in PATH
2010 --with-iksemel=PATH use Iksemel Jabber files in PATH
2011 --with-imap=PATH use UW IMAP Toolkit files in PATH
2012 --with-inotify=PATH use inotify support files in PATH
2013 --with-iodbc=PATH use iODBC files in PATH
2014 --with-isdnnet=PATH use ISDN4Linux files in PATH
2015 --with-jack=PATH use Jack Audio Connection Kit files in PATH
2016 --with-jansson=PATH use Jansson JSON library files in PATH
2017 --with-uriparser=PATH use uriparser library files in PATH
2018 --with-kqueue=PATH use kqueue support files in PATH
2019 --with-ldap=PATH use OpenLDAP files in PATH
2020 --with-libcurl=DIR look for the curl library in DIR
2021 --with-libedit=PATH use NetBSD Editline library files in PATH, use
2022 'internal' Editline otherwise
2023 --with-libxml2=PATH use LibXML2 files in PATH
2024 --with-libxslt=PATH use LibXSLT files in PATH
2025 --with-ltdl=PATH use libtool files in PATH
2026 --with-lua=PATH use Lua files in PATH
2027 --with-misdn=PATH use mISDN user files in PATH
2028 --with-mysqlclient=PATH use MySQL client files in PATH
2029 --with-nbs=PATH use Network Broadcast Sound files in PATH
2030 --with-ncurses=PATH use ncurses files in PATH
2031 --with-neon=PATH use neon files in PATH
2032 --with-neon29=PATH use neon29 files in PATH
2033 --with-netsnmp=PATH use Net-SNMP files in PATH
2034 --with-newt=PATH use newt files in PATH
2035 --with-ogg=PATH use OGG files in PATH
2036 --with-openr2=PATH use MFR2 files in PATH
2037 --with-osptk=PATH use OSP Toolkit files in PATH
2038 --with-oss=PATH use Open Sound System files in PATH
2039 --with-postgres=PATH use PostgreSQL files in PATH
2040 --with-pjproject=PATH use PJPROJECT files in PATH
2041 --with-popt=PATH use popt files in PATH
2042 --with-portaudio=PATH use PortAudio files in PATH
2043 --with-pri=PATH use ISDN PRI files in PATH
2044 --with-pwlib=PATH use PWlib files in PATH
2045 --with-radius=PATH use Radius Client files in PATH
2046 --with-resample=PATH use LIBRESAMPLE files in PATH
2047 --with-sdl=PATH use Sdl files in PATH
2048 --with-SDL_image=PATH use Sdl Image files in PATH
2049 --with-sounds-cache=PATH
2050 use cached sound tarfiles in PATH
2051 --with-spandsp=PATH use SPANDSP files in PATH
2052 --with-ss7=PATH use ISDN SS7 files in PATH
2053 --with-speex=PATH use Speex files in PATH
2054 --with-speex=PATH use Speex preprocess routines files in PATH
2055 --with-speexdsp=PATH use SpeexDSP files in PATH
2056 --with-sqlite=PATH use SQLite files in PATH
2057 --with-sqlite3=PATH use SQLite files in PATH
2058 --with-srtp=PATH use Secure RTP files in PATH
2059 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
2060 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
2061 --with-tds=PATH use FreeTDS files in PATH
2062 --with-termcap=PATH use Termcap files in PATH
2063 --with-timerfd=PATH use timerfd files in PATH
2064 --with-tinfo=PATH use Term Info files in PATH
2065 --with-tonezone=PATH use tonezone files in PATH
2066 --with-unixodbc=PATH use unixODBC files in PATH
2067 --with-vorbis=PATH use Vorbis files in PATH
2068 --with-vpb=PATH use Voicetronix API files in PATH
2069 --with-x11=PATH use X11 files in PATH
2070 --with-z=PATH use zlib compression files in PATH
2072 Some influential environment variables:
2073 CC C compiler command
2074 CFLAGS C compiler flags
2075 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2076 nonstandard directory <lib dir>
2077 LIBS libraries to pass to the linker, e.g. -l<library>
2078 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2079 you have headers in a nonstandard directory <include dir>
2081 CXX C++ compiler command
2082 CXXFLAGS C++ compiler flags
2083 CXXCPP C++ preprocessor
2084 PKG_CONFIG path to pkg-config utility
2086 directories to add to pkg-config's search path
2088 path overriding pkg-config's built-in search path
2089 ILBC_CFLAGS C compiler flags for ILBC, overriding pkg-config
2090 ILBC_LIBS linker flags for ILBC, overriding pkg-config
2092 C compiler flags for LIBEDIT, overriding pkg-config
2094 linker flags for LIBEDIT, overriding pkg-config
2096 C compiler flags for PJPROJECT, overriding pkg-config
2098 linker flags for PJPROJECT, overriding pkg-config
2100 C compiler flags for GMIME, overriding pkg-config
2101 GMIME_LIBS linker flags for GMIME, overriding pkg-config
2102 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
2103 GTK2_LIBS linker flags for GTK2, overriding pkg-config
2105 Use these variables to override the choices made by `configure' or to help
2106 it to find libraries and programs with nonstandard names/locations.
2108 Report bugs to <https://issues.asterisk.org>.
2113 if test "$ac_init_help" = "recursive"; then
2114 # If there are subdirs, report their specific --help.
2115 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2116 test -d "$ac_dir" ||
2117 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2122 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2124 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2125 # A ".." for each directory in $ac_dir_suffix.
2126 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2127 case $ac_top_builddir_sub in
2128 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2129 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2132 ac_abs_top_builddir=$ac_pwd
2133 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2134 # for backward compatibility:
2135 ac_top_builddir=$ac_top_build_prefix
2138 .) # We are building in place.
2140 ac_top_srcdir=$ac_top_builddir_sub
2141 ac_abs_top_srcdir=$ac_pwd ;;
2142 [\\/]* | ?:[\\/]* ) # Absolute name.
2143 ac_srcdir=$srcdir$ac_dir_suffix;
2144 ac_top_srcdir=$srcdir
2145 ac_abs_top_srcdir=$srcdir ;;
2147 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2148 ac_top_srcdir=$ac_top_build_prefix$srcdir
2149 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2151 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2153 cd "$ac_dir" || { ac_status=$?; continue; }
2154 # Check for guested configure.
2155 if test -f "$ac_srcdir/configure.gnu"; then
2157 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2158 elif test -f "$ac_srcdir/configure"; then
2160 $SHELL "$ac_srcdir/configure" --help=recursive
2162 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2164 cd "$ac_pwd" || { ac_status=$?; break; }
2168 test -n "$ac_init_help" && exit $ac_status
2169 if $ac_init_version; then
2171 asterisk configure trunk
2172 generated by GNU Autoconf 2.68
2174 Copyright (C) 2010 Free Software Foundation, Inc.
2175 This configure script is free software; the Free Software Foundation
2176 gives unlimited permission to copy, distribute and modify it.
2183 ## ------------------------ ##
2184 ## Autoconf initialization. ##
2185 ## ------------------------ ##
2187 # ac_fn_c_try_compile LINENO
2188 # --------------------------
2189 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2190 ac_fn_c_try_compile ()
2192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2193 rm -f conftest.$ac_objext
2194 if { { ac_try="$ac_compile"
2196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2197 *) ac_try_echo=$ac_try;;
2199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2200 $as_echo "$ac_try_echo"; } >&5
2201 (eval "$ac_compile") 2>conftest.err
2203 if test -s conftest.err; then
2204 grep -v '^ *+' conftest.err >conftest.er1
2205 cat conftest.er1 >&5
2206 mv -f conftest.er1 conftest.err
2208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2209 test $ac_status = 0; } && {
2210 test -z "$ac_c_werror_flag" ||
2211 test ! -s conftest.err
2212 } && test -s conftest.$ac_objext; then :
2215 $as_echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.$ac_ext >&5
2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2221 as_fn_set_status $ac_retval
2223 } # ac_fn_c_try_compile
2225 # ac_fn_c_try_cpp LINENO
2226 # ----------------------
2227 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2231 if { { ac_try="$ac_cpp conftest.$ac_ext"
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237 $as_echo "$ac_try_echo"; } >&5
2238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2240 if test -s conftest.err; then
2241 grep -v '^ *+' conftest.err >conftest.er1
2242 cat conftest.er1 >&5
2243 mv -f conftest.er1 conftest.err
2245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2246 test $ac_status = 0; } > conftest.i && {
2247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2248 test ! -s conftest.err
2252 $as_echo "$as_me: failed program was:" >&5
2253 sed 's/^/| /' conftest.$ac_ext >&5
2257 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258 as_fn_set_status $ac_retval
2262 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2263 # -------------------------------------------------------
2264 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2265 # the include files in INCLUDES and setting the cache variable VAR
2267 ac_fn_c_check_header_mongrel ()
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 if eval \${$3+:} false; then :
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272 $as_echo_n "checking for $2... " >&6; }
2273 if eval \${$3+:} false; then :
2274 $as_echo_n "(cached) " >&6
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2280 # Is the header compilable?
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2282 $as_echo_n "checking $2 usability... " >&6; }
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2288 if ac_fn_c_try_compile "$LINENO"; then :
2289 ac_header_compiler=yes
2291 ac_header_compiler=no
2293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2295 $as_echo "$ac_header_compiler" >&6; }
2297 # Is the header present?
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2299 $as_echo_n "checking $2 presence... " >&6; }
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 if ac_fn_c_try_cpp "$LINENO"; then :
2305 ac_header_preproc=yes
2307 ac_header_preproc=no
2309 rm -f conftest.err conftest.i conftest.$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2311 $as_echo "$ac_header_preproc" >&6; }
2313 # So? What about this header?
2314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2317 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2319 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2323 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2325 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2327 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2329 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2331 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2332 ( $as_echo "## ------------------------------------------ ##
2333 ## Report this to https://issues.asterisk.org ##
2334 ## ------------------------------------------ ##"
2335 ) | sed "s/^/$as_me: WARNING: /" >&2
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2339 $as_echo_n "checking for $2... " >&6; }
2340 if eval \${$3+:} false; then :
2341 $as_echo_n "(cached) " >&6
2343 eval "$3=\$ac_header_compiler"
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2347 $as_echo "$ac_res" >&6; }
2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2351 } # ac_fn_c_check_header_mongrel
2353 # ac_fn_c_try_run LINENO
2354 # ----------------------
2355 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2356 # that executables *can* be run.
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 if { { ac_try="$ac_link"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2366 $as_echo "$ac_try_echo"; } >&5
2367 (eval "$ac_link") 2>&5
2369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2370 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2371 { { case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_try") 2>&5
2379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2380 test $ac_status = 0; }; }; then :
2383 $as_echo "$as_me: program exited with status $ac_status" >&5
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 ac_retval=$ac_status
2389 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2391 as_fn_set_status $ac_retval
2395 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2396 # -------------------------------------------------------
2397 # Tests whether HEADER exists and can be compiled using the include files in
2398 # INCLUDES, setting the cache variable VAR accordingly.
2399 ac_fn_c_check_header_compile ()
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2403 $as_echo_n "checking for $2... " >&6; }
2404 if eval \${$3+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2412 if ac_fn_c_try_compile "$LINENO"; then :
2417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2421 $as_echo "$ac_res" >&6; }
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2424 } # ac_fn_c_check_header_compile
2426 # ac_fn_cxx_try_compile LINENO
2427 # ----------------------------
2428 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2429 ac_fn_cxx_try_compile ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 rm -f conftest.$ac_objext
2433 if { { ac_try="$ac_compile"
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439 $as_echo "$ac_try_echo"; } >&5
2440 (eval "$ac_compile") 2>conftest.err
2442 if test -s conftest.err; then
2443 grep -v '^ *+' conftest.err >conftest.er1
2444 cat conftest.er1 >&5
2445 mv -f conftest.er1 conftest.err
2447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448 test $ac_status = 0; } && {
2449 test -z "$ac_cxx_werror_flag" ||
2450 test ! -s conftest.err
2451 } && test -s conftest.$ac_objext; then :
2454 $as_echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status $ac_retval
2462 } # ac_fn_cxx_try_compile
2464 # ac_fn_cxx_try_cpp LINENO
2465 # ------------------------
2466 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2467 ac_fn_cxx_try_cpp ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 if { { ac_try="$ac_cpp conftest.$ac_ext"
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } > conftest.i && {
2486 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2487 test ! -s conftest.err
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_cxx_try_cpp
2501 # ac_fn_c_try_link LINENO
2502 # -----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded.
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext conftest$ac_exeext
2508 if { { ac_try="$ac_link"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>conftest.err
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest$ac_exeext && {
2527 test "$cross_compiling" = yes ||
2528 $as_test_x conftest$ac_exeext
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2539 # interfere with the next link command; also delete a directory that is
2540 # left behind by Apple's compiler. We do this before executing the actions.
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_link
2547 # ac_fn_c_check_func LINENO FUNC VAR
2548 # ----------------------------------
2549 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2550 ac_fn_c_check_func ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if eval \${$3+:} false; then :
2556 $as_echo_n "(cached) " >&6
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2560 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2562 #define $2 innocuous_$2
2564 /* System header to define __stub macros and hopefully few prototypes,
2565 which can conflict with char $2 (); below.
2566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2567 <limits.h> exists even on freestanding compilers. */
2570 # include <limits.h>
2572 # include <assert.h>
2577 /* Override any GCC internal prototype to avoid an error.
2578 Use char because int might match the return type of a GCC
2579 builtin and then its argument prototype would still apply. */
2584 /* The GNU C library defines this for functions which it implements
2585 to always fail with ENOSYS. Some functions are actually named
2586 something starting with __ and the normal name is an alias. */
2587 #if defined __stub_$2 || defined __stub___$2
2599 if ac_fn_c_try_link "$LINENO"; then :
2604 rm -f core conftest.err conftest.$ac_objext \
2605 conftest$ac_exeext conftest.$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2609 $as_echo "$ac_res" >&6; }
2610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 } # ac_fn_c_check_func
2614 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2615 # -------------------------------------------
2616 # Tests whether TYPE exists after having included INCLUDES, setting cache
2617 # variable VAR accordingly.
2618 ac_fn_c_check_type ()
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \${$3+:} false; then :
2624 $as_echo_n "(cached) " >&6
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2639 if ac_fn_c_try_compile "$LINENO"; then :
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2652 if ac_fn_c_try_compile "$LINENO"; then :
2657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663 $as_echo "$ac_res" >&6; }
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 } # ac_fn_c_check_type
2668 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2669 # ----------------------------------------------------
2670 # Tries to find if the field MEMBER exists in type AGGR, after including
2671 # INCLUDES, setting cache variable VAR accordingly.
2672 ac_fn_c_check_member ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2676 $as_echo_n "checking for $2.$3... " >&6; }
2677 if eval \${$4+:} false; then :
2678 $as_echo_n "(cached) " >&6
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2693 if ac_fn_c_try_compile "$LINENO"; then :
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2703 if (sizeof ac_aggr.$3)
2709 if ac_fn_c_try_compile "$LINENO"; then :
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2720 $as_echo "$ac_res" >&6; }
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2723 } # ac_fn_c_check_member
2725 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2726 # --------------------------------------------
2727 # Tries to find the compile-time value of EXPR in a program that includes
2728 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2730 ac_fn_c_compute_int ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 if test "$cross_compiling" = yes; then
2734 # Depending upon the size, compute the lo and hi bounds.
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2741 static int test_array [1 - 2 * !(($2) >= 0)];
2748 if ac_fn_c_try_compile "$LINENO"; then :
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2757 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 ac_hi=$ac_mid; break
2767 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2768 if test $ac_lo -le $ac_mid; then
2772 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2783 static int test_array [1 - 2 * !(($2) < 0)];
2790 if ac_fn_c_try_compile "$LINENO"; then :
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2799 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807 ac_lo=$ac_mid; break
2809 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2810 if test $ac_mid -le $ac_hi; then
2814 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 # Binary search between lo and hi bounds.
2825 while test "x$ac_lo" != "x$ac_hi"; do
2826 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2833 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2840 if ac_fn_c_try_compile "$LINENO"; then :
2843 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 static long int longval () { return $2; }
2856 static unsigned long int ulongval () { return $2; }
2863 FILE *f = fopen ("conftest.val", "w");
2868 long int i = longval ();
2871 fprintf (f, "%ld", i);
2875 unsigned long int i = ulongval ();
2878 fprintf (f, "%lu", i);
2880 /* Do not output a trailing newline, as this causes \r\n confusion
2881 on some platforms. */
2882 return ferror (f) || fclose (f) != 0;
2888 if ac_fn_c_try_run "$LINENO"; then :
2889 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2894 conftest.$ac_objext conftest.beam conftest.$ac_ext
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 as_fn_set_status $ac_retval
2901 } # ac_fn_c_compute_int
2903 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2904 # ---------------------------------------------------------
2905 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2906 # the include files in INCLUDES and setting the cache variable VAR
2908 ac_fn_cxx_check_header_mongrel ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 if eval \${$3+:} false; then :
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 $as_echo_n "checking for $2... " >&6; }
2914 if eval \${$3+:} false; then :
2915 $as_echo_n "(cached) " >&6
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2919 $as_echo "$ac_res" >&6; }
2921 # Is the header compilable?
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2923 $as_echo_n "checking $2 usability... " >&6; }
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2929 if ac_fn_cxx_try_compile "$LINENO"; then :
2930 ac_header_compiler=yes
2932 ac_header_compiler=no
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2936 $as_echo "$ac_header_compiler" >&6; }
2938 # Is the header present?
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2940 $as_echo_n "checking $2 presence... " >&6; }
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2945 if ac_fn_cxx_try_cpp "$LINENO"; then :
2946 ac_header_preproc=yes
2948 ac_header_preproc=no
2950 rm -f conftest.err conftest.i conftest.$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2952 $as_echo "$ac_header_preproc" >&6; }
2954 # So? What about this header?
2955 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2958 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2964 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2966 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2968 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2970 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2973 ( $as_echo "## ------------------------------------------ ##
2974 ## Report this to https://issues.asterisk.org ##
2975 ## ------------------------------------------ ##"
2976 ) | sed "s/^/$as_me: WARNING: /" >&2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2980 $as_echo_n "checking for $2... " >&6; }
2981 if eval \${$3+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 eval "$3=\$ac_header_compiler"
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 $as_echo "$ac_res" >&6; }
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2992 } # ac_fn_cxx_check_header_mongrel
2994 # ac_fn_cxx_try_link LINENO
2995 # -------------------------
2996 # Try to link conftest.$ac_ext, and return whether this succeeded.
2997 ac_fn_cxx_try_link ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 rm -f conftest.$ac_objext conftest$ac_exeext
3001 if { { ac_try="$ac_link"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_link") 2>conftest.err
3010 if test -s conftest.err; then
3011 grep -v '^ *+' conftest.err >conftest.er1
3012 cat conftest.er1 >&5
3013 mv -f conftest.er1 conftest.err
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; } && {
3017 test -z "$ac_cxx_werror_flag" ||
3018 test ! -s conftest.err
3019 } && test -s conftest$ac_exeext && {
3020 test "$cross_compiling" = yes ||
3021 $as_test_x conftest$ac_exeext
3025 $as_echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3030 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3031 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3032 # interfere with the next link command; also delete a directory that is
3033 # left behind by Apple's compiler. We do this before executing the actions.
3034 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 as_fn_set_status $ac_retval
3038 } # ac_fn_cxx_try_link
3040 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
3041 # ---------------------------------------------------------
3042 # Tests whether HEADER exists and can be compiled using the include files in
3043 # INCLUDES, setting the cache variable VAR accordingly.
3044 ac_fn_cxx_check_header_compile ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 $as_echo_n "checking for $2... " >&6; }
3049 if eval \${$3+:} false; then :
3050 $as_echo_n "(cached) " >&6
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3057 if ac_fn_cxx_try_compile "$LINENO"; then :
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3066 $as_echo "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_cxx_check_header_compile
3070 cat >config.log <<_ACEOF
3071 This file contains any messages produced by compilers while
3072 running configure, to aid debugging if configure makes a mistake.
3074 It was created by asterisk $as_me trunk, which was
3075 generated by GNU Autoconf 2.68. Invocation command line was
3087 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3088 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3089 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3090 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3091 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3093 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3094 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3096 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3097 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3098 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3099 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3100 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3101 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3102 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 $as_echo "PATH: $as_dir"
3127 # Keep a trace of the command line.
3128 # Strip out --no-create and --no-recursion so they do not pile up.
3129 # Strip out --silent because we don't want to record it for future runs.
3130 # Also quote any args containing shell meta-characters.
3131 # Make two passes to allow for proper duplicate-argument suppression.
3135 ac_must_keep_next=false
3141 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3143 | -silent | --silent | --silen | --sile | --sil)
3146 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3149 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3151 as_fn_append ac_configure_args1 " '$ac_arg'"
3152 if test $ac_must_keep_next = true; then
3153 ac_must_keep_next=false # Got value, back to normal.
3156 *=* | --config-cache | -C | -disable-* | --disable-* \
3157 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3158 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3159 | -with-* | --with-* | -without-* | --without-* | --x)
3160 case "$ac_configure_args0 " in
3161 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3164 -* ) ac_must_keep_next=true ;;
3167 as_fn_append ac_configure_args " '$ac_arg'"
3172 { ac_configure_args0=; unset ac_configure_args0;}
3173 { ac_configure_args1=; unset ac_configure_args1;}
3175 # When interrupted or exit'd, cleanup temporary files, and complete
3176 # config.log. We remove comments because anyway the quotes in there
3177 # would cause problems or look ugly.
3178 # WARNING: Use '\'' to represent an apostrophe within the trap.
3179 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3180 trap 'exit_status=$?
3181 # Save into config.log some information that might help in debugging.
3185 $as_echo "## ---------------- ##
3186 ## Cache variables. ##
3187 ## ---------------- ##"
3189 # The following way of writing the cache mishandles newlines in values,
3191 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3192 eval ac_val=\$$ac_var
3196 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3197 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3200 _ | IFS | as_nl) ;; #(
3201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3202 *) { eval $ac_var=; unset $ac_var;} ;;
3207 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3208 *${as_nl}ac_space=\ *)
3210 "s/'\''/'\''\\\\'\'''\''/g;
3211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3221 $as_echo "## ----------------- ##
3222 ## Output variables. ##
3223 ## ----------------- ##"
3225 for ac_var in $ac_subst_vars
3227 eval ac_val=\$$ac_var
3229 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3231 $as_echo "$ac_var='\''$ac_val'\''"
3235 if test -n "$ac_subst_files"; then
3236 $as_echo "## ------------------- ##
3237 ## File substitutions. ##
3238 ## ------------------- ##"
3240 for ac_var in $ac_subst_files
3242 eval ac_val=\$$ac_var
3244 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3246 $as_echo "$ac_var='\''$ac_val'\''"
3251 if test -s confdefs.h; then
3252 $as_echo "## ----------- ##
3259 test "$ac_signal" != 0 &&
3260 $as_echo "$as_me: caught signal $ac_signal"
3261 $as_echo "$as_me: exit $exit_status"
3263 rm -f core *.core core.conftest.* &&
3264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3267 for ac_signal in 1 2 13 15; do
3268 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3273 rm -f -r conftest* confdefs.h
3275 $as_echo "/* confdefs.h */" > confdefs.h
3277 # Predefined preprocessor variables.
3279 cat >>confdefs.h <<_ACEOF
3280 #define PACKAGE_NAME "$PACKAGE_NAME"
3283 cat >>confdefs.h <<_ACEOF
3284 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3287 cat >>confdefs.h <<_ACEOF
3288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3291 cat >>confdefs.h <<_ACEOF
3292 #define PACKAGE_STRING "$PACKAGE_STRING"
3295 cat >>confdefs.h <<_ACEOF
3296 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3299 cat >>confdefs.h <<_ACEOF
3300 #define PACKAGE_URL "$PACKAGE_URL"
3304 # Let the site file select an alternate cache file if it wants to.
3305 # Prefer an explicitly selected file to automatically selected ones.
3308 if test -n "$CONFIG_SITE"; then
3309 # We do not want a PATH search for config.site.
3310 case $CONFIG_SITE in #((
3311 -*) ac_site_file1=./$CONFIG_SITE;;
3312 */*) ac_site_file1=$CONFIG_SITE;;
3313 *) ac_site_file1=./$CONFIG_SITE;;
3315 elif test "x$prefix" != xNONE; then
3316 ac_site_file1=$prefix/share/config.site
3317 ac_site_file2=$prefix/etc/config.site
3319 ac_site_file1=$ac_default_prefix/share/config.site
3320 ac_site_file2=$ac_default_prefix/etc/config.site
3322 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3324 test "x$ac_site_file" = xNONE && continue
3325 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3327 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3328 sed 's/^/| /' "$ac_site_file" >&5
3330 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332 as_fn_error $? "failed to load site script $ac_site_file
3333 See \`config.log' for more details" "$LINENO" 5; }
3337 if test -r "$cache_file"; then
3338 # Some versions of bash will fail to source /dev/null (special files
3339 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3340 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3342 $as_echo "$as_me: loading cache $cache_file" >&6;}
3344 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3345 *) . "./$cache_file";;
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3350 $as_echo "$as_me: creating cache $cache_file" >&6;}
3354 as_fn_append ac_header_list " stdlib.h"
3355 as_fn_append ac_header_list " unistd.h"
3356 as_fn_append ac_header_list " sys/param.h"
3357 as_fn_append ac_header_list " utime.h"
3358 # Check that the precious variables saved in the cache have kept the same
3360 ac_cache_corrupted=false
3361 for ac_var in $ac_precious_vars; do
3362 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3363 eval ac_new_set=\$ac_env_${ac_var}_set
3364 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3365 eval ac_new_val=\$ac_env_${ac_var}_value
3366 case $ac_old_set,$ac_new_set in
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3369 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3370 ac_cache_corrupted=: ;;
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3373 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3374 ac_cache_corrupted=: ;;
3377 if test "x$ac_old_val" != "x$ac_new_val"; then
3378 # differences in whitespace do not lead to failure.
3379 ac_old_val_w=`echo x $ac_old_val`
3380 ac_new_val_w=`echo x $ac_new_val`
3381 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3383 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3384 ac_cache_corrupted=:
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3387 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3388 eval $ac_var=\$ac_old_val
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3391 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3393 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3396 # Pass precious variables to config.status.
3397 if test "$ac_new_set" = set; then
3399 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3400 *) ac_arg=$ac_var=$ac_new_val ;;
3402 case " $ac_configure_args " in
3403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3404 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3408 if $ac_cache_corrupted; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3412 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3413 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3415 ## -------------------- ##
3416 ## Main body of script. ##
3417 ## -------------------- ##
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 # cross-compile macros
3429 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3430 if test -f "$ac_dir/install-sh"; then
3432 ac_install_sh="$ac_aux_dir/install-sh -c"
3434 elif test -f "$ac_dir/install.sh"; then
3436 ac_install_sh="$ac_aux_dir/install.sh -c"
3438 elif test -f "$ac_dir/shtool"; then
3440 ac_install_sh="$ac_aux_dir/shtool install -c"
3444 if test -z "$ac_aux_dir"; then
3445 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3448 # These three variables are undocumented and unsupported,
3449 # and are intended to be withdrawn in a future Autoconf release.
3450 # They can cause serious problems if a builder's source tree is in a directory
3451 # whose full name contains unusual characters.
3452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3457 # Make sure we can run config.sub.
3458 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3459 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3462 $as_echo_n "checking build system type... " >&6; }
3463 if ${ac_cv_build+:} false; then :
3464 $as_echo_n "(cached) " >&6
3466 ac_build_alias=$build_alias
3467 test "x$ac_build_alias" = x &&
3468 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3469 test "x$ac_build_alias" = x &&
3470 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3471 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3472 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3476 $as_echo "$ac_cv_build" >&6; }
3477 case $ac_cv_build in
3479 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3482 ac_save_IFS=$IFS; IFS='-'
3488 # Remember, the first character of IFS is used to create $*,
3489 # except with old shells:
3492 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3496 $as_echo_n "checking host system type... " >&6; }
3497 if ${ac_cv_host+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 if test "x$host_alias" = x; then
3501 ac_cv_host=$ac_cv_build
3503 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3504 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3509 $as_echo "$ac_cv_host" >&6; }
3512 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3515 ac_save_IFS=$IFS; IFS='-'
3521 # Remember, the first character of IFS is used to create $*,
3522 # except with old shells:
3525 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3529 # check existence of the package
3533 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3534 if test -f "$ac_dir/install-sh"; then
3536 ac_install_sh="$ac_aux_dir/install-sh -c"
3538 elif test -f "$ac_dir/install.sh"; then
3540 ac_install_sh="$ac_aux_dir/install.sh -c"
3542 elif test -f "$ac_dir/shtool"; then
3544 ac_install_sh="$ac_aux_dir/shtool install -c"
3548 if test -z "$ac_aux_dir"; then
3549 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`pwd\` \"$srcdir\"/\`pwd\`" "$LINENO" 5
3552 # These three variables are undocumented and unsupported,
3553 # and are intended to be withdrawn in a future Autoconf release.
3554 # They can cause serious problems if a builder's source tree is in a directory
3555 # whose full name contains unusual characters.
3556 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3557 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3558 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3565 # preserve any CFLAGS or LDFLAGS that may be set
3566 # NOTE: This must be done before calling any macros that end up
3567 # calling AC_PROG_CC or the like, since they will set a default
3568 # set of CFLAGS ("-g -O2") if the user did not supply any, and
3569 # we don't want those default flags to be carried over into the
3570 # rest of the build system since we have other means of controlling
3571 # debugging symbol generation and optimization.
3572 CONFIG_CFLAGS="${CFLAGS}"
3573 CONFIG_LDFLAGS="${LDFLAGS}"
3577 # specify output header file
3578 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
3581 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
3582 # other macro that uses the C compiler, or the default order will be used.
3584 ac_cpp='$CPP $CPPFLAGS'
3585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 if test -n "$ac_tool_prefix"; then
3589 for ac_prog in gcc cc
3591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_CC+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -n "$CC"; then
3599 ac_cv_prog_CC="$CC" # Let the user override the test.
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3608 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 if test -n "$CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 $as_echo "$CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3628 test -n "$CC" && break
3631 if test -z "$CC"; then
3633 for ac_prog in gcc cc
3635 # Extract the first word of "$ac_prog", so it can be a program name with args.
3636 set dummy $ac_prog; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$ac_ct_CC"; then
3643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_ac_ct_CC="$ac_prog"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3663 if test -n "$ac_ct_CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3665 $as_echo "$ac_ct_CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3672 test -n "$ac_ct_CC" && break
3675 if test "x$ac_ct_CC" = x; then
3678 case $cross_compiling:$ac_tool_warned in
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3682 ac_tool_warned=yes ;;
3689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $? "no acceptable C compiler found in \$PATH
3692 See \`config.log' for more details" "$LINENO" 5; }
3694 # Provide some information about the compiler.
3695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3698 for ac_option in --version -v -V -qversion; do
3699 { { ac_try="$ac_compiler $ac_option >&5"
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3705 $as_echo "$ac_try_echo"; } >&5
3706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3708 if test -s conftest.err; then
3710 ... rest of stderr output deleted ...
3711 10q' conftest.err >conftest.er1
3712 cat conftest.er1 >&5
3714 rm -f conftest.er1 conftest.err
3715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3730 ac_clean_files_save=$ac_clean_files
3731 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3732 # Try to create an executable without -o first, disregard a.out.
3733 # It will help us diagnose broken compilers, and finding out an intuition
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3736 $as_echo_n "checking whether the C compiler works... " >&6; }
3737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3739 # The possible output files:
3740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3743 for ac_file in $ac_files
3746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3747 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3752 if { { ac_try="$ac_link_default"
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3758 $as_echo "$ac_try_echo"; } >&5
3759 (eval "$ac_link_default") 2>&5
3761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3762 test $ac_status = 0; }; then :
3763 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3764 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3765 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3766 # so that the user can short-circuit this test for compilers unknown to
3768 for ac_file in $ac_files ''
3770 test -f "$ac_file" || continue
3772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3775 # We found the default executable, but exeext='' is most
3779 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3781 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3783 # We set ac_cv_exeext here because the later test for it is not
3784 # safe: cross compilers may not add the suffix if given an `-o'
3785 # argument, so we may need to know it at that point already.
3786 # Even if this section looks crufty: it has the advantage of
3793 test "$ac_cv_exeext" = no && ac_cv_exeext=
3798 if test -z "$ac_file"; then :
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error 77 "C compiler cannot create executables
3807 See \`config.log' for more details" "$LINENO" 5; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3810 $as_echo "yes" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3813 $as_echo_n "checking for C compiler default output file name... " >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3815 $as_echo "$ac_file" >&6; }
3816 ac_exeext=$ac_cv_exeext
3818 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3819 ac_clean_files=$ac_clean_files_save
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3821 $as_echo_n "checking for suffix of executables... " >&6; }
3822 if { { ac_try="$ac_link"
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828 $as_echo "$ac_try_echo"; } >&5
3829 (eval "$ac_link") 2>&5
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }; then :
3833 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3834 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3835 # work properly (i.e., refer to `conftest.exe'), while it won't with
3837 for ac_file in conftest.exe conftest conftest.*; do
3838 test -f "$ac_file" || continue
3840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3841 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 compute suffix of executables: cannot compile and link
3850 See \`config.log' for more details" "$LINENO" 5; }
3852 rm -f conftest conftest$ac_cv_exeext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3854 $as_echo "$ac_cv_exeext" >&6; }
3856 rm -f conftest.$ac_ext
3857 EXEEXT=$ac_cv_exeext
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3865 FILE *f = fopen ("conftest.out", "w");
3866 return ferror (f) || fclose (f) != 0;
3872 ac_clean_files="$ac_clean_files conftest.out"
3873 # Check that the compiler produces executables we can run. If not, either
3874 # the compiler is broken, or we cross compile.
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3876 $as_echo_n "checking whether we are cross compiling... " >&6; }
3877 if test "$cross_compiling" != yes; then
3878 { { ac_try="$ac_link"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884 $as_echo "$ac_try_echo"; } >&5
3885 (eval "$ac_link") 2>&5
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 if { ac_try='./conftest$ac_cv_exeext'
3890 { { case "(($ac_try" in
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_try") 2>&5
3898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899 test $ac_status = 0; }; }; then
3902 if test "$cross_compiling" = maybe; then
3905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907 as_fn_error $? "cannot run C compiled programs.
3908 If you meant to cross compile, use \`--host'.
3909 See \`config.log' for more details" "$LINENO" 5; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3914 $as_echo "$cross_compiling" >&6; }
3916 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3917 ac_clean_files=$ac_clean_files_save
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3919 $as_echo_n "checking for suffix of object files... " >&6; }
3920 if ${ac_cv_objext+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3934 rm -f conftest.o conftest.obj
3935 if { { ac_try="$ac_compile"