2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for asterisk trunk.
6 # Report bugs to <https://issues.asterisk.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 # Use a proper internal environment variable to ensure we don't fall
141 # into an infinite loop, continuously re-executing ourselves.
142 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
143 _as_can_reexec=no; export _as_can_reexec;
144 # We cannot yet assume a decent shell, so we have to provide a
145 # neutralization value for shells without unset; and this also
146 # works around shells that cannot unset nonexistent variables.
147 # Preserve -v and -x to the replacement shell.
150 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
152 *v*x* | *x*v* ) as_opts=-vx ;;
157 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
158 # Admittedly, this is quite paranoid, since all the known shells bail
159 # out after a failed `exec'.
160 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
163 # We don't want this to propagate to other subprocesses.
164 { _as_can_reexec=; unset _as_can_reexec;}
165 if test "x$CONFIG_SHELL" = x; then
166 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
169 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
170 # is contrary to our usage. Disable this feature.
171 alias -g '\${1+\"\$@\"}'='\"\$@\"'
174 case \`(set -o) 2>/dev/null\` in #(
182 as_required="as_fn_return () { (exit \$1); }
183 as_fn_success () { as_fn_return 0; }
184 as_fn_failure () { as_fn_return 1; }
185 as_fn_ret_success () { return 0; }
186 as_fn_ret_failure () { return 1; }
189 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
190 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
191 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
192 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
193 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
196 exitcode=1; echo positional parameters were not saved.
198 test x\$exitcode = x0 || exit 1
200 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
201 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
202 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
203 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test \$(( 1 + 1 )) = 2 || exit 1"
205 if (eval "$as_required") 2>/dev/null; then :
210 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
215 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218 test -z "$as_dir" && as_dir=.
222 for as_base in sh bash ksh sh5; do
223 # Try only shells that exist, to save several forks.
224 as_shell=$as_dir/$as_base
225 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
226 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 CONFIG_SHELL=$as_shell as_have_required=yes
228 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
237 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
238 CONFIG_SHELL=$SHELL as_have_required=yes
243 if test "x$CONFIG_SHELL" != x; then :
245 # We cannot yet assume a decent shell, so we have to provide a
246 # neutralization value for shells without unset; and this also
247 # works around shells that cannot unset nonexistent variables.
248 # Preserve -v and -x to the replacement shell.
251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
253 *v*x* | *x*v* ) as_opts=-vx ;;
258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
259 # Admittedly, this is quite paranoid, since all the known shells bail
260 # out after a failed `exec'.
261 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 if test x$as_have_required = xno; then :
266 $as_echo "$0: This script requires a shell more modern than all"
267 $as_echo "$0: the shells that I found on your system."
268 if test x${ZSH_VERSION+set} = xset ; then
269 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
272 $as_echo "$0: Please tell bug-autoconf@gnu.org and
273 $0: https://issues.asterisk.org about your system,
274 $0: including any error possibly output before this
275 $0: message. Then install a modern shell, or manually run
276 $0: the script under such a shell if you do have one."
282 SHELL=${CONFIG_SHELL-/bin/sh}
284 # Unset more variables known to interfere with behavior of common tools.
285 CLICOLOR_FORCE= GREP_OPTIONS=
286 unset CLICOLOR_FORCE GREP_OPTIONS
288 ## --------------------- ##
289 ## M4sh Shell Functions. ##
290 ## --------------------- ##
293 # Portably unset VAR.
296 { eval $1=; unset $1;}
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
320 # Create "$as_dir" as a directory, including parents if necessary.
325 -*) as_dir=./$as_dir;;
327 test -d "$as_dir" || eval $as_mkdir_p || {
331 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 as_dirs="'$as_qdir' $as_dirs"
335 as_dir=`$as_dirname -- "$as_dir" ||
336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
337 X"$as_dir" : 'X\(//\)[^/]' \| \
338 X"$as_dir" : 'X\(//\)$' \| \
339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
340 $as_echo X"$as_dir" |
341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
358 test -d "$as_dir" && break
360 test -z "$as_dirs" || eval "mkdir $as_dirs"
361 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 # as_fn_executable_p FILE
367 # -----------------------
368 # Test if FILE is an executable regular file.
369 as_fn_executable_p ()
371 test -f "$1" && test -x "$1"
372 } # as_fn_executable_p
373 # as_fn_append VAR VALUE
374 # ----------------------
375 # Append the text in VALUE to the end of the definition contained in VAR. Take
376 # advantage of any shell optimizations that allow amortized linear growth over
377 # repeated appends, instead of the typical quadratic growth present in naive
379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
380 eval 'as_fn_append ()
393 # Perform arithmetic evaluation on the ARGs, and store the result in the
394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
395 # must be portable across $(()) and expr.
396 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404 as_val=`expr "$@" || test $? -eq 1`
409 # as_fn_error STATUS ERROR [LINENO LOG_FD]
410 # ----------------------------------------
411 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
412 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
413 # script with STATUS, using 1 if that was 0.
416 as_status=$1; test $as_status -eq 0 && as_status=1
418 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
419 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
421 $as_echo "$as_me: error: $2" >&2
422 as_fn_exit $as_status
425 if expr a : '\(a\)' >/dev/null 2>&1 &&
426 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_me=`$as_basename -- "$0" ||
445 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
446 X"$0" : 'X\(//\)$' \| \
447 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
449 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 # Avoid depending upon Character Ranges.
464 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
465 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
466 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
467 as_cr_digits='0123456789'
468 as_cr_alnum=$as_cr_Letters$as_cr_digits
471 as_lineno_1=$LINENO as_lineno_1a=$LINENO
472 as_lineno_2=$LINENO as_lineno_2a=$LINENO
473 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
474 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
475 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
487 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
491 chmod +x "$as_me.lineno" ||
492 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
494 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
495 # already done that, so ensure we don't try to do so again and fall
496 # in an infinite loop. This has already happened in practice.
497 _as_can_reexec=no; export _as_can_reexec
498 # Don't try to exec as it changes $[0], causing all sort of problems
499 # (the dirname of $[0] is not the place where we might find the
500 # original and so on. Autoconf is especially sensitive to this).
502 # Exit status is that of the last command.
506 ECHO_C= ECHO_N= ECHO_T=
507 case `echo -n x` in #(((((
509 case `echo 'xy\c'` in
510 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
512 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 rm -f conf$$ conf$$.exe conf$$.file
520 if test -d conf$$.dir; then
521 rm -f conf$$.dir/conf$$.file
524 mkdir conf$$.dir 2>/dev/null
526 if (echo >conf$$.file) 2>/dev/null; then
527 if ln -s conf$$.file conf$$ 2>/dev/null; then
529 # ... but there are two gotchas:
530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
532 # In both cases, we have to default to `cp -pR'.
533 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
535 elif ln conf$$.file conf$$ 2>/dev/null; then
543 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
544 rmdir conf$$.dir 2>/dev/null
546 if mkdir -p . 2>/dev/null; then
547 as_mkdir_p='mkdir -p "$as_dir"'
549 test -d ./-p && rmdir ./-p
554 as_executable_p=as_fn_executable_p
556 # Sed expression to map a string onto a valid CPP name.
557 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
559 # Sed expression to map a string onto a valid variable name.
560 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563 test -n "$DJDIR" || exec 7<&0 </dev/null
567 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
568 # so uname gets run too.
569 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574 ac_default_prefix=/usr/local
576 ac_config_libobj_dir=.
583 # Identity of this package.
584 PACKAGE_NAME='asterisk'
585 PACKAGE_TARNAME='asterisk'
586 PACKAGE_VERSION='trunk'
587 PACKAGE_STRING='asterisk trunk'
588 PACKAGE_BUGREPORT='https://issues.asterisk.org'
591 ac_unique_file="main/asterisk.c"
592 # Factoring default headers for most tests.
593 ac_includes_default="\
595 #ifdef HAVE_SYS_TYPES_H
596 # include <sys/types.h>
598 #ifdef HAVE_SYS_STAT_H
599 # include <sys/stat.h>
605 # ifdef HAVE_STDLIB_H
610 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #ifdef HAVE_STRINGS_H
616 # include <strings.h>
618 #ifdef HAVE_INTTYPES_H
619 # include <inttypes.h>
629 ac_subst_vars='LTLIBOBJS
631 PBX_SYSLOG_FACILITY_LOG_UUCP
632 PBX_SYSLOG_FACILITY_LOG_SYSLOG
633 PBX_SYSLOG_FACILITY_LOG_NEWS
634 PBX_SYSLOG_FACILITY_LOG_MAIL
635 PBX_SYSLOG_FACILITY_LOG_LPR
636 PBX_SYSLOG_FACILITY_LOG_KERN
637 PBX_SYSLOG_FACILITY_LOG_FTP
638 PBX_SYSLOG_FACILITY_LOG_DAEMON
639 PBX_SYSLOG_FACILITY_LOG_CRON
640 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
641 PBX_SYSLOG_FACILITY_LOG_AUTH
692 AST_NO_STRICT_OVERFLOW
695 AST_DECLARATION_AFTER_STATEMENT
698 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
699 PBX_PTHREAD_RWLOCK_INITIALIZER
769 SRTP_SHUTDOWN_INCLUDE
789 SPEEX_PREPROCESS_INCLUDE
824 PBX_PRI_REVERSE_CHARGE
825 PRI_REVERSE_CHARGE_DIR
826 PRI_REVERSE_CHARGE_INCLUDE
827 PRI_REVERSE_CHARGE_LIB
828 PBX_PRI_SERVICE_MESSAGES
829 PRI_SERVICE_MESSAGES_DIR
830 PRI_SERVICE_MESSAGES_INCLUDE
831 PRI_SERVICE_MESSAGES_LIB
834 PRI_PROG_W_CAUSE_INCLUDE
836 PBX_PRI_INBANDDISCONNECT
837 PRI_INBANDDISCONNECT_DIR
838 PRI_INBANDDISCONNECT_INCLUDE
839 PRI_INBANDDISCONNECT_LIB
842 PRI_SETUP_KEYPAD_INCLUDE
844 PBX_PRI_CALL_REROUTING
845 PRI_CALL_REROUTING_DIR
846 PRI_CALL_REROUTING_INCLUDE
847 PRI_CALL_REROUTING_LIB
850 PRI_CALL_HOLD_INCLUDE
858 PRI_HANGUP_FIX_INCLUDE
870 PRI_AOC_EVENTS_INCLUDE
874 PRI_CALL_WAITING_INCLUDE
886 PRI_DISPLAY_TEXT_INCLUDE
892 PBX_PRI_DATETIME_SEND
893 PRI_DATETIME_SEND_DIR
894 PRI_DATETIME_SEND_INCLUDE
895 PRI_DATETIME_SEND_LIB
896 PBX_PRI_L2_PERSISTENCE
897 PRI_L2_PERSISTENCE_DIR
898 PRI_L2_PERSISTENCE_INCLUDE
899 PRI_L2_PERSISTENCE_LIB
900 PBX_PRI_SETUP_ACK_INBAND
901 PRI_SETUP_ACK_INBAND_DIR
902 PRI_SETUP_ACK_INBAND_INCLUDE
903 PRI_SETUP_ACK_INBAND_LIB
912 PBX_PJSIP_EXTERNAL_RESOLVER
913 PJSIP_EXTERNAL_RESOLVER_DIR
914 PJSIP_EXTERNAL_RESOLVER_INCLUDE
915 PJSIP_EXTERNAL_RESOLVER_LIB
916 PBX_PJ_SSL_CERT_LOAD_FROM_FILES2
917 PJ_SSL_CERT_LOAD_FROM_FILES2_DIR
918 PJ_SSL_CERT_LOAD_FROM_FILES2_INCLUDE
919 PJ_SSL_CERT_LOAD_FROM_FILES2_LIB
920 PBX_PJSIP_GET_DEST_INFO
921 PJSIP_GET_DEST_INFO_DIR
922 PJSIP_GET_DEST_INFO_INCLUDE
923 PJSIP_GET_DEST_INFO_LIB
924 PBX_PJSIP_REPLACE_MEDIA_STREAM
925 PJSIP_REPLACE_MEDIA_STREAM_DIR
926 PJSIP_REPLACE_MEDIA_STREAM_INCLUDE
927 PJSIP_REPLACE_MEDIA_STREAM_LIB
928 PBX_PJ_TRANSACTION_GRP_LOCK
929 PJ_TRANSACTION_GRP_LOCK_DIR
930 PJ_TRANSACTION_GRP_LOCK_INCLUDE
931 PJ_TRANSACTION_GRP_LOCK_LIB
1006 LIBXSLT_CLEANUP_INCLUDE
1104 PBX_OPENSSL_ECDH_AUTO
1105 OPENSSL_ECDH_AUTO_DIR
1106 OPENSSL_ECDH_AUTO_INCLUDE
1107 OPENSSL_ECDH_AUTO_LIB
1114 OPENSSL_SRTP_INCLUDE
1128 PBX_COROSYNC_CFG_STATE_TRACK
1129 COROSYNC_CFG_STATE_TRACK_DIR
1130 COROSYNC_CFG_STATE_TRACK_INCLUDE
1131 COROSYNC_CFG_STATE_TRACK_LIB
1156 AST_C_COMPILER_FAMILY
1158 AST_CLANG_BLOCKS_LIBS
1159 AST_NESTED_FUNCTIONS
1287 program_transform_name
1300 enable_option_checking
1385 enable_internal_poll
1389 ac_precious_vars='build_alias
1417 # Initialize some variables set by options.
1419 ac_init_version=false
1420 ac_unrecognized_opts=
1421 ac_unrecognized_sep=
1422 # The variables have the same names as the options, with
1423 # dashes changed to underlines.
1424 cache_file=/dev/null
1431 program_transform_name=s,x,x,
1439 # Installation directory options.
1440 # These are left unexpanded so users can "make install exec_prefix=/foo"
1441 # and all the variables that are supposed to be based on exec_prefix
1442 # by default will actually change.
1443 # Use braces instead of parens because sh, perl, etc. also accept them.
1444 # (The list follows the same order as the GNU Coding Standards.)
1445 bindir='${exec_prefix}/bin'
1446 sbindir='${exec_prefix}/sbin'
1447 libexecdir='${exec_prefix}/libexec'
1448 datarootdir='${prefix}/share'
1449 datadir='${datarootdir}'
1450 sysconfdir='${prefix}/etc'
1451 sharedstatedir='${prefix}/com'
1452 localstatedir='${prefix}/var'
1453 includedir='${prefix}/include'
1454 oldincludedir='/usr/include'
1455 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1456 infodir='${datarootdir}/info'
1461 libdir='${exec_prefix}/lib'
1462 localedir='${datarootdir}/locale'
1463 mandir='${datarootdir}/man'
1469 # If the previous option needs an argument, assign it.
1470 if test -n "$ac_prev"; then
1471 eval $ac_prev=\$ac_option
1477 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1482 # Accept the important Cygnus configure options, so we can diagnose typos.
1484 case $ac_dashdash$ac_option in
1488 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1490 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1491 bindir=$ac_optarg ;;
1493 -build | --build | --buil | --bui | --bu)
1494 ac_prev=build_alias ;;
1495 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1496 build_alias=$ac_optarg ;;
1498 -cache-file | --cache-file | --cache-fil | --cache-fi \
1499 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1500 ac_prev=cache_file ;;
1501 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1502 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1503 cache_file=$ac_optarg ;;
1505 --config-cache | -C)
1506 cache_file=config.cache ;;
1508 -datadir | --datadir | --datadi | --datad)
1510 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1511 datadir=$ac_optarg ;;
1513 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1514 | --dataroo | --dataro | --datar)
1515 ac_prev=datarootdir ;;
1516 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1517 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1518 datarootdir=$ac_optarg ;;
1520 -disable-* | --disable-*)
1521 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1522 # Reject names that are not valid shell variable names.
1523 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1524 as_fn_error $? "invalid feature name: $ac_useropt"
1525 ac_useropt_orig=$ac_useropt
1526 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1527 case $ac_user_opts in
1529 "enable_$ac_useropt"
1531 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1532 ac_unrecognized_sep=', ';;
1534 eval enable_$ac_useropt=no ;;
1536 -docdir | --docdir | --docdi | --doc | --do)
1538 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1539 docdir=$ac_optarg ;;
1541 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1543 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1544 dvidir=$ac_optarg ;;
1546 -enable-* | --enable-*)
1547 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1548 # Reject names that are not valid shell variable names.
1549 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1550 as_fn_error $? "invalid feature name: $ac_useropt"
1551 ac_useropt_orig=$ac_useropt
1552 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1553 case $ac_user_opts in
1555 "enable_$ac_useropt"
1557 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1558 ac_unrecognized_sep=', ';;
1560 eval enable_$ac_useropt=\$ac_optarg ;;
1562 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1563 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1564 | --exec | --exe | --ex)
1565 ac_prev=exec_prefix ;;
1566 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1567 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1568 | --exec=* | --exe=* | --ex=*)
1569 exec_prefix=$ac_optarg ;;
1571 -gas | --gas | --ga | --g)
1572 # Obsolete; use --with-gas.
1575 -help | --help | --hel | --he | -h)
1576 ac_init_help=long ;;
1577 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1578 ac_init_help=recursive ;;
1579 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1580 ac_init_help=short ;;
1582 -host | --host | --hos | --ho)
1583 ac_prev=host_alias ;;
1584 -host=* | --host=* | --hos=* | --ho=*)
1585 host_alias=$ac_optarg ;;
1587 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1589 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1591 htmldir=$ac_optarg ;;
1593 -includedir | --includedir | --includedi | --included | --include \
1594 | --includ | --inclu | --incl | --inc)
1595 ac_prev=includedir ;;
1596 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1597 | --includ=* | --inclu=* | --incl=* | --inc=*)
1598 includedir=$ac_optarg ;;
1600 -infodir | --infodir | --infodi | --infod | --info | --inf)
1602 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1603 infodir=$ac_optarg ;;
1605 -libdir | --libdir | --libdi | --libd)
1607 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1608 libdir=$ac_optarg ;;
1610 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1611 | --libexe | --libex | --libe)
1612 ac_prev=libexecdir ;;
1613 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1614 | --libexe=* | --libex=* | --libe=*)
1615 libexecdir=$ac_optarg ;;
1617 -localedir | --localedir | --localedi | --localed | --locale)
1618 ac_prev=localedir ;;
1619 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1620 localedir=$ac_optarg ;;
1622 -localstatedir | --localstatedir | --localstatedi | --localstated \
1623 | --localstate | --localstat | --localsta | --localst | --locals)
1624 ac_prev=localstatedir ;;
1625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1626 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1627 localstatedir=$ac_optarg ;;
1629 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1631 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1632 mandir=$ac_optarg ;;
1634 -nfp | --nfp | --nf)
1635 # Obsolete; use --without-fp.
1638 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1639 | --no-cr | --no-c | -n)
1642 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1643 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1646 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1647 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1648 | --oldin | --oldi | --old | --ol | --o)
1649 ac_prev=oldincludedir ;;
1650 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1651 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1652 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1653 oldincludedir=$ac_optarg ;;
1655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1658 prefix=$ac_optarg ;;
1660 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1661 | --program-pre | --program-pr | --program-p)
1662 ac_prev=program_prefix ;;
1663 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1664 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1665 program_prefix=$ac_optarg ;;
1667 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1668 | --program-suf | --program-su | --program-s)
1669 ac_prev=program_suffix ;;
1670 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1671 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1672 program_suffix=$ac_optarg ;;
1674 -program-transform-name | --program-transform-name \
1675 | --program-transform-nam | --program-transform-na \
1676 | --program-transform-n | --program-transform- \
1677 | --program-transform | --program-transfor \
1678 | --program-transfo | --program-transf \
1679 | --program-trans | --program-tran \
1680 | --progr-tra | --program-tr | --program-t)
1681 ac_prev=program_transform_name ;;
1682 -program-transform-name=* | --program-transform-name=* \
1683 | --program-transform-nam=* | --program-transform-na=* \
1684 | --program-transform-n=* | --program-transform-=* \
1685 | --program-transform=* | --program-transfor=* \
1686 | --program-transfo=* | --program-transf=* \
1687 | --program-trans=* | --program-tran=* \
1688 | --progr-tra=* | --program-tr=* | --program-t=*)
1689 program_transform_name=$ac_optarg ;;
1691 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1693 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1694 pdfdir=$ac_optarg ;;
1696 -psdir | --psdir | --psdi | --psd | --ps)
1698 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1702 | -silent | --silent | --silen | --sile | --sil)
1705 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1707 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1709 sbindir=$ac_optarg ;;
1711 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1712 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1713 | --sharedst | --shareds | --shared | --share | --shar \
1715 ac_prev=sharedstatedir ;;
1716 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1717 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1718 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1720 sharedstatedir=$ac_optarg ;;
1722 -site | --site | --sit)
1724 -site=* | --site=* | --sit=*)
1727 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1729 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1730 srcdir=$ac_optarg ;;
1732 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1733 | --syscon | --sysco | --sysc | --sys | --sy)
1734 ac_prev=sysconfdir ;;
1735 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1736 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1737 sysconfdir=$ac_optarg ;;
1739 -target | --target | --targe | --targ | --tar | --ta | --t)
1740 ac_prev=target_alias ;;
1741 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1742 target_alias=$ac_optarg ;;
1744 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1747 -version | --version | --versio | --versi | --vers | -V)
1748 ac_init_version=: ;;
1751 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid package name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1764 eval with_$ac_useropt=\$ac_optarg ;;
1766 -without-* | --without-*)
1767 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1770 as_fn_error $? "invalid package name: $ac_useropt"
1771 ac_useropt_orig=$ac_useropt
1772 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1777 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1778 ac_unrecognized_sep=', ';;
1780 eval with_$ac_useropt=no ;;
1783 # Obsolete; use --with-x.
1786 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1787 | --x-incl | --x-inc | --x-in | --x-i)
1788 ac_prev=x_includes ;;
1789 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1790 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1791 x_includes=$ac_optarg ;;
1793 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1794 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1795 ac_prev=x_libraries ;;
1796 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1797 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1798 x_libraries=$ac_optarg ;;
1800 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1801 Try \`$0 --help' for more information"
1805 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1806 # Reject names that are not valid shell variable names.
1807 case $ac_envvar in #(
1808 '' | [0-9]* | *[!_$as_cr_alnum]* )
1809 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1811 eval $ac_envvar=\$ac_optarg
1812 export $ac_envvar ;;
1815 # FIXME: should be removed in autoconf 3.0.
1816 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1817 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1818 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1819 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1825 if test -n "$ac_prev"; then
1826 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1827 as_fn_error $? "missing argument to $ac_option"
1830 if test -n "$ac_unrecognized_opts"; then
1831 case $enable_option_checking in
1833 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1834 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1838 # Check all directory arguments for consistency.
1839 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1840 datadir sysconfdir sharedstatedir localstatedir includedir \
1841 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1842 libdir localedir mandir
1844 eval ac_val=\$$ac_var
1845 # Remove trailing slashes.
1848 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1849 eval $ac_var=\$ac_val;;
1851 # Be sure to have absolute directory names.
1853 [\\/$]* | ?:[\\/]* ) continue;;
1854 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1856 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1859 # There might be people who depend on the old broken behavior: `$host'
1860 # used to hold the argument of --host etc.
1861 # FIXME: To remove some day.
1864 target=$target_alias
1866 # FIXME: To remove some day.
1867 if test "x$host_alias" != x; then
1868 if test "x$build_alias" = x; then
1869 cross_compiling=maybe
1870 elif test "x$build_alias" != "x$host_alias"; then
1876 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1878 test "$silent" = yes && exec 6>/dev/null
1881 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1882 ac_ls_di=`ls -di .` &&
1883 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1884 as_fn_error $? "working directory cannot be determined"
1885 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1886 as_fn_error $? "pwd does not report name of working directory"
1889 # Find the source files, if location was not specified.
1890 if test -z "$srcdir"; then
1891 ac_srcdir_defaulted=yes
1892 # Try the directory containing this script, then the parent directory.
1893 ac_confdir=`$as_dirname -- "$as_myself" ||
1894 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1895 X"$as_myself" : 'X\(//\)[^/]' \| \
1896 X"$as_myself" : 'X\(//\)$' \| \
1897 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1898 $as_echo X"$as_myself" |
1899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1917 if test ! -r "$srcdir/$ac_unique_file"; then
1921 ac_srcdir_defaulted=no
1923 if test ! -r "$srcdir/$ac_unique_file"; then
1924 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1925 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1927 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1929 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1931 # When building in place, set srcdir=.
1932 if test "$ac_abs_confdir" = "$ac_pwd"; then
1935 # Remove unnecessary trailing slashes from srcdir.
1936 # Double slashes in file names in object file debugging info
1937 # mess up M-x gdb in Emacs.
1939 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1941 for ac_var in $ac_precious_vars; do
1942 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1943 eval ac_env_${ac_var}_value=\$${ac_var}
1944 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1945 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1949 # Report the --help message.
1951 if test "$ac_init_help" = "long"; then
1952 # Omit some internal or obsolete options to make the list less imposing.
1953 # This message is too long to be a string in the A/UX 3.1 sh.
1955 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1957 Usage: $0 [OPTION]... [VAR=VALUE]...
1959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1960 VAR=VALUE. See below for descriptions of some of the useful variables.
1962 Defaults for the options are specified in brackets.
1965 -h, --help display this help and exit
1966 --help=short display options specific to this package
1967 --help=recursive display the short help of all the included packages
1968 -V, --version display version information and exit
1969 -q, --quiet, --silent do not print \`checking ...' messages
1970 --cache-file=FILE cache test results in FILE [disabled]
1971 -C, --config-cache alias for \`--cache-file=config.cache'
1972 -n, --no-create do not create output files
1973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1975 Installation directories:
1976 --prefix=PREFIX install architecture-independent files in PREFIX
1977 [$ac_default_prefix]
1978 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1981 By default, \`make install' will install all the files in
1982 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1983 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1984 for instance \`--prefix=\$HOME'.
1986 For better control, use the options below.
1988 Fine tuning of the installation directories:
1989 --bindir=DIR user executables [EPREFIX/bin]
1990 --sbindir=DIR system admin executables [EPREFIX/sbin]
1991 --libexecdir=DIR program executables [EPREFIX/libexec]
1992 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1993 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1994 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1995 --libdir=DIR object code libraries [EPREFIX/lib]
1996 --includedir=DIR C header files [PREFIX/include]
1997 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1998 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1999 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2000 --infodir=DIR info documentation [DATAROOTDIR/info]
2001 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2002 --mandir=DIR man documentation [DATAROOTDIR/man]
2003 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
2004 --htmldir=DIR html documentation [DOCDIR]
2005 --dvidir=DIR dvi documentation [DOCDIR]
2006 --pdfdir=DIR pdf documentation [DOCDIR]
2007 --psdir=DIR ps documentation [DOCDIR]
2013 --build=BUILD configure for building on BUILD [guessed]
2014 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2018 if test -n "$ac_init_help"; then
2019 case $ac_init_help in
2020 short | recursive ) echo "Configuration of asterisk trunk:";;
2025 --disable-option-checking ignore unrecognized --enable/--with options
2026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2028 --enable-dev-mode Turn on developer mode
2029 --enable-coverage Turn on code coverage tracking (for gcov)
2030 --disable-xmldoc Explicitly disable XML documentation
2031 --disable-largefile omit support for large files
2032 --enable-internal-poll Use Asterisk's poll implementation
2033 --disable-asteriskssl Disable Asterisk's SSL wrapper library
2034 --disable-rpath Disables rpath linker option checking
2037 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2038 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2039 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2040 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
2041 --with-bfd=PATH use Debug symbol decoding files in PATH
2042 --with-execinfo=PATH use Stack Backtrace files in PATH
2043 --with-bluetooth=PATH use Bluetooth files in PATH
2044 --with-cap=PATH use POSIX 1.e capabilities files in PATH
2045 --with-cpg=PATH use Corosync files in PATH
2046 --with-curses=PATH use curses files in PATH
2047 --with-crypt=PATH use password and data encryption files in PATH
2048 --with-crypto=PATH use OpenSSL Cryptography files in PATH
2049 --with-dahdi=PATH use DAHDI files in PATH
2050 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
2051 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
2053 --with-ilbc=PATH use System iLBC files in PATH, use 'internal' iLBC
2055 --with-gtk2=PATH use gtk2 files in PATH
2056 --with-gmime=PATH use GMime files in PATH
2057 --with-h323=PATH use OpenH323 files in PATH
2058 --with-hoard=PATH use Hoard Memory Allocator files in PATH
2059 --with-ical=PATH use iCal files in PATH
2060 --with-iconv=PATH use Iconv files in PATH
2061 --with-iksemel=PATH use Iksemel Jabber files in PATH
2062 --with-imap=PATH use UW IMAP Toolkit files in PATH
2063 --with-inotify=PATH use inotify support files in PATH
2064 --with-iodbc=PATH use iODBC files in PATH
2065 --with-isdnnet=PATH use ISDN4Linux files in PATH
2066 --with-jack=PATH use Jack Audio Connection Kit files in PATH
2067 --with-jansson=PATH use Jansson JSON library files in PATH
2068 --with-uriparser=PATH use uriparser library files in PATH
2069 --with-kqueue=PATH use kqueue support files in PATH
2070 --with-ldap=PATH use OpenLDAP files in PATH
2071 --with-libcurl=DIR look for the curl library in DIR
2072 --with-libedit=PATH use NetBSD Editline library files in PATH, use
2073 'internal' Editline otherwise
2074 --with-libxml2=PATH use LibXML2 files in PATH
2075 --with-libxslt=PATH use LibXSLT files in PATH
2076 --with-ltdl=PATH use libtool files in PATH
2077 --with-lua=PATH use Lua files in PATH
2078 --with-misdn=PATH use mISDN user files in PATH
2079 --with-mysqlclient=PATH use MySQL client files in PATH
2080 --with-nbs=PATH use Network Broadcast Sound files in PATH
2081 --with-ncurses=PATH use ncurses files in PATH
2082 --with-neon=PATH use neon files in PATH
2083 --with-neon29=PATH use neon29 files in PATH
2084 --with-netsnmp=PATH use Net-SNMP files in PATH
2085 --with-newt=PATH use newt files in PATH
2086 --with-ogg=PATH use OGG files in PATH
2087 --with-openr2=PATH use MFR2 files in PATH
2088 --with-opus=PATH use Opus files in PATH
2089 --with-osptk=PATH use OSP Toolkit files in PATH
2090 --with-oss=PATH use Open Sound System files in PATH
2091 --with-postgres=PATH use PostgreSQL files in PATH
2092 --with-pjproject=PATH use PJPROJECT files in PATH
2093 --with-popt=PATH use popt files in PATH
2094 --with-portaudio=PATH use PortAudio files in PATH
2095 --with-pri=PATH use ISDN PRI files in PATH
2096 --with-pwlib=PATH use PWlib files in PATH
2097 --with-radius=PATH use Radius Client files in PATH
2098 --with-resample=PATH use LIBRESAMPLE files in PATH
2099 --with-sdl=PATH use Sdl files in PATH
2100 --with-SDL_image=PATH use Sdl Image files in PATH
2101 --with-sounds-cache=PATH
2102 use cached sound tarfiles in PATH
2103 --with-spandsp=PATH use SPANDSP files in PATH
2104 --with-ss7=PATH use ISDN SS7 files in PATH
2105 --with-speex=PATH use Speex files in PATH
2106 --with-speex=PATH use Speex preprocess routines files in PATH
2107 --with-speexdsp=PATH use SpeexDSP files in PATH
2108 --with-sqlite=PATH use SQLite files in PATH
2109 --with-sqlite3=PATH use SQLite files in PATH
2110 --with-srtp=PATH use Secure RTP files in PATH
2111 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
2112 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
2113 --with-tds=PATH use FreeTDS files in PATH
2114 --with-termcap=PATH use Termcap files in PATH
2115 --with-timerfd=PATH use timerfd files in PATH
2116 --with-tinfo=PATH use Term Info files in PATH
2117 --with-tonezone=PATH use tonezone files in PATH
2118 --with-unbound=PATH use unbound files in PATH
2119 --with-unixodbc=PATH use unixODBC files in PATH
2120 --with-vorbis=PATH use Vorbis files in PATH
2121 --with-vpb=PATH use Voicetronix API files in PATH
2122 --with-x11=PATH use X11 files in PATH
2123 --with-z=PATH use zlib compression files in PATH
2125 Some influential environment variables:
2126 CC C compiler command
2127 CFLAGS C compiler flags
2128 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2129 nonstandard directory <lib dir>
2130 LIBS libraries to pass to the linker, e.g. -l<library>
2131 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2132 you have headers in a nonstandard directory <include dir>
2134 CXX C++ compiler command
2135 CXXFLAGS C++ compiler flags
2136 CXXCPP C++ preprocessor
2137 PKG_CONFIG path to pkg-config utility
2139 directories to add to pkg-config's search path
2141 path overriding pkg-config's built-in search path
2142 ILBC_CFLAGS C compiler flags for ILBC, overriding pkg-config
2143 ILBC_LIBS linker flags for ILBC, overriding pkg-config
2145 C compiler flags for LIBEDIT, overriding pkg-config
2147 linker flags for LIBEDIT, overriding pkg-config
2149 C compiler flags for PJPROJECT, overriding pkg-config
2151 linker flags for PJPROJECT, overriding pkg-config
2153 C compiler flags for GMIME, overriding pkg-config
2154 GMIME_LIBS linker flags for GMIME, overriding pkg-config
2155 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
2156 GTK2_LIBS linker flags for GTK2, overriding pkg-config
2158 Use these variables to override the choices made by `configure' or to help
2159 it to find libraries and programs with nonstandard names/locations.
2161 Report bugs to <https://issues.asterisk.org>.
2166 if test "$ac_init_help" = "recursive"; then
2167 # If there are subdirs, report their specific --help.
2168 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2169 test -d "$ac_dir" ||
2170 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2175 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2177 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2178 # A ".." for each directory in $ac_dir_suffix.
2179 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2180 case $ac_top_builddir_sub in
2181 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2182 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2185 ac_abs_top_builddir=$ac_pwd
2186 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2187 # for backward compatibility:
2188 ac_top_builddir=$ac_top_build_prefix
2191 .) # We are building in place.
2193 ac_top_srcdir=$ac_top_builddir_sub
2194 ac_abs_top_srcdir=$ac_pwd ;;
2195 [\\/]* | ?:[\\/]* ) # Absolute name.
2196 ac_srcdir=$srcdir$ac_dir_suffix;
2197 ac_top_srcdir=$srcdir
2198 ac_abs_top_srcdir=$srcdir ;;
2200 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2201 ac_top_srcdir=$ac_top_build_prefix$srcdir
2202 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2204 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2206 cd "$ac_dir" || { ac_status=$?; continue; }
2207 # Check for guested configure.
2208 if test -f "$ac_srcdir/configure.gnu"; then
2210 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2211 elif test -f "$ac_srcdir/configure"; then
2213 $SHELL "$ac_srcdir/configure" --help=recursive
2215 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2217 cd "$ac_pwd" || { ac_status=$?; break; }
2221 test -n "$ac_init_help" && exit $ac_status
2222 if $ac_init_version; then
2224 asterisk configure trunk
2225 generated by GNU Autoconf 2.69
2227 Copyright (C) 2012 Free Software Foundation, Inc.
2228 This configure script is free software; the Free Software Foundation
2229 gives unlimited permission to copy, distribute and modify it.
2236 ## ------------------------ ##
2237 ## Autoconf initialization. ##
2238 ## ------------------------ ##
2240 # ac_fn_c_try_compile LINENO
2241 # --------------------------
2242 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2243 ac_fn_c_try_compile ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 rm -f conftest.$ac_objext
2247 if { { ac_try="$ac_compile"
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2253 $as_echo "$ac_try_echo"; } >&5
2254 (eval "$ac_compile") 2>conftest.err
2256 if test -s conftest.err; then
2257 grep -v '^ *+' conftest.err >conftest.er1
2258 cat conftest.er1 >&5
2259 mv -f conftest.er1 conftest.err
2261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2262 test $ac_status = 0; } && {
2263 test -z "$ac_c_werror_flag" ||
2264 test ! -s conftest.err
2265 } && test -s conftest.$ac_objext; then :
2268 $as_echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2274 as_fn_set_status $ac_retval
2276 } # ac_fn_c_try_compile
2278 # ac_fn_c_try_cpp LINENO
2279 # ----------------------
2280 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2284 if { { ac_try="$ac_cpp conftest.$ac_ext"
2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290 $as_echo "$ac_try_echo"; } >&5
2291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2293 if test -s conftest.err; then
2294 grep -v '^ *+' conftest.err >conftest.er1
2295 cat conftest.er1 >&5
2296 mv -f conftest.er1 conftest.err
2298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2299 test $ac_status = 0; } > conftest.i && {
2300 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2301 test ! -s conftest.err
2305 $as_echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.$ac_ext >&5
2310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2311 as_fn_set_status $ac_retval
2315 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2316 # -------------------------------------------------------
2317 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2318 # the include files in INCLUDES and setting the cache variable VAR
2320 ac_fn_c_check_header_mongrel ()
2322 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323 if eval \${$3+:} false; then :
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2325 $as_echo_n "checking for $2... " >&6; }
2326 if eval \${$3+:} false; then :
2327 $as_echo_n "(cached) " >&6
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2331 $as_echo "$ac_res" >&6; }
2333 # Is the header compilable?
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2335 $as_echo_n "checking $2 usability... " >&6; }
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2341 if ac_fn_c_try_compile "$LINENO"; then :
2342 ac_header_compiler=yes
2344 ac_header_compiler=no
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2348 $as_echo "$ac_header_compiler" >&6; }
2350 # Is the header present?
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2352 $as_echo_n "checking $2 presence... " >&6; }
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2357 if ac_fn_c_try_cpp "$LINENO"; then :
2358 ac_header_preproc=yes
2360 ac_header_preproc=no
2362 rm -f conftest.err conftest.i conftest.$ac_ext
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2364 $as_echo "$ac_header_preproc" >&6; }
2366 # So? What about this header?
2367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2370 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2372 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2376 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2378 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2380 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2382 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2384 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2385 ( $as_echo "## ------------------------------------------ ##
2386 ## Report this to https://issues.asterisk.org ##
2387 ## ------------------------------------------ ##"
2388 ) | sed "s/^/$as_me: WARNING: /" >&2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2392 $as_echo_n "checking for $2... " >&6; }
2393 if eval \${$3+:} false; then :
2394 $as_echo_n "(cached) " >&6
2396 eval "$3=\$ac_header_compiler"
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2400 $as_echo "$ac_res" >&6; }
2402 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 } # ac_fn_c_check_header_mongrel
2406 # ac_fn_c_try_run LINENO
2407 # ----------------------
2408 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2409 # that executables *can* be run.
2412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2413 if { { ac_try="$ac_link"
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2419 $as_echo "$ac_try_echo"; } >&5
2420 (eval "$ac_link") 2>&5
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2424 { { case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_try") 2>&5
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; }; }; then :
2436 $as_echo "$as_me: program exited with status $ac_status" >&5
2437 $as_echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2440 ac_retval=$ac_status
2442 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444 as_fn_set_status $ac_retval
2448 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2449 # -------------------------------------------------------
2450 # Tests whether HEADER exists and can be compiled using the include files in
2451 # INCLUDES, setting the cache variable VAR accordingly.
2452 ac_fn_c_check_header_compile ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if eval \${$3+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2465 if ac_fn_c_try_compile "$LINENO"; then :
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2474 $as_echo "$ac_res" >&6; }
2475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2477 } # ac_fn_c_check_header_compile
2479 # ac_fn_cxx_try_compile LINENO
2480 # ----------------------------
2481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2482 ac_fn_cxx_try_compile ()
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 rm -f conftest.$ac_objext
2486 if { { ac_try="$ac_compile"
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2492 $as_echo "$ac_try_echo"; } >&5
2493 (eval "$ac_compile") 2>conftest.err
2495 if test -s conftest.err; then
2496 grep -v '^ *+' conftest.err >conftest.er1
2497 cat conftest.er1 >&5
2498 mv -f conftest.er1 conftest.err
2500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2501 test $ac_status = 0; } && {
2502 test -z "$ac_cxx_werror_flag" ||
2503 test ! -s conftest.err
2504 } && test -s conftest.$ac_objext; then :
2507 $as_echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 as_fn_set_status $ac_retval
2515 } # ac_fn_cxx_try_compile
2517 # ac_fn_cxx_try_cpp LINENO
2518 # ------------------------
2519 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_cxx_try_cpp ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 if { { ac_try="$ac_cpp conftest.$ac_ext"
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2532 if test -s conftest.err; then
2533 grep -v '^ *+' conftest.err >conftest.er1
2534 cat conftest.er1 >&5
2535 mv -f conftest.er1 conftest.err
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } > conftest.i && {
2539 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2540 test ! -s conftest.err
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_cxx_try_cpp
2554 # ac_fn_c_try_link LINENO
2555 # -----------------------
2556 # Try to link conftest.$ac_ext, and return whether this succeeded.
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 rm -f conftest.$ac_objext conftest$ac_exeext
2561 if { { ac_try="$ac_link"
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_link") 2>conftest.err
2570 if test -s conftest.err; then
2571 grep -v '^ *+' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } && {
2577 test -z "$ac_c_werror_flag" ||
2578 test ! -s conftest.err
2579 } && test -s conftest$ac_exeext && {
2580 test "$cross_compiling" = yes ||
2581 test -x conftest$ac_exeext
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2590 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2591 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2592 # interfere with the next link command; also delete a directory that is
2593 # left behind by Apple's compiler. We do this before executing the actions.
2594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 as_fn_set_status $ac_retval
2598 } # ac_fn_c_try_link
2600 # ac_fn_c_check_func LINENO FUNC VAR
2601 # ----------------------------------
2602 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2603 ac_fn_c_check_func ()
2605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2607 $as_echo_n "checking for $2... " >&6; }
2608 if eval \${$3+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2613 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2615 #define $2 innocuous_$2
2617 /* System header to define __stub macros and hopefully few prototypes,
2618 which can conflict with char $2 (); below.
2619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2620 <limits.h> exists even on freestanding compilers. */
2623 # include <limits.h>
2625 # include <assert.h>
2630 /* Override any GCC internal prototype to avoid an error.
2631 Use char because int might match the return type of a GCC
2632 builtin and then its argument prototype would still apply. */
2637 /* The GNU C library defines this for functions which it implements
2638 to always fail with ENOSYS. Some functions are actually named
2639 something starting with __ and the normal name is an alias. */
2640 #if defined __stub_$2 || defined __stub___$2
2652 if ac_fn_c_try_link "$LINENO"; then :
2657 rm -f core conftest.err conftest.$ac_objext \
2658 conftest$ac_exeext conftest.$ac_ext
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 } # ac_fn_c_check_func
2667 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2668 # -------------------------------------------
2669 # Tests whether TYPE exists after having included INCLUDES, setting cache
2670 # variable VAR accordingly.
2671 ac_fn_c_check_type ()
2673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2675 $as_echo_n "checking for $2... " >&6; }
2676 if eval \${$3+:} false; then :
2677 $as_echo_n "(cached) " >&6
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2705 if ac_fn_c_try_compile "$LINENO"; then :
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2716 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_c_check_type
2721 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2722 # ----------------------------------------------------
2723 # Tries to find if the field MEMBER exists in type AGGR, after including
2724 # INCLUDES, setting cache variable VAR accordingly.
2725 ac_fn_c_check_member ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2729 $as_echo_n "checking for $2.$3... " >&6; }
2730 if eval \${$4+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2746 if ac_fn_c_try_compile "$LINENO"; then :
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2756 if (sizeof ac_aggr.$3)
2762 if ac_fn_c_try_compile "$LINENO"; then :
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2773 $as_echo "$ac_res" >&6; }
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 } # ac_fn_c_check_member
2778 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2779 # --------------------------------------------
2780 # Tries to find the compile-time value of EXPR in a program that includes
2781 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2783 ac_fn_c_compute_int ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 if test "$cross_compiling" = yes; then
2787 # Depending upon the size, compute the lo and hi bounds.
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2794 static int test_array [1 - 2 * !(($2) >= 0)];
2796 return test_array [0];
2802 if ac_fn_c_try_compile "$LINENO"; then :
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2811 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2813 return test_array [0];
2819 if ac_fn_c_try_compile "$LINENO"; then :
2820 ac_hi=$ac_mid; break
2822 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2823 if test $ac_lo -le $ac_mid; then
2827 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2838 static int test_array [1 - 2 * !(($2) < 0)];
2840 return test_array [0];
2846 if ac_fn_c_try_compile "$LINENO"; then :
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2855 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2857 return test_array [0];
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 ac_lo=$ac_mid; break
2866 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2867 if test $ac_mid -le $ac_hi; then
2871 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 # Binary search between lo and hi bounds.
2882 while test "x$ac_lo" != "x$ac_hi"; do
2883 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2890 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2892 return test_array [0];
2898 if ac_fn_c_try_compile "$LINENO"; then :
2901 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2913 static long int longval () { return $2; }
2914 static unsigned long int ulongval () { return $2; }
2921 FILE *f = fopen ("conftest.val", "w");
2926 long int i = longval ();
2929 fprintf (f, "%ld", i);
2933 unsigned long int i = ulongval ();
2936 fprintf (f, "%lu", i);
2938 /* Do not output a trailing newline, as this causes \r\n confusion
2939 on some platforms. */
2940 return ferror (f) || fclose (f) != 0;
2946 if ac_fn_c_try_run "$LINENO"; then :
2947 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2952 conftest.$ac_objext conftest.beam conftest.$ac_ext
2956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 as_fn_set_status $ac_retval
2959 } # ac_fn_c_compute_int
2961 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2962 # ---------------------------------------------------------
2963 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2964 # the include files in INCLUDES and setting the cache variable VAR
2966 ac_fn_cxx_check_header_mongrel ()
2968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969 if eval \${$3+:} false; then :
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 $as_echo "$ac_res" >&6; }
2979 # Is the header compilable?
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2981 $as_echo_n "checking $2 usability... " >&6; }
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2987 if ac_fn_cxx_try_compile "$LINENO"; then :
2988 ac_header_compiler=yes
2990 ac_header_compiler=no
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2994 $as_echo "$ac_header_compiler" >&6; }
2996 # Is the header present?
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2998 $as_echo_n "checking $2 presence... " >&6; }
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 if ac_fn_cxx_try_cpp "$LINENO"; then :
3004 ac_header_preproc=yes
3006 ac_header_preproc=no
3008 rm -f conftest.err conftest.i conftest.$ac_ext
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3010 $as_echo "$ac_header_preproc" >&6; }
3012 # So? What about this header?
3013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3016 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3018 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3022 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3024 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3026 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3028 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3030 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3031 ( $as_echo "## ------------------------------------------ ##
3032 ## Report this to https://issues.asterisk.org ##
3033 ## ------------------------------------------ ##"
3034 ) | sed "s/^/$as_me: WARNING: /" >&2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 $as_echo_n "checking for $2... " >&6; }
3039 if eval \${$3+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 eval "$3=\$ac_header_compiler"
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3046 $as_echo "$ac_res" >&6; }
3048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3050 } # ac_fn_cxx_check_header_mongrel
3052 # ac_fn_cxx_try_link LINENO
3053 # -------------------------
3054 # Try to link conftest.$ac_ext, and return whether this succeeded.
3055 ac_fn_cxx_try_link ()
3057 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3058 rm -f conftest.$ac_objext conftest$ac_exeext
3059 if { { ac_try="$ac_link"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_link") 2>conftest.err
3068 if test -s conftest.err; then
3069 grep -v '^ *+' conftest.err >conftest.er1
3070 cat conftest.er1 >&5
3071 mv -f conftest.er1 conftest.err
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; } && {
3075 test -z "$ac_cxx_werror_flag" ||
3076 test ! -s conftest.err
3077 } && test -s conftest$ac_exeext && {
3078 test "$cross_compiling" = yes ||
3079 test -x conftest$ac_exeext
3083 $as_echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3088 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3089 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3090 # interfere with the next link command; also delete a directory that is
3091 # left behind by Apple's compiler. We do this before executing the actions.
3092 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_cxx_try_link
3098 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
3099 # ---------------------------------------------------------
3100 # Tests whether HEADER exists and can be compiled using the include files in
3101 # INCLUDES, setting the cache variable VAR accordingly.
3102 ac_fn_cxx_check_header_compile ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108 $as_echo_n "(cached) " >&6
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3115 if ac_fn_cxx_try_compile "$LINENO"; then :
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3124 $as_echo "$ac_res" >&6; }
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 } # ac_fn_cxx_check_header_compile
3128 cat >config.log <<_ACEOF
3129 This file contains any messages produced by compilers while
3130 running configure, to aid debugging if configure makes a mistake.
3132 It was created by asterisk $as_me trunk, which was
3133 generated by GNU Autoconf 2.69. Invocation command line was
3145 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3146 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3147 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3148 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3149 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3151 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3152 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3154 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3155 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3156 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3157 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3158 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3159 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3160 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 $as_echo "PATH: $as_dir"
3185 # Keep a trace of the command line.
3186 # Strip out --no-create and --no-recursion so they do not pile up.
3187 # Strip out --silent because we don't want to record it for future runs.
3188 # Also quote any args containing shell meta-characters.
3189 # Make two passes to allow for proper duplicate-argument suppression.
3193 ac_must_keep_next=false
3199 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3201 | -silent | --silent | --silen | --sile | --sil)
3204 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3207 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3209 as_fn_append ac_configure_args1 " '$ac_arg'"
3210 if test $ac_must_keep_next = true; then
3211 ac_must_keep_next=false # Got value, back to normal.
3214 *=* | --config-cache | -C | -disable-* | --disable-* \
3215 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3216 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3217 | -with-* | --with-* | -without-* | --without-* | --x)
3218 case "$ac_configure_args0 " in
3219 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3222 -* ) ac_must_keep_next=true ;;
3225 as_fn_append ac_configure_args " '$ac_arg'"
3230 { ac_configure_args0=; unset ac_configure_args0;}
3231 { ac_configure_args1=; unset ac_configure_args1;}
3233 # When interrupted or exit'd, cleanup temporary files, and complete
3234 # config.log. We remove comments because anyway the quotes in there
3235 # would cause problems or look ugly.
3236 # WARNING: Use '\'' to represent an apostrophe within the trap.
3237 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3238 trap 'exit_status=$?
3239 # Save into config.log some information that might help in debugging.
3243 $as_echo "## ---------------- ##
3244 ## Cache variables. ##
3245 ## ---------------- ##"
3247 # The following way of writing the cache mishandles newlines in values,
3249 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3250 eval ac_val=\$$ac_var
3254 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3255 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3258 _ | IFS | as_nl) ;; #(
3259 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3260 *) { eval $ac_var=; unset $ac_var;} ;;
3265 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3266 *${as_nl}ac_space=\ *)
3268 "s/'\''/'\''\\\\'\'''\''/g;
3269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3279 $as_echo "## ----------------- ##
3280 ## Output variables. ##
3281 ## ----------------- ##"
3283 for ac_var in $ac_subst_vars
3285 eval ac_val=\$$ac_var
3287 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289 $as_echo "$ac_var='\''$ac_val'\''"
3293 if test -n "$ac_subst_files"; then
3294 $as_echo "## ------------------- ##
3295 ## File substitutions. ##
3296 ## ------------------- ##"
3298 for ac_var in $ac_subst_files
3300 eval ac_val=\$$ac_var
3302 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3304 $as_echo "$ac_var='\''$ac_val'\''"
3309 if test -s confdefs.h; then
3310 $as_echo "## ----------- ##
3317 test "$ac_signal" != 0 &&
3318 $as_echo "$as_me: caught signal $ac_signal"
3319 $as_echo "$as_me: exit $exit_status"
3321 rm -f core *.core core.conftest.* &&
3322 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3325 for ac_signal in 1 2 13 15; do
3326 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3330 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3331 rm -f -r conftest* confdefs.h
3333 $as_echo "/* confdefs.h */" > confdefs.h
3335 # Predefined preprocessor variables.
3337 cat >>confdefs.h <<_ACEOF
3338 #define PACKAGE_NAME "$PACKAGE_NAME"
3341 cat >>confdefs.h <<_ACEOF
3342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3345 cat >>confdefs.h <<_ACEOF
3346 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3349 cat >>confdefs.h <<_ACEOF
3350 #define PACKAGE_STRING "$PACKAGE_STRING"
3353 cat >>confdefs.h <<_ACEOF
3354 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3357 cat >>confdefs.h <<_ACEOF
3358 #define PACKAGE_URL "$PACKAGE_URL"
3362 # Let the site file select an alternate cache file if it wants to.
3363 # Prefer an explicitly selected file to automatically selected ones.
3366 if test -n "$CONFIG_SITE"; then
3367 # We do not want a PATH search for config.site.
3368 case $CONFIG_SITE in #((
3369 -*) ac_site_file1=./$CONFIG_SITE;;
3370 */*) ac_site_file1=$CONFIG_SITE;;
3371 *) ac_site_file1=./$CONFIG_SITE;;
3373 elif test "x$prefix" != xNONE; then
3374 ac_site_file1=$prefix/share/config.site
3375 ac_site_file2=$prefix/etc/config.site
3377 ac_site_file1=$ac_default_prefix/share/config.site
3378 ac_site_file2=$ac_default_prefix/etc/config.site
3380 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3382 test "x$ac_site_file" = xNONE && continue
3383 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3385 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3386 sed 's/^/| /' "$ac_site_file" >&5
3388 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390 as_fn_error $? "failed to load site script $ac_site_file
3391 See \`config.log' for more details" "$LINENO" 5; }
3395 if test -r "$cache_file"; then
3396 # Some versions of bash will fail to source /dev/null (special files
3397 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3398 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3400 $as_echo "$as_me: loading cache $cache_file" >&6;}
3402 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3403 *) . "./$cache_file";;
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3408 $as_echo "$as_me: creating cache $cache_file" >&6;}
3412 as_fn_append ac_header_list " stdlib.h"
3413 as_fn_append ac_header_list " unistd.h"
3414 as_fn_append ac_header_list " sys/param.h"
3415 as_fn_append ac_header_list " utime.h"
3416 # Check that the precious variables saved in the cache have kept the same
3418 ac_cache_corrupted=false
3419 for ac_var in $ac_precious_vars; do
3420 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3421 eval ac_new_set=\$ac_env_${ac_var}_set
3422 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3423 eval ac_new_val=\$ac_env_${ac_var}_value
3424 case $ac_old_set,$ac_new_set in
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3427 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3428 ac_cache_corrupted=: ;;
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3431 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3432 ac_cache_corrupted=: ;;
3435 if test "x$ac_old_val" != "x$ac_new_val"; then
3436 # differences in whitespace do not lead to failure.
3437 ac_old_val_w=`echo x $ac_old_val`
3438 ac_new_val_w=`echo x $ac_new_val`
3439 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3441 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3442 ac_cache_corrupted=:
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3445 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3446 eval $ac_var=\$ac_old_val
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3449 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3451 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3454 # Pass precious variables to config.status.
3455 if test "$ac_new_set" = set; then
3457 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3458 *) ac_arg=$ac_var=$ac_new_val ;;
3460 case " $ac_configure_args " in
3461 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3462 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3466 if $ac_cache_corrupted; then
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3470 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3471 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3473 ## -------------------- ##
3474 ## Main body of script. ##
3475 ## -------------------- ##
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 # cross-compile macros
3487 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3488 if test -f "$ac_dir/install-sh"; then
3490 ac_install_sh="$ac_aux_dir/install-sh -c"
3492 elif test -f "$ac_dir/install.sh"; then
3494 ac_install_sh="$ac_aux_dir/install.sh -c"
3496 elif test -f "$ac_dir/shtool"; then
3498 ac_install_sh="$ac_aux_dir/shtool install -c"
3502 if test -z "$ac_aux_dir"; then
3503 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3506 # These three variables are undocumented and unsupported,
3507 # and are intended to be withdrawn in a future Autoconf release.
3508 # They can cause serious problems if a builder's source tree is in a directory
3509 # whose full name contains unusual characters.
3510 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3511 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3512 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3515 # Make sure we can run config.sub.
3516 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3517 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3520 $as_echo_n "checking build system type... " >&6; }
3521 if ${ac_cv_build+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 ac_build_alias=$build_alias
3525 test "x$ac_build_alias" = x &&
3526 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3527 test "x$ac_build_alias" = x &&
3528 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3529 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3534 $as_echo "$ac_cv_build" >&6; }
3535 case $ac_cv_build in
3537 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3540 ac_save_IFS=$IFS; IFS='-'
3546 # Remember, the first character of IFS is used to create $*,
3547 # except with old shells:
3550 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3554 $as_echo_n "checking host system type... " >&6; }
3555 if ${ac_cv_host+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 if test "x$host_alias" = x; then
3559 ac_cv_host=$ac_cv_build
3561 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3562 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3567 $as_echo "$ac_cv_host" >&6; }
3570 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3573 ac_save_IFS=$IFS; IFS='-'
3579 # Remember, the first character of IFS is used to create $*,
3580 # except with old shells:
3583 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3587 # check existence of the package
3591 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3592 if test -f "$ac_dir/install-sh"; then
3594 ac_install_sh="$ac_aux_dir/install-sh -c"
3596 elif test -f "$ac_dir/install.sh"; then
3598 ac_install_sh="$ac_aux_dir/install.sh -c"
3600 elif test -f "$ac_dir/shtool"; then
3602 ac_install_sh="$ac_aux_dir/shtool install -c"
3606 if test -z "$ac_aux_dir"; then
3607 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \`pwd\` \"$srcdir\"/\`pwd\`" "$LINENO" 5
3610 # These three variables are undocumented and unsupported,
3611 # and are intended to be withdrawn in a future Autoconf release.
3612 # They can cause serious problems if a builder's source tree is in a directory
3613 # whose full name contains unusual characters.
3614 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3615 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3616 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3623 # preserve any CFLAGS or LDFLAGS that may be set
3624 # NOTE: This must be done before calling any macros that end up
3625 # calling AC_PROG_CC or the like, since they will set a default
3626 # set of CFLAGS ("-g -O2") if the user did not supply any, and
3627 # we don't want those default flags to be carried over into the
3628 # rest of the build system since we have other means of controlling
3629 # debugging symbol generation and optimization.
3630 CONFIG_CFLAGS="${CFLAGS}"
3631 CONFIG_LDFLAGS="${LDFLAGS}"
3635 # specify output header file
3636 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
3639 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
3640 # other macro that uses the C compiler, or the default order will be used.
3642 ac_cpp='$CPP $CPPFLAGS'
3643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646 if test -n "$ac_tool_prefix"; then
3647 for ac_prog in gcc cc
3649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_CC+:} false; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 if test -n "$CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 $as_echo "$CC" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3686 test -n "$CC" && break
3689 if test -z "$CC"; then
3691 for ac_prog in gcc cc
3693 # Extract the first word of "$ac_prog", so it can be a program name with args.
3694 set dummy $ac_prog; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$ac_ct_CC"; then
3701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710 ac_cv_prog_ac_ct_CC="$ac_prog"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3721 if test -n "$ac_ct_CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3723 $as_echo "$ac_ct_CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3730 test -n "$ac_ct_CC" && break
3733 if test "x$ac_ct_CC" = x; then
3736 case $cross_compiling:$ac_tool_warned in
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3740 ac_tool_warned=yes ;;
3747 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error $? "no acceptable C compiler found in \$PATH
3750 See \`config.log' for more details" "$LINENO" 5; }
3752 # Provide some information about the compiler.
3753 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3756 for ac_option in --version -v -V -qversion; do
3757 { { ac_try="$ac_compiler $ac_option >&5"
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3766 if test -s conftest.err; then
3768 ... rest of stderr output deleted ...
3769 10q' conftest.err >conftest.er1
3770 cat conftest.er1 >&5
3772 rm -f conftest.er1 conftest.err
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 ac_clean_files_save=$ac_clean_files
3789 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3790 # Try to create an executable without -o first, disregard a.out.
3791 # It will help us diagnose broken compilers, and finding out an intuition
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3794 $as_echo_n "checking whether the C compiler works... " >&6; }
3795 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3797 # The possible output files:
3798 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3801 for ac_file in $ac_files
3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3805 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3810 if { { ac_try="$ac_link_default"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_link_default") 2>&5
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }; then :
3821 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3822 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3823 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3824 # so that the user can short-circuit this test for compilers unknown to
3826 for ac_file in $ac_files ''
3828 test -f "$ac_file" || continue
3830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3833 # We found the default executable, but exeext='' is most
3837 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3839 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3841 # We set ac_cv_exeext here because the later test for it is not
3842 # safe: cross compilers may not add the suffix if given an `-o'
3843 # argument, so we may need to know it at that point already.
3844 # Even if this section looks crufty: it has the advantage of
3851 test "$ac_cv_exeext" = no && ac_cv_exeext=
3856 if test -z "$ac_file"; then :
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3864 as_fn_error 77 "C compiler cannot create executables
3865 See \`config.log' for more details" "$LINENO" 5; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868 $as_echo "yes" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3871 $as_echo_n "checking for C compiler default output file name... " >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3873 $as_echo "$ac_file" >&6; }
3874 ac_exeext=$ac_cv_exeext
3876 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3877 ac_clean_files=$ac_clean_files_save
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3879 $as_echo_n "checking for suffix of executables... " >&6; }
3880 if { { ac_try="$ac_link"
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_link") 2>&5
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; then :
3891 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3892 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3893 # work properly (i.e., refer to `conftest.exe'), while it won't with
3895 for ac_file in conftest.exe conftest conftest.*; do
3896 test -f "$ac_file" || continue
3898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3899 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 compute suffix of executables: cannot compile and link
3908 See \`config.log' for more details" "$LINENO" 5; }
3910 rm -f conftest conftest$ac_cv_exeext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3912 $as_echo "$ac_cv_exeext" >&6; }
3914 rm -f conftest.$ac_ext
3915 EXEEXT=$ac_cv_exeext
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3923 FILE *f = fopen ("conftest.out", "w");
3924 return ferror (f) || fclose (f) != 0;
3930 ac_clean_files="$ac_clean_files conftest.out"
3931 # Check that the compiler produces executables we can run. If not, either
3932 # the compiler is broken, or we cross compile.
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3934 $as_echo_n "checking whether we are cross compiling... " >&6; }
3935 if test "$cross_compiling" != yes; then
3936 { { ac_try="$ac_link"
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;