2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="configure.in"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars='LTLIBOBJS
724 am__fastdepOBJC_FALSE
761 MAINTAINER_MODE_FALSE
770 INSTALL_STRIP_PROGRAM
811 program_transform_name
823 enable_option_checking
824 enable_maintainer_mode
825 enable_dependency_tracking
840 ac_precious_vars='build_alias
870 # Initialize some variables set by options.
872 ac_init_version=false
873 ac_unrecognized_opts=
875 # The variables have the same names as the options, with
876 # dashes changed to underlines.
884 program_transform_name=s,x,x,
892 # Installation directory options.
893 # These are left unexpanded so users can "make install exec_prefix=/foo"
894 # and all the variables that are supposed to be based on exec_prefix
895 # by default will actually change.
896 # Use braces instead of parens because sh, perl, etc. also accept them.
897 # (The list follows the same order as the GNU Coding Standards.)
898 bindir='${exec_prefix}/bin'
899 sbindir='${exec_prefix}/sbin'
900 libexecdir='${exec_prefix}/libexec'
901 datarootdir='${prefix}/share'
902 datadir='${datarootdir}'
903 sysconfdir='${prefix}/etc'
904 sharedstatedir='${prefix}/com'
905 localstatedir='${prefix}/var'
906 includedir='${prefix}/include'
907 oldincludedir='/usr/include'
908 docdir='${datarootdir}/doc/${PACKAGE}'
909 infodir='${datarootdir}/info'
914 libdir='${exec_prefix}/lib'
915 localedir='${datarootdir}/locale'
916 mandir='${datarootdir}/man'
922 # If the previous option needs an argument, assign it.
923 if test -n "$ac_prev"; then
924 eval $ac_prev=\$ac_option
930 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
934 # Accept the important Cygnus configure options, so we can diagnose typos.
936 case $ac_dashdash$ac_option in
940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
945 -build | --build | --buil | --bui | --bu)
946 ac_prev=build_alias ;;
947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
948 build_alias=$ac_optarg ;;
950 -cache-file | --cache-file | --cache-fil | --cache-fi \
951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
952 ac_prev=cache_file ;;
953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
955 cache_file=$ac_optarg ;;
958 cache_file=config.cache ;;
960 -datadir | --datadir | --datadi | --datad)
962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
963 datadir=$ac_optarg ;;
965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
966 | --dataroo | --dataro | --datar)
967 ac_prev=datarootdir ;;
968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
970 datarootdir=$ac_optarg ;;
972 -disable-* | --disable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
977 { (exit 1); exit 1; }; }
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
987 eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_$ac_useropt"
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1014 eval enable_$ac_useropt=\$ac_optarg ;;
1016 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1017 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1018 | --exec | --exe | --ex)
1019 ac_prev=exec_prefix ;;
1020 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1021 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1022 | --exec=* | --exe=* | --ex=*)
1023 exec_prefix=$ac_optarg ;;
1025 -gas | --gas | --ga | --g)
1026 # Obsolete; use --with-gas.
1029 -help | --help | --hel | --he | -h)
1030 ac_init_help=long ;;
1031 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1032 ac_init_help=recursive ;;
1033 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1034 ac_init_help=short ;;
1036 -host | --host | --hos | --ho)
1037 ac_prev=host_alias ;;
1038 -host=* | --host=* | --hos=* | --ho=*)
1039 host_alias=$ac_optarg ;;
1041 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1043 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1045 htmldir=$ac_optarg ;;
1047 -includedir | --includedir | --includedi | --included | --include \
1048 | --includ | --inclu | --incl | --inc)
1049 ac_prev=includedir ;;
1050 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1051 | --includ=* | --inclu=* | --incl=* | --inc=*)
1052 includedir=$ac_optarg ;;
1054 -infodir | --infodir | --infodi | --infod | --info | --inf)
1056 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1057 infodir=$ac_optarg ;;
1059 -libdir | --libdir | --libdi | --libd)
1061 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1062 libdir=$ac_optarg ;;
1064 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1065 | --libexe | --libex | --libe)
1066 ac_prev=libexecdir ;;
1067 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1068 | --libexe=* | --libex=* | --libe=*)
1069 libexecdir=$ac_optarg ;;
1071 -localedir | --localedir | --localedi | --localed | --locale)
1072 ac_prev=localedir ;;
1073 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1074 localedir=$ac_optarg ;;
1076 -localstatedir | --localstatedir | --localstatedi | --localstated \
1077 | --localstate | --localstat | --localsta | --localst | --locals)
1078 ac_prev=localstatedir ;;
1079 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1080 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1081 localstatedir=$ac_optarg ;;
1083 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1085 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1086 mandir=$ac_optarg ;;
1088 -nfp | --nfp | --nf)
1089 # Obsolete; use --without-fp.
1092 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1093 | --no-cr | --no-c | -n)
1096 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1097 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1100 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1101 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1102 | --oldin | --oldi | --old | --ol | --o)
1103 ac_prev=oldincludedir ;;
1104 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1105 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1106 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1107 oldincludedir=$ac_optarg ;;
1109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1112 prefix=$ac_optarg ;;
1114 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1115 | --program-pre | --program-pr | --program-p)
1116 ac_prev=program_prefix ;;
1117 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1118 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1119 program_prefix=$ac_optarg ;;
1121 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1122 | --program-suf | --program-su | --program-s)
1123 ac_prev=program_suffix ;;
1124 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1125 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1126 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1136 -program-transform-name=* | --program-transform-name=* \
1137 | --program-transform-nam=* | --program-transform-na=* \
1138 | --program-transform-n=* | --program-transform-=* \
1139 | --program-transform=* | --program-transfor=* \
1140 | --program-transfo=* | --program-transf=* \
1141 | --program-trans=* | --program-tran=* \
1142 | --progr-tra=* | --program-tr=* | --program-t=*)
1143 program_transform_name=$ac_optarg ;;
1145 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1147 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1148 pdfdir=$ac_optarg ;;
1150 -psdir | --psdir | --psdi | --psd | --ps)
1152 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1156 | -silent | --silent | --silen | --sile | --sil)
1159 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1161 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1163 sbindir=$ac_optarg ;;
1165 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1166 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1167 | --sharedst | --shareds | --shared | --share | --shar \
1169 ac_prev=sharedstatedir ;;
1170 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1171 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1172 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1174 sharedstatedir=$ac_optarg ;;
1176 -site | --site | --sit)
1178 -site=* | --site=* | --sit=*)
1181 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1183 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1184 srcdir=$ac_optarg ;;
1186 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1187 | --syscon | --sysco | --sysc | --sys | --sy)
1188 ac_prev=sysconfdir ;;
1189 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1190 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1191 sysconfdir=$ac_optarg ;;
1193 -target | --target | --targe | --targ | --tar | --ta | --t)
1194 ac_prev=target_alias ;;
1195 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1196 target_alias=$ac_optarg ;;
1198 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1201 -version | --version | --versio | --versi | --vers | -V)
1202 ac_init_version=: ;;
1205 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1209 { (exit 1); exit 1; }; }
1210 ac_useropt_orig=$ac_useropt
1211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1217 ac_unrecognized_sep=', ';;
1219 eval with_$ac_useropt=\$ac_optarg ;;
1221 -without-* | --without-*)
1222 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_useropt_orig=$ac_useropt
1228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1234 ac_unrecognized_sep=', ';;
1236 eval with_$ac_useropt=no ;;
1239 # Obsolete; use --with-x.
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1256 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1257 Try \`$0 --help' for more information." >&2
1258 { (exit 1); exit 1; }; }
1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1265 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1266 { (exit 1); exit 1; }; }
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1281 if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1284 { (exit 1); exit 1; }; }
1287 if test -n "$ac_unrecognized_opts"; then
1288 case $enable_option_checking in
1290 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1291 { (exit 1); exit 1; }; } ;;
1292 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1296 # Check all directory arguments for consistency.
1297 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1298 datadir sysconfdir sharedstatedir localstatedir includedir \
1299 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1300 libdir localedir mandir
1302 eval ac_val=\$$ac_var
1303 # Remove trailing slashes.
1306 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1307 eval $ac_var=\$ac_val;;
1309 # Be sure to have absolute directory names.
1311 [\\/$]* | ?:[\\/]* ) continue;;
1312 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1314 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1315 { (exit 1); exit 1; }; }
1318 # There might be people who depend on the old broken behavior: `$host'
1319 # used to hold the argument of --host etc.
1320 # FIXME: To remove some day.
1323 target=$target_alias
1325 # FIXME: To remove some day.
1326 if test "x$host_alias" != x; then
1327 if test "x$build_alias" = x; then
1328 cross_compiling=maybe
1329 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1330 If a cross compiler is detected then cross compile mode will be used." >&2
1331 elif test "x$build_alias" != "x$host_alias"; then
1337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339 test "$silent" = yes && exec 6>/dev/null
1342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1343 ac_ls_di=`ls -di .` &&
1344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1345 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1346 { (exit 1); exit 1; }; }
1347 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1348 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1349 { (exit 1); exit 1; }; }
1352 # Find the source files, if location was not specified.
1353 if test -z "$srcdir"; then
1354 ac_srcdir_defaulted=yes
1355 # Try the directory containing this script, then the parent directory.
1356 ac_confdir=`$as_dirname -- "$as_myself" ||
1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1358 X"$as_myself" : 'X\(//\)[^/]' \| \
1359 X"$as_myself" : 'X\(//\)$' \| \
1360 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1361 $as_echo X"$as_myself" |
1362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1384 ac_srcdir_defaulted=no
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1388 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1389 { (exit 1); exit 1; }; }
1391 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1393 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1394 { (exit 1); exit 1; }; }
1396 # When building in place, set srcdir=.
1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 # Remove unnecessary trailing slashes from srcdir.
1401 # Double slashes in file names in object file debugging info
1402 # mess up M-x gdb in Emacs.
1404 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406 for ac_var in $ac_precious_vars; do
1407 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1408 eval ac_env_${ac_var}_value=\$${ac_var}
1409 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1410 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1414 # Report the --help message.
1416 if test "$ac_init_help" = "long"; then
1417 # Omit some internal or obsolete options to make the list less imposing.
1418 # This message is too long to be a string in the A/UX 3.1 sh.
1420 \`configure' configures this package to adapt to many kinds of systems.
1422 Usage: $0 [OPTION]... [VAR=VALUE]...
1424 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1425 VAR=VALUE. See below for descriptions of some of the useful variables.
1427 Defaults for the options are specified in brackets.
1430 -h, --help display this help and exit
1431 --help=short display options specific to this package
1432 --help=recursive display the short help of all the included packages
1433 -V, --version display version information and exit
1434 -q, --quiet, --silent do not print \`checking...' messages
1435 --cache-file=FILE cache test results in FILE [disabled]
1436 -C, --config-cache alias for \`--cache-file=config.cache'
1437 -n, --no-create do not create output files
1438 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1440 Installation directories:
1441 --prefix=PREFIX install architecture-independent files in PREFIX
1442 [$ac_default_prefix]
1443 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1446 By default, \`make install' will install all the files in
1447 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1448 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1449 for instance \`--prefix=\$HOME'.
1451 For better control, use the options below.
1453 Fine tuning of the installation directories:
1454 --bindir=DIR user executables [EPREFIX/bin]
1455 --sbindir=DIR system admin executables [EPREFIX/sbin]
1456 --libexecdir=DIR program executables [EPREFIX/libexec]
1457 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1458 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1459 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1460 --libdir=DIR object code libraries [EPREFIX/lib]
1461 --includedir=DIR C header files [PREFIX/include]
1462 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1463 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1464 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1465 --infodir=DIR info documentation [DATAROOTDIR/info]
1466 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1467 --mandir=DIR man documentation [DATAROOTDIR/man]
1468 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1469 --htmldir=DIR html documentation [DOCDIR]
1470 --dvidir=DIR dvi documentation [DOCDIR]
1471 --pdfdir=DIR pdf documentation [DOCDIR]
1472 --psdir=DIR ps documentation [DOCDIR]
1478 --program-prefix=PREFIX prepend PREFIX to installed program names
1479 --program-suffix=SUFFIX append SUFFIX to installed program names
1480 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1483 --build=BUILD configure for building on BUILD [guessed]
1484 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1488 if test -n "$ac_init_help"; then
1493 --disable-option-checking ignore unrecognized --enable/--with options
1494 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1495 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1496 --enable-maintainer-mode enable make rules and dependencies not useful
1497 (and sometimes confusing) to the casual installer
1498 --disable-dependency-tracking speeds up one-time build
1499 --enable-dependency-tracking do not reject slow dependency extractors
1500 --enable-strict-warn Enable strict compilation warnings
1501 --disable-translator Disable the SH4 translator (Enabled by default)
1502 --disable-optimized Disable compile-time optimizations (Enabled by
1504 --enable-shared Build drivers as shared libraries (Enabled if
1506 --enable-profiled Enable profiling build
1507 --enable-trace Enable generation of IO traces (warning: hurts
1509 --enable-watch Enable watchpoints in the debugger (warning: hurts
1511 --enable-sh4stats Enable statistics on executed sh4 instructions
1514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1516 --with-osmesa Build with the osmesa GL library (software
1518 --with-gtk Build with the GTK UI. Default on X11 systems
1519 --with-esd Build with support for the ESounD audio system
1520 --with-pulse Build with support for the PulseAudio audio system
1521 --with-sdl Build with support for SDL audio
1523 Some influential environment variables:
1524 CC C compiler command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1527 nonstandard directory <lib dir>
1528 LIBS libraries to pass to the linker, e.g. -l<library>
1529 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1530 you have headers in a nonstandard directory <include dir>
1531 OBJC Objective C compiler command
1532 OBJCFLAGS Objective C compiler flags
1533 CCAS assembler compiler command (defaults to CC)
1534 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1536 PKG_CONFIG path to pkg-config utility
1538 C compiler flags for LIBPNG, overriding pkg-config
1539 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1540 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1541 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1542 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1543 GTK_LIBS linker flags for GTK, overriding pkg-config
1544 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1545 SDL_LIBS linker flags for SDL, overriding pkg-config
1547 C compiler flags for PULSE, overriding pkg-config
1548 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1550 C compiler flags for ESOUND, overriding pkg-config
1551 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1552 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1553 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1555 Use these variables to override the choices made by `configure' or to help
1556 it to find libraries and programs with nonstandard names/locations.
1562 if test "$ac_init_help" = "recursive"; then
1563 # If there are subdirs, report their specific --help.
1564 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1565 test -d "$ac_dir" ||
1566 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1574 # A ".." for each directory in $ac_dir_suffix.
1575 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1576 case $ac_top_builddir_sub in
1577 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1578 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1581 ac_abs_top_builddir=$ac_pwd
1582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1583 # for backward compatibility:
1584 ac_top_builddir=$ac_top_build_prefix
1587 .) # We are building in place.
1589 ac_top_srcdir=$ac_top_builddir_sub
1590 ac_abs_top_srcdir=$ac_pwd ;;
1591 [\\/]* | ?:[\\/]* ) # Absolute name.
1592 ac_srcdir=$srcdir$ac_dir_suffix;
1593 ac_top_srcdir=$srcdir
1594 ac_abs_top_srcdir=$srcdir ;;
1596 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1597 ac_top_srcdir=$ac_top_build_prefix$srcdir
1598 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1602 cd "$ac_dir" || { ac_status=$?; continue; }
1603 # Check for guested configure.
1604 if test -f "$ac_srcdir/configure.gnu"; then
1606 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1607 elif test -f "$ac_srcdir/configure"; then
1609 $SHELL "$ac_srcdir/configure" --help=recursive
1611 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1613 cd "$ac_pwd" || { ac_status=$?; break; }
1617 test -n "$ac_init_help" && exit $ac_status
1618 if $ac_init_version; then
1621 generated by GNU Autoconf 2.63
1623 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1624 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1625 This configure script is free software; the Free Software Foundation
1626 gives unlimited permission to copy, distribute and modify it.
1630 cat >config.log <<_ACEOF
1631 This file contains any messages produced by compilers while
1632 running configure, to aid debugging if configure makes a mistake.
1634 It was created by $as_me, which was
1635 generated by GNU Autoconf 2.63. Invocation command line was
1647 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1648 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1649 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1650 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1651 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1653 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1654 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1656 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1657 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1658 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1659 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1660 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1661 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1662 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 $as_echo "PATH: $as_dir"
1687 # Keep a trace of the command line.
1688 # Strip out --no-create and --no-recursion so they do not pile up.
1689 # Strip out --silent because we don't want to record it for future runs.
1690 # Also quote any args containing shell meta-characters.
1691 # Make two passes to allow for proper duplicate-argument suppression.
1695 ac_must_keep_next=false
1701 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1703 | -silent | --silent | --silen | --sile | --sil)
1706 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1709 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1711 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1712 if test $ac_must_keep_next = true; then
1713 ac_must_keep_next=false # Got value, back to normal.
1716 *=* | --config-cache | -C | -disable-* | --disable-* \
1717 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1718 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1719 | -with-* | --with-* | -without-* | --without-* | --x)
1720 case "$ac_configure_args0 " in
1721 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1724 -* ) ac_must_keep_next=true ;;
1727 ac_configure_args="$ac_configure_args '$ac_arg'"
1732 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1733 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1735 # When interrupted or exit'd, cleanup temporary files, and complete
1736 # config.log. We remove comments because anyway the quotes in there
1737 # would cause problems or look ugly.
1738 # WARNING: Use '\'' to represent an apostrophe within the trap.
1739 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1740 trap 'exit_status=$?
1741 # Save into config.log some information that might help in debugging.
1746 ## ---------------- ##
1747 ## Cache variables. ##
1748 ## ---------------- ##
1751 # The following way of writing the cache mishandles newlines in values,
1753 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1754 eval ac_val=\$$ac_var
1758 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1762 _ | IFS | as_nl) ;; #(
1763 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1764 *) $as_unset $ac_var ;;
1769 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1770 *${as_nl}ac_space=\ *)
1772 "s/'\''/'\''\\\\'\'''\''/g;
1773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1776 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1784 ## ----------------- ##
1785 ## Output variables. ##
1786 ## ----------------- ##
1789 for ac_var in $ac_subst_vars
1791 eval ac_val=\$$ac_var
1793 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795 $as_echo "$ac_var='\''$ac_val'\''"
1799 if test -n "$ac_subst_files"; then
1801 ## ------------------- ##
1802 ## File substitutions. ##
1803 ## ------------------- ##
1806 for ac_var in $ac_subst_files
1808 eval ac_val=\$$ac_var
1810 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1812 $as_echo "$ac_var='\''$ac_val'\''"
1817 if test -s confdefs.h; then
1827 test "$ac_signal" != 0 &&
1828 $as_echo "$as_me: caught signal $ac_signal"
1829 $as_echo "$as_me: exit $exit_status"
1831 rm -f core *.core core.conftest.* &&
1832 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1835 for ac_signal in 1 2 13 15; do
1836 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1840 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1841 rm -f -r conftest* confdefs.h
1843 # Predefined preprocessor variables.
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_NAME "$PACKAGE_NAME"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_STRING "$PACKAGE_STRING"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1870 # Let the site file select an alternate cache file if it wants to.
1871 # Prefer an explicitly selected file to automatically selected ones.
1874 if test -n "$CONFIG_SITE"; then
1875 ac_site_file1=$CONFIG_SITE
1876 elif test "x$prefix" != xNONE; then
1877 ac_site_file1=$prefix/share/config.site
1878 ac_site_file2=$prefix/etc/config.site
1880 ac_site_file1=$ac_default_prefix/share/config.site
1881 ac_site_file2=$ac_default_prefix/etc/config.site
1883 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1885 test "x$ac_site_file" = xNONE && continue
1886 if test -r "$ac_site_file"; then
1887 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1888 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1889 sed 's/^/| /' "$ac_site_file" >&5
1894 if test -r "$cache_file"; then
1895 # Some versions of bash will fail to source /dev/null (special
1896 # files actually), so we avoid doing that.
1897 if test -f "$cache_file"; then
1898 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899 $as_echo "$as_me: loading cache $cache_file" >&6;}
1901 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1902 *) . "./$cache_file";;
1906 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1907 $as_echo "$as_me: creating cache $cache_file" >&6;}
1911 # Check that the precious variables saved in the cache have kept the same
1913 ac_cache_corrupted=false
1914 for ac_var in $ac_precious_vars; do
1915 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916 eval ac_new_set=\$ac_env_${ac_var}_set
1917 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1918 eval ac_new_val=\$ac_env_${ac_var}_value
1919 case $ac_old_set,$ac_new_set in
1921 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1922 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1923 ac_cache_corrupted=: ;;
1925 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1926 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1927 ac_cache_corrupted=: ;;
1930 if test "x$ac_old_val" != "x$ac_new_val"; then
1931 # differences in whitespace do not lead to failure.
1932 ac_old_val_w=`echo x $ac_old_val`
1933 ac_new_val_w=`echo x $ac_new_val`
1934 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1935 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1936 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1937 ac_cache_corrupted=:
1939 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1940 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1941 eval $ac_var=\$ac_old_val
1943 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1944 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1945 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1946 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1949 # Pass precious variables to config.status.
1950 if test "$ac_new_set" = set; then
1952 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 *) ac_arg=$ac_var=$ac_new_val ;;
1955 case " $ac_configure_args " in
1956 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1957 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1961 if $ac_cache_corrupted; then
1962 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1964 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1965 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1966 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1967 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1968 { (exit 1); exit 1; }; }
1988 ac_cpp='$CPP $CPPFLAGS'
1989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1994 am__api_version="1.9"
1996 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1997 if test -f "$ac_dir/install-sh"; then
1999 ac_install_sh="$ac_aux_dir/install-sh -c"
2001 elif test -f "$ac_dir/install.sh"; then
2003 ac_install_sh="$ac_aux_dir/install.sh -c"
2005 elif test -f "$ac_dir/shtool"; then
2007 ac_install_sh="$ac_aux_dir/shtool install -c"
2011 if test -z "$ac_aux_dir"; then
2012 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2013 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2014 { (exit 1); exit 1; }; }
2017 # These three variables are undocumented and unsupported,
2018 # and are intended to be withdrawn in a future Autoconf release.
2019 # They can cause serious problems if a builder's source tree is in a directory
2020 # whose full name contains unusual characters.
2021 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2022 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2023 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2026 # Find a good install program. We prefer a C program (faster),
2027 # so one script is as good as another. But avoid the broken or
2028 # incompatible versions:
2029 # SysV /etc/install, /usr/sbin/install
2030 # SunOS /usr/etc/install
2031 # IRIX /sbin/install
2033 # AmigaOS /C/install, which installs bootblocks on floppy discs
2034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2037 # OS/2's system install, which has a completely different semantic
2038 # ./install, which can be erroneously created by make from ./install.sh.
2039 # Reject install programs that cannot install multiple files.
2040 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2042 if test -z "$INSTALL"; then
2043 if test "${ac_cv_path_install+set}" = set; then
2044 $as_echo_n "(cached) " >&6
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 # Account for people who put trailing slashes in PATH elements.
2053 ./ | .// | /cC/* | \
2054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2055 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2058 # OSF1 and SCO ODT 3.0 have their own names for install.
2059 # Don't use installbsd from OSF since it installs stuff as root
2061 for ac_prog in ginstall scoinst install; do
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2064 if test $ac_prog = install &&
2065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2066 # AIX install. It has an incompatible calling convention.
2068 elif test $ac_prog = install &&
2069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2070 # program-specific install script used by HP pwplus--don't use.
2073 rm -rf conftest.one conftest.two conftest.dir
2074 echo one > conftest.one
2075 echo two > conftest.two
2077 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2078 test -s conftest.one && test -s conftest.two &&
2079 test -s conftest.dir/conftest.one &&
2080 test -s conftest.dir/conftest.two
2082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2095 rm -rf conftest.one conftest.two conftest.dir
2098 if test "${ac_cv_path_install+set}" = set; then
2099 INSTALL=$ac_cv_path_install
2101 # As a last resort, use the slow shell script. Don't cache a
2102 # value for INSTALL within a source directory, because that will
2103 # break other packages using the cache if that directory is
2104 # removed, or if the value is a relative name.
2105 INSTALL=$ac_install_sh
2108 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2109 $as_echo "$INSTALL" >&6; }
2111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2112 # It thinks the first close brace ends the variable substitution.
2113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2119 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2120 $as_echo_n "checking whether build environment is sane... " >&6; }
2123 echo timestamp > conftest.file
2124 # Do `set' in a subshell so we don't clobber the current shell's
2125 # arguments. Must try -L first in case configure is actually a
2126 # symlink; some systems play weird games with the mod time of symlinks
2127 # (eg FreeBSD returns the mod time of the symlink's containing
2130 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2131 if test "$*" = "X"; then
2133 set X `ls -t $srcdir/configure conftest.file`
2136 if test "$*" != "X $srcdir/configure conftest.file" \
2137 && test "$*" != "X conftest.file $srcdir/configure"; then
2139 # If neither matched, then we have a broken ls. This can happen
2140 # if, for instance, CONFIG_SHELL is bash and it inherits a
2141 # broken ls alias from the environment. This has actually
2142 # happened. Such a system could not be considered "sane".
2143 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2144 alias in your environment" >&5
2145 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2146 alias in your environment" >&2;}
2147 { (exit 1); exit 1; }; }
2150 test "$2" = conftest.file
2156 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2157 Check your system clock" >&5
2158 $as_echo "$as_me: error: newly created file is older than distributed files!
2159 Check your system clock" >&2;}
2160 { (exit 1); exit 1; }; }
2162 { $as_echo "$as_me:$LINENO: result: yes" >&5
2163 $as_echo "yes" >&6; }
2164 test "$program_prefix" != NONE &&
2165 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2166 # Use a double $ so make ignores it.
2167 test "$program_suffix" != NONE &&
2168 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2169 # Double any \ or $.
2170 # By default was `s,x,x', remove it if useless.
2171 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2172 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2174 # expand $ac_aux_dir to an absolute path
2175 am_aux_dir=`cd $ac_aux_dir && pwd`
2177 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2178 # Use eval to expand $SHELL
2179 if eval "$MISSING --run true"; then
2180 am_missing_run="$MISSING --run "
2183 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2184 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2187 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2188 # We used to keeping the `.' as first argument, in order to
2189 # allow $(mkdir_p) to be used without argument. As in
2190 # $(mkdir_p) $(somedir)
2191 # where $(somedir) is conditionally defined. However this is wrong
2193 # 1. if the package is installed by a user who cannot write `.'
2194 # make install will fail,
2195 # 2. the above comment should most certainly read
2196 # $(mkdir_p) $(DESTDIR)$(somedir)
2197 # so it does not work when $(somedir) is undefined and
2198 # $(DESTDIR) is not.
2199 # To support the latter case, we have to write
2200 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2201 # so the `.' trick is pointless.
2202 mkdir_p='mkdir -p --'
2204 # On NextStep and OpenStep, the `mkdir' command does not
2205 # recognize any option. It will interpret all options as
2206 # directories to create, and then abort because `.' already
2208 for d in ./-p ./--version;
2210 test -d $d && rmdir $d
2212 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2213 if test -f "$ac_aux_dir/mkinstalldirs"; then
2214 mkdir_p='$(mkinstalldirs)'
2216 mkdir_p='$(install_sh) -d'
2220 for ac_prog in gawk mawk nawk awk
2222 # Extract the first word of "$ac_prog", so it can be a program name with args.
2223 set dummy $ac_prog; ac_word=$2
2224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2225 $as_echo_n "checking for $ac_word... " >&6; }
2226 if test "${ac_cv_prog_AWK+set}" = set; then
2227 $as_echo_n "(cached) " >&6
2229 if test -n "$AWK"; then
2230 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239 ac_cv_prog_AWK="$ac_prog"
2240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 if test -n "$AWK"; then
2251 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2252 $as_echo "$AWK" >&6; }
2254 { $as_echo "$as_me:$LINENO: result: no" >&5
2255 $as_echo "no" >&6; }
2259 test -n "$AWK" && break
2262 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2263 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2265 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2266 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2267 $as_echo_n "(cached) " >&6
2269 cat >conftest.make <<\_ACEOF
2272 @echo '@@@%%%=$(MAKE)=@@@%%%'
2274 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2275 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2277 eval ac_cv_prog_make_${ac_make}_set=yes;;
2279 eval ac_cv_prog_make_${ac_make}_set=no;;
2283 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2284 { $as_echo "$as_me:$LINENO: result: yes" >&5
2285 $as_echo "yes" >&6; }
2288 { $as_echo "$as_me:$LINENO: result: no" >&5
2289 $as_echo "no" >&6; }
2290 SET_MAKE="MAKE=${MAKE-make}"
2293 rm -rf .tst 2>/dev/null
2294 mkdir .tst 2>/dev/null
2295 if test -d .tst; then
2300 rmdir .tst 2>/dev/null
2302 # test to see if srcdir already configured
2303 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2304 test -f $srcdir/config.status; then
2305 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2306 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2307 { (exit 1); exit 1; }; }
2310 # test whether we have cygpath
2311 if test -z "$CYGPATH_W"; then
2312 if (cygpath --version) >/dev/null 2>/dev/null; then
2313 CYGPATH_W='cygpath -w'
2320 # Define the identity of the package.
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE "$PACKAGE"
2330 cat >>confdefs.h <<_ACEOF
2331 #define VERSION "$VERSION"
2334 # Some tools Automake needs.
2336 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2339 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2342 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2345 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2348 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2350 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2352 # Installed binaries are usually stripped using `strip' when the user
2353 # run `make install-strip'. However `strip' might not be the right
2354 # tool to use in cross-compilation environments, therefore Automake
2355 # will honor the `STRIP' environment variable to overrule this program.
2356 if test "$cross_compiling" != no; then
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}strip; ac_word=$2
2360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 $as_echo_n "checking for $ac_word... " >&6; }
2362 if test "${ac_cv_prog_STRIP+set}" = set; then
2363 $as_echo_n "(cached) " >&6
2365 if test -n "$STRIP"; then
2366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2376 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 STRIP=$ac_cv_prog_STRIP
2386 if test -n "$STRIP"; then
2387 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2388 $as_echo "$STRIP" >&6; }
2390 { $as_echo "$as_me:$LINENO: result: no" >&5
2391 $as_echo "no" >&6; }
2396 if test -z "$ac_cv_prog_STRIP"; then
2398 # Extract the first word of "strip", so it can be a program name with args.
2399 set dummy strip; ac_word=$2
2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 $as_echo_n "checking for $ac_word... " >&6; }
2402 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2403 $as_echo_n "(cached) " >&6
2405 if test -n "$ac_ct_STRIP"; then
2406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_ac_ct_STRIP="strip"
2416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2426 if test -n "$ac_ct_STRIP"; then
2427 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2428 $as_echo "$ac_ct_STRIP" >&6; }
2430 { $as_echo "$as_me:$LINENO: result: no" >&5
2431 $as_echo "no" >&6; }
2434 if test "x$ac_ct_STRIP" = x; then
2437 case $cross_compiling:$ac_tool_warned in
2439 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2441 ac_tool_warned=yes ;;
2446 STRIP="$ac_cv_prog_STRIP"
2450 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2452 # We need awk for the "check" target. The system "awk" is bad on
2454 # Always define AMTAR for backward compatibility.
2456 AMTAR=${AMTAR-"${am_missing_run}tar"}
2458 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2464 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2465 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2466 # Check whether --enable-maintainer-mode was given.
2467 if test "${enable_maintainer_mode+set}" = set; then
2468 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2470 USE_MAINTAINER_MODE=no
2473 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2474 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2477 if test $USE_MAINTAINER_MODE = yes; then
2478 MAINTAINER_MODE_TRUE=
2479 MAINTAINER_MODE_FALSE='#'
2481 MAINTAINER_MODE_TRUE='#'
2482 MAINTAINER_MODE_FALSE=
2485 MAINT=$MAINTAINER_MODE_TRUE
2488 ac_config_headers="$ac_config_headers config.h"
2491 DEPDIR="${am__leading_dot}deps"
2493 ac_config_commands="$ac_config_commands depfiles"
2496 am_make=${MAKE-make}
2497 cat > confinc << 'END'
2502 # If we don't find an include directive, just comment out the code.
2503 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2504 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2508 # First try GNU make style include.
2509 echo "include confinc" > confmf
2510 # We grep out `Entering directory' and `Leaving directory'
2511 # messages which can occur if `w' ends up in MAKEFLAGS.
2512 # In particular we don't look at `^make:' because GNU make might
2513 # be invoked under some other name (usually "gmake"), in which
2514 # case it prints its new name instead of `make'.
2515 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2520 # Now try BSD make style include.
2521 if test "$am__include" = "#"; then
2522 echo '.include "confinc"' > confmf
2523 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2524 am__include=.include
2531 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2532 $as_echo "$_am_result" >&6; }
2533 rm -f confinc confmf
2535 # Check whether --enable-dependency-tracking was given.
2536 if test "${enable_dependency_tracking+set}" = set; then
2537 enableval=$enable_dependency_tracking;
2540 if test "x$enable_dependency_tracking" != xno; then
2541 am_depcomp="$ac_aux_dir/depcomp"
2546 if test "x$enable_dependency_tracking" != xno; then
2557 ac_cpp='$CPP $CPPFLAGS'
2558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2563 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC="$CC" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$CC"; then
2591 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2592 $as_echo "$CC" >&6; }
2594 { $as_echo "$as_me:$LINENO: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_CC"; then
2602 # Extract the first word of "gcc", so it can be a program name with args.
2603 set dummy gcc; ac_word=$2
2604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$ac_ct_CC"; then
2610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_CC="gcc"
2620 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2630 if test -n "$ac_ct_CC"; then
2631 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2632 $as_echo "$ac_ct_CC" >&6; }
2634 { $as_echo "$as_me:$LINENO: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_CC" = x; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned=yes ;;
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}cc; ac_word=$2
2657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_CC+set}" = set; then
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_CC="${ac_tool_prefix}cc"
2673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2685 $as_echo "$CC" >&6; }
2687 { $as_echo "$as_me:$LINENO: result: no" >&5
2688 $as_echo "no" >&6; }
2694 if test -z "$CC"; then
2695 # Extract the first word of "cc", so it can be a program name with args.
2696 set dummy cc; ac_word=$2
2697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_CC+set}" = set; then
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$CC"; then
2703 ac_cv_prog_CC="$CC" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2714 ac_prog_rejected=yes
2718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test $ac_prog_rejected = yes; then
2726 # We found a bogon in the path, so make sure we never use it.
2727 set dummy $ac_cv_prog_CC
2729 if test $# != 0; then
2730 # We chose a different compiler from the bogus one.
2731 # However, it has the same basename, so the bogon will be chosen
2732 # first if we set CC to just the basename; use the full file name.
2734 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2742 $as_echo "$CC" >&6; }
2744 { $as_echo "$as_me:$LINENO: result: no" >&5
2745 $as_echo "no" >&6; }
2750 if test -z "$CC"; then
2751 if test -n "$ac_tool_prefix"; then
2752 for ac_prog in cl.exe
2754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if test "${ac_cv_prog_CC+set}" = set; then
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$CC"; then
2762 ac_cv_prog_CC="$CC" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test -n "$CC"; then
2783 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2784 $as_echo "$CC" >&6; }
2786 { $as_echo "$as_me:$LINENO: result: no" >&5
2787 $as_echo "no" >&6; }
2791 test -n "$CC" && break
2794 if test -z "$CC"; then
2796 for ac_prog in cl.exe
2798 # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy $ac_prog; ac_word=$2
2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_CC"; then
2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_ac_ct_CC="$ac_prog"
2816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2826 if test -n "$ac_ct_CC"; then
2827 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2828 $as_echo "$ac_ct_CC" >&6; }
2830 { $as_echo "$as_me:$LINENO: result: no" >&5
2831 $as_echo "no" >&6; }
2835 test -n "$ac_ct_CC" && break
2838 if test "x$ac_ct_CC" = x; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2854 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2856 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2857 See \`config.log' for more details." >&5
2858 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2859 See \`config.log' for more details." >&2;}
2860 { (exit 1); exit 1; }; }; }
2862 # Provide some information about the compiler.
2863 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2866 { (ac_try="$ac_compiler --version >&5"
2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2872 $as_echo "$ac_try_echo") >&5
2873 (eval "$ac_compiler --version >&5") 2>&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }
2877 { (ac_try="$ac_compiler -v >&5"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2883 $as_echo "$ac_try_echo") >&5
2884 (eval "$ac_compiler -v >&5") 2>&5
2886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }
2888 { (ac_try="$ac_compiler -V >&5"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compiler -V >&5") 2>&5
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2915 ac_clean_files_save=$ac_clean_files
2916 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2917 # Try to create an executable without -o first, disregard a.out.
2918 # It will help us diagnose broken compilers, and finding out an intuition
2920 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2921 $as_echo_n "checking for C compiler default output file name... " >&6; }
2922 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2924 # The possible output files:
2925 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2928 for ac_file in $ac_files
2931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2932 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2937 if { (ac_try="$ac_link_default"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2943 $as_echo "$ac_try_echo") >&5
2944 (eval "$ac_link_default") 2>&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2949 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2950 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2951 # so that the user can short-circuit this test for compilers unknown to
2953 for ac_file in $ac_files ''
2955 test -f "$ac_file" || continue
2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2960 # We found the default executable, but exeext='' is most
2964 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2966 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968 # We set ac_cv_exeext here because the later test for it is not
2969 # safe: cross compilers may not add the suffix if given an `-o'
2970 # argument, so we may need to know it at that point already.
2971 # Even if this section looks crufty: it has the advantage of
2978 test "$ac_cv_exeext" = no && ac_cv_exeext=
2984 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2985 $as_echo "$ac_file" >&6; }
2986 if test -z "$ac_file"; then
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2993 See \`config.log' for more details." >&5
2994 $as_echo "$as_me: error: C compiler cannot create executables
2995 See \`config.log' for more details." >&2;}
2996 { (exit 77); exit 77; }; }; }
2999 ac_exeext=$ac_cv_exeext
3001 # Check that the compiler produces executables we can run. If not, either
3002 # the compiler is broken, or we cross compile.
3003 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3004 $as_echo_n "checking whether the C compiler works... " >&6; }
3005 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3006 # If not cross compiling, check that we can run a simple program.
3007 if test "$cross_compiling" != yes; then
3008 if { ac_try='./$ac_file'
3009 { (case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3014 $as_echo "$ac_try_echo") >&5
3015 (eval "$ac_try") 2>&5
3017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3021 if test "$cross_compiling" = maybe; then
3024 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3027 If you meant to cross compile, use \`--host'.
3028 See \`config.log' for more details." >&5
3029 $as_echo "$as_me: error: cannot run C compiled programs.
3030 If you meant to cross compile, use \`--host'.
3031 See \`config.log' for more details." >&2;}
3032 { (exit 1); exit 1; }; }; }
3036 { $as_echo "$as_me:$LINENO: result: yes" >&5
3037 $as_echo "yes" >&6; }
3039 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3040 ac_clean_files=$ac_clean_files_save
3041 # Check that the compiler produces executables we can run. If not, either
3042 # the compiler is broken, or we cross compile.
3043 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3044 $as_echo_n "checking whether we are cross compiling... " >&6; }
3045 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3046 $as_echo "$cross_compiling" >&6; }
3048 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3049 $as_echo_n "checking for suffix of executables... " >&6; }
3050 if { (ac_try="$ac_link"
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3056 $as_echo "$ac_try_echo") >&5
3057 (eval "$ac_link") 2>&5
3059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; then
3061 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3062 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3063 # work properly (i.e., refer to `conftest.exe'), while it won't with
3065 for ac_file in conftest.exe conftest conftest.*; do
3066 test -f "$ac_file" || continue
3068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3078 See \`config.log' for more details." >&5
3079 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3080 See \`config.log' for more details." >&2;}
3081 { (exit 1); exit 1; }; }; }
3084 rm -f conftest$ac_cv_exeext
3085 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3086 $as_echo "$ac_cv_exeext" >&6; }
3088 rm -f conftest.$ac_ext
3089 EXEEXT=$ac_cv_exeext
3091 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3092 $as_echo_n "checking for suffix of object files... " >&6; }
3093 if test "${ac_cv_objext+set}" = set; then
3094 $as_echo_n "(cached) " >&6
3096 cat >conftest.$ac_ext <<_ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3111 rm -f conftest.o conftest.obj
3112 if { (ac_try="$ac_compile"
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3118 $as_echo "$ac_try_echo") >&5
3119 (eval "$ac_compile") 2>&5
3121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; then
3123 for ac_file in conftest.o conftest.obj conftest.*; do
3124 test -f "$ac_file" || continue;
3126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3127 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3138 See \`config.log' for more details." >&5
3139 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3140 See \`config.log' for more details." >&2;}
3141 { (exit 1); exit 1; }; }; }
3144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3146 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3147 $as_echo "$ac_cv_objext" >&6; }
3148 OBJEXT=$ac_cv_objext
3150 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3153 $as_echo_n "(cached) " >&6
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181 (eval "$ac_compile") 2>conftest.er1
3183 grep -v '^ *+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } && {
3188 test -z "$ac_c_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3205 if test $ac_compiler_gnu = yes; then
3210 ac_test_CFLAGS=${CFLAGS+set}
3211 ac_save_CFLAGS=$CFLAGS
3212 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3214 if test "${ac_cv_prog_cc_g+set}" = set; then
3215 $as_echo_n "(cached) " >&6
3217 ac_save_c_werror_flag=$ac_c_werror_flag
3218 ac_c_werror_flag=yes
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } && {
3251 test -z "$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 } && test -s conftest.$ac_objext; then
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3282 $as_echo "$ac_try_echo") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.$ac_objext; then
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 ac_c_werror_flag=$ac_save_c_werror_flag
3300 cat >conftest.$ac_ext <<_ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3315 rm -f conftest.$ac_objext
3316 if { (ac_try="$ac_compile"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3322 $as_echo "$ac_try_echo") >&5
3323 (eval "$ac_compile") 2>conftest.er1
3325 grep -v '^ *+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } && {
3330 test -z "$ac_c_werror_flag" ||
3331 test ! -s conftest.err
3332 } && test -s conftest.$ac_objext; then
3335 $as_echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3351 $as_echo "$ac_cv_prog_cc_g" >&6; }
3352 if test "$ac_test_CFLAGS" = set; then
3353 CFLAGS=$ac_save_CFLAGS
3354 elif test $ac_cv_prog_cc_g = yes; then
3355 if test "$GCC" = yes; then
3361 if test "$GCC" = yes; then
3367 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3369 if test "${ac_cv_prog_cc_c89+set}" = set; then
3370 $as_echo_n "(cached) " >&6
3372 ac_cv_prog_cc_c89=no
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3382 #include <sys/types.h>
3383 #include <sys/stat.h>
3384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3385 struct buf { int x; };
3386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3387 static char *e (p, i)
3393 static char *f (char * (*g) (char **, int), char **p, ...)
3398 s = g (p, va_arg (v,int));
3403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3404 function prototypes and stuff, but not '\xHH' hex character constants.
3405 These don't provoke an error unfortunately, instead are silently treated
3406 as 'x'. The following induces an error, until -std is added to get
3407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3408 array size at least. It's necessary to write '\x00'==0 to get something
3409 that's true only with -std. */
3410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3413 inside strings and character constants. */
3415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3417 int test (int i, double x);
3418 struct s1 {int (*f) (int a);};
3419 struct s2 {int (*f) (double a);};
3420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3426 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3432 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3434 CC="$ac_save_CC $ac_arg"
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442 $as_echo "$ac_try_echo") >&5
3443 (eval "$ac_compile") 2>conftest.er1
3445 grep -v '^ *+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } && {
3450 test -z "$ac_c_werror_flag" ||
3451 test ! -s conftest.err
3452 } && test -s conftest.$ac_objext; then
3453 ac_cv_prog_cc_c89=$ac_arg
3455 $as_echo "$as_me: failed program was:" >&5
3456 sed 's/^/| /' conftest.$ac_ext >&5
3461 rm -f core conftest.err conftest.$ac_objext
3462 test "x$ac_cv_prog_cc_c89" != "xno" && break
3464 rm -f conftest.$ac_ext
3469 case "x$ac_cv_prog_cc_c89" in
3471 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3472 $as_echo "none needed" >&6; } ;;
3474 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3475 $as_echo "unsupported" >&6; } ;;
3477 CC="$CC $ac_cv_prog_cc_c89"
3478 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3479 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489 depcc="$CC" am_compiler_list=
3491 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3492 $as_echo_n "checking dependency style of $depcc... " >&6; }
3493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3494 $as_echo_n "(cached) " >&6
3496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3497 # We make a subdir and do the tests there. Otherwise we can end up
3498 # making bogus files that we don't know about and never remove. For
3499 # instance it was reported that on HP-UX the gcc test will end up
3500 # making a dummy file named `D' -- because `-MD' means `put the output
3503 # Copy depcomp to subdir because otherwise we won't find it if we're
3504 # using a relative directory.
3505 cp "$am_depcomp" conftest.dir
3507 # We will build objects and dependencies in a subdirectory because
3508 # it helps to detect inapplicable dependency modes. For instance
3509 # both Tru64's cc and ICC support -MD to output dependencies as a
3510 # side effect of compilation, but ICC will put the dependencies in
3511 # the current directory while Tru64 will put them in the object
3515 am_cv_CC_dependencies_compiler_type=none
3516 if test "$am_compiler_list" = ""; then
3517 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3519 for depmode in $am_compiler_list; do
3520 # Setup a source with many dependencies, because some compilers
3521 # like to wrap large dependency lists on column 80 (with \), and
3522 # we should not choose a depcomp mode which is confused by this.
3524 # We need to recreate these files for each test, as the compiler may
3525 # overwrite some of them when testing with obscure command lines.
3526 # This happens at least with the AIX C compiler.
3528 for i in 1 2 3 4 5 6; do
3529 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3530 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3531 # Solaris 8's {/usr,}/bin/sh.
3532 touch sub/conftst$i.h
3534 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3538 # after this tag, mechanisms are not by side-effect, so they'll
3539 # only be used when explicitly requested
3540 if test "x$enable_dependency_tracking" = xyes; then
3548 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3549 # mode. It turns out that the SunPro C++ compiler does not properly
3550 # handle `-M -o', and we need to detect this.
3551 if depmode=$depmode \
3552 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3554 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3555 >/dev/null 2>conftest.err &&
3556 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3557 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3558 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3559 # icc doesn't choke on unknown options, it will just issue warnings
3560 # or remarks (even with -Werror). So we grep stderr for any message
3561 # that says an option was ignored or not supported.
3562 # When given -MP, icc 7.0 and 7.1 complain thusly:
3563 # icc: Command line warning: ignoring option '-M'; no argument required
3564 # The diagnosis changed in icc 8.0:
3565 # icc: Command line remark: option '-MP' not supported
3566 if (grep 'ignoring option' conftest.err ||
3567 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3568 am_cv_CC_dependencies_compiler_type=$depmode
3577 am_cv_CC_dependencies_compiler_type=none
3581 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3583 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3588 test "x$enable_dependency_tracking" != xno \
3589 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3591 am__fastdepCC_FALSE='#'
3593 am__fastdepCC_TRUE='#'
3594 am__fastdepCC_FALSE=
3600 { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3601 $as_echo_n "checking for strerror in -lcposix... " >&6; }
3602 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3603 $as_echo_n "(cached) " >&6
3605 ac_check_lib_save_LIBS=$LIBS
3606 LIBS="-lcposix $LIBS"
3607 cat >conftest.$ac_ext <<_ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3614 /* Override any GCC internal prototype to avoid an error.
3615 Use char because int might match the return type of a GCC
3616 builtin and then its argument prototype would still apply. */
3629 rm -f conftest.$ac_objext conftest$ac_exeext
3630 if { (ac_try="$ac_link"
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3636 $as_echo "$ac_try_echo") >&5
3637 (eval "$ac_link") 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } && {
3644 test -z "$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 } && test -s conftest$ac_exeext && {
3647 test "$cross_compiling" = yes ||
3648 $as_test_x conftest$ac_exeext
3650 ac_cv_lib_cposix_strerror=yes
3652 $as_echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 ac_cv_lib_cposix_strerror=no
3658 rm -rf conftest.dSYM
3659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3660 conftest$ac_exeext conftest.$ac_ext
3661 LIBS=$ac_check_lib_save_LIBS
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3664 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
3665 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then
3666 LIBS="$LIBS -lcposix"
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 if test -n "$ac_tool_prefix"; then
3677 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3678 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC="$CC" # Let the user override the test.
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3695 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 if test -n "$CC"; then
3706 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3707 $as_echo "$CC" >&6; }
3709 { $as_echo "$as_me:$LINENO: result: no" >&5
3710 $as_echo "no" >&6; }
3715 if test -z "$ac_cv_prog_CC"; then
3717 # Extract the first word of "gcc", so it can be a program name with args.
3718 set dummy gcc; ac_word=$2
3719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3722 $as_echo_n "(cached) " >&6
3724 if test -n "$ac_ct_CC"; then
3725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734 ac_cv_prog_ac_ct_CC="gcc"
3735 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3745 if test -n "$ac_ct_CC"; then
3746 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3747 $as_echo "$ac_ct_CC" >&6; }
3749 { $as_echo "$as_me:$LINENO: result: no" >&5
3750 $as_echo "no" >&6; }
3753 if test "x$ac_ct_CC" = x; then
3756 case $cross_compiling:$ac_tool_warned in
3758 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3760 ac_tool_warned=yes ;;
3768 if test -z "$CC"; then
3769 if test -n "$ac_tool_prefix"; then
3770 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3771 set dummy ${ac_tool_prefix}cc; ac_word=$2
3772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if test "${ac_cv_prog_CC+set}" = set; then
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC="$CC" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3787 ac_cv_prog_CC="${ac_tool_prefix}cc"
3788 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3802 { $as_echo "$as_me:$LINENO: result: no" >&5
3803 $as_echo "no" >&6; }
3809 if test -z "$CC"; then
3810 # Extract the first word of "cc", so it can be a program name with args.
3811 set dummy cc; ac_word=$2
3812 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_CC+set}" = set; then
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3828 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3829 ac_prog_rejected=yes
3833 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test $ac_prog_rejected = yes; then
3841 # We found a bogon in the path, so make sure we never use it.
3842 set dummy $ac_cv_prog_CC
3844 if test $# != 0; then
3845 # We chose a different compiler from the bogus one.
3846 # However, it has the same basename, so the bogon will be chosen
3847 # first if we set CC to just the basename; use the full file name.
3849 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3859 { $as_echo "$as_me:$LINENO: result: no" >&5
3860 $as_echo "no" >&6; }
3865 if test -z "$CC"; then
3866 if test -n "$ac_tool_prefix"; then
3867 for ac_prog in cl.exe
3869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3871 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_CC+set}" = set; then
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3887 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 if test -n "$CC"; then
3898 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3899 $as_echo "$CC" >&6; }
3901 { $as_echo "$as_me:$LINENO: result: no" >&5
3902 $as_echo "no" >&6; }
3906 test -n "$CC" && break
3909 if test -z "$CC"; then
3911 for ac_prog in cl.exe
3913 # Extract the first word of "$ac_prog", so it can be a program name with args.
3914 set dummy $ac_prog; ac_word=$2
3915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$ac_ct_CC"; then
3921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930 ac_cv_prog_ac_ct_CC="$ac_prog"
3931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3941 if test -n "$ac_ct_CC"; then
3942 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3943 $as_echo "$ac_ct_CC" >&6; }
3945 { $as_echo "$as_me:$LINENO: result: no" >&5
3946 $as_echo "no" >&6; }
3950 test -n "$ac_ct_CC" && break
3953 if test "x$ac_ct_CC" = x; then
3956 case $cross_compiling:$ac_tool_warned in
3958 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3960 ac_tool_warned=yes ;;
3969 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3972 See \`config.log' for more details." >&5
3973 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3974 See \`config.log' for more details." >&2;}
3975 { (exit 1); exit 1; }; }; }
3977 # Provide some information about the compiler.
3978 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3981 { (ac_try="$ac_compiler --version >&5"
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3987 $as_echo "$ac_try_echo") >&5
3988 (eval "$ac_compiler --version >&5") 2>&5
3990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }
3992 { (ac_try="$ac_compiler -v >&5"
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3998 $as_echo "$ac_try_echo") >&5
3999 (eval "$ac_compiler -v >&5") 2>&5
4001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); }
4003 { (ac_try="$ac_compiler -V >&5"
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4009 $as_echo "$ac_try_echo") >&5
4010 (eval "$ac_compiler -V >&5") 2>&5
4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); }
4015 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4016 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4017 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4018 $as_echo_n "(cached) " >&6
4020 cat >conftest.$ac_ext <<_ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4038 rm -f conftest.$ac_objext
4039 if { (ac_try="$ac_compile"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4045 $as_echo "$ac_try_echo") >&5
4046 (eval "$ac_compile") 2>conftest.er1
4048 grep -v '^ *+' conftest.er1 >conftest.err
4050 cat conftest.err >&5
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } && {
4053 test -z "$ac_c_werror_flag" ||
4054 test ! -s conftest.err
4055 } && test -s conftest.$ac_objext; then
4058 $as_echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.$ac_ext >&5
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4069 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4070 if test $ac_compiler_gnu = yes; then
4075 ac_test_CFLAGS=${CFLAGS+set}
4076 ac_save_CFLAGS=$CFLAGS
4077 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4078 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4079 if test "${ac_cv_prog_cc_g+set}" = set; then
4080 $as_echo_n "(cached) " >&6
4082 ac_save_c_werror_flag=$ac_c_werror_flag
4083 ac_c_werror_flag=yes
4086 cat >conftest.$ac_ext <<_ACEOF
4089 cat confdefs.h >>conftest.$ac_ext
4090 cat >>conftest.$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4101 rm -f conftest.$ac_objext
4102 if { (ac_try="$ac_compile"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108 $as_echo "$ac_try_echo") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^ *+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } && {
4116 test -z "$ac_c_werror_flag" ||
4117 test ! -s conftest.err
4118 } && test -s conftest.$ac_objext; then
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4125 cat >conftest.$ac_ext <<_ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4140 rm -f conftest.$ac_objext
4141 if { (ac_try="$ac_compile"
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4147 $as_echo "$ac_try_echo") >&5
4148 (eval "$ac_compile") 2>conftest.er1
4150 grep -v '^ *+' conftest.er1 >conftest.err
4152 cat conftest.err >&5
4153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } && {
4155 test -z "$ac_c_werror_flag" ||
4156 test ! -s conftest.err
4157 } && test -s conftest.$ac_objext; then
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4163 ac_c_werror_flag=$ac_save_c_werror_flag
4165 cat >conftest.$ac_ext <<_ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4180 rm -f conftest.$ac_objext
4181 if { (ac_try="$ac_compile"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4187 $as_echo "$ac_try_echo") >&5
4188 (eval "$ac_compile") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1 >conftest.err
4192 cat conftest.err >&5
4193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest.$ac_objext; then
4200 $as_echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4215 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
4217 if test "$ac_test_CFLAGS" = set; then
4218 CFLAGS=$ac_save_CFLAGS
4219 elif test $ac_cv_prog_cc_g = yes; then
4220 if test "$GCC" = yes; then
4226 if test "$GCC" = yes; then
4232 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4234 if test "${ac_cv_prog_cc_c89+set}" = set; then
4235 $as_echo_n "(cached) " >&6
4237 ac_cv_prog_cc_c89=no
4239 cat >conftest.$ac_ext <<_ACEOF
4242 cat confdefs.h >>conftest.$ac_ext
4243 cat >>conftest.$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4247 #include <sys/types.h>
4248 #include <sys/stat.h>
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4263 s = g (p, va_arg (v,int));
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 rm -f conftest.$ac_objext
4301 if { (ac_try="$ac_compile"
4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4307 $as_echo "$ac_try_echo") >&5
4308 (eval "$ac_compile") 2>conftest.er1
4310 grep -v '^ *+' conftest.er1 >conftest.err
4312 cat conftest.err >&5
4313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } && {
4315 test -z "$ac_c_werror_flag" ||
4316 test ! -s conftest.err
4317 } && test -s conftest.$ac_objext; then
4318 ac_cv_prog_cc_c89=$ac_arg
4320 $as_echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4326 rm -f core conftest.err conftest.$ac_objext
4327 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 rm -f conftest.$ac_ext
4334 case "x$ac_cv_prog_cc_c89" in
4336 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4337 $as_echo "none needed" >&6; } ;;
4339 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4340 $as_echo "unsupported" >&6; } ;;
4342 CC="$CC $ac_cv_prog_cc_c89"
4343 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4349 ac_cpp='$CPP $CPPFLAGS'
4350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4354 depcc="$CC" am_compiler_list=
4356 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4357 $as_echo_n "checking dependency style of $depcc... " >&6; }
4358 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4359 $as_echo_n "(cached) " >&6
4361 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4362 # We make a subdir and do the tests there. Otherwise we can end up
4363 # making bogus files that we don't know about and never remove. For
4364 # instance it was reported that on HP-UX the gcc test will end up
4365 # making a dummy file named `D' -- because `-MD' means `put the output
4368 # Copy depcomp to subdir because otherwise we won't find it if we're
4369 # using a relative directory.
4370 cp "$am_depcomp" conftest.dir
4372 # We will build objects and dependencies in a subdirectory because
4373 # it helps to detect inapplicable dependency modes. For instance
4374 # both Tru64's cc and ICC support -MD to output dependencies as a
4375 # side effect of compilation, but ICC will put the dependencies in
4376 # the current directory while Tru64 will put them in the object
4380 am_cv_CC_dependencies_compiler_type=none
4381 if test "$am_compiler_list" = ""; then
4382 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4384 for depmode in $am_compiler_list; do
4385 # Setup a source with many dependencies, because some compilers
4386 # like to wrap large dependency lists on column 80 (with \), and
4387 # we should not choose a depcomp mode which is confused by this.
4389 # We need to recreate these files for each test, as the compiler may
4390 # overwrite some of them when testing with obscure command lines.
4391 # This happens at least with the AIX C compiler.
4393 for i in 1 2 3 4 5 6; do
4394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4395 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4396 # Solaris 8's {/usr,}/bin/sh.
4397 touch sub/conftst$i.h
4399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4403 # after this tag, mechanisms are not by side-effect, so they'll
4404 # only be used when explicitly requested
4405 if test "x$enable_dependency_tracking" = xyes; then
4413 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4414 # mode. It turns out that the SunPro C++ compiler does not properly
4415 # handle `-M -o', and we need to detect this.
4416 if depmode=$depmode \
4417 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4418 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4419 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4420 >/dev/null 2>conftest.err &&
4421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4424 # icc doesn't choke on unknown options, it will just issue warnings
4425 # or remarks (even with -Werror). So we grep stderr for any message
4426 # that says an option was ignored or not supported.
4427 # When given -MP, icc 7.0 and 7.1 complain thusly:
4428 # icc: Command line warning: ignoring option '-M'; no argument required
4429 # The diagnosis changed in icc 8.0:
4430 # icc: Command line remark: option '-MP' not supported
4431 if (grep 'ignoring option' conftest.err ||
4432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4433 am_cv_CC_dependencies_compiler_type=$depmode
4442 am_cv_CC_dependencies_compiler_type=none
4446 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4453 test "x$enable_dependency_tracking" != xno \
4454 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4456 am__fastdepCC_FALSE='#'
4458 am__fastdepCC_TRUE='#'
4459 am__fastdepCC_FALSE=
4464 ac_cpp='$CPP $CPPFLAGS'
4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4468 if test -n "$ac_tool_prefix"; then
4469 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4470 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if test "${ac_cv_prog_CC+set}" = set; then
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$CC"; then
4477 ac_cv_prog_CC="$CC" # Let the user override the test.
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 if test -n "$CC"; then
4498 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4499 $as_echo "$CC" >&6; }
4501 { $as_echo "$as_me:$LINENO: result: no" >&5
4502 $as_echo "no" >&6; }
4507 if test -z "$ac_cv_prog_CC"; then
4509 # Extract the first word of "gcc", so it can be a program name with args.
4510 set dummy gcc; ac_word=$2
4511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$ac_ct_CC"; then
4517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526 ac_cv_prog_ac_ct_CC="gcc"
4527 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4537 if test -n "$ac_ct_CC"; then
4538 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4539 $as_echo "$ac_ct_CC" >&6; }
4541 { $as_echo "$as_me:$LINENO: result: no" >&5
4542 $as_echo "no" >&6; }
4545 if test "x$ac_ct_CC" = x; then
4548 case $cross_compiling:$ac_tool_warned in
4550 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4560 if test -z "$CC"; then
4561 if test -n "$ac_tool_prefix"; then
4562 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4563 set dummy ${ac_tool_prefix}cc; ac_word=$2
4564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if test "${ac_cv_prog_CC+set}" = set; then
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$CC"; then
4570 ac_cv_prog_CC="$CC" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4579 ac_cv_prog_CC="${ac_tool_prefix}cc"
4580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 if test -n "$CC"; then
4591 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4592 $as_echo "$CC" >&6; }
4594 { $as_echo "$as_me:$LINENO: result: no" >&5
4595 $as_echo "no" >&6; }
4601 if test -z "$CC"; then
4602 # Extract the first word of "cc", so it can be a program name with args.
4603 set dummy cc; ac_word=$2
4604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if test "${ac_cv_prog_CC+set}" = set; then
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$CC"; then
4610 ac_cv_prog_CC="$CC" # Let the user override the test.
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir=.
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4621 ac_prog_rejected=yes
4625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 if test $ac_prog_rejected = yes; then
4633 # We found a bogon in the path, so make sure we never use it.
4634 set dummy $ac_cv_prog_CC
4636 if test $# != 0; then
4637 # We chose a different compiler from the bogus one.
4638 # However, it has the same basename, so the bogon will be chosen
4639 # first if we set CC to just the basename; use the full file name.
4641 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4647 if test -n "$CC"; then
4648 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4649 $as_echo "$CC" >&6; }
4651 { $as_echo "$as_me:$LINENO: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$CC"; then
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog in cl.exe
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if test "${ac_cv_prog_CC+set}" = set; then
4666 $as_echo_n "(cached) " >&6
4668 if test -n "$CC"; then
4669 ac_cv_prog_CC="$CC" # Let the user override the test.
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$CC"; then
4690 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4691 $as_echo "$CC" >&6; }
4693 { $as_echo "$as_me:$LINENO: result: no" >&5
4694 $as_echo "no" >&6; }
4698 test -n "$CC" && break
4701 if test -z "$CC"; then
4703 for ac_prog in cl.exe
4705 # Extract the first word of "$ac_prog", so it can be a program name with args.
4706 set dummy $ac_prog; ac_word=$2
4707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$ac_ct_CC"; then
4713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir=.
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722 ac_cv_prog_ac_ct_CC="$ac_prog"
4723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4733 if test -n "$ac_ct_CC"; then
4734 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4735 $as_echo "$ac_ct_CC" >&6; }
4737 { $as_echo "$as_me:$LINENO: result: no" >&5
4738 $as_echo "no" >&6; }
4742 test -n "$ac_ct_CC" && break
4745 if test "x$ac_ct_CC" = x; then
4748 case $cross_compiling:$ac_tool_warned in
4750 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4761 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4763 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4764 See \`config.log' for more details." >&5
4765 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4766 See \`config.log' for more details." >&2;}
4767 { (exit 1); exit 1; }; }; }
4769 # Provide some information about the compiler.
4770 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4773 { (ac_try="$ac_compiler --version >&5"
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4779 $as_echo "$ac_try_echo") >&5
4780 (eval "$ac_compiler --version >&5") 2>&5
4782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }
4784 { (ac_try="$ac_compiler -v >&5"
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4790 $as_echo "$ac_try_echo") >&5
4791 (eval "$ac_compiler -v >&5") 2>&5
4793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }
4795 { (ac_try="$ac_compiler -V >&5"
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4801 $as_echo "$ac_try_echo") >&5
4802 (eval "$ac_compiler -V >&5") 2>&5
4804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }
4807 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4809 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4810 $as_echo_n "(cached) " >&6
4812 cat >conftest.$ac_ext <<_ACEOF
4815 cat confdefs.h >>conftest.$ac_ext
4816 cat >>conftest.$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4830 rm -f conftest.$ac_objext
4831 if { (ac_try="$ac_compile"
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4837 $as_echo "$ac_try_echo") >&5
4838 (eval "$ac_compile") 2>conftest.er1
4840 grep -v '^ *+' conftest.er1 >conftest.err
4842 cat conftest.err >&5
4843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && {
4845 test -z "$ac_c_werror_flag" ||
4846 test ! -s conftest.err
4847 } && test -s conftest.$ac_objext; then
4850 $as_echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4860 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4861 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4862 if test $ac_compiler_gnu = yes; then
4867 ac_test_CFLAGS=${CFLAGS+set}
4868 ac_save_CFLAGS=$CFLAGS
4869 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4870 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4871 if test "${ac_cv_prog_cc_g+set}" = set; then
4872 $as_echo_n "(cached) " >&6
4874 ac_save_c_werror_flag=$ac_c_werror_flag
4875 ac_c_werror_flag=yes
4878 cat >conftest.$ac_ext <<_ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4893 rm -f conftest.$ac_objext
4894 if { (ac_try="$ac_compile"
4896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4897 *) ac_try_echo=$ac_try;;
4899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4900 $as_echo "$ac_try_echo") >&5
4901 (eval "$ac_compile") 2>conftest.er1
4903 grep -v '^ *+' conftest.er1 >conftest.err
4905 cat conftest.err >&5
4906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } && {
4908 test -z "$ac_c_werror_flag" ||
4909 test ! -s conftest.err
4910 } && test -s conftest.$ac_objext; then
4913 $as_echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.$ac_ext >&5
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4932 rm -f conftest.$ac_objext
4933 if { (ac_try="$ac_compile"
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4939 $as_echo "$ac_try_echo") >&5
4940 (eval "$ac_compile") 2>conftest.er1
4942 grep -v '^ *+' conftest.er1 >conftest.err
4944 cat conftest.err >&5
4945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && {
4947 test -z "$ac_c_werror_flag" ||
4948 test ! -s conftest.err
4949 } && test -s conftest.$ac_objext; then
4952 $as_echo "$as_me: failed program was:" >&5
4953 sed 's/^/| /' conftest.$ac_ext >&5
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4957 cat >conftest.$ac_ext <<_ACEOF
4960 cat confdefs.h >>conftest.$ac_ext
4961 cat >>conftest.$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4972 rm -f conftest.$ac_objext
4973 if { (ac_try="$ac_compile"
4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976 *) ac_try_echo=$ac_try;;
4978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4979 $as_echo "$ac_try_echo") >&5
4980 (eval "$ac_compile") 2>conftest.er1
4982 grep -v '^ *+' conftest.er1 >conftest.err
4984 cat conftest.err >&5
4985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest.$ac_objext; then
4992 $as_echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 ac_c_werror_flag=$ac_save_c_werror_flag
5007 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5008 $as_echo "$ac_cv_prog_cc_g" >&6; }
5009 if test "$ac_test_CFLAGS" = set; then
5010 CFLAGS=$ac_save_CFLAGS
5011 elif test $ac_cv_prog_cc_g = yes; then
5012 if test "$GCC" = yes; then
5018 if test "$GCC" = yes; then
5024 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5026 if test "${ac_cv_prog_cc_c89+set}" = set; then
5027 $as_echo_n "(cached) " >&6
5029 ac_cv_prog_cc_c89=no
5031 cat >conftest.$ac_ext <<_ACEOF
5034 cat confdefs.h >>conftest.$ac_ext
5035 cat >>conftest.$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 #include <sys/stat.h>
5041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5042 struct buf { int x; };
5043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5044 static char *e (p, i)
5050 static char *f (char * (*g) (char **, int), char **p, ...)
5055 s = g (p, va_arg (v,int));
5060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5061 function prototypes and stuff, but not '\xHH' hex character constants.
5062 These don't provoke an error unfortunately, instead are silently treated
5063 as 'x'. The following induces an error, until -std is added to get
5064 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5065 array size at least. It's necessary to write '\x00'==0 to get something
5066 that's true only with -std. */
5067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5070 inside strings and character constants. */
5072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5074 int test (int i, double x);
5075 struct s1 {int (*f) (int a);};
5076 struct s2 {int (*f) (double a);};
5077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5083 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5089 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5091 CC="$ac_save_CC $ac_arg"
5092 rm -f conftest.$ac_objext
5093 if { (ac_try="$ac_compile"
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5099 $as_echo "$ac_try_echo") >&5
5100 (eval "$ac_compile") 2>conftest.er1
5102 grep -v '^ *+' conftest.er1 >conftest.err
5104 cat conftest.err >&5
5105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } && {
5107 test -z "$ac_c_werror_flag" ||
5108 test ! -s conftest.err
5109 } && test -s conftest.$ac_objext; then
5110 ac_cv_prog_cc_c89=$ac_arg
5112 $as_echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.$ac_ext >&5
5118 rm -f core conftest.err conftest.$ac_objext
5119 test "x$ac_cv_prog_cc_c89" != "xno" && break
5121 rm -f conftest.$ac_ext
5126 case "x$ac_cv_prog_cc_c89" in
5128 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5129 $as_echo "none needed" >&6; } ;;
5131 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5132 $as_echo "unsupported" >&6; } ;;
5134 CC="$CC $ac_cv_prog_cc_c89"
5135 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5136 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5141 ac_cpp='$CPP $CPPFLAGS'
5142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5146 depcc="$CC" am_compiler_list=
5148 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5149 $as_echo_n "checking dependency style of $depcc... " >&6; }
5150 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5151 $as_echo_n "(cached) " >&6
5153 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5154 # We make a subdir and do the tests there. Otherwise we can end up
5155 # making bogus files that we don't know about and never remove. For
5156 # instance it was reported that on HP-UX the gcc test will end up
5157 # making a dummy file named `D' -- because `-MD' means `put the output
5160 # Copy depcomp to subdir because otherwise we won't find it if we're
5161 # using a relative directory.
5162 cp "$am_depcomp" conftest.dir
5164 # We will build objects and dependencies in a subdirectory because
5165 # it helps to detect inapplicable dependency modes. For instance
5166 # both Tru64's cc and ICC support -MD to output dependencies as a
5167 # side effect of compilation, but ICC will put the dependencies in
5168 # the current directory while Tru64 will put them in the object
5172 am_cv_CC_dependencies_compiler_type=none
5173 if test "$am_compiler_list" = ""; then
5174 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5176 for depmode in $am_compiler_list; do
5177 # Setup a source with many dependencies, because some compilers
5178 # like to wrap large dependency lists on column 80 (with \), and
5179 # we should not choose a depcomp mode which is confused by this.
5181 # We need to recreate these files for each test, as the compiler may
5182 # overwrite some of them when testing with obscure command lines.
5183 # This happens at least with the AIX C compiler.
5185 for i in 1 2 3 4 5 6; do
5186 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5187 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5188 # Solaris 8's {/usr,}/bin/sh.
5189 touch sub/conftst$i.h
5191 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5195 # after this tag, mechanisms are not by side-effect, so they'll
5196 # only be used when explicitly requested
5197 if test "x$enable_dependency_tracking" = xyes; then
5205 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5206 # mode. It turns out that the SunPro C++ compiler does not properly
5207 # handle `-M -o', and we need to detect this.
5208 if depmode=$depmode \
5209 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5210 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5211 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5212 >/dev/null 2>conftest.err &&
5213 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5214 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5215 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5216 # icc doesn't choke on unknown options, it will just issue warnings
5217 # or remarks (even with -Werror). So we grep stderr for any message
5218 # that says an option was ignored or not supported.
5219 # When given -MP, icc 7.0 and 7.1 complain thusly:
5220 # icc: Command line warning: ignoring option '-M'; no argument required
5221 # The diagnosis changed in icc 8.0:
5222 # icc: Command line remark: option '-MP' not supported
5223 if (grep 'ignoring option' conftest.err ||
5224 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5225 am_cv_CC_dependencies_compiler_type=$depmode
5234 am_cv_CC_dependencies_compiler_type=none
5238 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5239 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5240 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5245 test "x$enable_dependency_tracking" != xno \
5246 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5248 am__fastdepCC_FALSE='#'
5250 am__fastdepCC_TRUE='#'
5251 am__fastdepCC_FALSE=
5256 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5259 ac_cpp='$OBJCPP $CPPFLAGS'
5260 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5261 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5262 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
5263 if test -n "$ac_tool_prefix"; then
5264 for ac_prog in gcc objcc objc cc CC
5266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5268 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if test "${ac_cv_prog_OBJC+set}" = set; then
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$OBJC"; then
5274 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
5284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 OBJC=$ac_cv_prog_OBJC
5294 if test -n "$OBJC"; then
5295 { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
5296 $as_echo "$OBJC" >&6; }
5298 { $as_echo "$as_me:$LINENO: result: no" >&5
5299 $as_echo "no" >&6; }
5303 test -n "$OBJC" && break
5306 if test -z "$OBJC"; then
5308 for ac_prog in gcc objcc objc cc CC
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy $ac_prog; ac_word=$2
5312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
5315 $as_echo_n "(cached) " >&6
5317 if test -n "$ac_ct_OBJC"; then
5318 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327 ac_cv_prog_ac_ct_OBJC="$ac_prog"
5328 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
5338 if test -n "$ac_ct_OBJC"; then
5339 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
5340 $as_echo "$ac_ct_OBJC" >&6; }
5342 { $as_echo "$as_me:$LINENO: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$ac_ct_OBJC" && break
5350 if test "x$ac_ct_OBJC" = x; then
5353 case $cross_compiling:$ac_tool_warned in
5355 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned=yes ;;
5363 # Provide some information about the compiler.
5364 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
5367 { (ac_try="$ac_compiler --version >&5"
5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5373 $as_echo "$ac_try_echo") >&5
5374 (eval "$ac_compiler --version >&5") 2>&5
5376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }
5378 { (ac_try="$ac_compiler -v >&5"
5380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5381 *) ac_try_echo=$ac_try;;
5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5384 $as_echo "$ac_try_echo") >&5
5385 (eval "$ac_compiler -v >&5") 2>&5
5387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }
5389 { (ac_try="$ac_compiler -V >&5"
5391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392 *) ac_try_echo=$ac_try;;
5394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5395 $as_echo "$ac_try_echo") >&5
5396 (eval "$ac_compiler -V >&5") 2>&5
5398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }
5401 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
5402 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
5403 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
5404 $as_echo_n "(cached) " >&6
5406 cat >conftest.$ac_ext <<_ACEOF
5409 cat confdefs.h >>conftest.$ac_ext
5410 cat >>conftest.$ac_ext <<_ACEOF
5411 /* end confdefs.h. */
5424 rm -f conftest.$ac_objext
5425 if { (ac_try="$ac_compile"
5427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5428 *) ac_try_echo=$ac_try;;
5430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5431 $as_echo "$ac_try_echo") >&5
5432 (eval "$ac_compile") 2>conftest.er1
5434 grep -v '^ *+' conftest.er1 >conftest.err
5436 cat conftest.err >&5
5437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } && {
5439 test -z "$ac_objc_werror_flag" ||
5440 test ! -s conftest.err
5441 } && test -s conftest.$ac_objext; then
5444 $as_echo "$as_me: failed program was:" >&5
5445 sed 's/^/| /' conftest.$ac_ext >&5
5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5451 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5454 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
5455 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
5456 if test $ac_compiler_gnu = yes; then
5461 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5462 ac_save_OBJCFLAGS=$OBJCFLAGS
5463 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
5464 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
5465 if test "${ac_cv_prog_objc_g+set}" = set; then
5466 $as_echo_n "(cached) " >&6
5468 ac_save_objc_werror_flag=$ac_objc_werror_flag
5469 ac_objc_werror_flag=yes
5470 ac_cv_prog_objc_g=no
5472 cat >conftest.$ac_ext <<_ACEOF
5475 cat confdefs.h >>conftest.$ac_ext
5476 cat >>conftest.$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5487 rm -f conftest.$ac_objext
5488 if { (ac_try="$ac_compile"
5490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5491 *) ac_try_echo=$ac_try;;
5493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5494 $as_echo "$ac_try_echo") >&5
5495 (eval "$ac_compile") 2>conftest.er1
5497 grep -v '^ *+' conftest.er1 >conftest.err
5499 cat conftest.err >&5
5500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && {
5502 test -z "$ac_objc_werror_flag" ||
5503 test ! -s conftest.err
5504 } && test -s conftest.$ac_objext; then
5505 ac_cv_prog_objc_g=yes
5507 $as_echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5511 cat >conftest.$ac_ext <<_ACEOF
5514 cat confdefs.h >>conftest.$ac_ext
5515 cat >>conftest.$ac_ext <<_ACEOF
5516 /* end confdefs.h. */
5526 rm -f conftest.$ac_objext
5527 if { (ac_try="$ac_compile"
5529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5530 *) ac_try_echo=$ac_try;;
5532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5533 $as_echo "$ac_try_echo") >&5
5534 (eval "$ac_compile") 2>conftest.er1
5536 grep -v '^ *+' conftest.er1 >conftest.err
5538 cat conftest.err >&5
5539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } && {
5541 test -z "$ac_objc_werror_flag" ||
5542 test ! -s conftest.err
5543 } && test -s conftest.$ac_objext; then
5546 $as_echo "$as_me: failed program was:" >&5
5547 sed 's/^/| /' conftest.$ac_ext >&5
5549 ac_objc_werror_flag=$ac_save_objc_werror_flag
5551 cat >conftest.$ac_ext <<_ACEOF
5554 cat confdefs.h >>conftest.$ac_ext
5555 cat >>conftest.$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5566 rm -f conftest.$ac_objext
5567 if { (ac_try="$ac_compile"
5569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5570 *) ac_try_echo=$ac_try;;
5572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5573 $as_echo "$ac_try_echo") >&5
5574 (eval "$ac_compile") 2>conftest.er1
5576 grep -v '^ *+' conftest.er1 >conftest.err
5578 cat conftest.err >&5
5579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } && {
5581 test -z "$ac_objc_werror_flag" ||
5582 test ! -s conftest.err
5583 } && test -s conftest.$ac_objext; then
5584 ac_cv_prog_objc_g=yes
5586 $as_echo "$as_me: failed program was:" >&5
5587 sed 's/^/| /' conftest.$ac_ext >&5
5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5599 ac_objc_werror_flag=$ac_save_objc_werror_flag
5601 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
5602 $as_echo "$ac_cv_prog_objc_g" >&6; }
5603 if test "$ac_test_OBJCFLAGS" = set; then
5604 OBJCFLAGS=$ac_save_OBJCFLAGS
5605 elif test $ac_cv_prog_objc_g = yes; then
5606 if test "$GOBJC" = yes; then
5612 if test "$GOBJC" = yes; then
5619 ac_cpp='$CPP $CPPFLAGS'
5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5624 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5625 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5626 if test "${ac_cv_path_SED+set}" = set; then
5627 $as_echo_n "(cached) " >&6
5629 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5630 for ac_i in 1 2 3 4 5 6 7; do
5631 ac_script="$ac_script$as_nl$ac_script"
5633 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5634 $as_unset ac_script || ac_script=
5635 if test -z "$SED"; then
5636 ac_path_SED_found=false
5637 # Loop through the user's path and test for each of PROGNAME-LIST
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir=.
5643 for ac_prog in sed gsed; do
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5646 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5647 # Check for GNU ac_path_SED and select it if it is found.
5648 # Check for GNU $ac_path_SED
5649 case `"$ac_path_SED" --version 2>&1` in
5651 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5654 $as_echo_n 0123456789 >"conftest.in"
5657 cat "conftest.in" "conftest.in" >"conftest.tmp"
5658 mv "conftest.tmp" "conftest.in"
5659 cp "conftest.in" "conftest.nl"
5660 $as_echo '' >> "conftest.nl"
5661 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5663 ac_count=`expr $ac_count + 1`
5664 if test $ac_count -gt ${ac_path_SED_max-0}; then
5665 # Best one so far, save it but keep looking for a better one
5666 ac_cv_path_SED="$ac_path_SED"
5667 ac_path_SED_max=$ac_count
5669 # 10*(2^10) chars as input seems more than enough
5670 test $ac_count -gt 10 && break
5672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5675 $ac_path_SED_found && break 3
5680 if test -z "$ac_cv_path_SED"; then
5681 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5682 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5683 { (exit 1); exit 1; }; }
5690 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5691 $as_echo "$ac_cv_path_SED" >&6; }
5692 SED="$ac_cv_path_SED"
5695 # By default we simply use the C compiler to build assembly code.
5697 test "${CCAS+set}" = set || CCAS=$CC
5698 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5703 ac_cpp='$CPP $CPPFLAGS'
5704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5707 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5708 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5709 # On Suns, sometimes $CPP names a directory.
5710 if test -n "$CPP" && test -d "$CPP"; then
5713 if test -z "$CPP"; then
5714 if test "${ac_cv_prog_CPP+set}" = set; then
5715 $as_echo_n "(cached) " >&6
5717 # Double quotes because CPP needs to be expanded
5718 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5721 for ac_c_preproc_warn_flag in '' yes
5723 # Use a header file that comes with gcc, so configuring glibc
5724 # with a fresh cross-compiler works.
5725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5726 # <limits.h> exists even on freestanding compilers.
5727 # On the NeXT, cc -E runs the code through the compiler's parser,
5728 # not just through cpp. "Syntax error" is here to catch this case.
5729 cat >conftest.$ac_ext <<_ACEOF
5732 cat confdefs.h >>conftest.$ac_ext
5733 cat >>conftest.$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5736 # include <limits.h>
5738 # include <assert.h>
5742 if { (ac_try="$ac_cpp conftest.$ac_ext"
5744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5745 *) ac_try_echo=$ac_try;;
5747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5748 $as_echo "$ac_try_echo") >&5
5749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5751 grep -v '^ *+' conftest.er1 >conftest.err
5753 cat conftest.err >&5
5754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } >/dev/null && {
5756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5757 test ! -s conftest.err
5761 $as_echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.$ac_ext >&5
5764 # Broken: fails on valid input.
5768 rm -f conftest.err conftest.$ac_ext
5770 # OK, works on sane cases. Now check whether nonexistent headers
5771 # can be detected and how.
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5778 #include <ac_nonexistent.h>
5780 if { (ac_try="$ac_cpp conftest.$ac_ext"
5782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783 *) ac_try_echo=$ac_try;;
5785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5786 $as_echo "$ac_try_echo") >&5
5787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1 >conftest.err
5791 cat conftest.err >&5
5792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } >/dev/null && {
5794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5797 # Broken: success on invalid input.
5800 $as_echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.$ac_ext >&5
5803 # Passes both tests.
5808 rm -f conftest.err conftest.$ac_ext
5811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5812 rm -f conftest.err conftest.$ac_ext
5813 if $ac_preproc_ok; then
5825 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5826 $as_echo "$CPP" >&6; }
5828 for ac_c_preproc_warn_flag in '' yes
5830 # Use a header file that comes with gcc, so configuring glibc
5831 # with a fresh cross-compiler works.
5832 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5833 # <limits.h> exists even on freestanding compilers.
5834 # On the NeXT, cc -E runs the code through the compiler's parser,
5835 # not just through cpp. "Syntax error" is here to catch this case.
5836 cat >conftest.$ac_ext <<_ACEOF
5839 cat confdefs.h >>conftest.$ac_ext
5840 cat >>conftest.$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5843 # include <limits.h>
5845 # include <assert.h>
5849 if { (ac_try="$ac_cpp conftest.$ac_ext"
5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852 *) ac_try_echo=$ac_try;;
5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5855 $as_echo "$ac_try_echo") >&5
5856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5858 grep -v '^ *+' conftest.er1 >conftest.err
5860 cat conftest.err >&5
5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } >/dev/null && {
5863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5864 test ! -s conftest.err
5868 $as_echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 # Broken: fails on valid input.
5875 rm -f conftest.err conftest.$ac_ext
5877 # OK, works on sane cases. Now check whether nonexistent headers
5878 # can be detected and how.
5879 cat >conftest.$ac_ext <<_ACEOF
5882 cat confdefs.h >>conftest.$ac_ext
5883 cat >>conftest.$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5885 #include <ac_nonexistent.h>
5887 if { (ac_try="$ac_cpp conftest.$ac_ext"
5889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5890 *) ac_try_echo=$ac_try;;
5892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5893 $as_echo "$ac_try_echo") >&5
5894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5896 grep -v '^ *+' conftest.er1 >conftest.err
5898 cat conftest.err >&5
5899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } >/dev/null && {
5901 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5902 test ! -s conftest.err
5904 # Broken: success on invalid input.
5907 $as_echo "$as_me: failed program was:" >&5
5908 sed 's/^/| /' conftest.$ac_ext >&5
5910 # Passes both tests.
5915 rm -f conftest.err conftest.$ac_ext
5918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5919 rm -f conftest.err conftest.$ac_ext
5920 if $ac_preproc_ok; then
5923 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5925 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5926 See \`config.log' for more details." >&5
5927 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5928 See \`config.log' for more details." >&2;}
5929 { (exit 1); exit 1; }; }; }
5933 ac_cpp='$CPP $CPPFLAGS'
5934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5939 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5940 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5941 if test "${ac_cv_path_GREP+set}" = set; then
5942 $as_echo_n "(cached) " >&6
5944 if test -z "$GREP"; then
5945 ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5951 test -z "$as_dir" && as_dir=.
5952 for ac_prog in grep ggrep; do
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956 # Check for GNU ac_path_GREP and select it if it is found.
5957 # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5963 $as_echo_n 0123456789 >"conftest.in"
5966 cat "conftest.in" "conftest.in" >"conftest.tmp"
5967 mv "conftest.tmp" "conftest.in"
5968 cp "conftest.in" "conftest.nl"
5969 $as_echo 'GREP' >> "conftest.nl"
5970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972 ac_count=`expr $ac_count + 1`
5973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974 # Best one so far, save it but keep looking for a better one
5975 ac_cv_path_GREP="$ac_path_GREP"
5976 ac_path_GREP_max=$ac_count
5978 # 10*(2^10) chars as input seems more than enough
5979 test $ac_count -gt 10 && break
5981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5984 $ac_path_GREP_found && break 3
5989 if test -z "$ac_cv_path_GREP"; then
5990 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5991 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5992 { (exit 1); exit 1; }; }
5995 ac_cv_path_GREP=$GREP
5999 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6000 $as_echo "$ac_cv_path_GREP" >&6; }
6001 GREP="$ac_cv_path_GREP"
6004 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
6005 $as_echo_n "checking for egrep... " >&6; }
6006 if test "${ac_cv_path_EGREP+set}" = set; then
6007 $as_echo_n "(cached) " >&6
6009 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6010 then ac_cv_path_EGREP="$GREP -E"
6012 if test -z "$EGREP"; then
6013 ac_path_EGREP_found=false
6014 # Loop through the user's path and test for each of PROGNAME-LIST
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6019 test -z "$as_dir" && as_dir=.
6020 for ac_prog in egrep; do
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6023 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6024 # Check for GNU ac_path_EGREP and select it if it is found.
6025 # Check for GNU $ac_path_EGREP
6026 case `"$ac_path_EGREP" --version 2>&1` in
6028 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6031 $as_echo_n 0123456789 >"conftest.in"
6034 cat "conftest.in" "conftest.in" >"conftest.tmp"
6035 mv "conftest.tmp" "conftest.in"
6036 cp "conftest.in" "conftest.nl"
6037 $as_echo 'EGREP' >> "conftest.nl"
6038 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6039 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6040 ac_count=`expr $ac_count + 1`
6041 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6042 # Best one so far, save it but keep looking for a better one
6043 ac_cv_path_EGREP="$ac_path_EGREP"
6044 ac_path_EGREP_max=$ac_count
6046 # 10*(2^10) chars as input seems more than enough
6047 test $ac_count -gt 10 && break
6049 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6052 $ac_path_EGREP_found && break 3
6057 if test -z "$ac_cv_path_EGREP"; then
6058 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6059 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6060 { (exit 1); exit 1; }; }
6063 ac_cv_path_EGREP=$EGREP
6068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6069 $as_echo "$ac_cv_path_EGREP" >&6; }
6070 EGREP="$ac_cv_path_EGREP"
6073 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6074 $as_echo_n "checking for ANSI C header files... " >&6; }
6075 if test "${ac_cv_header_stdc+set}" = set; then
6076 $as_echo_n "(cached) " >&6
6078 cat >conftest.$ac_ext <<_ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6097 rm -f conftest.$ac_objext
6098 if { (ac_try="$ac_compile"
6100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101 *) ac_try_echo=$ac_try;;
6103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6104 $as_echo "$ac_try_echo") >&5
6105 (eval "$ac_compile") 2>conftest.er1
6107 grep -v '^ *+' conftest.er1 >conftest.err
6109 cat conftest.err >&5
6110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && {
6112 test -z "$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 } && test -s conftest.$ac_objext; then
6115 ac_cv_header_stdc=yes
6117 $as_echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.$ac_ext >&5
6120 ac_cv_header_stdc=no
6123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6125 if test $ac_cv_header_stdc = yes; then
6126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6127 cat >conftest.$ac_ext <<_ACEOF
6130 cat confdefs.h >>conftest.$ac_ext
6131 cat >>conftest.$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6137 $EGREP "memchr" >/dev/null 2>&1; then
6140 ac_cv_header_stdc=no
6146 if test $ac_cv_header_stdc = yes; then
6147 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6148 cat >conftest.$ac_ext <<_ACEOF
6151 cat confdefs.h >>conftest.$ac_ext
6152 cat >>conftest.$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6158 $EGREP "free" >/dev/null 2>&1; then
6161 ac_cv_header_stdc=no
6167 if test $ac_cv_header_stdc = yes; then
6168 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6169 if test "$cross_compiling" = yes; then
6172 cat >conftest.$ac_ext <<_ACEOF
6175 cat confdefs.h >>conftest.$ac_ext
6176 cat >>conftest.$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6180 #if ((' ' & 0x0FF) == 0x020)
6181 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6182 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6184 # define ISLOWER(c) \
6185 (('a' <= (c) && (c) <= 'i') \
6186 || ('j' <= (c) && (c) <= 'r') \
6187 || ('s' <= (c) && (c) <= 'z'))
6188 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6191 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6196 for (i = 0; i < 256; i++)
6197 if (XOR (islower (i), ISLOWER (i))
6198 || toupper (i) != TOUPPER (i))
6203 rm -f conftest$ac_exeext
6204 if { (ac_try="$ac_link"
6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6207 *) ac_try_echo=$ac_try;;
6209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6210 $as_echo "$ac_try_echo") >&5
6211 (eval "$ac_link") 2>&5
6213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6215 { (case "(($ac_try" in
6216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6217 *) ac_try_echo=$ac_try;;
6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220 $as_echo "$ac_try_echo") >&5
6221 (eval "$ac_try") 2>&5
6223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }; }; then
6227 $as_echo "$as_me: program exited with status $ac_status" >&5
6228 $as_echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_header_stdc=no
6234 rm -rf conftest.dSYM
6235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6241 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6242 $as_echo "$ac_cv_header_stdc" >&6; }
6243 if test $ac_cv_header_stdc = yes; then
6245 cat >>confdefs.h <<\_ACEOF
6246 #define STDC_HEADERS 1
6251 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6261 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6262 inttypes.h stdint.h unistd.h
6264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6266 $as_echo_n "checking for $ac_header... " >&6; }
6267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6268 $as_echo_n "(cached) " >&6
6270 cat >conftest.$ac_ext <<_ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6276 $ac_includes_default
6278 #include <$ac_header>
6280 rm -f conftest.$ac_objext
6281 if { (ac_try="$ac_compile"
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6287 $as_echo "$ac_try_echo") >&5
6288 (eval "$ac_compile") 2>conftest.er1
6290 grep -v '^ *+' conftest.er1 >conftest.err
6292 cat conftest.err >&5
6293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && {
6295 test -z "$ac_c_werror_flag" ||
6296 test ! -s conftest.err
6297 } && test -s conftest.$ac_objext; then
6298 eval "$as_ac_Header=yes"
6300 $as_echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 eval "$as_ac_Header=no"
6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6308 ac_res=`eval 'as_val=${'$as_ac_Header'}
6309 $as_echo "$as_val"'`
6310 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6311 $as_echo "$ac_res" >&6; }
6312 as_val=`eval 'as_val=${'$as_ac_Header'}
6313 $as_echo "$as_val"'`
6314 if test "x$as_val" = x""yes; then
6315 cat >>confdefs.h <<_ACEOF
6316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6324 # The cast to long int works around a bug in the HP C Compiler
6325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6327 # This bug is HP SR number 8606223364.
6328 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
6329 $as_echo_n "checking size of void *... " >&6; }
6330 if test "${ac_cv_sizeof_void_p+set}" = set; then
6331 $as_echo_n "(cached) " >&6
6333 if test "$cross_compiling" = yes; then
6334 # Depending upon the size, compute the lo and hi bounds.
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 $ac_includes_default
6345 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
6352 rm -f conftest.$ac_objext
6353 if { (ac_try="$ac_compile"
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6359 $as_echo "$ac_try_echo") >&5
6360 (eval "$ac_compile") 2>conftest.er1
6362 grep -v '^ *+' conftest.er1 >conftest.err
6364 cat conftest.err >&5
6365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } && {
6367 test -z "$ac_c_werror_flag" ||
6368 test ! -s conftest.err
6369 } && test -s conftest.$ac_objext; then
6372 cat >conftest.$ac_ext <<_ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 $ac_includes_default
6382 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6389 rm -f conftest.$ac_objext
6390 if { (ac_try="$ac_compile"
6392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393 *) ac_try_echo=$ac_try;;
6395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6396 $as_echo "$ac_try_echo") >&5
6397 (eval "$ac_compile") 2>conftest.er1
6399 grep -v '^ *+' conftest.er1 >conftest.err
6401 cat conftest.err >&5
6402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } && {
6404 test -z "$ac_c_werror_flag" ||
6405 test ! -s conftest.err
6406 } && test -s conftest.$ac_objext; then
6407 ac_hi=$ac_mid; break
6409 $as_echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6412 ac_lo=`expr $ac_mid + 1`
6413 if test $ac_lo -le $ac_mid; then
6417 ac_mid=`expr 2 '*' $ac_mid + 1`
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 $as_echo "$as_me: failed program was:" >&5
6424 sed 's/^/| /' conftest.$ac_ext >&5
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 $ac_includes_default
6436 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
6443 rm -f conftest.$ac_objext
6444 if { (ac_try="$ac_compile"
6446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6450 $as_echo "$ac_try_echo") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6453 grep -v '^ *+' conftest.er1 >conftest.err
6455 cat conftest.err >&5
6456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.$ac_objext; then
6463 cat >conftest.$ac_ext <<_ACEOF
6466 cat confdefs.h >>conftest.$ac_ext
6467 cat >>conftest.$ac_ext <<_ACEOF
6468 /* end confdefs.h. */
6469 $ac_includes_default
6473 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
6480 rm -f conftest.$ac_objext
6481 if { (ac_try="$ac_compile"
6483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6484 *) ac_try_echo=$ac_try;;
6486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6487 $as_echo "$ac_try_echo") >&5
6488 (eval "$ac_compile") 2>conftest.er1
6490 grep -v '^ *+' conftest.er1 >conftest.err
6492 cat conftest.err >&5
6493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); } && {
6495 test -z "$ac_c_werror_flag" ||
6496 test ! -s conftest.err
6497 } && test -s conftest.$ac_objext; then
6498 ac_lo=$ac_mid; break
6500 $as_echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.$ac_ext >&5
6503 ac_hi=`expr '(' $ac_mid ')' - 1`
6504 if test $ac_mid -le $ac_hi; then
6508 ac_mid=`expr 2 '*' $ac_mid`
6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6514 $as_echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 # Binary search between lo and hi bounds.
6525 while test "x$ac_lo" != "x$ac_hi"; do
6526 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6527 cat >conftest.$ac_ext <<_ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6537 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6544 rm -f conftest.$ac_objext
6545 if { (ac_try="$ac_compile"
6547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6548 *) ac_try_echo=$ac_try;;
6550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6551 $as_echo "$ac_try_echo") >&5
6552 (eval "$ac_compile") 2>conftest.er1
6554 grep -v '^ *+' conftest.er1 >conftest.err
6556 cat conftest.err >&5
6557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } && {
6559 test -z "$ac_c_werror_flag" ||
6560 test ! -s conftest.err
6561 } && test -s conftest.$ac_objext; then
6564 $as_echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_lo=`expr '(' $ac_mid ')' + 1`
6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6573 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6574 '') if test "$ac_cv_type_void_p" = yes; then
6575 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6577 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6578 See \`config.log' for more details." >&5
6579 $as_echo "$as_me: error: cannot compute sizeof (void *)
6580 See \`config.log' for more details." >&2;}
6581 { (exit 77); exit 77; }; }; }
6583 ac_cv_sizeof_void_p=0
6587 cat >conftest.$ac_ext <<_ACEOF
6590 cat confdefs.h >>conftest.$ac_ext
6591 cat >>conftest.$ac_ext <<_ACEOF
6592 /* end confdefs.h. */
6593 $ac_includes_default
6594 static long int longval () { return (long int) (sizeof (void *)); }
6595 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6602 FILE *f = fopen ("conftest.val", "w");
6605 if (((long int) (sizeof (void *))) < 0)
6607 long int i = longval ();
6608 if (i != ((long int) (sizeof (void *))))
6610 fprintf (f, "%ld", i);
6614 unsigned long int i = ulongval ();
6615 if (i != ((long int) (sizeof (void *))))
6617 fprintf (f, "%lu", i);
6619 /* Do not output a trailing newline, as this causes \r\n confusion
6620 on some platforms. */
6621 return ferror (f) || fclose (f) != 0;
6627 rm -f conftest$ac_exeext
6628 if { (ac_try="$ac_link"
6630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6631 *) ac_try_echo=$ac_try;;
6633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6634 $as_echo "$ac_try_echo") >&5
6635 (eval "$ac_link") 2>&5
6637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6639 { (case "(($ac_try" in
6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6641 *) ac_try_echo=$ac_try;;
6643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6644 $as_echo "$ac_try_echo") >&5
6645 (eval "$ac_try") 2>&5
6647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_cv_sizeof_void_p=`cat conftest.val`
6651 $as_echo "$as_me: program exited with status $ac_status" >&5
6652 $as_echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.$ac_ext >&5
6656 if test "$ac_cv_type_void_p" = yes; then
6657 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6659 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6660 See \`config.log' for more details." >&5
6661 $as_echo "$as_me: error: cannot compute sizeof (void *)
6662 See \`config.log' for more details." >&2;}
6663 { (exit 77); exit 77; }; }; }
6665 ac_cv_sizeof_void_p=0
6668 rm -rf conftest.dSYM
6669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6673 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6674 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6678 cat >>confdefs.h <<_ACEOF
6679 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6683 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6684 $as_echo_n "checking for ANSI C header files... " >&6; }
6685 if test "${ac_cv_header_stdc+set}" = set; then
6686 $as_echo_n "(cached) " >&6
6688 cat >conftest.$ac_ext <<_ACEOF
6691 cat confdefs.h >>conftest.$ac_ext
6692 cat >>conftest.$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6707 rm -f conftest.$ac_objext
6708 if { (ac_try="$ac_compile"
6710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711 *) ac_try_echo=$ac_try;;
6713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6714 $as_echo "$ac_try_echo") >&5
6715 (eval "$ac_compile") 2>conftest.er1
6717 grep -v '^ *+' conftest.er1 >conftest.err
6719 cat conftest.err >&5
6720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } && {
6722 test -z "$ac_c_werror_flag" ||
6723 test ! -s conftest.err
6724 } && test -s conftest.$ac_objext; then
6725 ac_cv_header_stdc=yes
6727 $as_echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.$ac_ext >&5
6730 ac_cv_header_stdc=no
6733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6735 if test $ac_cv_header_stdc = yes; then
6736 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6737 cat >conftest.$ac_ext <<_ACEOF
6740 cat confdefs.h >>conftest.$ac_ext
6741 cat >>conftest.$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6747 $EGREP "memchr" >/dev/null 2>&1; then
6750 ac_cv_header_stdc=no
6756 if test $ac_cv_header_stdc = yes; then
6757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6758 cat >conftest.$ac_ext <<_ACEOF
6761 cat confdefs.h >>conftest.$ac_ext
6762 cat >>conftest.$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6768 $EGREP "free" >/dev/null 2>&1; then
6771 ac_cv_header_stdc=no
6777 if test $ac_cv_header_stdc = yes; then
6778 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6779 if test "$cross_compiling" = yes; then
6782 cat >conftest.$ac_ext <<_ACEOF
6785 cat confdefs.h >>conftest.$ac_ext
6786 cat >>conftest.$ac_ext <<_ACEOF
6787 /* end confdefs.h. */