2 # From configure.ac Revision: 265747 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65 for asterisk 1.6.
6 # Report bugs to <www.asterisk.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
18 ## -------------------- ##
19 ## M4sh Initialization. ##
20 ## -------------------- ##
22 # Be more Bourne compatible
23 DUALCASE=1; export DUALCASE # for MKS sh
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28 # is contrary to our usage. Disable this feature.
29 alias -g '${1+"$@"}'='"$@"'
32 case `(set -o) 2>/dev/null` in #(
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 # Prefer a ksh shell builtin over an external printf program on Solaris,
49 # but without wasting forks for bash or zsh.
50 if test -z "$BASH_VERSION$ZSH_VERSION" \
51 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo_n='print -rn --'
54 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
58 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60 as_echo_n='/usr/ucb/echo -n'
62 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67 expr "X$arg" : "X\\(.*\\)$as_nl";
68 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73 as_echo_n='sh -c $as_echo_n_body as_echo'
76 as_echo='sh -c $as_echo_body as_echo'
79 # The user is always right.
80 if test "${PATH_SEPARATOR+set}" != set; then
82 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 # Unset variables that we do not need and which cause bugs (e.g. in
121 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122 # suppresses any "Segmentation fault" message there. '((' could
123 # trigger a bug in pdksh 5.2.14.
124 for as_var in BASH_ENV ENV MAIL MAILPATH
125 do eval test x\${$as_var+set} = xset \
126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
139 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
141 if test "x$CONFIG_SHELL" = x; then
142 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
146 # is contrary to our usage. Disable this feature.
147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 case \`(set -o) 2>/dev/null\` in #(
158 as_required="as_fn_return () { (exit \$1); }
159 as_fn_success () { as_fn_return 0; }
160 as_fn_failure () { as_fn_return 1; }
161 as_fn_ret_success () { return 0; }
162 as_fn_ret_failure () { return 1; }
165 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
166 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
167 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
168 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
169 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
172 exitcode=1; echo positional parameters were not saved.
174 test x\$exitcode = x0 || exit 1"
175 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
176 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
177 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
178 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
179 test \$(( 1 + 1 )) = 2 || exit 1"
180 if (eval "$as_required") 2>/dev/null; then :
185 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 test -z "$as_dir" && as_dir=.
197 for as_base in sh bash ksh sh5; do
198 # Try only shells that exist, to save several forks.
199 as_shell=$as_dir/$as_base
200 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
201 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 CONFIG_SHELL=$as_shell as_have_required=yes
203 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
211 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
212 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
213 CONFIG_SHELL=$SHELL as_have_required=yes
218 if test "x$CONFIG_SHELL" != x; then :
219 # We cannot yet assume a decent shell, so we have to provide a
220 # neutralization value for shells without unset; and this also
221 # works around shells that cannot unset nonexistent variables.
224 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
229 if test x$as_have_required = xno; then :
230 $as_echo "$0: This script requires a shell more modern than all"
231 $as_echo "$0: the shells that I found on your system."
232 if test x${ZSH_VERSION+set} = xset ; then
233 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
234 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 $as_echo "$0: Please tell bug-autoconf@gnu.org and www.asterisk.org
237 $0: about your system, including any error possibly output
238 $0: before this message. Then install a modern shell, or
239 $0: manually run the script under such a shell if you do
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535 test -n "$DJDIR" || exec 7<&0 </dev/null
539 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
540 # so uname gets run too.
541 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546 ac_default_prefix=/usr/local
548 ac_config_libobj_dir=.
555 # Identity of this package.
556 PACKAGE_NAME='asterisk'
557 PACKAGE_TARNAME='asterisk'
558 PACKAGE_VERSION='1.6'
559 PACKAGE_STRING='asterisk 1.6'
560 PACKAGE_BUGREPORT='www.asterisk.org'
563 ac_unique_file="main/asterisk.c"
564 # Factoring default headers for most tests.
565 ac_includes_default="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
601 ac_subst_vars='LTLIBOBJS
603 PBX_SYSLOG_FACILITY_LOG_UUCP
604 PBX_SYSLOG_FACILITY_LOG_SYSLOG
605 PBX_SYSLOG_FACILITY_LOG_NEWS
606 PBX_SYSLOG_FACILITY_LOG_MAIL
607 PBX_SYSLOG_FACILITY_LOG_LPR
608 PBX_SYSLOG_FACILITY_LOG_KERN
609 PBX_SYSLOG_FACILITY_LOG_FTP
610 PBX_SYSLOG_FACILITY_LOG_DAEMON
611 PBX_SYSLOG_FACILITY_LOG_CRON
612 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
613 PBX_SYSLOG_FACILITY_LOG_AUTH
653 AST_NO_STRICT_OVERFLOW
655 AST_DECLARATION_AFTER_STATEMENT
658 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
659 PBX_PTHREAD_RWLOCK_INITIALIZER
731 SPEEX_PREPROCESS_INCLUDE
778 PBX_PRI_REVERSE_CHARGE
779 PRI_REVERSE_CHARGE_DIR
780 PRI_REVERSE_CHARGE_INCLUDE
781 PRI_REVERSE_CHARGE_LIB
782 PBX_PRI_SERVICE_MESSAGES
783 PRI_SERVICE_MESSAGES_DIR
784 PRI_SERVICE_MESSAGES_INCLUDE
785 PRI_SERVICE_MESSAGES_LIB
788 PRI_PROG_W_CAUSE_INCLUDE
790 PBX_PRI_INBANDDISCONNECT
791 PRI_INBANDDISCONNECT_DIR
792 PRI_INBANDDISCONNECT_INCLUDE
793 PRI_INBANDDISCONNECT_LIB
796 PRI_SETUP_KEYPAD_INCLUDE
798 PBX_PRI_CALL_REROUTING
799 PRI_CALL_REROUTING_DIR
800 PRI_CALL_REROUTING_INCLUDE
801 PRI_CALL_REROUTING_LIB
804 PRI_CALL_HOLD_INCLUDE
812 PRI_HANGUP_FIX_INCLUDE
1089 program_transform_name
1102 enable_option_checking
1175 enable_internal_poll
1179 ac_precious_vars='build_alias
1194 # Initialize some variables set by options.
1196 ac_init_version=false
1197 ac_unrecognized_opts=
1198 ac_unrecognized_sep=
1199 # The variables have the same names as the options, with
1200 # dashes changed to underlines.
1201 cache_file=/dev/null
1208 program_transform_name=s,x,x,
1216 # Installation directory options.
1217 # These are left unexpanded so users can "make install exec_prefix=/foo"
1218 # and all the variables that are supposed to be based on exec_prefix
1219 # by default will actually change.
1220 # Use braces instead of parens because sh, perl, etc. also accept them.
1221 # (The list follows the same order as the GNU Coding Standards.)
1222 bindir='${exec_prefix}/bin'
1223 sbindir='${exec_prefix}/sbin'
1224 libexecdir='${exec_prefix}/libexec'
1225 datarootdir='${prefix}/share'
1226 datadir='${datarootdir}'
1227 sysconfdir='${prefix}/etc'
1228 sharedstatedir='${prefix}/com'
1229 localstatedir='${prefix}/var'
1230 includedir='${prefix}/include'
1231 oldincludedir='/usr/include'
1232 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1233 infodir='${datarootdir}/info'
1238 libdir='${exec_prefix}/lib'
1239 localedir='${datarootdir}/locale'
1240 mandir='${datarootdir}/man'
1246 # If the previous option needs an argument, assign it.
1247 if test -n "$ac_prev"; then
1248 eval $ac_prev=\$ac_option
1254 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1258 # Accept the important Cygnus configure options, so we can diagnose typos.
1260 case $ac_dashdash$ac_option in
1264 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1266 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1267 bindir=$ac_optarg ;;
1269 -build | --build | --buil | --bui | --bu)
1270 ac_prev=build_alias ;;
1271 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1272 build_alias=$ac_optarg ;;
1274 -cache-file | --cache-file | --cache-fil | --cache-fi \
1275 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1276 ac_prev=cache_file ;;
1277 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1278 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1279 cache_file=$ac_optarg ;;
1281 --config-cache | -C)
1282 cache_file=config.cache ;;
1284 -datadir | --datadir | --datadi | --datad)
1286 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1287 datadir=$ac_optarg ;;
1289 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1290 | --dataroo | --dataro | --datar)
1291 ac_prev=datarootdir ;;
1292 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1293 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1294 datarootdir=$ac_optarg ;;
1296 -disable-* | --disable-*)
1297 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300 as_fn_error "invalid feature name: $ac_useropt"
1301 ac_useropt_orig=$ac_useropt
1302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1305 "enable_$ac_useropt"
1307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1308 ac_unrecognized_sep=', ';;
1310 eval enable_$ac_useropt=no ;;
1312 -docdir | --docdir | --docdi | --doc | --do)
1314 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1315 docdir=$ac_optarg ;;
1317 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1319 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1320 dvidir=$ac_optarg ;;
1322 -enable-* | --enable-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error "invalid feature name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1331 "enable_$ac_useropt"
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1336 eval enable_$ac_useropt=\$ac_optarg ;;
1338 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1339 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1340 | --exec | --exe | --ex)
1341 ac_prev=exec_prefix ;;
1342 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1343 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1344 | --exec=* | --exe=* | --ex=*)
1345 exec_prefix=$ac_optarg ;;
1347 -gas | --gas | --ga | --g)
1348 # Obsolete; use --with-gas.
1351 -help | --help | --hel | --he | -h)
1352 ac_init_help=long ;;
1353 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1354 ac_init_help=recursive ;;
1355 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1356 ac_init_help=short ;;
1358 -host | --host | --hos | --ho)
1359 ac_prev=host_alias ;;
1360 -host=* | --host=* | --hos=* | --ho=*)
1361 host_alias=$ac_optarg ;;
1363 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1365 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1367 htmldir=$ac_optarg ;;
1369 -includedir | --includedir | --includedi | --included | --include \
1370 | --includ | --inclu | --incl | --inc)
1371 ac_prev=includedir ;;
1372 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1373 | --includ=* | --inclu=* | --incl=* | --inc=*)
1374 includedir=$ac_optarg ;;
1376 -infodir | --infodir | --infodi | --infod | --info | --inf)
1378 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1379 infodir=$ac_optarg ;;
1381 -libdir | --libdir | --libdi | --libd)
1383 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1384 libdir=$ac_optarg ;;
1386 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1387 | --libexe | --libex | --libe)
1388 ac_prev=libexecdir ;;
1389 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1390 | --libexe=* | --libex=* | --libe=*)
1391 libexecdir=$ac_optarg ;;
1393 -localedir | --localedir | --localedi | --localed | --locale)
1394 ac_prev=localedir ;;
1395 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1396 localedir=$ac_optarg ;;
1398 -localstatedir | --localstatedir | --localstatedi | --localstated \
1399 | --localstate | --localstat | --localsta | --localst | --locals)
1400 ac_prev=localstatedir ;;
1401 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1402 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1403 localstatedir=$ac_optarg ;;
1405 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1407 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1408 mandir=$ac_optarg ;;
1410 -nfp | --nfp | --nf)
1411 # Obsolete; use --without-fp.
1414 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1415 | --no-cr | --no-c | -n)
1418 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1419 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1422 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1423 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1424 | --oldin | --oldi | --old | --ol | --o)
1425 ac_prev=oldincludedir ;;
1426 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1427 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1428 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1429 oldincludedir=$ac_optarg ;;
1431 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1433 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1434 prefix=$ac_optarg ;;
1436 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1437 | --program-pre | --program-pr | --program-p)
1438 ac_prev=program_prefix ;;
1439 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1440 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1441 program_prefix=$ac_optarg ;;
1443 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1444 | --program-suf | --program-su | --program-s)
1445 ac_prev=program_suffix ;;
1446 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1447 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1448 program_suffix=$ac_optarg ;;
1450 -program-transform-name | --program-transform-name \
1451 | --program-transform-nam | --program-transform-na \
1452 | --program-transform-n | --program-transform- \
1453 | --program-transform | --program-transfor \
1454 | --program-transfo | --program-transf \
1455 | --program-trans | --program-tran \
1456 | --progr-tra | --program-tr | --program-t)
1457 ac_prev=program_transform_name ;;
1458 -program-transform-name=* | --program-transform-name=* \
1459 | --program-transform-nam=* | --program-transform-na=* \
1460 | --program-transform-n=* | --program-transform-=* \
1461 | --program-transform=* | --program-transfor=* \
1462 | --program-transfo=* | --program-transf=* \
1463 | --program-trans=* | --program-tran=* \
1464 | --progr-tra=* | --program-tr=* | --program-t=*)
1465 program_transform_name=$ac_optarg ;;
1467 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1469 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1470 pdfdir=$ac_optarg ;;
1472 -psdir | --psdir | --psdi | --psd | --ps)
1474 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1478 | -silent | --silent | --silen | --sile | --sil)
1481 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1483 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1485 sbindir=$ac_optarg ;;
1487 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1488 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1489 | --sharedst | --shareds | --shared | --share | --shar \
1491 ac_prev=sharedstatedir ;;
1492 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1493 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1494 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1496 sharedstatedir=$ac_optarg ;;
1498 -site | --site | --sit)
1500 -site=* | --site=* | --sit=*)
1503 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1505 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1506 srcdir=$ac_optarg ;;
1508 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1509 | --syscon | --sysco | --sysc | --sys | --sy)
1510 ac_prev=sysconfdir ;;
1511 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1512 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1513 sysconfdir=$ac_optarg ;;
1515 -target | --target | --targe | --targ | --tar | --ta | --t)
1516 ac_prev=target_alias ;;
1517 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1518 target_alias=$ac_optarg ;;
1520 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1523 -version | --version | --versio | --versi | --vers | -V)
1524 ac_init_version=: ;;
1527 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1528 # Reject names that are not valid shell variable names.
1529 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1530 as_fn_error "invalid package name: $ac_useropt"
1531 ac_useropt_orig=$ac_useropt
1532 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1533 case $ac_user_opts in
1537 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1538 ac_unrecognized_sep=', ';;
1540 eval with_$ac_useropt=\$ac_optarg ;;
1542 -without-* | --without-*)
1543 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1544 # Reject names that are not valid shell variable names.
1545 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1546 as_fn_error "invalid package name: $ac_useropt"
1547 ac_useropt_orig=$ac_useropt
1548 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1549 case $ac_user_opts in
1553 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1554 ac_unrecognized_sep=', ';;
1556 eval with_$ac_useropt=no ;;
1559 # Obsolete; use --with-x.
1562 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1563 | --x-incl | --x-inc | --x-in | --x-i)
1564 ac_prev=x_includes ;;
1565 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1566 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1567 x_includes=$ac_optarg ;;
1569 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1570 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1571 ac_prev=x_libraries ;;
1572 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1573 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1574 x_libraries=$ac_optarg ;;
1576 -*) as_fn_error "unrecognized option: \`$ac_option'
1577 Try \`$0 --help' for more information."
1581 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1582 # Reject names that are not valid shell variable names.
1583 case $ac_envvar in #(
1584 '' | [0-9]* | *[!_$as_cr_alnum]* )
1585 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1587 eval $ac_envvar=\$ac_optarg
1588 export $ac_envvar ;;
1591 # FIXME: should be removed in autoconf 3.0.
1592 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1593 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1594 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1595 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1601 if test -n "$ac_prev"; then
1602 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1603 as_fn_error "missing argument to $ac_option"
1606 if test -n "$ac_unrecognized_opts"; then
1607 case $enable_option_checking in
1609 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1610 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1614 # Check all directory arguments for consistency.
1615 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1616 datadir sysconfdir sharedstatedir localstatedir includedir \
1617 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1618 libdir localedir mandir
1620 eval ac_val=\$$ac_var
1621 # Remove trailing slashes.
1624 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1625 eval $ac_var=\$ac_val;;
1627 # Be sure to have absolute directory names.
1629 [\\/$]* | ?:[\\/]* ) continue;;
1630 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1632 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1635 # There might be people who depend on the old broken behavior: `$host'
1636 # used to hold the argument of --host etc.
1637 # FIXME: To remove some day.
1640 target=$target_alias
1642 # FIXME: To remove some day.
1643 if test "x$host_alias" != x; then
1644 if test "x$build_alias" = x; then
1645 cross_compiling=maybe
1646 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1647 If a cross compiler is detected then cross compile mode will be used." >&2
1648 elif test "x$build_alias" != "x$host_alias"; then
1654 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1656 test "$silent" = yes && exec 6>/dev/null
1659 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1660 ac_ls_di=`ls -di .` &&
1661 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1662 as_fn_error "working directory cannot be determined"
1663 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1664 as_fn_error "pwd does not report name of working directory"
1667 # Find the source files, if location was not specified.
1668 if test -z "$srcdir"; then
1669 ac_srcdir_defaulted=yes
1670 # Try the directory containing this script, then the parent directory.
1671 ac_confdir=`$as_dirname -- "$as_myself" ||
1672 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1673 X"$as_myself" : 'X\(//\)[^/]' \| \
1674 X"$as_myself" : 'X\(//\)$' \| \
1675 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1676 $as_echo X"$as_myself" |
1677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1695 if test ! -r "$srcdir/$ac_unique_file"; then
1699 ac_srcdir_defaulted=no
1701 if test ! -r "$srcdir/$ac_unique_file"; then
1702 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1703 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1705 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1707 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1709 # When building in place, set srcdir=.
1710 if test "$ac_abs_confdir" = "$ac_pwd"; then
1713 # Remove unnecessary trailing slashes from srcdir.
1714 # Double slashes in file names in object file debugging info
1715 # mess up M-x gdb in Emacs.
1717 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1719 for ac_var in $ac_precious_vars; do
1720 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1721 eval ac_env_${ac_var}_value=\$${ac_var}
1722 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1723 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1727 # Report the --help message.
1729 if test "$ac_init_help" = "long"; then
1730 # Omit some internal or obsolete options to make the list less imposing.
1731 # This message is too long to be a string in the A/UX 3.1 sh.
1733 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1735 Usage: $0 [OPTION]... [VAR=VALUE]...
1737 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1738 VAR=VALUE. See below for descriptions of some of the useful variables.
1740 Defaults for the options are specified in brackets.
1743 -h, --help display this help and exit
1744 --help=short display options specific to this package
1745 --help=recursive display the short help of all the included packages
1746 -V, --version display version information and exit
1747 -q, --quiet, --silent do not print \`checking...' messages
1748 --cache-file=FILE cache test results in FILE [disabled]
1749 -C, --config-cache alias for \`--cache-file=config.cache'
1750 -n, --no-create do not create output files
1751 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1753 Installation directories:
1754 --prefix=PREFIX install architecture-independent files in PREFIX
1755 [$ac_default_prefix]
1756 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1759 By default, \`make install' will install all the files in
1760 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1761 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1762 for instance \`--prefix=\$HOME'.
1764 For better control, use the options below.
1766 Fine tuning of the installation directories:
1767 --bindir=DIR user executables [EPREFIX/bin]
1768 --sbindir=DIR system admin executables [EPREFIX/sbin]
1769 --libexecdir=DIR program executables [EPREFIX/libexec]
1770 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1771 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1772 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1773 --libdir=DIR object code libraries [EPREFIX/lib]
1774 --includedir=DIR C header files [PREFIX/include]
1775 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1776 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1777 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1778 --infodir=DIR info documentation [DATAROOTDIR/info]
1779 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1780 --mandir=DIR man documentation [DATAROOTDIR/man]
1781 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1782 --htmldir=DIR html documentation [DOCDIR]
1783 --dvidir=DIR dvi documentation [DOCDIR]
1784 --pdfdir=DIR pdf documentation [DOCDIR]
1785 --psdir=DIR ps documentation [DOCDIR]
1791 --build=BUILD configure for building on BUILD [guessed]
1792 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1796 if test -n "$ac_init_help"; then
1797 case $ac_init_help in
1798 short | recursive ) echo "Configuration of asterisk 1.6:";;
1803 --disable-option-checking ignore unrecognized --enable/--with options
1804 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1805 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1806 --enable-dev-mode Turn on developer mode
1807 --disable-largefile omit support for large files
1808 --enable-internal-poll Use Asterisk's poll implementation
1809 --disable-xmldoc Explicity disable XML documentation
1812 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1813 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1814 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1815 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1816 --with-execinfo=PATH use Stack Backtrace files in PATH
1817 --with-bluetooth=PATH use Bluetooth files in PATH
1818 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1819 --with-curl=PATH use cURL files in PATH
1820 --with-curses=PATH use curses files in PATH
1821 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1822 --with-dahdi=PATH use DAHDI files in PATH
1823 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1824 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1826 --with-gtk2=PATH use gtk2 files in PATH
1827 --with-gmime=PATH use GMime files in PATH
1828 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1829 --with-ical=PATH use iCal files in PATH
1830 --with-iconv=PATH use Iconv files in PATH
1831 --with-iksemel=PATH use Iksemel Jabber files in PATH
1832 --with-imap=PATH use UW IMAP Toolkit files in PATH
1833 --with-inotify=PATH use inotify support files in PATH
1834 --with-iodbc=PATH use iODBC files in PATH
1835 --with-isdnnet=PATH use ISDN4Linux files in PATH
1836 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1837 --with-kqueue=PATH use kqueue support files in PATH
1838 --with-ldap=PATH use OpenLDAP files in PATH
1839 --with-libxml2=PATH use LibXML2 files in PATH
1840 --with-ltdl=PATH use libtool files in PATH
1841 --with-lua=PATH use Lua files in PATH
1842 --with-misdn=PATH use mISDN user files in PATH
1843 --with-mysqlclient=PATH use MySQL client files in PATH
1844 --with-nbs=PATH use Network Broadcast Sound files in PATH
1845 --with-ncurses=PATH use ncurses files in PATH
1846 --with-neon=PATH use neon files in PATH
1847 --with-neon29=PATH use neon29 files in PATH
1848 --with-netsnmp=PATH use Net-SNMP files in PATH
1849 --with-newt=PATH use newt files in PATH
1850 --with-ogg=PATH use OGG files in PATH
1851 --with-osptk=PATH use OSP Toolkit files in PATH
1852 --with-oss=PATH use Open Sound System files in PATH
1853 --with-postgres=PATH use PostgreSQL files in PATH
1854 --with-popt=PATH use popt files in PATH
1855 --with-portaudio=PATH use PortAudio files in PATH
1856 --with-pri=PATH use ISDN PRI files in PATH
1857 --with-resample=PATH use LIBRESAMPLE files in PATH
1858 --with-sounds-cache=PATH
1859 use cached sound tarfiles in PATH
1860 --with-spandsp=PATH use SPANDSP files in PATH
1861 --with-ss7=PATH use ISDN SS7 files in PATH
1862 --with-openr2=PATH use MFR2 files in PATH
1863 --with-pwlib=PATH use PWlib files in PATH
1864 --with-h323=PATH use OpenH323 files in PATH
1865 --with-radius=PATH use Radius Client files in PATH
1866 --with-sdl=PATH use Sdl files in PATH
1867 --with-SDL_image=PATH use Sdl Image files in PATH
1868 --with-openais=PATH use OpenAIS files in PATH
1869 --with-speex=PATH use Speex files in PATH
1870 --with-speex=PATH use Speex preprocess routines files in PATH
1871 --with-speexdsp=PATH use SpeexDSP files in PATH
1872 --with-sqlite=PATH use SQLite files in PATH
1873 --with-sqlite3=PATH use SQLite files in PATH
1874 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1875 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1876 --with-tds=PATH use FreeTDS files in PATH
1877 --with-termcap=PATH use Termcap files in PATH
1878 --with-tinfo=PATH use Term Info files in PATH
1879 --with-tonezone=PATH use tonezone files in PATH
1880 --with-unixodbc=PATH use unixODBC files in PATH
1881 --with-usb=PATH use usb files in PATH
1882 --with-vorbis=PATH use Vorbis files in PATH
1883 --with-vpb=PATH use Voicetronix API files in PATH
1884 --with-x11=PATH use X11 files in PATH
1885 --with-z=PATH use zlib compression files in PATH
1886 --with-timerfd=PATH use timerfd files in PATH
1887 --with-libcurl=DIR look for the curl library in DIR
1889 Some influential environment variables:
1890 CC C compiler command
1891 CFLAGS C compiler flags
1892 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1893 nonstandard directory <lib dir>
1894 LIBS libraries to pass to the linker, e.g. -l<library>
1895 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1896 you have headers in a nonstandard directory <include dir>
1898 CXX C++ compiler command
1899 CXXFLAGS C++ compiler flags
1900 CXXCPP C++ preprocessor
1902 Use these variables to override the choices made by `configure' or to help
1903 it to find libraries and programs with nonstandard names/locations.
1905 Report bugs to <www.asterisk.org>.
1910 if test "$ac_init_help" = "recursive"; then
1911 # If there are subdirs, report their specific --help.
1912 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1913 test -d "$ac_dir" ||
1914 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1922 # A ".." for each directory in $ac_dir_suffix.
1923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1924 case $ac_top_builddir_sub in
1925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1929 ac_abs_top_builddir=$ac_pwd
1930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1931 # for backward compatibility:
1932 ac_top_builddir=$ac_top_build_prefix
1935 .) # We are building in place.
1937 ac_top_srcdir=$ac_top_builddir_sub
1938 ac_abs_top_srcdir=$ac_pwd ;;
1939 [\\/]* | ?:[\\/]* ) # Absolute name.
1940 ac_srcdir=$srcdir$ac_dir_suffix;
1941 ac_top_srcdir=$srcdir
1942 ac_abs_top_srcdir=$srcdir ;;
1944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1945 ac_top_srcdir=$ac_top_build_prefix$srcdir
1946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1950 cd "$ac_dir" || { ac_status=$?; continue; }
1951 # Check for guested configure.
1952 if test -f "$ac_srcdir/configure.gnu"; then
1954 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1955 elif test -f "$ac_srcdir/configure"; then
1957 $SHELL "$ac_srcdir/configure" --help=recursive
1959 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1961 cd "$ac_pwd" || { ac_status=$?; break; }
1965 test -n "$ac_init_help" && exit $ac_status
1966 if $ac_init_version; then
1968 asterisk configure 1.6
1969 generated by GNU Autoconf 2.65
1971 Copyright (C) 2009 Free Software Foundation, Inc.
1972 This configure script is free software; the Free Software Foundation
1973 gives unlimited permission to copy, distribute and modify it.
1980 ## ------------------------ ##
1981 ## Autoconf initialization. ##
1982 ## ------------------------ ##
1984 # ac_fn_c_try_compile LINENO
1985 # --------------------------
1986 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_c_try_compile ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext
1991 if { { ac_try="$ac_compile"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_compile") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_c_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest.$ac_objext; then :
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_c_try_compile
2022 # ac_fn_c_try_cpp LINENO
2023 # ----------------------
2024 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028 if { { ac_try="$ac_cpp conftest.$ac_ext"
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2037 if test -s conftest.err; then
2038 grep -v '^ *+' conftest.err >conftest.er1
2039 cat conftest.er1 >&5
2040 mv -f conftest.er1 conftest.err
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } >/dev/null && {
2044 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2045 test ! -s conftest.err
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 as_fn_set_status $ac_retval
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2064 ac_fn_c_check_header_mongrel ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2088 ac_header_compiler=no
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2104 ac_header_preproc=no
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 ## ------------------------------- ##
2131 ## Report this to www.asterisk.org ##
2132 ## ------------------------------- ##
2134 ) | sed "s/^/$as_me: WARNING: /" >&2
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2138 $as_echo_n "checking for $2... " >&6; }
2139 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2140 $as_echo_n "(cached) " >&6
2142 eval "$3=\$ac_header_compiler"
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2148 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2150 } # ac_fn_c_check_header_mongrel
2152 # ac_fn_c_try_run LINENO
2153 # ----------------------
2154 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2155 # that executables *can* be run.
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 if { { ac_try="$ac_link"
2161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2162 *) ac_try_echo=$ac_try;;
2164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2165 $as_echo "$ac_try_echo"; } >&5
2166 (eval "$ac_link") 2>&5
2168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2169 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2170 { { case "(($ac_try" in
2171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2172 *) ac_try_echo=$ac_try;;
2174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176 (eval "$ac_try") 2>&5
2178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2179 test $ac_status = 0; }; }; then :
2182 $as_echo "$as_me: program exited with status $ac_status" >&5
2183 $as_echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2186 ac_retval=$ac_status
2188 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190 as_fn_set_status $ac_retval
2194 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2195 # -------------------------------------------------------
2196 # Tests whether HEADER exists and can be compiled using the include files in
2197 # INCLUDES, setting the cache variable VAR accordingly.
2198 ac_fn_c_check_header_compile ()
2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 $as_echo_n "checking for $2... " >&6; }
2203 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2211 if ac_fn_c_try_compile "$LINENO"; then :
2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2223 } # ac_fn_c_check_header_compile
2225 # ac_fn_cxx_try_compile LINENO
2226 # ----------------------------
2227 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2228 ac_fn_cxx_try_compile ()
2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2231 rm -f conftest.$ac_objext
2232 if { { ac_try="$ac_compile"
2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235 *) ac_try_echo=$ac_try;;
2237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2238 $as_echo "$ac_try_echo"; } >&5
2239 (eval "$ac_compile") 2>conftest.err
2241 if test -s conftest.err; then
2242 grep -v '^ *+' conftest.err >conftest.er1
2243 cat conftest.er1 >&5
2244 mv -f conftest.er1 conftest.err
2246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2247 test $ac_status = 0; } && {
2248 test -z "$ac_cxx_werror_flag" ||
2249 test ! -s conftest.err
2250 } && test -s conftest.$ac_objext; then :
2253 $as_echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.$ac_ext >&5
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2259 as_fn_set_status $ac_retval
2261 } # ac_fn_cxx_try_compile
2263 # ac_fn_cxx_try_cpp LINENO
2264 # ------------------------
2265 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2266 ac_fn_cxx_try_cpp ()
2268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269 if { { ac_try="$ac_cpp conftest.$ac_ext"
2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2275 $as_echo "$ac_try_echo"; } >&5
2276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2278 if test -s conftest.err; then
2279 grep -v '^ *+' conftest.err >conftest.er1
2280 cat conftest.er1 >&5
2281 mv -f conftest.er1 conftest.err
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; } >/dev/null && {
2285 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2286 test ! -s conftest.err
2290 $as_echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2295 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2296 as_fn_set_status $ac_retval
2298 } # ac_fn_cxx_try_cpp
2300 # ac_fn_c_try_link LINENO
2301 # -----------------------
2302 # Try to link conftest.$ac_ext, and return whether this succeeded.
2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2306 rm -f conftest.$ac_objext conftest$ac_exeext
2307 if { { ac_try="$ac_link"
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_link") 2>conftest.err
2316 if test -s conftest.err; then
2317 grep -v '^ *+' conftest.err >conftest.er1
2318 cat conftest.er1 >&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_c_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest$ac_exeext && {
2326 test "$cross_compiling" = yes ||
2327 $as_test_x conftest$ac_exeext
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2336 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2337 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2338 # interfere with the next link command; also delete a directory that is
2339 # left behind by Apple's compiler. We do this before executing the actions.
2340 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2341 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2342 as_fn_set_status $ac_retval
2344 } # ac_fn_c_try_link
2346 # ac_fn_c_check_func LINENO FUNC VAR
2347 # ----------------------------------
2348 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2349 ac_fn_c_check_func ()
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2353 $as_echo_n "checking for $2... " >&6; }
2354 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2355 $as_echo_n "(cached) " >&6
2357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2358 /* end confdefs.h. */
2359 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2361 #define $2 innocuous_$2
2363 /* System header to define __stub macros and hopefully few prototypes,
2364 which can conflict with char $2 (); below.
2365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2366 <limits.h> exists even on freestanding compilers. */
2369 # include <limits.h>
2371 # include <assert.h>
2376 /* Override any GCC internal prototype to avoid an error.
2377 Use char because int might match the return type of a GCC
2378 builtin and then its argument prototype would still apply. */
2383 /* The GNU C library defines this for functions which it implements
2384 to always fail with ENOSYS. Some functions are actually named
2385 something starting with __ and the normal name is an alias. */
2386 #if defined __stub_$2 || defined __stub___$2
2398 if ac_fn_c_try_link "$LINENO"; then :
2403 rm -f core conftest.err conftest.$ac_objext \
2404 conftest$ac_exeext conftest.$ac_ext
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2408 $as_echo "$ac_res" >&6; }
2409 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2411 } # ac_fn_c_check_func
2413 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2414 # -------------------------------------------
2415 # Tests whether TYPE exists after having included INCLUDES, setting cache
2416 # variable VAR accordingly.
2417 ac_fn_c_check_type ()
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2422 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2423 $as_echo_n "(cached) " >&6
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2438 if ac_fn_c_try_compile "$LINENO"; then :
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440 /* end confdefs.h. */
2451 if ac_fn_c_try_compile "$LINENO"; then :
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2465 } # ac_fn_c_check_type
2467 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2468 # ----------------------------------------------------
2469 # Tries to find if the field MEMBER exists in type AGGR, after including
2470 # INCLUDES, setting cache variable VAR accordingly.
2471 ac_fn_c_check_member ()
2473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2475 $as_echo_n "checking for $2.$3... " >&6; }
2476 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2477 $as_echo_n "(cached) " >&6
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2492 if ac_fn_c_try_compile "$LINENO"; then :
2495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496 /* end confdefs.h. */
2502 if (sizeof ac_aggr.$3)
2508 if ac_fn_c_try_compile "$LINENO"; then :
2513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2519 $as_echo "$ac_res" >&6; }
2520 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2522 } # ac_fn_c_check_member
2524 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2525 # --------------------------------------------
2526 # Tries to find the compile-time value of EXPR in a program that includes
2527 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2529 ac_fn_c_compute_int ()
2531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2532 if test "$cross_compiling" = yes; then
2533 # Depending upon the size, compute the lo and hi bounds.
2534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535 /* end confdefs.h. */
2540 static int test_array [1 - 2 * !(($2) >= 0)];
2547 if ac_fn_c_try_compile "$LINENO"; then :
2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2556 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2563 if ac_fn_c_try_compile "$LINENO"; then :
2564 ac_hi=$ac_mid; break
2566 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2567 if test $ac_lo -le $ac_mid; then
2571 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2577 /* end confdefs.h. */
2582 static int test_array [1 - 2 * !(($2) < 0)];
2589 if ac_fn_c_try_compile "$LINENO"; then :
2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2593 /* end confdefs.h. */
2598 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2605 if ac_fn_c_try_compile "$LINENO"; then :
2606 ac_lo=$ac_mid; break
2608 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2609 if test $ac_mid -le $ac_hi; then
2613 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2623 # Binary search between lo and hi bounds.
2624 while test "x$ac_lo" != "x$ac_hi"; do
2625 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2632 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2639 if ac_fn_c_try_compile "$LINENO"; then :
2642 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2654 static long int longval () { return $2; }
2655 static unsigned long int ulongval () { return $2; }
2662 FILE *f = fopen ("conftest.val", "w");
2667 long int i = longval ();
2670 fprintf (f, "%ld", i);
2674 unsigned long int i = ulongval ();
2677 fprintf (f, "%lu", i);
2679 /* Do not output a trailing newline, as this causes \r\n confusion
2680 on some platforms. */
2681 return ferror (f) || fclose (f) != 0;
2687 if ac_fn_c_try_run "$LINENO"; then :
2688 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2693 conftest.$ac_objext conftest.beam conftest.$ac_ext
2697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2698 as_fn_set_status $ac_retval
2700 } # ac_fn_c_compute_int
2702 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2703 # ---------------------------------------------------------
2704 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2705 # the include files in INCLUDES and setting the cache variable VAR
2707 ac_fn_cxx_check_header_mongrel ()
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2712 $as_echo_n "checking for $2... " >&6; }
2713 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2714 $as_echo_n "(cached) " >&6
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2718 $as_echo "$ac_res" >&6; }
2720 # Is the header compilable?
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2722 $as_echo_n "checking $2 usability... " >&6; }
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2728 if ac_fn_cxx_try_compile "$LINENO"; then :
2729 ac_header_compiler=yes
2731 ac_header_compiler=no
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2735 $as_echo "$ac_header_compiler" >&6; }
2737 # Is the header present?
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2739 $as_echo_n "checking $2 presence... " >&6; }
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2744 if ac_fn_cxx_try_cpp "$LINENO"; then :
2745 ac_header_preproc=yes
2747 ac_header_preproc=no
2749 rm -f conftest.err conftest.$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2751 $as_echo "$ac_header_preproc" >&6; }
2753 # So? What about this header?
2754 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2757 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2763 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2765 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2767 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2769 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2771 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2773 ## ------------------------------- ##
2774 ## Report this to www.asterisk.org ##
2775 ## ------------------------------- ##
2777 ) | sed "s/^/$as_me: WARNING: /" >&2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2781 $as_echo_n "checking for $2... " >&6; }
2782 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2783 $as_echo_n "(cached) " >&6
2785 eval "$3=\$ac_header_compiler"
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2793 } # ac_fn_cxx_check_header_mongrel
2795 # ac_fn_cxx_try_link LINENO
2796 # -------------------------
2797 # Try to link conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_cxx_try_link ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext conftest$ac_exeext
2802 if { { ac_try="$ac_link"
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_link") 2>conftest.err
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_cxx_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest$ac_exeext && {
2821 test "$cross_compiling" = yes ||
2822 $as_test_x conftest$ac_exeext
2826 $as_echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2833 # interfere with the next link command; also delete a directory that is
2834 # left behind by Apple's compiler. We do this before executing the actions.
2835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2837 as_fn_set_status $ac_retval
2839 } # ac_fn_cxx_try_link
2841 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2842 # ---------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_cxx_check_header_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 $as_echo_n "checking for $2... " >&6; }
2850 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2851 $as_echo_n "(cached) " >&6
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2858 if ac_fn_cxx_try_compile "$LINENO"; then :
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2870 } # ac_fn_cxx_check_header_compile
2871 cat >config.log <<_ACEOF
2872 This file contains any messages produced by compilers while
2873 running configure, to aid debugging if configure makes a mistake.
2875 It was created by asterisk $as_me 1.6, which was
2876 generated by GNU Autoconf 2.65. Invocation command line was
2888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2895 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2897 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2898 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2900 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2901 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2902 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2903 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 $as_echo "PATH: $as_dir"
2928 # Keep a trace of the command line.
2929 # Strip out --no-create and --no-recursion so they do not pile up.
2930 # Strip out --silent because we don't want to record it for future runs.
2931 # Also quote any args containing shell meta-characters.
2932 # Make two passes to allow for proper duplicate-argument suppression.
2936 ac_must_keep_next=false
2942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2944 | -silent | --silent | --silen | --sile | --sil)
2947 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2952 as_fn_append ac_configure_args1 " '$ac_arg'"
2953 if test $ac_must_keep_next = true; then
2954 ac_must_keep_next=false # Got value, back to normal.
2957 *=* | --config-cache | -C | -disable-* | --disable-* \
2958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2960 | -with-* | --with-* | -without-* | --without-* | --x)
2961 case "$ac_configure_args0 " in
2962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2965 -* ) ac_must_keep_next=true ;;
2968 as_fn_append ac_configure_args " '$ac_arg'"
2973 { ac_configure_args0=; unset ac_configure_args0;}
2974 { ac_configure_args1=; unset ac_configure_args1;}
2976 # When interrupted or exit'd, cleanup temporary files, and complete
2977 # config.log. We remove comments because anyway the quotes in there
2978 # would cause problems or look ugly.
2979 # WARNING: Use '\'' to represent an apostrophe within the trap.
2980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2981 trap 'exit_status=$?
2982 # Save into config.log some information that might help in debugging.
2987 ## ---------------- ##
2988 ## Cache variables. ##
2989 ## ---------------- ##
2992 # The following way of writing the cache mishandles newlines in values,
2994 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2995 eval ac_val=\$$ac_var
2999 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3003 _ | IFS | as_nl) ;; #(
3004 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3005 *) { eval $ac_var=; unset $ac_var;} ;;
3010 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3011 *${as_nl}ac_space=\ *)
3013 "s/'\''/'\''\\\\'\'''\''/g;
3014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3025 ## ----------------- ##
3026 ## Output variables. ##
3027 ## ----------------- ##
3030 for ac_var in $ac_subst_vars
3032 eval ac_val=\$$ac_var
3034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3036 $as_echo "$ac_var='\''$ac_val'\''"
3040 if test -n "$ac_subst_files"; then
3042 ## ------------------- ##
3043 ## File substitutions. ##
3044 ## ------------------- ##
3047 for ac_var in $ac_subst_files
3049 eval ac_val=\$$ac_var
3051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3053 $as_echo "$ac_var='\''$ac_val'\''"
3058 if test -s confdefs.h; then
3068 test "$ac_signal" != 0 &&
3069 $as_echo "$as_me: caught signal $ac_signal"
3070 $as_echo "$as_me: exit $exit_status"
3072 rm -f core *.core core.conftest.* &&
3073 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3076 for ac_signal in 1 2 13 15; do
3077 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3082 rm -f -r conftest* confdefs.h
3084 $as_echo "/* confdefs.h */" > confdefs.h
3086 # Predefined preprocessor variables.
3088 cat >>confdefs.h <<_ACEOF
3089 #define PACKAGE_NAME "$PACKAGE_NAME"
3092 cat >>confdefs.h <<_ACEOF
3093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3096 cat >>confdefs.h <<_ACEOF
3097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3100 cat >>confdefs.h <<_ACEOF
3101 #define PACKAGE_STRING "$PACKAGE_STRING"
3104 cat >>confdefs.h <<_ACEOF
3105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3108 cat >>confdefs.h <<_ACEOF
3109 #define PACKAGE_URL "$PACKAGE_URL"
3113 # Let the site file select an alternate cache file if it wants to.
3114 # Prefer an explicitly selected file to automatically selected ones.
3117 if test -n "$CONFIG_SITE"; then
3118 ac_site_file1=$CONFIG_SITE
3119 elif test "x$prefix" != xNONE; then
3120 ac_site_file1=$prefix/share/config.site
3121 ac_site_file2=$prefix/etc/config.site
3123 ac_site_file1=$ac_default_prefix/share/config.site
3124 ac_site_file2=$ac_default_prefix/etc/config.site
3126 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3128 test "x$ac_site_file" = xNONE && continue
3129 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3131 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3132 sed 's/^/| /' "$ac_site_file" >&5
3137 if test -r "$cache_file"; then
3138 # Some versions of bash will fail to source /dev/null (special files
3139 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3140 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3142 $as_echo "$as_me: loading cache $cache_file" >&6;}
3144 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3145 *) . "./$cache_file";;
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3150 $as_echo "$as_me: creating cache $cache_file" >&6;}
3154 as_fn_append ac_header_list " stdlib.h"
3155 as_fn_append ac_header_list " unistd.h"
3156 as_fn_append ac_header_list " sys/param.h"
3157 as_fn_append ac_header_list " utime.h"
3158 # Check that the precious variables saved in the cache have kept the same
3160 ac_cache_corrupted=false
3161 for ac_var in $ac_precious_vars; do
3162 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3163 eval ac_new_set=\$ac_env_${ac_var}_set
3164 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3165 eval ac_new_val=\$ac_env_${ac_var}_value
3166 case $ac_old_set,$ac_new_set in
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3169 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3170 ac_cache_corrupted=: ;;
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3173 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3174 ac_cache_corrupted=: ;;
3177 if test "x$ac_old_val" != "x$ac_new_val"; then
3178 # differences in whitespace do not lead to failure.
3179 ac_old_val_w=`echo x $ac_old_val`
3180 ac_new_val_w=`echo x $ac_new_val`
3181 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3183 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3184 ac_cache_corrupted=:
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3187 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3188 eval $ac_var=\$ac_old_val
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3191 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3193 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3196 # Pass precious variables to config.status.
3197 if test "$ac_new_set" = set; then
3199 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3200 *) ac_arg=$ac_var=$ac_new_val ;;
3202 case " $ac_configure_args " in
3203 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3204 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3208 if $ac_cache_corrupted; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3212 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3213 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3215 ## -------------------- ##
3216 ## Main body of script. ##
3217 ## -------------------- ##
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227 # cross-compile macros
3229 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3230 for ac_t in install-sh install.sh shtool; do
3231 if test -f "$ac_dir/$ac_t"; then
3233 ac_install_sh="$ac_aux_dir/$ac_t -c"
3238 if test -z "$ac_aux_dir"; then
3239 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3242 # These three variables are undocumented and unsupported,
3243 # and are intended to be withdrawn in a future Autoconf release.
3244 # They can cause serious problems if a builder's source tree is in a directory
3245 # whose full name contains unusual characters.
3246 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3247 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3248 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3251 # Make sure we can run config.sub.
3252 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3253 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3256 $as_echo_n "checking build system type... " >&6; }
3257 if test "${ac_cv_build+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3260 ac_build_alias=$build_alias
3261 test "x$ac_build_alias" = x &&
3262 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3263 test "x$ac_build_alias" = x &&
3264 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3265 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3266 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3270 $as_echo "$ac_cv_build" >&6; }
3271 case $ac_cv_build in
3273 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3276 ac_save_IFS=$IFS; IFS='-'
3282 # Remember, the first character of IFS is used to create $*,
3283 # except with old shells:
3286 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3290 $as_echo_n "checking host system type... " >&6; }
3291 if test "${ac_cv_host+set}" = set; then :
3292 $as_echo_n "(cached) " >&6
3294 if test "x$host_alias" = x; then
3295 ac_cv_host=$ac_cv_build
3297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3298 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3303 $as_echo "$ac_cv_host" >&6; }
3306 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3309 ac_save_IFS=$IFS; IFS='-'
3315 # Remember, the first character of IFS is used to create $*,
3316 # except with old shells:
3319 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3323 # check existence of the package
3327 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3328 for ac_t in install-sh install.sh shtool; do
3329 if test -f "$ac_dir/$ac_t"; then
3331 ac_install_sh="$ac_aux_dir/$ac_t -c"
3336 if test -z "$ac_aux_dir"; then
3337 as_fn_error "cannot find install-sh, install.sh, or shtool in \`pwd\` \"$srcdir\"/\`pwd\`" "$LINENO" 5
3340 # These three variables are undocumented and unsupported,
3341 # and are intended to be withdrawn in a future Autoconf release.
3342 # They can cause serious problems if a builder's source tree is in a directory
3343 # whose full name contains unusual characters.
3344 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3345 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3346 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3353 # preserve any CFLAGS or LDFLAGS that may be set
3354 # NOTE: This must be done before calling any macros that end up
3355 # calling AC_PROG_CC or the like, since they will set a default
3356 # set of CFLAGS ("-g -O2") if the user did not supply any, and
3357 # we don't want those default flags to be carried over into the
3358 # rest of the build system since we have other means of controlling
3359 # debugging symbol generation and optimization.
3360 CONFIG_CFLAGS="${CFLAGS}"
3361 CONFIG_LDFLAGS="${LDFLAGS}"
3365 # specify output header file
3366 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
3370 ac_cpp='$CPP $CPPFLAGS'
3371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3376 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if test "${ac_cv_prog_CC+set}" = set; then :
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$CC"; then
3383 ac_cv_prog_CC="$CC" # Let the user override the test.
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 if test -n "$CC"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3405 $as_echo "$CC" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3413 if test -z "$ac_cv_prog_CC"; then
3415 # Extract the first word of "gcc", so it can be a program name with args.
3416 set dummy gcc; ac_word=$2
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 $as_echo_n "checking for $ac_word... " >&6; }
3419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3420 $as_echo_n "(cached) " >&6
3422 if test -n "$ac_ct_CC"; then
3423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir=.
3430 for ac_exec_ext in '' $ac_executable_extensions; do
3431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3432 ac_cv_prog_ac_ct_CC="gcc"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3443 if test -n "$ac_ct_CC"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 $as_echo "$ac_ct_CC" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3451 if test "x$ac_ct_CC" = x; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned=yes ;;
3466 if test -z "$CC"; then
3467 if test -n "$ac_tool_prefix"; then
3468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3469 set dummy ${ac_tool_prefix}cc; ac_word=$2
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if test "${ac_cv_prog_CC+set}" = set; then :
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$CC"; then
3476 ac_cv_prog_CC="$CC" # Let the user override the test.
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3485 ac_cv_prog_CC="${ac_tool_prefix}cc"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498 $as_echo "$CC" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3507 if test -z "$CC"; then
3508 # Extract the first word of "cc", so it can be a program name with args.
3509 set dummy cc; ac_word=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if test "${ac_cv_prog_CC+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC="$CC" # Let the user override the test.
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir=.
3524 for ac_exec_ext in '' $ac_executable_extensions; do
3525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3526 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3527 ac_prog_rejected=yes
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test $ac_prog_rejected = yes; then
3539 # We found a bogon in the path, so make sure we never use it.
3540 set dummy $ac_cv_prog_CC
3542 if test $# != 0; then
3543 # We chose a different compiler from the bogus one.
3544 # However, it has the same basename, so the bogon will be chosen
3545 # first if we set CC to just the basename; use the full file name.
3547 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3563 if test -z "$CC"; then
3564 if test -n "$ac_tool_prefix"; then
3565 for ac_prog in cl.exe
3567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if test "${ac_cv_prog_CC+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC="$CC" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$CC" && break
3607 if test -z "$CC"; then
3609 for ac_prog in cl.exe
3611 # Extract the first word of "$ac_prog", so it can be a program name with args.
3612 set dummy $ac_prog; ac_word=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3616 $as_echo_n "(cached) " >&6
3618 if test -n "$ac_ct_CC"; then
3619 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 test -z "$as_dir" && as_dir=.
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3628 ac_cv_prog_ac_ct_CC="$ac_prog"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3639 if test -n "$ac_ct_CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3641 $as_echo "$ac_ct_CC" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3648 test -n "$ac_ct_CC" && break
3651 if test "x$ac_ct_CC" = x; then
3654 case $cross_compiling:$ac_tool_warned in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3667 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 as_fn_error "no acceptable C compiler found in \$PATH
3670 See \`config.log' for more details." "$LINENO" 5; }
3672 # Provide some information about the compiler.
3673 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3676 for ac_option in --version -v -V -qversion; do
3677 { { ac_try="$ac_compiler $ac_option >&5"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 $as_echo "$ac_try_echo"; } >&5
3684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3686 if test -s conftest.err; then
3688 ... rest of stderr output deleted ...
3689 10q' conftest.err >conftest.er1
3690 cat conftest.er1 >&5
3692 rm -f conftest.er1 conftest.err
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 ac_clean_files_save=$ac_clean_files
3709 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3710 # Try to create an executable without -o first, disregard a.out.
3711 # It will help us diagnose broken compilers, and finding out an intuition
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3714 $as_echo_n "checking whether the C compiler works... " >&6; }
3715 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3717 # The possible output files:
3718 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3721 for ac_file in $ac_files
3724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3730 if { { ac_try="$ac_link_default"
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733 *) ac_try_echo=$ac_try;;
3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737 (eval "$ac_link_default") 2>&5
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }; then :
3741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3744 # so that the user can short-circuit this test for compilers unknown to
3746 for ac_file in $ac_files ''
3748 test -f "$ac_file" || continue
3750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3753 # We found the default executable, but exeext='' is most
3757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3759 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3761 # We set ac_cv_exeext here because the later test for it is not
3762 # safe: cross compilers may not add the suffix if given an `-o'
3763 # argument, so we may need to know it at that point already.
3764 # Even if this section looks crufty: it has the advantage of
3771 test "$ac_cv_exeext" = no && ac_cv_exeext=
3776 if test -z "$ac_file"; then :
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3779 $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 { as_fn_set_status 77
3785 as_fn_error "C compiler cannot create executables
3786 See \`config.log' for more details." "$LINENO" 5; }; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3789 $as_echo "yes" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3792 $as_echo_n "checking for C compiler default output file name... " >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3794 $as_echo "$ac_file" >&6; }
3795 ac_exeext=$ac_cv_exeext
3797 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3798 ac_clean_files=$ac_clean_files_save
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3800 $as_echo_n "checking for suffix of executables... " >&6; }
3801 if { { ac_try="$ac_link"
3803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804 *) ac_try_echo=$ac_try;;
3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_link") 2>&5
3810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3811 test $ac_status = 0; }; then :
3812 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3813 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3814 # work properly (i.e., refer to `conftest.exe'), while it won't with
3816 for ac_file in conftest.exe conftest conftest.*; do
3817 test -f "$ac_file" || continue
3819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3820 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3828 as_fn_error "cannot compute suffix of executables: cannot compile and link
3829 See \`config.log' for more details." "$LINENO" 5; }
3831 rm -f conftest conftest$ac_cv_exeext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3833 $as_echo "$ac_cv_exeext" >&6; }
3835 rm -f conftest.$ac_ext
3836 EXEEXT=$ac_cv_exeext
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3844 FILE *f = fopen ("conftest.out", "w");
3845 return ferror (f) || fclose (f) != 0;
3851 ac_clean_files="$ac_clean_files conftest.out"
3852 # Check that the compiler produces executables we can run. If not, either
3853 # the compiler is broken, or we cross compile.
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3855 $as_echo_n "checking whether we are cross compiling... " >&6; }
3856 if test "$cross_compiling" != yes; then
3857 { { ac_try="$ac_link"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_link") 2>&5
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }
3868 if { ac_try='./conftest$ac_cv_exeext'
3869 { { case "(($ac_try" in
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_try") 2>&5
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; }; then
3881 if test "$cross_compiling" = maybe; then
3884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3886 as_fn_error "cannot run C compiled programs.
3887 If you meant to cross compile, use \`--host'.
3888 See \`config.log' for more details." "$LINENO" 5; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3893 $as_echo "$cross_compiling" >&6; }
3895 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3896 ac_clean_files=$ac_clean_files_save
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3898 $as_echo_n "checking for suffix of object files... " >&6; }
3899 if test "${ac_cv_objext+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 rm -f conftest.o conftest.obj
3914 if { { ac_try="$ac_compile"
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_compile") 2>&5
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; then :
3925 for ac_file in conftest.o conftest.obj conftest.*; do
3926 test -f "$ac_file" || continue;
3928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3929 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3934 $as_echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.$ac_ext >&5
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "cannot compute suffix of object files: cannot compile
3940 See \`config.log' for more details." "$LINENO" 5; }
3942 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3945 $as_echo "$ac_cv_objext" >&6; }
3946 OBJEXT=$ac_cv_objext
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3949 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3950 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3967 if ac_fn_c_try_compile "$LINENO"; then :
3972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3977 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3978 if test $ac_compiler_gnu = yes; then
3983 ac_test_CFLAGS=${CFLAGS+set}
3984 ac_save_CFLAGS=$CFLAGS
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3986 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3987 if test "${ac_cv_prog_cc_g+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 ac_save_c_werror_flag=$ac_c_werror_flag
3991 ac_c_werror_flag=yes
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_c_try_compile "$LINENO"; then :
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4020 if ac_fn_c_try_compile "$LINENO"; then :
4023 ac_c_werror_flag=$ac_save_c_werror_flag
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4036 if ac_fn_c_try_compile "$LINENO"; then :
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4044 ac_c_werror_flag=$ac_save_c_werror_flag
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4047 $as_echo "$ac_cv_prog_cc_g" >&6; }
4048 if test "$ac_test_CFLAGS" = set; then
4049 CFLAGS=$ac_save_CFLAGS
4050 elif test $ac_cv_prog_cc_g = yes; then
4051 if test "$GCC" = yes; then
4057 if test "$GCC" = yes; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4064 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4065 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4066 $as_echo_n "(cached) " >&6
4068 ac_cv_prog_cc_c89=no
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 #include <sys/types.h>
4075 #include <sys/stat.h>
4076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4077 struct buf { int x; };
4078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4079 static char *e (p, i)
4085 static char *f (char * (*g) (char **, int), char **p, ...)
4090 s = g (p, va_arg (v,int));
4095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4096 function prototypes and stuff, but not '\xHH' hex character constants.
4097 These don't provoke an error unfortunately, instead are silently treated
4098 as 'x'. The following induces an error, until -std is added to get
4099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4100 array size at least. It's necessary to write '\x00'==0 to get something
4101 that's true only with -std. */
4102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4105 inside strings and character constants. */
4107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4109 int test (int i, double x);
4110 struct s1 {int (*f) (int a);};
4111 struct s2 {int (*f) (double a);};
4112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4126 CC="$ac_save_CC $ac_arg"
4127 if ac_fn_c_try_compile "$LINENO"; then :
4128 ac_cv_prog_cc_c89=$ac_arg
4130 rm -f core conftest.err conftest.$ac_objext
4131 test "x$ac_cv_prog_cc_c89" != "xno" && break
4133 rm -f conftest.$ac_ext
4138 case "x$ac_cv_prog_cc_c89" in
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4141 $as_echo "none needed" >&6; } ;;
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4144 $as_echo "unsupported" >&6; } ;;
4146 CC="$CC $ac_cv_prog_cc_c89"
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4148 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4150 if test "x$ac_cv_prog_cc_c89" != xno; then :
4155 ac_cpp='$CPP $CPPFLAGS'
4156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162 ac_cpp='$CPP $CPPFLAGS'
4163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4167 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4168 # On Suns, sometimes $CPP names a directory.
4169 if test -n "$CPP" && test -d "$CPP"; then
4172 if test -z "$CPP"; then
4173 if test "${ac_cv_prog_CPP+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 # Double quotes because CPP needs to be expanded
4177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4180 for ac_c_preproc_warn_flag in '' yes
4182 # Use a header file that comes with gcc, so configuring glibc
4183 # with a fresh cross-compiler works.
4184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4185 # <limits.h> exists even on freestanding compilers.
4186 # On the NeXT, cc -E runs the code through the compiler's parser,
4187 # not just through cpp. "Syntax error" is here to catch this case.
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4191 # include <limits.h>
4193 # include <assert.h>
4197 if ac_fn_c_try_cpp "$LINENO"; then :
4200 # Broken: fails on valid input.
4203 rm -f conftest.err conftest.$ac_ext
4205 # OK, works on sane cases. Now check whether nonexistent headers
4206 # can be detected and how.
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <ac_nonexistent.h>
4211 if ac_fn_c_try_cpp "$LINENO"; then :
4212 # Broken: success on invalid input.
4215 # Passes both tests.
4219 rm -f conftest.err conftest.$ac_ext
4222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223 rm -f conftest.err conftest.$ac_ext
4224 if $ac_preproc_ok; then :
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4237 $as_echo "$CPP" >&6; }
4239 for ac_c_preproc_warn_flag in '' yes
4241 # Use a header file that comes with gcc, so configuring glibc
4242 # with a fresh cross-compiler works.
4243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4244 # <limits.h> exists even on freestanding compilers.
4245 # On the NeXT, cc -E runs the code through the compiler's parser,
4246 # not just through cpp. "Syntax error" is here to catch this case.
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4250 # include <limits.h>
4252 # include <assert.h>
4256 if ac_fn_c_try_cpp "$LINENO"; then :
4259 # Broken: fails on valid input.
4262 rm -f conftest.err conftest.$ac_ext
4264 # OK, works on sane cases. Now check whether nonexistent headers
4265 # can be detected and how.
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4268 #include <ac_nonexistent.h>
4270 if ac_fn_c_try_cpp "$LINENO"; then :
4271 # Broken: success on invalid input.
4274 # Passes both tests.
4278 rm -f conftest.err conftest.$ac_ext
4281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4282 rm -f conftest.err conftest.$ac_ext
4283 if $ac_preproc_ok; then :
4286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4288 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4289 See \`config.log' for more details." "$LINENO" 5; }
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4300 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4301 if test "${ac_cv_path_GREP+set}" = set; then :
4302 $as_echo_n "(cached) " >&6
4304 if test -z "$GREP"; then
4305 ac_path_GREP_found=false
4306 # Loop through the user's path and test for each of PROGNAME-LIST
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4311 test -z "$as_dir" && as_dir=.
4312 for ac_prog in grep ggrep; do
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4315 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4316 # Check for GNU ac_path_GREP and select it if it is found.
4317 # Check for GNU $ac_path_GREP
4318 case `"$ac_path_GREP" --version 2>&1` in
4320 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4323 $as_echo_n 0123456789 >"conftest.in"
4326 cat "conftest.in" "conftest.in" >"conftest.tmp"
4327 mv "conftest.tmp" "conftest.in"
4328 cp "conftest.in" "conftest.nl"
4329 $as_echo 'GREP' >> "conftest.nl"
4330 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4332 as_fn_arith $ac_count + 1 && ac_count=$as_val
4333 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4334 # Best one so far, save it but keep looking for a better one
4335 ac_cv_path_GREP="$ac_path_GREP"
4336 ac_path_GREP_max=$ac_count
4338 # 10*(2^10) chars as input seems more than enough
4339 test $ac_count -gt 10 && break
4341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4344 $ac_path_GREP_found && break 3
4349 if test -z "$ac_cv_path_GREP"; then
4350 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4353 ac_cv_path_GREP=$GREP
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4358 $as_echo "$ac_cv_path_GREP" >&6; }
4359 GREP="$ac_cv_path_GREP"
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4363 $as_echo_n "checking for egrep... " >&6; }
4364 if test "${ac_cv_path_EGREP+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4368 then ac_cv_path_EGREP="$GREP -E"
4370 if test -z "$EGREP"; then
4371 ac_path_EGREP_found=false
4372 # Loop through the user's path and test for each of PROGNAME-LIST
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4377 test -z "$as_dir" && as_dir=.
4378 for ac_prog in egrep; do
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4381 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4382 # Check for GNU ac_path_EGREP and select it if it is found.
4383 # Check for GNU $ac_path_EGREP
4384 case `"$ac_path_EGREP" --version 2>&1` in
4386 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4389 $as_echo_n 0123456789 >"conftest.in"
4392 cat "conftest.in" "conftest.in" >"conftest.tmp"
4393 mv "conftest.tmp" "conftest.in"
4394 cp "conftest.in" "conftest.nl"
4395 $as_echo 'EGREP' >> "conftest.nl"
4396 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4398 as_fn_arith $ac_count + 1 && ac_count=$as_val
4399 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4400 # Best one so far, save it but keep looking for a better one
4401 ac_cv_path_EGREP="$ac_path_EGREP"
4402 ac_path_EGREP_max=$ac_count
4404 # 10*(2^10) chars as input seems more than enough
4405 test $ac_count -gt 10 && break
4407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4410 $ac_path_EGREP_found && break 3
4415 if test -z "$ac_cv_path_EGREP"; then
4416 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4419 ac_cv_path_EGREP=$EGREP
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4425 $as_echo "$ac_cv_path_EGREP" >&6; }
4426 EGREP="$ac_cv_path_EGREP"
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4430 $as_echo_n "checking for ANSI C header files... " >&6; }
4431 if test "${ac_cv_header_stdc+set}" = set; then :
4432 $as_echo_n "(cached) " >&6
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4449 if ac_fn_c_try_compile "$LINENO"; then :
4450 ac_cv_header_stdc=yes
4452 ac_cv_header_stdc=no
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 if test $ac_cv_header_stdc = yes; then
4457 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4464 $EGREP "memchr" >/dev/null 2>&1; then :
4467 ac_cv_header_stdc=no
4473 if test $ac_cv_header_stdc = yes; then
4474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4481 $EGREP "free" >/dev/null 2>&1; then :
4484 ac_cv_header_stdc=no
4490 if test $ac_cv_header_stdc = yes; then
4491 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4492 if test "$cross_compiling" = yes; then :
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4499 #if ((' ' & 0x0FF) == 0x020)
4500 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4501 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4503 # define ISLOWER(c) \
4504 (('a' <= (c) && (c) <= 'i') \
4505 || ('j' <= (c) && (c) <= 'r') \
4506 || ('s' <= (c) && (c) <= 'z'))
4507 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4510 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4515 for (i = 0; i < 256; i++)
4516 if (XOR (islower (i), ISLOWER (i))
4517 || toupper (i) != TOUPPER (i))
4522 if ac_fn_c_try_run "$LINENO"; then :
4525 ac_cv_header_stdc=no
4527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4528 conftest.$ac_objext conftest.beam conftest.$ac_ext
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4534 $as_echo "$ac_cv_header_stdc" >&6; }
4535 if test $ac_cv_header_stdc = yes; then
4537 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4541 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4542 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4543 inttypes.h stdint.h unistd.h
4545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4546 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4548 eval as_val=\$$as_ac_Header
4549 if test "x$as_val" = x""yes; then :
4550 cat >>confdefs.h <<_ACEOF
4551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4560 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4561 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4568 if test "$MINIX" = yes; then
4570 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4573 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4576 $as_echo "#define _MINIX 1" >>confdefs.h
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4582 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4583 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4589 # define __EXTENSIONS__ 1
4590 $ac_includes_default
4599 if ac_fn_c_try_compile "$LINENO"; then :
4600 ac_cv_safe_to_define___extensions__=yes
4602 ac_cv_safe_to_define___extensions__=no
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4607 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4608 test $ac_cv_safe_to_define___extensions__ = yes &&
4609 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4611 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4613 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4615 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4617 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4619 # note- does not work on FreeBSD
4621 case "${host_os}" in
4623 ac_default_prefix=/usr/local
4624 CPPFLAGS=-I/usr/local/include
4625 LDFLAGS=-L/usr/local/lib
4628 ac_default_prefix=/usr/local
4629 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4630 if test ${sysconfdir} = '${prefix}/etc'; then
4633 if test ${mandir} = '${prefix}/man'; then
4634 mandir=/usr/share/man
4637 CPPFLAGS=-I/usr/local/include
4638 LDFLAGS=-L/usr/local/lib
4642 $as_echo "#define AST_POLL_COMPAT 1" >>confdefs.h
4646 ac_default_prefix=/usr
4647 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4648 if test ${sysconfdir} = '${prefix}/etc'; then
4651 if test ${mandir} = '${prefix}/man'; then
4652 mandir=/usr/share/man
4658 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4659 if test ${localstatedir} = '${prefix}/var'; then
4664 BUILD_PLATFORM=${build}
4665 BUILD_CPU=${build_cpu}
4666 BUILD_VENDOR=${build_vendor}
4667 BUILD_OS=${build_os}
4674 HOST_PLATFORM=${host}
4675 HOST_CPU=${host_cpu}
4676 HOST_VENDOR=${host_vendor}
4686 case "${host_os}" in