2 # From configure.ac Revision: 49103 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
582 ac_unique_file="asterisk"
583 ac_unique_file="main/asterisk.c"
584 # Factoring default headers for most tests.
585 ac_includes_default="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
631 program_transform_name
865 ac_precious_vars='build_alias
880 # Initialize some variables set by options.
882 ac_init_version=false
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name=s,x,x,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir='${exec_prefix}/bin'
907 sbindir='${exec_prefix}/sbin'
908 libexecdir='${exec_prefix}/libexec'
909 datarootdir='${prefix}/share'
910 datadir='${datarootdir}'
911 sysconfdir='${prefix}/etc'
912 sharedstatedir='${prefix}/com'
913 localstatedir='${prefix}/var'
914 includedir='${prefix}/include'
915 oldincludedir='/usr/include'
916 docdir='${datarootdir}/doc/${PACKAGE}'
917 infodir='${datarootdir}/info'
922 libdir='${exec_prefix}/lib'
923 localedir='${datarootdir}/locale'
924 mandir='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\$ac_option
938 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942 # Accept the important Cygnus configure options, so we can diagnose typos.
944 case $ac_dashdash$ac_option in
948 -bindir | --bindir | --bindi | --bind | --bin | --bi)
950 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
953 -build | --build | --buil | --bui | --bu)
954 ac_prev=build_alias ;;
955 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956 build_alias=$ac_optarg ;;
958 -cache-file | --cache-file | --cache-fil | --cache-fi \
959 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
960 ac_prev=cache_file ;;
961 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
962 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963 cache_file=$ac_optarg ;;
966 cache_file=config.cache ;;
968 -datadir | --datadir | --datadi | --datad)
970 -datadir=* | --datadir=* | --datadi=* | --datad=*)
971 datadir=$ac_optarg ;;
973 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
974 | --dataroo | --dataro | --datar)
975 ac_prev=datarootdir ;;
976 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
977 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978 datarootdir=$ac_optarg ;;
980 -disable-* | --disable-*)
981 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
985 { (exit 1); exit 1; }; }
986 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
987 eval enable_$ac_feature=no ;;
989 -docdir | --docdir | --docdi | --doc | --do)
991 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
996 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999 -enable-* | --enable-*)
1000 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1003 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1006 eval enable_$ac_feature=\$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 htmldir=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 sbindir=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 sharedstatedir=$ac_optarg ;;
1168 -site | --site | --sit)
1170 -site=* | --site=* | --sit=*)
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1197 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1200 { echo "$as_me: error: invalid package name: $ac_package" >&2
1201 { (exit 1); exit 1; }; }
1202 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1203 eval with_$ac_package=\$ac_optarg ;;
1205 -without-* | --without-*)
1206 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209 { echo "$as_me: error: invalid package name: $ac_package" >&2
1210 { (exit 1); exit 1; }; }
1211 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1212 eval with_$ac_package=no ;;
1215 # Obsolete; use --with-x.
1218 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219 | --x-incl | --x-inc | --x-in | --x-i)
1220 ac_prev=x_includes ;;
1221 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223 x_includes=$ac_optarg ;;
1225 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227 ac_prev=x_libraries ;;
1228 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230 x_libraries=$ac_optarg ;;
1232 -*) { echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1241 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259 { echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 # Be sure to have absolute directory names.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1271 [\\/$]* | ?:[\\/]* ) continue;;
1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1275 { (exit 1); exit 1; }; }
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x; then
1287 if test "x$build_alias" = x; then
1288 cross_compiling=maybe
1289 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299 test "$silent" = yes && exec 6>/dev/null
1302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di=`ls -di .` &&
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1305 { echo "$as_me: error: Working directory cannot be determined" >&2
1306 { (exit 1); exit 1; }; }
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 { echo "$as_me: error: pwd does not report name of working directory" >&2
1309 { (exit 1); exit 1; }; }
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir=`$as_dirname -- "$0" ||
1317 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$0" : 'X\(//\)[^/]' \| \
1319 X"$0" : 'X\(//\)$' \| \
1320 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1348 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1349 { (exit 1); exit 1; }; }
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1354 { (exit 1); exit 1; }; }
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures this package to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --enable-dev-mode Turn on developer mode
1451 --disable-largefile omit support for large files
1454 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1455 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1456 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1457 --with-asound=PATH use Advanced Linux Sound Architecture files in PATH
1458 --with-cap=PATH use POSIX 1.e capabilities files in PATH
1459 --with-curl=PATH use cURL files in PATH
1460 --with-curses=PATH use curses files in PATH
1461 --with-gnutls=PATH use GNU TLS support (used for iksemel only) files in
1463 --with-gsm=PATH use GSM files in PATH , or 'internal'
1464 --with-iksemel=PATH use Iksemel Jabber Library files in PATH
1465 --with-imap=PATH use UW IMAP Toolkit files in PATH
1466 --with-isdnnet=PATH use ISDN4Linux Library files in PATH
1467 --with-kde=PATH use KDE files in PATH
1468 --with-misdn=PATH use mISDN User Library files in PATH
1469 --with-nbs=PATH use Network Broadcast Sound files in PATH
1470 --with-ncurses=PATH use ncurses files in PATH
1471 --with-netsnmp=PATH use Net-SNMP files in PATH
1472 --with-newt=PATH use newt files in PATH
1473 --with-odbc=PATH use unixODBC files in PATH
1474 --with-ogg=PATH use OGG files in PATH
1475 --with-osptk=PATH use OSP Toolkit files in PATH
1476 --with-oss=PATH use Open Sound System files in PATH
1477 --with-popt=PATH use popt files in PATH
1478 --with-postgres=PATH use PostgreSQL files in PATH
1479 --with-pri=PATH use ISDN PRI files in PATH
1480 --with-ss7=PATH use ISDN SS7 files in PATH
1481 --with-pwlib=PATH use PWlib files in PATH
1482 --with-h323=PATH use OpenH323 files in PATH
1483 --with-qt=PATH use Qt files in PATH
1484 --with-radius=PATH use Radius Client files in PATH
1485 --with-speex=PATH use Speex files in PATH
1486 --with-sqlite=PATH use SQLite files in PATH
1487 --with-suppserv=PATH use mISDN Supplemental Services files in PATH
1488 --with-ssl=PATH use OpenSSL files in PATH
1489 --with-tds=PATH use FreeTDS files in PATH
1490 --with-termcap=PATH use Termcap files in PATH
1491 --with-tinfo=PATH use Term Info files in PATH
1492 --with-tonezone=PATH use tonezone files in PATH
1493 --with-vorbis=PATH use Vorbis files in PATH
1494 --with-vpb=PATH use Voicetronix API files in PATH
1495 --with-z=PATH use zlib files in PATH
1496 --with-zaptel=PATH use Zaptel files in PATH
1498 Some influential environment variables:
1499 CC C compiler command
1500 CFLAGS C compiler flags
1501 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1502 nonstandard directory <lib dir>
1503 LIBS libraries to pass to the linker, e.g. -l<library>
1504 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1505 you have headers in a nonstandard directory <include dir>
1507 CXX C++ compiler command
1508 CXXFLAGS C++ compiler flags
1509 CXXCPP C++ preprocessor
1511 Use these variables to override the choices made by `configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" || continue
1525 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1528 # A ".." for each directory in $ac_dir_suffix.
1529 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1530 case $ac_top_builddir_sub in
1531 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535 ac_abs_top_builddir=$ac_pwd
1536 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1537 # for backward compatibility:
1538 ac_top_builddir=$ac_top_build_prefix
1541 .) # We are building in place.
1543 ac_top_srcdir=$ac_top_builddir_sub
1544 ac_abs_top_srcdir=$ac_pwd ;;
1545 [\\/]* | ?:[\\/]* ) # Absolute name.
1546 ac_srcdir=$srcdir$ac_dir_suffix;
1547 ac_top_srcdir=$srcdir
1548 ac_abs_top_srcdir=$srcdir ;;
1550 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1551 ac_top_srcdir=$ac_top_build_prefix$srcdir
1552 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556 cd "$ac_dir" || { ac_status=$?; continue; }
1557 # Check for guested configure.
1558 if test -f "$ac_srcdir/configure.gnu"; then
1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561 elif test -f "$ac_srcdir/configure"; then
1563 $SHELL "$ac_srcdir/configure" --help=recursive
1565 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 cd "$ac_pwd" || { ac_status=$?; break; }
1571 test -n "$ac_init_help" && exit $ac_status
1572 if $ac_init_version; then
1575 generated by GNU Autoconf 2.61
1577 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1578 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1579 This configure script is free software; the Free Software Foundation
1580 gives unlimited permission to copy, distribute and modify it.
1586 cat >config.log <<_ACEOF
1587 This file contains any messages produced by compilers while
1588 running configure, to aid debugging if configure makes a mistake.
1590 It was created by $as_me, which was
1591 generated by GNU Autoconf 2.61. Invocation command line was
1603 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1604 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1605 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1606 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1607 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1609 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1610 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1612 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1613 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1614 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1615 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1616 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1617 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1618 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 test -z "$as_dir" && as_dir=.
1627 echo "PATH: $as_dir"
1643 # Keep a trace of the command line.
1644 # Strip out --no-create and --no-recursion so they do not pile up.
1645 # Strip out --silent because we don't want to record it for future runs.
1646 # Also quote any args containing shell meta-characters.
1647 # Make two passes to allow for proper duplicate-argument suppression.
1651 ac_must_keep_next=false
1657 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1659 | -silent | --silent | --silen | --sile | --sil)
1662 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1665 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1667 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1668 if test $ac_must_keep_next = true; then
1669 ac_must_keep_next=false # Got value, back to normal.
1672 *=* | --config-cache | -C | -disable-* | --disable-* \
1673 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1674 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1675 | -with-* | --with-* | -without-* | --without-* | --x)
1676 case "$ac_configure_args0 " in
1677 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1680 -* ) ac_must_keep_next=true ;;
1683 ac_configure_args="$ac_configure_args '$ac_arg'"
1688 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1689 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1691 # When interrupted or exit'd, cleanup temporary files, and complete
1692 # config.log. We remove comments because anyway the quotes in there
1693 # would cause problems or look ugly.
1694 # WARNING: Use '\'' to represent an apostrophe within the trap.
1695 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1696 trap 'exit_status=$?
1697 # Save into config.log some information that might help in debugging.
1702 ## ---------------- ##
1703 ## Cache variables. ##
1704 ## ---------------- ##
1707 # The following way of writing the cache mishandles newlines in values,
1709 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1710 eval ac_val=\$$ac_var
1714 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1715 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1718 _ | IFS | as_nl) ;; #(
1719 *) $as_unset $ac_var ;;
1724 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1725 *${as_nl}ac_space=\ *)
1727 "s/'\''/'\''\\\\'\'''\''/g;
1728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1731 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1739 ## ----------------- ##
1740 ## Output variables. ##
1741 ## ----------------- ##
1744 for ac_var in $ac_subst_vars
1746 eval ac_val=\$$ac_var
1748 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 echo "$ac_var='\''$ac_val'\''"
1754 if test -n "$ac_subst_files"; then
1756 ## ------------------- ##
1757 ## File substitutions. ##
1758 ## ------------------- ##
1761 for ac_var in $ac_subst_files
1763 eval ac_val=\$$ac_var
1765 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1767 echo "$ac_var='\''$ac_val'\''"
1772 if test -s confdefs.h; then
1782 test "$ac_signal" != 0 &&
1783 echo "$as_me: caught signal $ac_signal"
1784 echo "$as_me: exit $exit_status"
1786 rm -f core *.core core.conftest.* &&
1787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1790 for ac_signal in 1 2 13 15; do
1791 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1796 rm -f -r conftest* confdefs.h
1798 # Predefined preprocessor variables.
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_NAME "$PACKAGE_NAME"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_STRING "$PACKAGE_STRING"
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1825 # Let the site file select an alternate cache file if it wants to.
1826 # Prefer explicitly selected file to automatically selected ones.
1827 if test -n "$CONFIG_SITE"; then
1828 set x "$CONFIG_SITE"
1829 elif test "x$prefix" != xNONE; then
1830 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1832 set x "$ac_default_prefix/share/config.site" \
1833 "$ac_default_prefix/etc/config.site"
1838 if test -r "$ac_site_file"; then
1839 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1840 echo "$as_me: loading site script $ac_site_file" >&6;}
1841 sed 's/^/| /' "$ac_site_file" >&5
1846 if test -r "$cache_file"; then
1847 # Some versions of bash will fail to source /dev/null (special
1848 # files actually), so we avoid doing that.
1849 if test -f "$cache_file"; then
1850 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1851 echo "$as_me: loading cache $cache_file" >&6;}
1853 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1854 *) . "./$cache_file";;
1858 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1859 echo "$as_me: creating cache $cache_file" >&6;}
1863 ac_header_list="$ac_header_list sys/time.h"
1864 ac_header_list="$ac_header_list unistd.h"
1865 ac_func_list="$ac_func_list alarm"
1866 ac_header_list="$ac_header_list utime.h"
1867 # Check that the precious variables saved in the cache have kept the same
1869 ac_cache_corrupted=false
1870 for ac_var in $ac_precious_vars; do
1871 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1872 eval ac_new_set=\$ac_env_${ac_var}_set
1873 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1874 eval ac_new_val=\$ac_env_${ac_var}_value
1875 case $ac_old_set,$ac_new_set in
1877 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1878 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1879 ac_cache_corrupted=: ;;
1881 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1882 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1883 ac_cache_corrupted=: ;;
1886 if test "x$ac_old_val" != "x$ac_new_val"; then
1887 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1888 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1889 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1890 echo "$as_me: former value: $ac_old_val" >&2;}
1891 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1892 echo "$as_me: current value: $ac_new_val" >&2;}
1893 ac_cache_corrupted=:
1896 # Pass precious variables to config.status.
1897 if test "$ac_new_set" = set; then
1899 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 *) ac_arg=$ac_var=$ac_new_val ;;
1902 case " $ac_configure_args " in
1903 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1904 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1908 if $ac_cache_corrupted; then
1909 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1910 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1911 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1912 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1913 { (exit 1); exit 1; }; }
1933 ac_cpp='$CPP $CPPFLAGS'
1934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940 # cross-compile macros
1942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1943 if test -f "$ac_dir/install-sh"; then
1945 ac_install_sh="$ac_aux_dir/install-sh -c"
1947 elif test -f "$ac_dir/install.sh"; then
1949 ac_install_sh="$ac_aux_dir/install.sh -c"
1951 elif test -f "$ac_dir/shtool"; then
1953 ac_install_sh="$ac_aux_dir/shtool install -c"
1957 if test -z "$ac_aux_dir"; then
1958 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1959 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1960 { (exit 1); exit 1; }; }
1963 # These three variables are undocumented and unsupported,
1964 # and are intended to be withdrawn in a future Autoconf release.
1965 # They can cause serious problems if a builder's source tree is in a directory
1966 # whose full name contains unusual characters.
1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 # Make sure we can run config.sub.
1973 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1974 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1975 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1976 { (exit 1); exit 1; }; }
1978 { echo "$as_me:$LINENO: checking build system type" >&5
1979 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_build+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 ac_build_alias=$build_alias
1984 test "x$ac_build_alias" = x &&
1985 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1986 test "x$ac_build_alias" = x &&
1987 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1988 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1989 { (exit 1); exit 1; }; }
1990 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1991 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1992 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1993 { (exit 1); exit 1; }; }
1996 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1997 echo "${ECHO_T}$ac_cv_build" >&6; }
1998 case $ac_cv_build in
2000 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2001 echo "$as_me: error: invalid value of canonical build" >&2;}
2002 { (exit 1); exit 1; }; };;
2005 ac_save_IFS=$IFS; IFS='-'
2011 # Remember, the first character of IFS is used to create $*,
2012 # except with old shells:
2015 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2018 { echo "$as_me:$LINENO: checking host system type" >&5
2019 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2020 if test "${ac_cv_host+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 if test "x$host_alias" = x; then
2024 ac_cv_host=$ac_cv_build
2026 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2027 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2028 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2029 { (exit 1); exit 1; }; }
2033 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2034 echo "${ECHO_T}$ac_cv_host" >&6; }
2037 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2038 echo "$as_me: error: invalid value of canonical host" >&2;}
2039 { (exit 1); exit 1; }; };;
2042 ac_save_IFS=$IFS; IFS='-'
2048 # Remember, the first character of IFS is used to create $*,
2049 # except with old shells:
2052 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2056 # check existence of the package
2059 # specify output header file
2060 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2067 cat >>confdefs.h <<\_ACEOF
2068 #define _GNU_SOURCE 1
2073 ac_cpp='$CPP $CPPFLAGS'
2074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2077 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC="$CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 { echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6; }
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2116 if test -z "$ac_cv_prog_CC"; then
2118 # Extract the first word of "gcc", so it can be a program name with args.
2119 set dummy gcc; ac_word=$2
2120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 if test -n "$ac_ct_CC"; then
2126 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_ac_ct_CC="gcc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2146 if test -n "$ac_ct_CC"; then
2147 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2148 echo "${ECHO_T}$ac_ct_CC" >&6; }
2150 { echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6; }
2154 if test "x$ac_ct_CC" = x; then
2157 case $cross_compiling:$ac_tool_warned in
2159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2160 whose name does not start with the host triplet. If you think this
2161 configuration is useful to you, please write to autoconf@gnu.org." >&5
2162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2163 whose name does not start with the host triplet. If you think this
2164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2165 ac_tool_warned=yes ;;
2173 if test -z "$CC"; then
2174 if test -n "$ac_tool_prefix"; then
2175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2176 set dummy ${ac_tool_prefix}cc; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_CC="${ac_tool_prefix}cc"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 { echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6; }
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2214 if test -z "$CC"; then
2215 # Extract the first word of "cc", so it can be a program name with args.
2216 set dummy cc; ac_word=$2
2217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2234 ac_prog_rejected=yes
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test $ac_prog_rejected = yes; then
2246 # We found a bogon in the path, so make sure we never use it.
2247 set dummy $ac_cv_prog_CC
2249 if test $# != 0; then
2250 # We chose a different compiler from the bogus one.
2251 # However, it has the same basename, so the bogon will be chosen
2252 # first if we set CC to just the basename; use the full file name.
2254 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260 if test -n "$CC"; then
2261 { echo "$as_me:$LINENO: result: $CC" >&5
2262 echo "${ECHO_T}$CC" >&6; }
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2270 if test -z "$CC"; then
2271 if test -n "$ac_tool_prefix"; then
2272 for ac_prog in cl.exe
2274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$CC"; then
2282 ac_cv_prog_CC="$CC" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 if test -n "$CC"; then
2303 { echo "$as_me:$LINENO: result: $CC" >&5
2304 echo "${ECHO_T}$CC" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2311 test -n "$CC" && break
2314 if test -z "$CC"; then
2316 for ac_prog in cl.exe
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="$ac_prog"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2355 test -n "$ac_ct_CC" && break
2358 if test "x$ac_ct_CC" = x; then
2361 case $cross_compiling:$ac_tool_warned in
2363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2364 whose name does not start with the host triplet. If you think this
2365 configuration is useful to you, please write to autoconf@gnu.org." >&5
2366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2369 ac_tool_warned=yes ;;
2378 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2379 See \`config.log' for more details." >&5
2380 echo "$as_me: error: no acceptable C compiler found in \$PATH
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }
2384 # Provide some information about the compiler.
2385 echo "$as_me:$LINENO: checking for C compiler version" >&5
2386 ac_compiler=`set X $ac_compile; echo $2`
2387 { (ac_try="$ac_compiler --version >&5"
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393 (eval "$ac_compiler --version >&5") 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }
2397 { (ac_try="$ac_compiler -v >&5"
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_compiler -v >&5") 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }
2407 { (ac_try="$ac_compiler -V >&5"
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2413 (eval "$ac_compiler -V >&5") 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }
2418 cat >conftest.$ac_ext <<_ACEOF
2421 cat confdefs.h >>conftest.$ac_ext
2422 cat >>conftest.$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2433 ac_clean_files_save=$ac_clean_files
2434 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2435 # Try to create an executable without -o first, disregard a.out.
2436 # It will help us diagnose broken compilers, and finding out an intuition
2438 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2439 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2440 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2442 # List of possible output files, starting from the most likely.
2443 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2444 # only as a last resort. b.out is created by i960 compilers.
2445 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2447 # The IRIX 6 linker writes into existing files which may not be
2448 # executable, retaining their permissions. Remove them first so a
2449 # subsequent execution test works.
2451 for ac_file in $ac_files
2454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2455 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2460 if { (ac_try="$ac_link_default"
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466 (eval "$ac_link_default") 2>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; then
2470 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2471 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2472 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2473 # so that the user can short-circuit this test for compilers unknown to
2475 for ac_file in $ac_files ''
2477 test -f "$ac_file" || continue
2479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2482 # We found the default executable, but exeext='' is most
2486 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2488 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2490 # We set ac_cv_exeext here because the later test for it is not
2491 # safe: cross compilers may not add the suffix if given an `-o'
2492 # argument, so we may need to know it at that point already.
2493 # Even if this section looks crufty: it has the advantage of
2500 test "$ac_cv_exeext" = no && ac_cv_exeext=
2506 { echo "$as_me:$LINENO: result: $ac_file" >&5
2507 echo "${ECHO_T}$ac_file" >&6; }
2508 if test -z "$ac_file"; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: C compiler cannot create executables
2515 See \`config.log' for more details." >&2;}
2516 { (exit 77); exit 77; }; }
2519 ac_exeext=$ac_cv_exeext
2521 # Check that the compiler produces executables we can run. If not, either
2522 # the compiler is broken, or we cross compile.
2523 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2524 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2525 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2526 # If not cross compiling, check that we can run a simple program.
2527 if test "$cross_compiling" != yes; then
2528 if { ac_try='./$ac_file'
2529 { (case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2534 (eval "$ac_try") 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2540 if test "$cross_compiling" = maybe; then
2543 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2544 If you meant to cross compile, use \`--host'.
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot run C compiled programs.
2547 If you meant to cross compile, use \`--host'.
2548 See \`config.log' for more details." >&2;}
2549 { (exit 1); exit 1; }; }
2553 { echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6; }
2556 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2557 ac_clean_files=$ac_clean_files_save
2558 # Check that the compiler produces executables we can run. If not, either
2559 # the compiler is broken, or we cross compile.
2560 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2561 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2562 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2563 echo "${ECHO_T}$cross_compiling" >&6; }
2565 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2566 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2567 if { (ac_try="$ac_link"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_link") 2>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; then
2577 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2578 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2579 # work properly (i.e., refer to `conftest.exe'), while it won't with
2581 for ac_file in conftest.exe conftest conftest.*; do
2582 test -f "$ac_file" || continue
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2585 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2592 See \`config.log' for more details." >&5
2593 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2594 See \`config.log' for more details." >&2;}
2595 { (exit 1); exit 1; }; }
2598 rm -f conftest$ac_cv_exeext
2599 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2600 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2602 rm -f conftest.$ac_ext
2603 EXEEXT=$ac_cv_exeext
2605 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2606 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2607 if test "${ac_cv_objext+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 cat >conftest.$ac_ext <<_ACEOF
2613 cat confdefs.h >>conftest.$ac_ext
2614 cat >>conftest.$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2625 rm -f conftest.o conftest.obj
2626 if { (ac_try="$ac_compile"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632 (eval "$ac_compile") 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 for ac_file in conftest.o conftest.obj conftest.*; do
2637 test -f "$ac_file" || continue;
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2640 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2649 See \`config.log' for more details." >&5
2650 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2651 See \`config.log' for more details." >&2;}
2652 { (exit 1); exit 1; }; }
2655 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2657 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2658 echo "${ECHO_T}$ac_cv_objext" >&6; }
2659 OBJEXT=$ac_cv_objext
2661 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2662 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2663 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (ac_try="$ac_compile"
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2691 (eval "$ac_compile") 2>conftest.er1
2693 grep -v '^ *+' conftest.er1 >conftest.err
2695 cat conftest.err >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } && {
2698 test -z "$ac_c_werror_flag" ||
2699 test ! -s conftest.err
2700 } && test -s conftest.$ac_objext; then
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2713 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2714 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2715 GCC=`test $ac_compiler_gnu = yes && echo yes`
2716 ac_test_CFLAGS=${CFLAGS+set}
2717 ac_save_CFLAGS=$CFLAGS
2718 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2719 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2720 if test "${ac_cv_prog_cc_g+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 ac_save_c_werror_flag=$ac_c_werror_flag
2724 ac_c_werror_flag=yes
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.$ac_objext
2743 if { (ac_try="$ac_compile"
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_compile") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1 >conftest.err
2753 cat conftest.err >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } && {
2756 test -z "$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.$ac_objext; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2765 cat >conftest.$ac_ext <<_ACEOF
2768 cat confdefs.h >>conftest.$ac_ext
2769 cat >>conftest.$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2780 rm -f conftest.$ac_objext
2781 if { (ac_try="$ac_compile"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_compile") 2>conftest.er1
2789 grep -v '^ *+' conftest.er1 >conftest.err
2791 cat conftest.err >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } && {
2794 test -z "$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2796 } && test -s conftest.$ac_objext; then
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 ac_c_werror_flag=$ac_save_c_werror_flag
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2819 rm -f conftest.$ac_objext
2820 if { (ac_try="$ac_compile"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_compile") 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } && {
2833 test -z "$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 } && test -s conftest.$ac_objext; then
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 ac_c_werror_flag=$ac_save_c_werror_flag
2853 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2854 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2855 if test "$ac_test_CFLAGS" = set; then
2856 CFLAGS=$ac_save_CFLAGS
2857 elif test $ac_cv_prog_cc_g = yes; then
2858 if test "$GCC" = yes; then
2864 if test "$GCC" = yes; then
2870 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2871 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2872 if test "${ac_cv_prog_cc_c89+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 ac_cv_prog_cc_c89=no
2877 cat >conftest.$ac_ext <<_ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2885 #include <sys/types.h>
2886 #include <sys/stat.h>
2887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2888 struct buf { int x; };
2889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2890 static char *e (p, i)
2896 static char *f (char * (*g) (char **, int), char **p, ...)
2901 s = g (p, va_arg (v,int));
2906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2907 function prototypes and stuff, but not '\xHH' hex character constants.
2908 These don't provoke an error unfortunately, instead are silently treated
2909 as 'x'. The following induces an error, until -std is added to get
2910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2911 array size at least. It's necessary to write '\x00'==0 to get something
2912 that's true only with -std. */
2913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2916 inside strings and character constants. */
2918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2920 int test (int i, double x);
2921 struct s1 {int (*f) (int a);};
2922 struct s2 {int (*f) (double a);};
2923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2937 CC="$ac_save_CC $ac_arg"
2938 rm -f conftest.$ac_objext
2939 if { (ac_try="$ac_compile"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compile") 2>conftest.er1
2947 grep -v '^ *+' conftest.er1 >conftest.err
2949 cat conftest.err >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } && {
2952 test -z "$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2954 } && test -s conftest.$ac_objext; then
2955 ac_cv_prog_cc_c89=$ac_arg
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2963 rm -f core conftest.err conftest.$ac_objext
2964 test "x$ac_cv_prog_cc_c89" != "xno" && break
2966 rm -f conftest.$ac_ext
2971 case "x$ac_cv_prog_cc_c89" in
2973 { echo "$as_me:$LINENO: result: none needed" >&5
2974 echo "${ECHO_T}none needed" >&6; } ;;
2976 { echo "$as_me:$LINENO: result: unsupported" >&5
2977 echo "${ECHO_T}unsupported" >&6; } ;;
2979 CC="$CC $ac_cv_prog_cc_c89"
2980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2993 ac_cpp='$CPP $CPPFLAGS'
2994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2997 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2998 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2999 # On Suns, sometimes $CPP names a directory.
3000 if test -n "$CPP" && test -d "$CPP"; then
3003 if test -z "$CPP"; then
3004 if test "${ac_cv_prog_CPP+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 # Double quotes because CPP needs to be expanded
3008 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3011 for ac_c_preproc_warn_flag in '' yes
3013 # Use a header file that comes with gcc, so configuring glibc
3014 # with a fresh cross-compiler works.
3015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3016 # <limits.h> exists even on freestanding compilers.
3017 # On the NeXT, cc -E runs the code through the compiler's parser,
3018 # not just through cpp. "Syntax error" is here to catch this case.
3019 cat >conftest.$ac_ext <<_ACEOF
3022 cat confdefs.h >>conftest.$ac_ext
3023 cat >>conftest.$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3026 # include <limits.h>
3028 # include <assert.h>
3032 if { (ac_try="$ac_cpp conftest.$ac_ext"
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } >/dev/null && {
3045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3053 # Broken: fails on valid input.
3057 rm -f conftest.err conftest.$ac_ext
3059 # OK, works on sane cases. Now check whether nonexistent headers
3060 # can be detected and how.
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3067 #include <ac_nonexistent.h>
3069 if { (ac_try="$ac_cpp conftest.$ac_ext"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3077 grep -v '^ *+' conftest.er1 >conftest.err
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } >/dev/null && {
3082 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3083 test ! -s conftest.err
3085 # Broken: success on invalid input.
3088 echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 # Passes both tests.
3096 rm -f conftest.err conftest.$ac_ext
3099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3100 rm -f conftest.err conftest.$ac_ext
3101 if $ac_preproc_ok; then
3113 { echo "$as_me:$LINENO: result: $CPP" >&5
3114 echo "${ECHO_T}$CPP" >&6; }
3116 for ac_c_preproc_warn_flag in '' yes
3118 # Use a header file that comes with gcc, so configuring glibc
3119 # with a fresh cross-compiler works.
3120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3121 # <limits.h> exists even on freestanding compilers.
3122 # On the NeXT, cc -E runs the code through the compiler's parser,
3123 # not just through cpp. "Syntax error" is here to catch this case.
3124 cat >conftest.$ac_ext <<_ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3131 # include <limits.h>
3133 # include <assert.h>
3137 if { (ac_try="$ac_cpp conftest.$ac_ext"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } >/dev/null && {
3150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3151 test ! -s conftest.err
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 # Broken: fails on valid input.
3162 rm -f conftest.err conftest.$ac_ext
3164 # OK, works on sane cases. Now check whether nonexistent headers
3165 # can be detected and how.
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3172 #include <ac_nonexistent.h>
3174 if { (ac_try="$ac_cpp conftest.$ac_ext"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1 >conftest.err
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } >/dev/null && {
3187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3188 test ! -s conftest.err
3190 # Broken: success on invalid input.
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 # Passes both tests.
3201 rm -f conftest.err conftest.$ac_ext
3204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3205 rm -f conftest.err conftest.$ac_ext
3206 if $ac_preproc_ok; then
3209 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3210 See \`config.log' for more details." >&5
3211 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3212 See \`config.log' for more details." >&2;}
3213 { (exit 1); exit 1; }; }
3217 ac_cpp='$CPP $CPPFLAGS'
3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3224 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3225 if test "${ac_cv_path_GREP+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 # Extract the first word of "grep ggrep" to use in msg output
3229 if test -z "$GREP"; then
3230 set dummy grep ggrep; ac_prog_name=$2
3231 if test "${ac_cv_path_GREP+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 ac_path_GREP_found=false
3235 # Loop through the user's path and test for each of PROGNAME-LIST
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3240 test -z "$as_dir" && as_dir=.
3241 for ac_prog in grep ggrep; do
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3244 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3245 # Check for GNU ac_path_GREP and select it if it is found.
3246 # Check for GNU $ac_path_GREP
3247 case `"$ac_path_GREP" --version 2>&1` in
3249 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3252 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3255 cat "conftest.in" "conftest.in" >"conftest.tmp"
3256 mv "conftest.tmp" "conftest.in"
3257 cp "conftest.in" "conftest.nl"
3258 echo 'GREP' >> "conftest.nl"
3259 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3260 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3261 ac_count=`expr $ac_count + 1`
3262 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3263 # Best one so far, save it but keep looking for a better one
3264 ac_cv_path_GREP="$ac_path_GREP"
3265 ac_path_GREP_max=$ac_count
3267 # 10*(2^10) chars as input seems more than enough
3268 test $ac_count -gt 10 && break
3270 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3274 $ac_path_GREP_found && break 3
3284 GREP="$ac_cv_path_GREP"
3285 if test -z "$GREP"; then
3286 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3287 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3288 { (exit 1); exit 1; }; }
3292 ac_cv_path_GREP=$GREP
3297 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3298 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3299 GREP="$ac_cv_path_GREP"
3302 { echo "$as_me:$LINENO: checking for egrep" >&5
3303 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3304 if test "${ac_cv_path_EGREP+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3308 then ac_cv_path_EGREP="$GREP -E"
3310 # Extract the first word of "egrep" to use in msg output
3311 if test -z "$EGREP"; then
3312 set dummy egrep; ac_prog_name=$2
3313 if test "${ac_cv_path_EGREP+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 ac_path_EGREP_found=false
3317 # Loop through the user's path and test for each of PROGNAME-LIST
3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3322 test -z "$as_dir" && as_dir=.
3323 for ac_prog in egrep; do
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3326 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3327 # Check for GNU ac_path_EGREP and select it if it is found.
3328 # Check for GNU $ac_path_EGREP
3329 case `"$ac_path_EGREP" --version 2>&1` in
3331 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3334 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3337 cat "conftest.in" "conftest.in" >"conftest.tmp"
3338 mv "conftest.tmp" "conftest.in"
3339 cp "conftest.in" "conftest.nl"
3340 echo 'EGREP' >> "conftest.nl"
3341 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3343 ac_count=`expr $ac_count + 1`
3344 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3345 # Best one so far, save it but keep looking for a better one
3346 ac_cv_path_EGREP="$ac_path_EGREP"
3347 ac_path_EGREP_max=$ac_count
3349 # 10*(2^10) chars as input seems more than enough
3350 test $ac_count -gt 10 && break
3352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3356 $ac_path_EGREP_found && break 3
3366 EGREP="$ac_cv_path_EGREP"
3367 if test -z "$EGREP"; then
3368 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3369 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3370 { (exit 1); exit 1; }; }
3374 ac_cv_path_EGREP=$EGREP
3380 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3381 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3382 EGREP="$ac_cv_path_EGREP"
3386 { echo "$as_me:$LINENO: checking for AIX" >&5
3387 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3388 cat >conftest.$ac_ext <<_ACEOF
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3400 $EGREP "yes" >/dev/null 2>&1; then
3401 { echo "$as_me:$LINENO: result: yes" >&5
3402 echo "${ECHO_T}yes" >&6; }
3403 cat >>confdefs.h <<\_ACEOF
3404 #define _ALL_SOURCE 1
3408 { echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6; }
3414 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3415 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3416 if test "${ac_cv_header_stdc+set}" = set; then
3417 echo $ECHO_N "(cached) $ECHO_C" >&6
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3438 rm -f conftest.$ac_objext
3439 if { (ac_try="$ac_compile"
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_c_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3455 ac_cv_header_stdc=yes
3457 echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3460 ac_cv_header_stdc=no
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 if test $ac_cv_header_stdc = yes; then
3466 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3467 cat >conftest.$ac_ext <<_ACEOF
3470 cat confdefs.h >>conftest.$ac_ext
3471 cat >>conftest.$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3477 $EGREP "memchr" >/dev/null 2>&1; then
3480 ac_cv_header_stdc=no
3486 if test $ac_cv_header_stdc = yes; then
3487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3488 cat >conftest.$ac_ext <<_ACEOF
3491 cat confdefs.h >>conftest.$ac_ext
3492 cat >>conftest.$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3498 $EGREP "free" >/dev/null 2>&1; then
3501 ac_cv_header_stdc=no
3507 if test $ac_cv_header_stdc = yes; then
3508 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3509 if test "$cross_compiling" = yes; then
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3520 #if ((' ' & 0x0FF) == 0x020)
3521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3524 # define ISLOWER(c) \
3525 (('a' <= (c) && (c) <= 'i') \
3526 || ('j' <= (c) && (c) <= 'r') \
3527 || ('s' <= (c) && (c) <= 'z'))
3528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3536 for (i = 0; i < 256; i++)
3537 if (XOR (islower (i), ISLOWER (i))
3538 || toupper (i) != TOUPPER (i))
3543 rm -f conftest$ac_exeext
3544 if { (ac_try="$ac_link"
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547 *) ac_try_echo=$ac_try;;
3549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3550 (eval "$ac_link") 2>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3554 { (case "(($ac_try" in
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_try") 2>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; }; then
3565 echo "$as_me: program exited with status $ac_status" >&5
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3570 ac_cv_header_stdc=no
3572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3578 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3579 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3580 if test $ac_cv_header_stdc = yes; then
3582 cat >>confdefs.h <<\_ACEOF
3583 #define STDC_HEADERS 1
3588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3599 inttypes.h stdint.h unistd.h
3601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 cat >conftest.$ac_ext <<_ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3613 $ac_includes_default
3615 #include <$ac_header>
3617 rm -f conftest.$ac_objext
3618 if { (ac_try="$ac_compile"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_compile") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } && {
3631 test -z "$ac_c_werror_flag" ||
3632 test ! -s conftest.err
3633 } && test -s conftest.$ac_objext; then
3634 eval "$as_ac_Header=yes"
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3639 eval "$as_ac_Header=no"
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 ac_res=`eval echo '${'$as_ac_Header'}'`
3645 { echo "$as_me:$LINENO: result: $ac_res" >&5
3646 echo "${ECHO_T}$ac_res" >&6; }
3647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3648 cat >>confdefs.h <<_ACEOF
3649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3657 if test "${ac_cv_header_minix_config_h+set}" = set; then
3658 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3659 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3660 if test "${ac_cv_header_minix_config_h+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3664 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3666 # Is the header compilable?
3667 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3668 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3669 cat >conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3675 $ac_includes_default
3676 #include <minix/config.h>
3678 rm -f conftest.$ac_objext
3679 if { (ac_try="$ac_compile"
3681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3685 (eval "$ac_compile") 2>conftest.er1
3687 grep -v '^ *+' conftest.er1 >conftest.err
3689 cat conftest.err >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } && {
3692 test -z "$ac_c_werror_flag" ||
3693 test ! -s conftest.err
3694 } && test -s conftest.$ac_objext; then
3695 ac_header_compiler=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 ac_header_compiler=no
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3705 echo "${ECHO_T}$ac_header_compiler" >&6; }
3707 # Is the header present?
3708 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3709 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 #include <minix/config.h>
3718 if { (ac_try="$ac_cpp conftest.$ac_ext"
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3726 grep -v '^ *+' conftest.er1 >conftest.err
3728 cat conftest.err >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } >/dev/null && {
3731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3732 test ! -s conftest.err
3734 ac_header_preproc=yes
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 ac_header_preproc=no
3742 rm -f conftest.err conftest.$ac_ext
3743 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3744 echo "${ECHO_T}$ac_header_preproc" >&6; }
3746 # So? What about this header?
3747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3749 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3750 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3751 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3752 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3753 ac_header_preproc=yes
3756 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3757 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3758 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3759 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3760 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3761 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3762 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3763 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3764 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3765 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3766 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3767 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3771 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3772 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3773 if test "${ac_cv_header_minix_config_h+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 ac_cv_header_minix_config_h=$ac_header_preproc
3778 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3779 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3782 if test $ac_cv_header_minix_config_h = yes; then
3789 if test "$MINIX" = yes; then
3791 cat >>confdefs.h <<\_ACEOF
3792 #define _POSIX_SOURCE 1
3796 cat >>confdefs.h <<\_ACEOF
3797 #define _POSIX_1_SOURCE 2
3801 cat >>confdefs.h <<\_ACEOF
3817 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3818 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3819 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 cat >conftest.$ac_ext <<_ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3829 # define __EXTENSIONS__ 1
3830 $ac_includes_default
3839 rm -f conftest.$ac_objext
3840 if { (ac_try="$ac_compile"
3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843 *) ac_try_echo=$ac_try;;
3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846 (eval "$ac_compile") 2>conftest.er1
3848 grep -v '^ *+' conftest.er1 >conftest.err
3850 cat conftest.err >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } && {
3853 test -z "$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3855 } && test -s conftest.$ac_objext; then
3856 ac_cv_safe_to_define___extensions__=yes
3858 echo "$as_me: failed program was:" >&5
3859 sed 's/^/| /' conftest.$ac_ext >&5
3861 ac_cv_safe_to_define___extensions__=no
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3867 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3868 test $ac_cv_safe_to_define___extensions__ = yes &&
3869 cat >>confdefs.h <<\_ACEOF
3870 #define __EXTENSIONS__ 1
3873 cat >>confdefs.h <<\_ACEOF
3874 #define _POSIX_PTHREAD_SEMANTICS 1
3877 cat >>confdefs.h <<\_ACEOF
3878 #define _TANDEM_SOURCE 1
3883 case "${host_os}" in
3885 ac_default_prefix=/usr/local
3886 CPPFLAGS=-I/usr/local/include
3887 LDFLAGS=-L/usr/local/lib
3890 ac_default_prefix=/usr
3891 if test ${sysconfdir} = '${prefix}/etc'; then
3894 if test ${mandir} = '${prefix}/man'; then
3895 mandir=/usr/share/man
3900 if test ${localstatedir} = '${prefix}/var'; then
3904 BUILD_PLATFORM=${build}
3905 BUILD_CPU=${build_cpu}
3906 BUILD_VENDOR=${build_vendor}
3907 BUILD_OS=${build_os}
3914 HOST_PLATFORM=${host}
3915 HOST_CPU=${host_cpu}
3916 HOST_VENDOR=${host_vendor}
3924 case "${host_os}" in