2 # From configure.ac Revision: 262852 .
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
652 AST_NO_STRICT_OVERFLOW
654 AST_DECLARATION_AFTER_STATEMENT
657 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
658 PBX_PTHREAD_RWLOCK_INITIALIZER
730 SPEEX_PREPROCESS_INCLUDE
776 PBX_PRI_REVERSE_CHARGE
777 PRI_REVERSE_CHARGE_DIR
778 PRI_REVERSE_CHARGE_INCLUDE
779 PRI_REVERSE_CHARGE_LIB
780 PBX_PRI_SERVICE_MESSAGES
781 PRI_SERVICE_MESSAGES_DIR
782 PRI_SERVICE_MESSAGES_INCLUDE
783 PRI_SERVICE_MESSAGES_LIB
786 PRI_PROG_W_CAUSE_INCLUDE
788 PBX_PRI_INBANDDISCONNECT
789 PRI_INBANDDISCONNECT_DIR
790 PRI_INBANDDISCONNECT_INCLUDE
791 PRI_INBANDDISCONNECT_LIB
794 PRI_SETUP_KEYPAD_INCLUDE
796 PBX_PRI_CALL_REROUTING
797 PRI_CALL_REROUTING_DIR
798 PRI_CALL_REROUTING_INCLUDE
799 PRI_CALL_REROUTING_LIB
802 PRI_CALL_HOLD_INCLUDE
810 PRI_HANGUP_FIX_INCLUDE
1079 program_transform_name
1092 enable_option_checking
1163 enable_internal_poll
1167 ac_precious_vars='build_alias
1182 # Initialize some variables set by options.
1184 ac_init_version=false
1185 ac_unrecognized_opts=
1186 ac_unrecognized_sep=
1187 # The variables have the same names as the options, with
1188 # dashes changed to underlines.
1189 cache_file=/dev/null
1196 program_transform_name=s,x,x,
1204 # Installation directory options.
1205 # These are left unexpanded so users can "make install exec_prefix=/foo"
1206 # and all the variables that are supposed to be based on exec_prefix
1207 # by default will actually change.
1208 # Use braces instead of parens because sh, perl, etc. also accept them.
1209 # (The list follows the same order as the GNU Coding Standards.)
1210 bindir='${exec_prefix}/bin'
1211 sbindir='${exec_prefix}/sbin'
1212 libexecdir='${exec_prefix}/libexec'
1213 datarootdir='${prefix}/share'
1214 datadir='${datarootdir}'
1215 sysconfdir='${prefix}/etc'
1216 sharedstatedir='${prefix}/com'
1217 localstatedir='${prefix}/var'
1218 includedir='${prefix}/include'
1219 oldincludedir='/usr/include'
1220 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1221 infodir='${datarootdir}/info'
1226 libdir='${exec_prefix}/lib'
1227 localedir='${datarootdir}/locale'
1228 mandir='${datarootdir}/man'
1234 # If the previous option needs an argument, assign it.
1235 if test -n "$ac_prev"; then
1236 eval $ac_prev=\$ac_option
1242 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1246 # Accept the important Cygnus configure options, so we can diagnose typos.
1248 case $ac_dashdash$ac_option in
1252 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1254 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1255 bindir=$ac_optarg ;;
1257 -build | --build | --buil | --bui | --bu)
1258 ac_prev=build_alias ;;
1259 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1260 build_alias=$ac_optarg ;;
1262 -cache-file | --cache-file | --cache-fil | --cache-fi \
1263 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1264 ac_prev=cache_file ;;
1265 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1266 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1267 cache_file=$ac_optarg ;;
1269 --config-cache | -C)
1270 cache_file=config.cache ;;
1272 -datadir | --datadir | --datadi | --datad)
1274 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1275 datadir=$ac_optarg ;;
1277 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1278 | --dataroo | --dataro | --datar)
1279 ac_prev=datarootdir ;;
1280 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1281 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1282 datarootdir=$ac_optarg ;;
1284 -disable-* | --disable-*)
1285 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288 as_fn_error "invalid feature name: $ac_useropt"
1289 ac_useropt_orig=$ac_useropt
1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1293 "enable_$ac_useropt"
1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1296 ac_unrecognized_sep=', ';;
1298 eval enable_$ac_useropt=no ;;
1300 -docdir | --docdir | --docdi | --doc | --do)
1302 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1303 docdir=$ac_optarg ;;
1305 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1307 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1308 dvidir=$ac_optarg ;;
1310 -enable-* | --enable-*)
1311 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314 as_fn_error "invalid feature name: $ac_useropt"
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1319 "enable_$ac_useropt"
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1324 eval enable_$ac_useropt=\$ac_optarg ;;
1326 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1327 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1328 | --exec | --exe | --ex)
1329 ac_prev=exec_prefix ;;
1330 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1331 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1332 | --exec=* | --exe=* | --ex=*)
1333 exec_prefix=$ac_optarg ;;
1335 -gas | --gas | --ga | --g)
1336 # Obsolete; use --with-gas.
1339 -help | --help | --hel | --he | -h)
1340 ac_init_help=long ;;
1341 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1342 ac_init_help=recursive ;;
1343 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1344 ac_init_help=short ;;
1346 -host | --host | --hos | --ho)
1347 ac_prev=host_alias ;;
1348 -host=* | --host=* | --hos=* | --ho=*)
1349 host_alias=$ac_optarg ;;
1351 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1353 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1355 htmldir=$ac_optarg ;;
1357 -includedir | --includedir | --includedi | --included | --include \
1358 | --includ | --inclu | --incl | --inc)
1359 ac_prev=includedir ;;
1360 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1361 | --includ=* | --inclu=* | --incl=* | --inc=*)
1362 includedir=$ac_optarg ;;
1364 -infodir | --infodir | --infodi | --infod | --info | --inf)
1366 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1367 infodir=$ac_optarg ;;
1369 -libdir | --libdir | --libdi | --libd)
1371 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1372 libdir=$ac_optarg ;;
1374 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1375 | --libexe | --libex | --libe)
1376 ac_prev=libexecdir ;;
1377 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1378 | --libexe=* | --libex=* | --libe=*)
1379 libexecdir=$ac_optarg ;;
1381 -localedir | --localedir | --localedi | --localed | --locale)
1382 ac_prev=localedir ;;
1383 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1384 localedir=$ac_optarg ;;
1386 -localstatedir | --localstatedir | --localstatedi | --localstated \
1387 | --localstate | --localstat | --localsta | --localst | --locals)
1388 ac_prev=localstatedir ;;
1389 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1390 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1391 localstatedir=$ac_optarg ;;
1393 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1395 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1396 mandir=$ac_optarg ;;
1398 -nfp | --nfp | --nf)
1399 # Obsolete; use --without-fp.
1402 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1403 | --no-cr | --no-c | -n)
1406 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1407 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1410 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1411 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1412 | --oldin | --oldi | --old | --ol | --o)
1413 ac_prev=oldincludedir ;;
1414 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1415 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1416 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1417 oldincludedir=$ac_optarg ;;
1419 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1421 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1422 prefix=$ac_optarg ;;
1424 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1425 | --program-pre | --program-pr | --program-p)
1426 ac_prev=program_prefix ;;
1427 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1428 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1429 program_prefix=$ac_optarg ;;
1431 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1432 | --program-suf | --program-su | --program-s)
1433 ac_prev=program_suffix ;;
1434 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1435 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1436 program_suffix=$ac_optarg ;;
1438 -program-transform-name | --program-transform-name \
1439 | --program-transform-nam | --program-transform-na \
1440 | --program-transform-n | --program-transform- \
1441 | --program-transform | --program-transfor \
1442 | --program-transfo | --program-transf \
1443 | --program-trans | --program-tran \
1444 | --progr-tra | --program-tr | --program-t)
1445 ac_prev=program_transform_name ;;
1446 -program-transform-name=* | --program-transform-name=* \
1447 | --program-transform-nam=* | --program-transform-na=* \
1448 | --program-transform-n=* | --program-transform-=* \
1449 | --program-transform=* | --program-transfor=* \
1450 | --program-transfo=* | --program-transf=* \
1451 | --program-trans=* | --program-tran=* \
1452 | --progr-tra=* | --program-tr=* | --program-t=*)
1453 program_transform_name=$ac_optarg ;;
1455 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1457 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1458 pdfdir=$ac_optarg ;;
1460 -psdir | --psdir | --psdi | --psd | --ps)
1462 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1469 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1471 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1473 sbindir=$ac_optarg ;;
1475 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1476 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1477 | --sharedst | --shareds | --shared | --share | --shar \
1479 ac_prev=sharedstatedir ;;
1480 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1481 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1482 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1484 sharedstatedir=$ac_optarg ;;
1486 -site | --site | --sit)
1488 -site=* | --site=* | --sit=*)
1491 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1493 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1494 srcdir=$ac_optarg ;;
1496 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1497 | --syscon | --sysco | --sysc | --sys | --sy)
1498 ac_prev=sysconfdir ;;
1499 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1500 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1501 sysconfdir=$ac_optarg ;;
1503 -target | --target | --targe | --targ | --tar | --ta | --t)
1504 ac_prev=target_alias ;;
1505 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1506 target_alias=$ac_optarg ;;
1508 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1511 -version | --version | --versio | --versi | --vers | -V)
1512 ac_init_version=: ;;
1515 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1516 # Reject names that are not valid shell variable names.
1517 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1518 as_fn_error "invalid package name: $ac_useropt"
1519 ac_useropt_orig=$ac_useropt
1520 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1521 case $ac_user_opts in
1525 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1526 ac_unrecognized_sep=', ';;
1528 eval with_$ac_useropt=\$ac_optarg ;;
1530 -without-* | --without-*)
1531 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1532 # Reject names that are not valid shell variable names.
1533 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1534 as_fn_error "invalid package name: $ac_useropt"
1535 ac_useropt_orig=$ac_useropt
1536 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1537 case $ac_user_opts in
1541 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1542 ac_unrecognized_sep=', ';;
1544 eval with_$ac_useropt=no ;;
1547 # Obsolete; use --with-x.
1550 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1551 | --x-incl | --x-inc | --x-in | --x-i)
1552 ac_prev=x_includes ;;
1553 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1554 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1555 x_includes=$ac_optarg ;;
1557 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1558 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1559 ac_prev=x_libraries ;;
1560 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1561 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1562 x_libraries=$ac_optarg ;;
1564 -*) as_fn_error "unrecognized option: \`$ac_option'
1565 Try \`$0 --help' for more information."
1569 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1570 # Reject names that are not valid shell variable names.
1571 case $ac_envvar in #(
1572 '' | [0-9]* | *[!_$as_cr_alnum]* )
1573 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1575 eval $ac_envvar=\$ac_optarg
1576 export $ac_envvar ;;
1579 # FIXME: should be removed in autoconf 3.0.
1580 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1581 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1582 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1583 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1589 if test -n "$ac_prev"; then
1590 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1591 as_fn_error "missing argument to $ac_option"
1594 if test -n "$ac_unrecognized_opts"; then
1595 case $enable_option_checking in
1597 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1598 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1602 # Check all directory arguments for consistency.
1603 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1604 datadir sysconfdir sharedstatedir localstatedir includedir \
1605 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1606 libdir localedir mandir
1608 eval ac_val=\$$ac_var
1609 # Remove trailing slashes.
1612 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1613 eval $ac_var=\$ac_val;;
1615 # Be sure to have absolute directory names.
1617 [\\/$]* | ?:[\\/]* ) continue;;
1618 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1620 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1623 # There might be people who depend on the old broken behavior: `$host'
1624 # used to hold the argument of --host etc.
1625 # FIXME: To remove some day.
1628 target=$target_alias
1630 # FIXME: To remove some day.
1631 if test "x$host_alias" != x; then
1632 if test "x$build_alias" = x; then
1633 cross_compiling=maybe
1634 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1635 If a cross compiler is detected then cross compile mode will be used." >&2
1636 elif test "x$build_alias" != "x$host_alias"; then
1642 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1644 test "$silent" = yes && exec 6>/dev/null
1647 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1648 ac_ls_di=`ls -di .` &&
1649 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1650 as_fn_error "working directory cannot be determined"
1651 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1652 as_fn_error "pwd does not report name of working directory"
1655 # Find the source files, if location was not specified.
1656 if test -z "$srcdir"; then
1657 ac_srcdir_defaulted=yes
1658 # Try the directory containing this script, then the parent directory.
1659 ac_confdir=`$as_dirname -- "$as_myself" ||
1660 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1661 X"$as_myself" : 'X\(//\)[^/]' \| \
1662 X"$as_myself" : 'X\(//\)$' \| \
1663 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1664 $as_echo X"$as_myself" |
1665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1683 if test ! -r "$srcdir/$ac_unique_file"; then
1687 ac_srcdir_defaulted=no
1689 if test ! -r "$srcdir/$ac_unique_file"; then
1690 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1691 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1693 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1695 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1697 # When building in place, set srcdir=.
1698 if test "$ac_abs_confdir" = "$ac_pwd"; then
1701 # Remove unnecessary trailing slashes from srcdir.
1702 # Double slashes in file names in object file debugging info
1703 # mess up M-x gdb in Emacs.
1705 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1707 for ac_var in $ac_precious_vars; do
1708 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1709 eval ac_env_${ac_var}_value=\$${ac_var}
1710 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1711 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1715 # Report the --help message.
1717 if test "$ac_init_help" = "long"; then
1718 # Omit some internal or obsolete options to make the list less imposing.
1719 # This message is too long to be a string in the A/UX 3.1 sh.
1721 \`configure' configures asterisk 1.6 to adapt to many kinds of systems.
1723 Usage: $0 [OPTION]... [VAR=VALUE]...
1725 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1726 VAR=VALUE. See below for descriptions of some of the useful variables.
1728 Defaults for the options are specified in brackets.
1731 -h, --help display this help and exit
1732 --help=short display options specific to this package
1733 --help=recursive display the short help of all the included packages
1734 -V, --version display version information and exit
1735 -q, --quiet, --silent do not print \`checking...' messages
1736 --cache-file=FILE cache test results in FILE [disabled]
1737 -C, --config-cache alias for \`--cache-file=config.cache'
1738 -n, --no-create do not create output files
1739 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1741 Installation directories:
1742 --prefix=PREFIX install architecture-independent files in PREFIX
1743 [$ac_default_prefix]
1744 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1747 By default, \`make install' will install all the files in
1748 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1749 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1750 for instance \`--prefix=\$HOME'.
1752 For better control, use the options below.
1754 Fine tuning of the installation directories:
1755 --bindir=DIR user executables [EPREFIX/bin]
1756 --sbindir=DIR system admin executables [EPREFIX/sbin]
1757 --libexecdir=DIR program executables [EPREFIX/libexec]
1758 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1759 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1760 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1761 --libdir=DIR object code libraries [EPREFIX/lib]
1762 --includedir=DIR C header files [PREFIX/include]
1763 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1764 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1765 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1766 --infodir=DIR info documentation [DATAROOTDIR/info]
1767 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1768 --mandir=DIR man documentation [DATAROOTDIR/man]
1769 --docdir=DIR documentation root [DATAROOTDIR/doc/asterisk]
1770 --htmldir=DIR html documentation [DOCDIR]
1771 --dvidir=DIR dvi documentation [DOCDIR]
1772 --pdfdir=DIR pdf documentation [DOCDIR]
1773 --psdir=DIR ps documentation [DOCDIR]
1779 --build=BUILD configure for building on BUILD [guessed]
1780 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1784 if test -n "$ac_init_help"; then
1785 case $ac_init_help in
1786 short | recursive ) echo "Configuration of asterisk 1.6:";;
1791 --disable-option-checking ignore unrecognized --enable/--with options
1792 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1793 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1794 --enable-dev-mode Turn on developer mode
1795 --disable-largefile omit support for large files
1796 --enable-internal-poll Use Asterisk's poll implementation
1797 --disable-xmldoc Explicity disable XML documentation
1800 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1801 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1802 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1803 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1804 --with-execinfo=PATH use Stack Backtrace files in PATH
1805 --with-bluetooth=PATH use Bluetooth files in PATH
1806 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1807 --with-curl=PATH use cURL files in PATH
1808 --with-curses=PATH use curses files in PATH
1809 --with-crypto=PATH use OpenSSL Cryptography files in PATH
1810 --with-dahdi=PATH use DAHDI files in PATH
1811 --with-avcodec=PATH use Ffmpeg and avcodec files in PATH
1812 --with-gsm=PATH use External GSM files in PATH, use 'internal' GSM
1814 --with-gtk2=PATH use gtk2 files in PATH
1815 --with-gmime=PATH use GMime files in PATH
1816 --with-hoard=PATH use Hoard Memory Allocator files in PATH
1817 --with-ical=PATH use iCal files in PATH
1818 --with-iconv=PATH use Iconv files in PATH
1819 --with-iksemel=PATH use Iksemel Jabber files in PATH
1820 --with-imap=PATH use UW IMAP Toolkit files in PATH
1821 --with-inotify=PATH use inotify support files in PATH
1822 --with-iodbc=PATH use iODBC files in PATH
1823 --with-isdnnet=PATH use ISDN4Linux files in PATH
1824 --with-jack=PATH use Jack Audio Connection Kit files in PATH
1825 --with-kqueue=PATH use kqueue support files in PATH
1826 --with-ldap=PATH use OpenLDAP files in PATH
1827 --with-libxml2=PATH use LibXML2 files in PATH
1828 --with-ltdl=PATH use libtool files in PATH
1829 --with-lua=PATH use Lua files in PATH
1830 --with-misdn=PATH use mISDN user files in PATH
1831 --with-mysqlclient=PATH use MySQL client files in PATH
1832 --with-nbs=PATH use Network Broadcast Sound files in PATH
1833 --with-ncurses=PATH use ncurses files in PATH
1834 --with-neon=PATH use neon files in PATH
1835 --with-netsnmp=PATH use Net-SNMP files in PATH
1836 --with-newt=PATH use newt files in PATH
1837 --with-ogg=PATH use OGG files in PATH
1838 --with-osptk=PATH use OSP Toolkit files in PATH
1839 --with-oss=PATH use Open Sound System files in PATH
1840 --with-postgres=PATH use PostgreSQL files in PATH
1841 --with-popt=PATH use popt files in PATH
1842 --with-portaudio=PATH use PortAudio files in PATH
1843 --with-pri=PATH use ISDN PRI files in PATH
1844 --with-resample=PATH use LIBRESAMPLE files in PATH
1845 --with-spandsp=PATH use SPANDSP files in PATH
1846 --with-ss7=PATH use ISDN SS7 files in PATH
1847 --with-openr2=PATH use MFR2 files in PATH
1848 --with-pwlib=PATH use PWlib files in PATH
1849 --with-h323=PATH use OpenH323 files in PATH
1850 --with-radius=PATH use Radius Client files in PATH
1851 --with-sdl=PATH use Sdl files in PATH
1852 --with-SDL_image=PATH use Sdl Image files in PATH
1853 --with-openais=PATH use OpenAIS files in PATH
1854 --with-speex=PATH use Speex files in PATH
1855 --with-speex=PATH use Speex preprocess routines files in PATH
1856 --with-speexdsp=PATH use SpeexDSP files in PATH
1857 --with-sqlite=PATH use SQLite files in PATH
1858 --with-sqlite3=PATH use SQLite files in PATH
1859 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1860 --with-ssl=PATH use OpenSSL Secure Sockets Layer files in PATH
1861 --with-tds=PATH use FreeTDS files in PATH
1862 --with-termcap=PATH use Termcap files in PATH
1863 --with-tinfo=PATH use Term Info files in PATH
1864 --with-tonezone=PATH use tonezone files in PATH
1865 --with-unixodbc=PATH use unixODBC files in PATH
1866 --with-usb=PATH use usb files in PATH
1867 --with-vorbis=PATH use Vorbis files in PATH
1868 --with-vpb=PATH use Voicetronix API files in PATH
1869 --with-x11=PATH use X11 files in PATH
1870 --with-z=PATH use zlib compression files in PATH
1871 --with-timerfd=PATH use timerfd files in PATH
1872 --with-libcurl=DIR look for the curl library in DIR
1874 Some influential environment variables:
1875 CC C compiler command
1876 CFLAGS C compiler flags
1877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1878 nonstandard directory <lib dir>
1879 LIBS libraries to pass to the linker, e.g. -l<library>
1880 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1881 you have headers in a nonstandard directory <include dir>
1883 CXX C++ compiler command
1884 CXXFLAGS C++ compiler flags
1885 CXXCPP C++ preprocessor
1887 Use these variables to override the choices made by `configure' or to help
1888 it to find libraries and programs with nonstandard names/locations.
1890 Report bugs to <www.asterisk.org>.
1895 if test "$ac_init_help" = "recursive"; then
1896 # If there are subdirs, report their specific --help.
1897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1898 test -d "$ac_dir" ||
1899 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1904 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1906 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1907 # A ".." for each directory in $ac_dir_suffix.
1908 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1909 case $ac_top_builddir_sub in
1910 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1911 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1914 ac_abs_top_builddir=$ac_pwd
1915 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1916 # for backward compatibility:
1917 ac_top_builddir=$ac_top_build_prefix
1920 .) # We are building in place.
1922 ac_top_srcdir=$ac_top_builddir_sub
1923 ac_abs_top_srcdir=$ac_pwd ;;
1924 [\\/]* | ?:[\\/]* ) # Absolute name.
1925 ac_srcdir=$srcdir$ac_dir_suffix;
1926 ac_top_srcdir=$srcdir
1927 ac_abs_top_srcdir=$srcdir ;;
1929 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1930 ac_top_srcdir=$ac_top_build_prefix$srcdir
1931 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1933 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1935 cd "$ac_dir" || { ac_status=$?; continue; }
1936 # Check for guested configure.
1937 if test -f "$ac_srcdir/configure.gnu"; then
1939 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1940 elif test -f "$ac_srcdir/configure"; then
1942 $SHELL "$ac_srcdir/configure" --help=recursive
1944 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1946 cd "$ac_pwd" || { ac_status=$?; break; }
1950 test -n "$ac_init_help" && exit $ac_status
1951 if $ac_init_version; then
1953 asterisk configure 1.6
1954 generated by GNU Autoconf 2.65
1956 Copyright (C) 2009 Free Software Foundation, Inc.
1957 This configure script is free software; the Free Software Foundation
1958 gives unlimited permission to copy, distribute and modify it.
1965 ## ------------------------ ##
1966 ## Autoconf initialization. ##
1967 ## ------------------------ ##
1969 # ac_fn_c_try_compile LINENO
1970 # --------------------------
1971 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_c_try_compile ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 rm -f conftest.$ac_objext
1976 if { { ac_try="$ac_compile"
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_compile") 2>conftest.err
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } && {
1992 test -z "$ac_c_werror_flag" ||
1993 test ! -s conftest.err
1994 } && test -s conftest.$ac_objext; then :
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2002 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 as_fn_set_status $ac_retval
2005 } # ac_fn_c_try_compile
2007 # ac_fn_c_try_cpp LINENO
2008 # ----------------------
2009 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 if { { ac_try="$ac_cpp conftest.$ac_ext"
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2022 if test -s conftest.err; then
2023 grep -v '^ *+' conftest.err >conftest.er1
2024 cat conftest.er1 >&5
2025 mv -f conftest.er1 conftest.err
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } >/dev/null && {
2029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2030 test ! -s conftest.err
2034 $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2039 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2040 as_fn_set_status $ac_retval
2044 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2045 # -------------------------------------------------------
2046 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2047 # the include files in INCLUDES and setting the cache variable VAR
2049 ac_fn_c_check_header_mongrel ()
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2056 $as_echo_n "(cached) " >&6
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2062 # Is the header compilable?
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2064 $as_echo_n "checking $2 usability... " >&6; }
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2070 if ac_fn_c_try_compile "$LINENO"; then :
2071 ac_header_compiler=yes
2073 ac_header_compiler=no
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2077 $as_echo "$ac_header_compiler" >&6; }
2079 # Is the header present?
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2081 $as_echo_n "checking $2 presence... " >&6; }
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2086 if ac_fn_c_try_cpp "$LINENO"; then :
2087 ac_header_preproc=yes
2089 ac_header_preproc=no
2091 rm -f conftest.err conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2093 $as_echo "$ac_header_preproc" >&6; }
2095 # So? What about this header?
2096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2099 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2105 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2107 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2109 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2111 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2113 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ## ------------------------------- ##
2116 ## Report this to www.asterisk.org ##
2117 ## ------------------------------- ##
2119 ) | sed "s/^/$as_me: WARNING: /" >&2
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2125 $as_echo_n "(cached) " >&6
2127 eval "$3=\$ac_header_compiler"
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2135 } # ac_fn_c_check_header_mongrel
2137 # ac_fn_c_try_run LINENO
2138 # ----------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2140 # that executables *can* be run.
2143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144 if { { ac_try="$ac_link"
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>&5
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2155 { { case "(($ac_try" in
2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157 *) ac_try_echo=$ac_try;;
2159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160 $as_echo "$ac_try_echo"; } >&5
2161 (eval "$ac_try") 2>&5
2163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2164 test $ac_status = 0; }; }; then :
2167 $as_echo "$as_me: program exited with status $ac_status" >&5
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 ac_retval=$ac_status
2173 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2174 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2175 as_fn_set_status $ac_retval
2179 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2180 # -------------------------------------------------------
2181 # Tests whether HEADER exists and can be compiled using the include files in
2182 # INCLUDES, setting the cache variable VAR accordingly.
2183 ac_fn_c_check_header_compile ()
2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2187 $as_echo_n "checking for $2... " >&6; }
2188 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2189 $as_echo_n "(cached) " >&6
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2196 if ac_fn_c_try_compile "$LINENO"; then :
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2205 $as_echo "$ac_res" >&6; }
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2208 } # ac_fn_c_check_header_compile
2210 # ac_fn_cxx_try_compile LINENO
2211 # ----------------------------
2212 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2213 ac_fn_cxx_try_compile ()
2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2216 rm -f conftest.$ac_objext
2217 if { { ac_try="$ac_compile"
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_compile") 2>conftest.err
2226 if test -s conftest.err; then
2227 grep -v '^ *+' conftest.err >conftest.er1
2228 cat conftest.er1 >&5
2229 mv -f conftest.er1 conftest.err
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; } && {
2233 test -z "$ac_cxx_werror_flag" ||
2234 test ! -s conftest.err
2235 } && test -s conftest.$ac_objext; then :
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2243 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2244 as_fn_set_status $ac_retval
2246 } # ac_fn_cxx_try_compile
2248 # ac_fn_cxx_try_cpp LINENO
2249 # ------------------------
2250 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2251 ac_fn_cxx_try_cpp ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 if { { ac_try="$ac_cpp conftest.$ac_ext"
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2263 if test -s conftest.err; then
2264 grep -v '^ *+' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2266 mv -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; } >/dev/null && {
2270 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2271 test ! -s conftest.err
2275 $as_echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.$ac_ext >&5
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281 as_fn_set_status $ac_retval
2283 } # ac_fn_cxx_try_cpp
2285 # ac_fn_c_try_link LINENO
2286 # -----------------------
2287 # Try to link conftest.$ac_ext, and return whether this succeeded.
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 rm -f conftest.$ac_objext conftest$ac_exeext
2292 if { { ac_try="$ac_link"
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_link") 2>conftest.err
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest$ac_exeext && {
2311 test "$cross_compiling" = yes ||
2312 $as_test_x conftest$ac_exeext
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2321 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2322 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2323 # interfere with the next link command; also delete a directory that is
2324 # left behind by Apple's compiler. We do this before executing the actions.
2325 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2326 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_c_try_link
2331 # ac_fn_c_check_func LINENO FUNC VAR
2332 # ----------------------------------
2333 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2334 ac_fn_c_check_func ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2338 $as_echo_n "checking for $2... " >&6; }
2339 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2340 $as_echo_n "(cached) " >&6
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2344 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2346 #define $2 innocuous_$2
2348 /* System header to define __stub macros and hopefully few prototypes,
2349 which can conflict with char $2 (); below.
2350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2351 <limits.h> exists even on freestanding compilers. */
2354 # include <limits.h>
2356 # include <assert.h>
2361 /* Override any GCC internal prototype to avoid an error.
2362 Use char because int might match the return type of a GCC
2363 builtin and then its argument prototype would still apply. */
2368 /* The GNU C library defines this for functions which it implements
2369 to always fail with ENOSYS. Some functions are actually named
2370 something starting with __ and the normal name is an alias. */
2371 #if defined __stub_$2 || defined __stub___$2
2383 if ac_fn_c_try_link "$LINENO"; then :
2388 rm -f core conftest.err conftest.$ac_objext \
2389 conftest$ac_exeext conftest.$ac_ext
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2393 $as_echo "$ac_res" >&6; }
2394 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2396 } # ac_fn_c_check_func
2398 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2399 # -------------------------------------------
2400 # Tests whether TYPE exists after having included INCLUDES, setting cache
2401 # variable VAR accordingly.
2402 ac_fn_c_check_type ()
2404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2406 $as_echo_n "checking for $2... " >&6; }
2407 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2408 $as_echo_n "(cached) " >&6
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2423 if ac_fn_c_try_compile "$LINENO"; then :
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2436 if ac_fn_c_try_compile "$LINENO"; then :
2441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2447 $as_echo "$ac_res" >&6; }
2448 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2450 } # ac_fn_c_check_type
2452 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2453 # ----------------------------------------------------
2454 # Tries to find if the field MEMBER exists in type AGGR, after including
2455 # INCLUDES, setting cache variable VAR accordingly.
2456 ac_fn_c_check_member ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2460 $as_echo_n "checking for $2.$3... " >&6; }
2461 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2462 $as_echo_n "(cached) " >&6
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2477 if ac_fn_c_try_compile "$LINENO"; then :
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2487 if (sizeof ac_aggr.$3)
2493 if ac_fn_c_try_compile "$LINENO"; then :
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504 $as_echo "$ac_res" >&6; }
2505 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2507 } # ac_fn_c_check_member
2509 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2510 # --------------------------------------------
2511 # Tries to find the compile-time value of EXPR in a program that includes
2512 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2514 ac_fn_c_compute_int ()
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 if test "$cross_compiling" = yes; then
2518 # Depending upon the size, compute the lo and hi bounds.
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2525 static int test_array [1 - 2 * !(($2) >= 0)];
2532 if ac_fn_c_try_compile "$LINENO"; then :
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2541 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549 ac_hi=$ac_mid; break
2551 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2552 if test $ac_lo -le $ac_mid; then
2556 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2567 static int test_array [1 - 2 * !(($2) < 0)];
2574 if ac_fn_c_try_compile "$LINENO"; then :
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2583 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2590 if ac_fn_c_try_compile "$LINENO"; then :
2591 ac_lo=$ac_mid; break
2593 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2594 if test $ac_mid -le $ac_hi; then
2598 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 # Binary search between lo and hi bounds.
2609 while test "x$ac_lo" != "x$ac_hi"; do
2610 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2617 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2624 if ac_fn_c_try_compile "$LINENO"; then :
2627 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2639 static long int longval () { return $2; }
2640 static unsigned long int ulongval () { return $2; }
2647 FILE *f = fopen ("conftest.val", "w");
2652 long int i = longval ();
2655 fprintf (f, "%ld", i);
2659 unsigned long int i = ulongval ();
2662 fprintf (f, "%lu", i);
2664 /* Do not output a trailing newline, as this causes \r\n confusion
2665 on some platforms. */
2666 return ferror (f) || fclose (f) != 0;
2672 if ac_fn_c_try_run "$LINENO"; then :
2673 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2678 conftest.$ac_objext conftest.beam conftest.$ac_ext
2682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2683 as_fn_set_status $ac_retval
2685 } # ac_fn_c_compute_int
2687 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2688 # ---------------------------------------------------------
2689 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2690 # the include files in INCLUDES and setting the cache variable VAR
2692 ac_fn_cxx_check_header_mongrel ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2697 $as_echo_n "checking for $2... " >&6; }
2698 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2699 $as_echo_n "(cached) " >&6
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2705 # Is the header compilable?
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2707 $as_echo_n "checking $2 usability... " >&6; }
2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2713 if ac_fn_cxx_try_compile "$LINENO"; then :
2714 ac_header_compiler=yes
2716 ac_header_compiler=no
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2720 $as_echo "$ac_header_compiler" >&6; }
2722 # Is the header present?
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2724 $as_echo_n "checking $2 presence... " >&6; }
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 if ac_fn_cxx_try_cpp "$LINENO"; then :
2730 ac_header_preproc=yes
2732 ac_header_preproc=no
2734 rm -f conftest.err conftest.$ac_ext
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2736 $as_echo "$ac_header_preproc" >&6; }
2738 # So? What about this header?
2739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2742 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2748 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2750 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2752 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2754 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2756 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2758 ## ------------------------------- ##
2759 ## Report this to www.asterisk.org ##
2760 ## ------------------------------- ##
2762 ) | sed "s/^/$as_me: WARNING: /" >&2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2768 $as_echo_n "(cached) " >&6
2770 eval "$3=\$ac_header_compiler"
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2774 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2778 } # ac_fn_cxx_check_header_mongrel
2780 # ac_fn_cxx_try_link LINENO
2781 # -------------------------
2782 # Try to link conftest.$ac_ext, and return whether this succeeded.
2783 ac_fn_cxx_try_link ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 rm -f conftest.$ac_objext conftest$ac_exeext
2787 if { { ac_try="$ac_link"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link") 2>conftest.err
2796 if test -s conftest.err; then
2797 grep -v '^ *+' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2799 mv -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; } && {
2803 test -z "$ac_cxx_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest$ac_exeext && {
2806 test "$cross_compiling" = yes ||
2807 $as_test_x conftest$ac_exeext
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2818 # interfere with the next link command; also delete a directory that is
2819 # left behind by Apple's compiler. We do this before executing the actions.
2820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_cxx_try_link
2826 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2827 # ---------------------------------------------------------
2828 # Tests whether HEADER exists and can be compiled using the include files in
2829 # INCLUDES, setting the cache variable VAR accordingly.
2830 ac_fn_cxx_check_header_compile ()
2832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2834 $as_echo_n "checking for $2... " >&6; }
2835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2836 $as_echo_n "(cached) " >&6
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2843 if ac_fn_cxx_try_compile "$LINENO"; then :
2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2852 $as_echo "$ac_res" >&6; }
2853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2855 } # ac_fn_cxx_check_header_compile
2856 cat >config.log <<_ACEOF
2857 This file contains any messages produced by compilers while
2858 running configure, to aid debugging if configure makes a mistake.
2860 It was created by asterisk $as_me 1.6, which was
2861 generated by GNU Autoconf 2.65. Invocation command line was
2873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir=.
2897 $as_echo "PATH: $as_dir"
2913 # Keep a trace of the command line.
2914 # Strip out --no-create and --no-recursion so they do not pile up.
2915 # Strip out --silent because we don't want to record it for future runs.
2916 # Also quote any args containing shell meta-characters.
2917 # Make two passes to allow for proper duplicate-argument suppression.
2921 ac_must_keep_next=false
2927 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2929 | -silent | --silent | --silen | --sile | --sil)
2932 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2935 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2937 as_fn_append ac_configure_args1 " '$ac_arg'"
2938 if test $ac_must_keep_next = true; then
2939 ac_must_keep_next=false # Got value, back to normal.
2942 *=* | --config-cache | -C | -disable-* | --disable-* \
2943 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2944 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2945 | -with-* | --with-* | -without-* | --without-* | --x)
2946 case "$ac_configure_args0 " in
2947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2950 -* ) ac_must_keep_next=true ;;
2953 as_fn_append ac_configure_args " '$ac_arg'"
2958 { ac_configure_args0=; unset ac_configure_args0;}
2959 { ac_configure_args1=; unset ac_configure_args1;}
2961 # When interrupted or exit'd, cleanup temporary files, and complete
2962 # config.log. We remove comments because anyway the quotes in there
2963 # would cause problems or look ugly.
2964 # WARNING: Use '\'' to represent an apostrophe within the trap.
2965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2966 trap 'exit_status=$?
2967 # Save into config.log some information that might help in debugging.
2972 ## ---------------- ##
2973 ## Cache variables. ##
2974 ## ---------------- ##
2977 # The following way of writing the cache mishandles newlines in values,
2979 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2980 eval ac_val=\$$ac_var
2984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2988 _ | IFS | as_nl) ;; #(
2989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2990 *) { eval $ac_var=; unset $ac_var;} ;;
2995 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2996 *${as_nl}ac_space=\ *)
2998 "s/'\''/'\''\\\\'\'''\''/g;
2999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3010 ## ----------------- ##
3011 ## Output variables. ##
3012 ## ----------------- ##
3015 for ac_var in $ac_subst_vars
3017 eval ac_val=\$$ac_var
3019 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3021 $as_echo "$ac_var='\''$ac_val'\''"
3025 if test -n "$ac_subst_files"; then
3027 ## ------------------- ##
3028 ## File substitutions. ##
3029 ## ------------------- ##
3032 for ac_var in $ac_subst_files
3034 eval ac_val=\$$ac_var
3036 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3038 $as_echo "$ac_var='\''$ac_val'\''"
3043 if test -s confdefs.h; then
3053 test "$ac_signal" != 0 &&
3054 $as_echo "$as_me: caught signal $ac_signal"
3055 $as_echo "$as_me: exit $exit_status"
3057 rm -f core *.core core.conftest.* &&
3058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3061 for ac_signal in 1 2 13 15; do
3062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3067 rm -f -r conftest* confdefs.h
3069 $as_echo "/* confdefs.h */" > confdefs.h
3071 # Predefined preprocessor variables.
3073 cat >>confdefs.h <<_ACEOF
3074 #define PACKAGE_NAME "$PACKAGE_NAME"
3077 cat >>confdefs.h <<_ACEOF
3078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3081 cat >>confdefs.h <<_ACEOF
3082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3085 cat >>confdefs.h <<_ACEOF
3086 #define PACKAGE_STRING "$PACKAGE_STRING"
3089 cat >>confdefs.h <<_ACEOF
3090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3093 cat >>confdefs.h <<_ACEOF
3094 #define PACKAGE_URL "$PACKAGE_URL"
3098 # Let the site file select an alternate cache file if it wants to.
3099 # Prefer an explicitly selected file to automatically selected ones.
3102 if test -n "$CONFIG_SITE"; then
3103 ac_site_file1=$CONFIG_SITE
3104 elif test "x$prefix" != xNONE; then
3105 ac_site_file1=$prefix/share/config.site
3106 ac_site_file2=$prefix/etc/config.site
3108 ac_site_file1=$ac_default_prefix/share/config.site
3109 ac_site_file2=$ac_default_prefix/etc/config.site
3111 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3113 test "x$ac_site_file" = xNONE && continue
3114 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3117 sed 's/^/| /' "$ac_site_file" >&5
3122 if test -r "$cache_file"; then
3123 # Some versions of bash will fail to source /dev/null (special files
3124 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3125 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3127 $as_echo "$as_me: loading cache $cache_file" >&6;}
3129 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3130 *) . "./$cache_file";;
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3135 $as_echo "$as_me: creating cache $cache_file" >&6;}
3139 as_fn_append ac_header_list " stdlib.h"
3140 as_fn_append ac_header_list " unistd.h"
3141 as_fn_append ac_header_list " sys/param.h"
3142 as_fn_append ac_header_list " utime.h"
3143 # Check that the precious variables saved in the cache have kept the same
3145 ac_cache_corrupted=false
3146 for ac_var in $ac_precious_vars; do
3147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3148 eval ac_new_set=\$ac_env_${ac_var}_set
3149 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3150 eval ac_new_val=\$ac_env_${ac_var}_value
3151 case $ac_old_set,$ac_new_set in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3154 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3155 ac_cache_corrupted=: ;;
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3158 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3159 ac_cache_corrupted=: ;;
3162 if test "x$ac_old_val" != "x$ac_new_val"; then
3163 # differences in whitespace do not lead to failure.
3164 ac_old_val_w=`echo x $ac_old_val`
3165 ac_new_val_w=`echo x $ac_new_val`
3166 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3168 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3169 ac_cache_corrupted=:
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3172 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3173 eval $ac_var=\$ac_old_val
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3176 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3178 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3181 # Pass precious variables to config.status.
3182 if test "$ac_new_set" = set; then
3184 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 *) ac_arg=$ac_var=$ac_new_val ;;
3187 case " $ac_configure_args " in
3188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3189 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3193 if $ac_cache_corrupted; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3197 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3198 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3200 ## -------------------- ##
3201 ## Main body of script. ##
3202 ## -------------------- ##
3205 ac_cpp='$CPP $CPPFLAGS'
3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 # cross-compile macros
3214 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3215 for ac_t in install-sh install.sh shtool; do
3216 if test -f "$ac_dir/$ac_t"; then
3218 ac_install_sh="$ac_aux_dir/$ac_t -c"
3223 if test -z "$ac_aux_dir"; then
3224 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3227 # These three variables are undocumented and unsupported,
3228 # and are intended to be withdrawn in a future Autoconf release.
3229 # They can cause serious problems if a builder's source tree is in a directory
3230 # whose full name contains unusual characters.
3231 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3232 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3233 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3236 # Make sure we can run config.sub.
3237 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3238 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3241 $as_echo_n "checking build system type... " >&6; }
3242 if test "${ac_cv_build+set}" = set; then :
3243 $as_echo_n "(cached) " >&6
3245 ac_build_alias=$build_alias
3246 test "x$ac_build_alias" = x &&
3247 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3248 test "x$ac_build_alias" = x &&
3249 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3250 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3251 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3255 $as_echo "$ac_cv_build" >&6; }
3256 case $ac_cv_build in
3258 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3261 ac_save_IFS=$IFS; IFS='-'
3267 # Remember, the first character of IFS is used to create $*,
3268 # except with old shells:
3271 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3275 $as_echo_n "checking host system type... " >&6; }
3276 if test "${ac_cv_host+set}" = set; then :
3277 $as_echo_n "(cached) " >&6
3279 if test "x$host_alias" = x; then
3280 ac_cv_host=$ac_cv_build
3282 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3283 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3288 $as_echo "$ac_cv_host" >&6; }
3291 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3294 ac_save_IFS=$IFS; IFS='-'
3300 # Remember, the first character of IFS is used to create $*,
3301 # except with old shells:
3304 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3308 # check existence of the package
3312 for ac_dir in `pwd` "$srcdir"/`pwd`; do
3313 for ac_t in install-sh install.sh shtool; do
3314 if test -f "$ac_dir/$ac_t"; then
3316 ac_install_sh="$ac_aux_dir/$ac_t -c"
3321 if test -z "$ac_aux_dir"; then
3322 as_fn_error "cannot find install-sh, install.sh, or shtool in \`pwd\` \"$srcdir\"/\`pwd\`" "$LINENO" 5
3325 # These three variables are undocumented and unsupported,
3326 # and are intended to be withdrawn in a future Autoconf release.
3327 # They can cause serious problems if a builder's source tree is in a directory
3328 # whose full name contains unusual characters.
3329 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3330 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3331 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3338 # preserve any CFLAGS or LDFLAGS that may be set
3339 # NOTE: This must be done before calling any macros that end up
3340 # calling AC_PROG_CC or the like, since they will set a default
3341 # set of CFLAGS ("-g -O2") if the user did not supply any, and
3342 # we don't want those default flags to be carried over into the
3343 # rest of the build system since we have other means of controlling
3344 # debugging symbol generation and optimization.
3345 CONFIG_CFLAGS="${CFLAGS}"
3346 CONFIG_LDFLAGS="${LDFLAGS}"
3350 # specify output header file
3351 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
3355 ac_cpp='$CPP $CPPFLAGS'
3356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 if test -n "$ac_tool_prefix"; then
3360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_CC+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$CC"; then
3368 ac_cv_prog_CC="$CC" # Let the user override the test.
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390 $as_echo "$CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3398 if test -z "$ac_cv_prog_CC"; then
3400 # Extract the first word of "gcc", so it can be a program name with args.
3401 set dummy gcc; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3405 $as_echo_n "(cached) " >&6
3407 if test -n "$ac_ct_CC"; then
3408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3417 ac_cv_prog_ac_ct_CC="gcc"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3428 if test -n "$ac_ct_CC"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3430 $as_echo "$ac_ct_CC" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3436 if test "x$ac_ct_CC" = x; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3451 if test -z "$CC"; then
3452 if test -n "$ac_tool_prefix"; then
3453 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3454 set dummy ${ac_tool_prefix}cc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if test "${ac_cv_prog_CC+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$CC"; then
3461 ac_cv_prog_CC="$CC" # Let the user override the test.
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 test -z "$as_dir" && as_dir=.
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3470 ac_cv_prog_CC="${ac_tool_prefix}cc"
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 if test -n "$CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3492 if test -z "$CC"; then
3493 # Extract the first word of "cc", so it can be a program name with args.
3494 set dummy cc; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if test "${ac_cv_prog_CC+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC="$CC" # Let the user override the test.
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir=.
3509 for ac_exec_ext in '' $ac_executable_extensions; do
3510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3511 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3512 ac_prog_rejected=yes
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test $ac_prog_rejected = yes; then
3524 # We found a bogon in the path, so make sure we never use it.
3525 set dummy $ac_cv_prog_CC
3527 if test $# != 0; then
3528 # We chose a different compiler from the bogus one.
3529 # However, it has the same basename, so the bogon will be chosen
3530 # first if we set CC to just the basename; use the full file name.
3532 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$CC"; then
3549 if test -n "$ac_tool_prefix"; then
3550 for ac_prog in cl.exe
3552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3589 test -n "$CC" && break
3592 if test -z "$CC"; then
3594 for ac_prog in cl.exe
3596 # Extract the first word of "$ac_prog", so it can be a program name with args.
3597 set dummy $ac_prog; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CC="$ac_prog"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3633 test -n "$ac_ct_CC" && break
3636 if test "x$ac_ct_CC" = x; then
3639 case $cross_compiling:$ac_tool_warned in
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3652 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error "no acceptable C compiler found in \$PATH
3655 See \`config.log' for more details." "$LINENO" 5; }
3657 # Provide some information about the compiler.
3658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3661 for ac_option in --version -v -V -qversion; do
3662 { { ac_try="$ac_compiler $ac_option >&5"
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 $as_echo "$ac_try_echo"; } >&5
3669 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3671 if test -s conftest.err; then
3673 ... rest of stderr output deleted ...
3674 10q' conftest.err >conftest.er1
3675 cat conftest.er1 >&5
3677 rm -f conftest.er1 conftest.err
3678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 test $ac_status = 0; }
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3693 ac_clean_files_save=$ac_clean_files
3694 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3695 # Try to create an executable without -o first, disregard a.out.
3696 # It will help us diagnose broken compilers, and finding out an intuition
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3699 $as_echo_n "checking whether the C compiler works... " >&6; }
3700 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3702 # The possible output files:
3703 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3706 for ac_file in $ac_files
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3710 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3715 if { { ac_try="$ac_link_default"
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_link_default") 2>&5
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }; then :
3726 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3727 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3728 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3729 # so that the user can short-circuit this test for compilers unknown to
3731 for ac_file in $ac_files ''
3733 test -f "$ac_file" || continue
3735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3738 # We found the default executable, but exeext='' is most
3742 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3744 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3746 # We set ac_cv_exeext here because the later test for it is not
3747 # safe: cross compilers may not add the suffix if given an `-o'
3748 # argument, so we may need to know it at that point already.
3749 # Even if this section looks crufty: it has the advantage of
3756 test "$ac_cv_exeext" = no && ac_cv_exeext=
3761 if test -z "$ac_file"; then :
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 $as_echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.$ac_ext >&5
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 { as_fn_set_status 77
3770 as_fn_error "C compiler cannot create executables
3771 See \`config.log' for more details." "$LINENO" 5; }; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3774 $as_echo "yes" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3777 $as_echo_n "checking for C compiler default output file name... " >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3779 $as_echo "$ac_file" >&6; }
3780 ac_exeext=$ac_cv_exeext
3782 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3783 ac_clean_files=$ac_clean_files_save
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3785 $as_echo_n "checking for suffix of executables... " >&6; }
3786 if { { ac_try="$ac_link"
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792 $as_echo "$ac_try_echo"; } >&5
3793 (eval "$ac_link") 2>&5
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; }; then :
3797 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3799 # work properly (i.e., refer to `conftest.exe'), while it won't with
3801 for ac_file in conftest.exe conftest conftest.*; do
3802 test -f "$ac_file" || continue
3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error "cannot compute suffix of executables: cannot compile and link
3814 See \`config.log' for more details." "$LINENO" 5; }
3816 rm -f conftest conftest$ac_cv_exeext
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3818 $as_echo "$ac_cv_exeext" >&6; }
3820 rm -f conftest.$ac_ext
3821 EXEEXT=$ac_cv_exeext
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3829 FILE *f = fopen ("conftest.out", "w");
3830 return ferror (f) || fclose (f) != 0;
3836 ac_clean_files="$ac_clean_files conftest.out"
3837 # Check that the compiler produces executables we can run. If not, either
3838 # the compiler is broken, or we cross compile.
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3840 $as_echo_n "checking whether we are cross compiling... " >&6; }
3841 if test "$cross_compiling" != yes; then
3842 { { ac_try="$ac_link"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_link") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }
3853 if { ac_try='./conftest$ac_cv_exeext'
3854 { { case "(($ac_try" in
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_try") 2>&5
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }; }; then
3866 if test "$cross_compiling" = maybe; then
3869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error "cannot run C compiled programs.
3872 If you meant to cross compile, use \`--host'.
3873 See \`config.log' for more details." "$LINENO" 5; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3878 $as_echo "$cross_compiling" >&6; }
3880 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3881 ac_clean_files=$ac_clean_files_save
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3883 $as_echo_n "checking for suffix of object files... " >&6; }
3884 if test "${ac_cv_objext+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3898 rm -f conftest.o conftest.obj
3899 if { { ac_try="$ac_compile"
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_compile") 2>&5
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 for ac_file in conftest.o conftest.obj conftest.*; do
3911 test -f "$ac_file" || continue;
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3919 $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error "cannot compute suffix of object files: cannot compile
3925 See \`config.log' for more details." "$LINENO" 5; }
3927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3930 $as_echo "$ac_cv_objext" >&6; }
3931 OBJEXT=$ac_cv_objext
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3935 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3952 if ac_fn_c_try_compile "$LINENO"; then :
3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3962 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3963 if test $ac_compiler_gnu = yes; then
3968 ac_test_CFLAGS=${CFLAGS+set}
3969 ac_save_CFLAGS=$CFLAGS
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3971 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3972 if test "${ac_cv_prog_cc_g+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3975 ac_save_c_werror_flag=$ac_c_werror_flag
3976 ac_c_werror_flag=yes
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3990 if ac_fn_c_try_compile "$LINENO"; then :
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_c_try_compile "$LINENO"; then :
4008 ac_c_werror_flag=$ac_save_c_werror_flag
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 if ac_fn_c_try_compile "$LINENO"; then :
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_c_werror_flag=$ac_save_c_werror_flag
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4032 $as_echo "$ac_cv_prog_cc_g" >&6; }
4033 if test "$ac_test_CFLAGS" = set; then
4034 CFLAGS=$ac_save_CFLAGS
4035 elif test $ac_cv_prog_cc_g = yes; then
4036 if test "$GCC" = yes; then
4042 if test "$GCC" = yes; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4050 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 ac_cv_prog_cc_c89=no
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4059 #include <sys/types.h>
4060 #include <sys/stat.h>
4061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4062 struct buf { int x; };
4063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4064 static char *e (p, i)
4070 static char *f (char * (*g) (char **, int), char **p, ...)
4075 s = g (p, va_arg (v,int));
4080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4081 function prototypes and stuff, but not '\xHH' hex character constants.
4082 These don't provoke an error unfortunately, instead are silently treated
4083 as 'x'. The following induces an error, until -std is added to get
4084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4085 array size at least. It's necessary to write '\x00'==0 to get something
4086 that's true only with -std. */
4087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4090 inside strings and character constants. */
4092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4094 int test (int i, double x);
4095 struct s1 {int (*f) (int a);};
4096 struct s2 {int (*f) (double a);};
4097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4111 CC="$ac_save_CC $ac_arg"
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 ac_cv_prog_cc_c89=$ac_arg
4115 rm -f core conftest.err conftest.$ac_objext
4116 test "x$ac_cv_prog_cc_c89" != "xno" && break
4118 rm -f conftest.$ac_ext
4123 case "x$ac_cv_prog_cc_c89" in
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4126 $as_echo "none needed" >&6; } ;;
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4129 $as_echo "unsupported" >&6; } ;;
4131 CC="$CC $ac_cv_prog_cc_c89"
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4133 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4135 if test "x$ac_cv_prog_cc_c89" != xno; then :
4140 ac_cpp='$CPP $CPPFLAGS'
4141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4147 ac_cpp='$CPP $CPPFLAGS'
4148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4152 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4153 # On Suns, sometimes $CPP names a directory.
4154 if test -n "$CPP" && test -d "$CPP"; then
4157 if test -z "$CPP"; then
4158 if test "${ac_cv_prog_CPP+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 # Double quotes because CPP needs to be expanded
4162 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4165 for ac_c_preproc_warn_flag in '' yes
4167 # Use a header file that comes with gcc, so configuring glibc
4168 # with a fresh cross-compiler works.
4169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4170 # <limits.h> exists even on freestanding compilers.
4171 # On the NeXT, cc -E runs the code through the compiler's parser,
4172 # not just through cpp. "Syntax error" is here to catch this case.
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4176 # include <limits.h>
4178 # include <assert.h>
4182 if ac_fn_c_try_cpp "$LINENO"; then :
4185 # Broken: fails on valid input.
4188 rm -f conftest.err conftest.$ac_ext
4190 # OK, works on sane cases. Now check whether nonexistent headers
4191 # can be detected and how.
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 #include <ac_nonexistent.h>
4196 if ac_fn_c_try_cpp "$LINENO"; then :
4197 # Broken: success on invalid input.
4200 # Passes both tests.
4204 rm -f conftest.err conftest.$ac_ext
4207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4208 rm -f conftest.err conftest.$ac_ext
4209 if $ac_preproc_ok; then :
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4222 $as_echo "$CPP" >&6; }
4224 for ac_c_preproc_warn_flag in '' yes
4226 # Use a header file that comes with gcc, so configuring glibc
4227 # with a fresh cross-compiler works.
4228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4229 # <limits.h> exists even on freestanding compilers.
4230 # On the NeXT, cc -E runs the code through the compiler's parser,
4231 # not just through cpp. "Syntax error" is here to catch this case.
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4235 # include <limits.h>
4237 # include <assert.h>
4241 if ac_fn_c_try_cpp "$LINENO"; then :
4244 # Broken: fails on valid input.
4247 rm -f conftest.err conftest.$ac_ext
4249 # OK, works on sane cases. Now check whether nonexistent headers
4250 # can be detected and how.
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 #include <ac_nonexistent.h>
4255 if ac_fn_c_try_cpp "$LINENO"; then :
4256 # Broken: success on invalid input.
4259 # Passes both tests.
4263 rm -f conftest.err conftest.$ac_ext
4266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4267 rm -f conftest.err conftest.$ac_ext
4268 if $ac_preproc_ok; then :
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4274 See \`config.log' for more details." "$LINENO" 5; }
4278 ac_cpp='$CPP $CPPFLAGS'
4279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4285 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4286 if test "${ac_cv_path_GREP+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -z "$GREP"; then
4290 ac_path_GREP_found=false
4291 # Loop through the user's path and test for each of PROGNAME-LIST
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4296 test -z "$as_dir" && as_dir=.
4297 for ac_prog in grep ggrep; do
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4300 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4301 # Check for GNU ac_path_GREP and select it if it is found.
4302 # Check for GNU $ac_path_GREP
4303 case `"$ac_path_GREP" --version 2>&1` in
4305 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4308 $as_echo_n 0123456789 >"conftest.in"
4311 cat "conftest.in" "conftest.in" >"conftest.tmp"
4312 mv "conftest.tmp" "conftest.in"
4313 cp "conftest.in" "conftest.nl"
4314 $as_echo 'GREP' >> "conftest.nl"
4315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4317 as_fn_arith $ac_count + 1 && ac_count=$as_val
4318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4319 # Best one so far, save it but keep looking for a better one
4320 ac_cv_path_GREP="$ac_path_GREP"
4321 ac_path_GREP_max=$ac_count
4323 # 10*(2^10) chars as input seems more than enough
4324 test $ac_count -gt 10 && break
4326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4329 $ac_path_GREP_found && break 3
4334 if test -z "$ac_cv_path_GREP"; then
4335 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4338 ac_cv_path_GREP=$GREP
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4343 $as_echo "$ac_cv_path_GREP" >&6; }
4344 GREP="$ac_cv_path_GREP"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4348 $as_echo_n "checking for egrep... " >&6; }
4349 if test "${ac_cv_path_EGREP+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4353 then ac_cv_path_EGREP="$GREP -E"
4355 if test -z "$EGREP"; then
4356 ac_path_EGREP_found=false
4357 # Loop through the user's path and test for each of PROGNAME-LIST
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4362 test -z "$as_dir" && as_dir=.
4363 for ac_prog in egrep; do
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4366 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4367 # Check for GNU ac_path_EGREP and select it if it is found.
4368 # Check for GNU $ac_path_EGREP
4369 case `"$ac_path_EGREP" --version 2>&1` in
4371 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4374 $as_echo_n 0123456789 >"conftest.in"
4377 cat "conftest.in" "conftest.in" >"conftest.tmp"
4378 mv "conftest.tmp" "conftest.in"
4379 cp "conftest.in" "conftest.nl"
4380 $as_echo 'EGREP' >> "conftest.nl"
4381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4383 as_fn_arith $ac_count + 1 && ac_count=$as_val
4384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4385 # Best one so far, save it but keep looking for a better one
4386 ac_cv_path_EGREP="$ac_path_EGREP"
4387 ac_path_EGREP_max=$ac_count
4389 # 10*(2^10) chars as input seems more than enough
4390 test $ac_count -gt 10 && break
4392 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4395 $ac_path_EGREP_found && break 3
4400 if test -z "$ac_cv_path_EGREP"; then
4401 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4404 ac_cv_path_EGREP=$EGREP
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4410 $as_echo "$ac_cv_path_EGREP" >&6; }
4411 EGREP="$ac_cv_path_EGREP"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4415 $as_echo_n "checking for ANSI C header files... " >&6; }
4416 if test "${ac_cv_header_stdc+set}" = set; then :
4417 $as_echo_n "(cached) " >&6
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 ac_cv_header_stdc=yes
4437 ac_cv_header_stdc=no
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441 if test $ac_cv_header_stdc = yes; then
4442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4449 $EGREP "memchr" >/dev/null 2>&1; then :
4452 ac_cv_header_stdc=no
4458 if test $ac_cv_header_stdc = yes; then
4459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4466 $EGREP "free" >/dev/null 2>&1; then :
4469 ac_cv_header_stdc=no
4475 if test $ac_cv_header_stdc = yes; then
4476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4477 if test "$cross_compiling" = yes; then :
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 #if ((' ' & 0x0FF) == 0x020)
4485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4488 # define ISLOWER(c) \
4489 (('a' <= (c) && (c) <= 'i') \
4490 || ('j' <= (c) && (c) <= 'r') \
4491 || ('s' <= (c) && (c) <= 'z'))
4492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4500 for (i = 0; i < 256; i++)
4501 if (XOR (islower (i), ISLOWER (i))
4502 || toupper (i) != TOUPPER (i))
4507 if ac_fn_c_try_run "$LINENO"; then :
4510 ac_cv_header_stdc=no
4512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4513 conftest.$ac_objext conftest.beam conftest.$ac_ext
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4519 $as_echo "$ac_cv_header_stdc" >&6; }
4520 if test $ac_cv_header_stdc = yes; then
4522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4527 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4528 inttypes.h stdint.h unistd.h
4530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4531 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4533 eval as_val=\$$as_ac_Header
4534 if test "x$as_val" = x""yes; then :
4535 cat >>confdefs.h <<_ACEOF
4536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4545 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4546 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4553 if test "$MINIX" = yes; then
4555 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4558 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4561 $as_echo "#define _MINIX 1" >>confdefs.h
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4567 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4568 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4574 # define __EXTENSIONS__ 1
4575 $ac_includes_default
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 ac_cv_safe_to_define___extensions__=yes
4587 ac_cv_safe_to_define___extensions__=no
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4592 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4593 test $ac_cv_safe_to_define___extensions__ = yes &&
4594 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4596 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4598 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4600 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4602 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4604 # note- does not work on FreeBSD
4606 case "${host_os}" in
4608 ac_default_prefix=/usr/local
4609 CPPFLAGS=-I/usr/local/include
4610 LDFLAGS=-L/usr/local/lib
4613 ac_default_prefix=/usr/local
4614 if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then
4615 if test ${sysconfdir} = '${prefix}/etc'; then
4618 if test ${mandir} = '${prefix}/man'; then
4619 mandir=/usr/share/man
4622 CPPFLAGS=-I/usr/local/include
4623 LDFLAGS=-L/usr/local/lib
4627 $as_echo "#define AST_POLL_COMPAT 1" >>confdefs.h
4631 ac_default_prefix=/usr
4632 if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then
4633 if test ${sysconfdir} = '${prefix}/etc'; then
4636 if test ${mandir} = '${prefix}/man'; then
4637 mandir=/usr/share/man
4643 if test ${prefix} = ${ac_default_prefix} || test ${prefix} = 'NONE'; then
4644 if test ${localstatedir} = '${prefix}/var'; then
4649 BUILD_PLATFORM=${build}
4650 BUILD_CPU=${build_cpu}
4651 BUILD_VENDOR=${build_vendor}
4652 BUILD_OS=${build_os}
4659 HOST_PLATFORM=${host}
4660 HOST_CPU=${host_cpu}
4661 HOST_VENDOR=${host_vendor}
4671 case "${host_os}" in