2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
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>
647 program_transform_name
688 INSTALL_STRIP_PROGRAM
697 MAINTAINER_MODE_FALSE
802 enable_option_checking
803 enable_maintainer_mode
804 enable_dependency_tracking
815 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir | --bindir | --bindi | --bind | --bin | --bi)
913 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 -build | --build | --buil | --bui | --bu)
917 ac_prev=build_alias ;;
918 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
919 build_alias=$ac_optarg ;;
921 -cache-file | --cache-file | --cache-fil | --cache-fi \
922 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
923 ac_prev=cache_file ;;
924 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
925 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
926 cache_file=$ac_optarg ;;
929 cache_file=config.cache ;;
931 -datadir | --datadir | --datadi | --datad)
933 -datadir=* | --datadir=* | --datadi=* | --datad=*)
934 datadir=$ac_optarg ;;
936 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
937 | --dataroo | --dataro | --datar)
938 ac_prev=datarootdir ;;
939 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
940 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
941 datarootdir=$ac_optarg ;;
943 -disable-* | --disable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
948 { (exit 1); exit 1; }; }
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
975 { (exit 1); exit 1; }; }
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1180 { (exit 1); exit 1; }; }
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1190 eval with_$ac_useropt=\$ac_optarg ;;
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1197 { (exit 1); exit 1; }; }
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval with_$ac_useropt=no ;;
1210 # Obsolete; use --with-x.
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1228 Try \`$0 --help' for more information." >&2
1229 { (exit 1); exit 1; }; }
1233 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1236 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1237 { (exit 1); exit 1; }; }
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1255 { (exit 1); exit 1; }; }
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1262 { (exit 1); exit 1; }; } ;;
1263 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val=\$$ac_var
1274 # Remove trailing slashes.
1277 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$]* | ?:[\\/]* ) continue;;
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1285 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1286 { (exit 1); exit 1; }; }
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x; then
1298 if test "x$build_alias" = x; then
1299 cross_compiling=maybe
1300 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used." >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310 test "$silent" = yes && exec 6>/dev/null
1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di=`ls -di .` &&
1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1317 { (exit 1); exit 1; }; }
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1320 { (exit 1); exit 1; }; }
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1359 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1360 { (exit 1); exit 1; }; }
1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1365 { (exit 1); exit 1; }; }
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var in $ac_precious_vars; do
1378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_${ac_var}_value=\$${ac_var}
1380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1454 --build=BUILD configure for building on BUILD [guessed]
1455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 if test -n "$ac_init_help"; then
1464 --disable-option-checking ignore unrecognized --enable/--with options
1465 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1466 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1467 --enable-maintainer-mode enable make rules and dependencies not useful
1468 (and sometimes confusing) to the casual installer
1469 --disable-dependency-tracking speeds up one-time build
1470 --enable-dependency-tracking do not reject slow dependency extractors
1471 --enable-strict-warn Enable strict compilation warnings
1472 --disable-translator Disable the SH4 translator (Enable by default)
1473 --enable-trace Enable generation of IO traces (warning: hurts
1475 --enable-watch Enable watchpoints in the debugger (warning: hurts
1477 --enable-sh4stats Enable statistics on executed sh4 instructions
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-osmesa Build with the osmesa GL library (software
1484 --with-gtk Build with the GTK UI. Default on X11 systems
1485 --with-esd Build with support for the ESounD audio system
1486 --with-pulse Build with support for the PulseAudio audio system
1488 Some influential environment variables:
1489 CC C compiler command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492 nonstandard directory <lib dir>
1493 LIBS libraries to pass to the linker, e.g. -l<library>
1494 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 you have headers in a nonstandard directory <include dir>
1496 CCAS assembler compiler command (defaults to CC)
1497 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1499 PKG_CONFIG path to pkg-config utility
1501 C compiler flags for LIBPNG, overriding pkg-config
1502 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1503 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1504 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1505 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1506 GTK_LIBS linker flags for GTK, overriding pkg-config
1508 C compiler flags for PULSE, overriding pkg-config
1509 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1511 C compiler flags for ESOUND, overriding pkg-config
1512 ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
1513 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1514 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1516 Use these variables to override the choices made by `configure' or to help
1517 it to find libraries and programs with nonstandard names/locations.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" ||
1527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1535 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1537 case $ac_top_builddir_sub in
1538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1548 .) # We are building in place.
1550 ac_top_srcdir=$ac_top_builddir_sub
1551 ac_abs_top_srcdir=$ac_pwd ;;
1552 [\\/]* | ?:[\\/]* ) # Absolute name.
1553 ac_srcdir=$srcdir$ac_dir_suffix;
1554 ac_top_srcdir=$srcdir
1555 ac_abs_top_srcdir=$srcdir ;;
1557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558 ac_top_srcdir=$ac_top_build_prefix$srcdir
1559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1565 if test -f "$ac_srcdir/configure.gnu"; then
1567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568 elif test -f "$ac_srcdir/configure"; then
1570 $SHELL "$ac_srcdir/configure" --help=recursive
1572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 cd "$ac_pwd" || { ac_status=$?; break; }
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1582 generated by GNU Autoconf 2.62
1584 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1585 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1591 cat >config.log <<_ACEOF
1592 This file contains any messages produced by compilers while
1593 running configure, to aid debugging if configure makes a mistake.
1595 It was created by $as_me, which was
1596 generated by GNU Autoconf 2.62. Invocation command line was
1608 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1609 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1610 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1611 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1612 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1614 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1615 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1617 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1618 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1619 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1620 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1621 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1622 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1623 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 $as_echo "PATH: $as_dir"
1648 # Keep a trace of the command line.
1649 # Strip out --no-create and --no-recursion so they do not pile up.
1650 # Strip out --silent because we don't want to record it for future runs.
1651 # Also quote any args containing shell meta-characters.
1652 # Make two passes to allow for proper duplicate-argument suppression.
1656 ac_must_keep_next=false
1662 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1664 | -silent | --silent | --silen | --sile | --sil)
1667 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1670 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1672 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1673 if test $ac_must_keep_next = true; then
1674 ac_must_keep_next=false # Got value, back to normal.
1677 *=* | --config-cache | -C | -disable-* | --disable-* \
1678 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1679 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1680 | -with-* | --with-* | -without-* | --without-* | --x)
1681 case "$ac_configure_args0 " in
1682 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1685 -* ) ac_must_keep_next=true ;;
1688 ac_configure_args="$ac_configure_args '$ac_arg'"
1693 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1694 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1696 # When interrupted or exit'd, cleanup temporary files, and complete
1697 # config.log. We remove comments because anyway the quotes in there
1698 # would cause problems or look ugly.
1699 # WARNING: Use '\'' to represent an apostrophe within the trap.
1700 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1701 trap 'exit_status=$?
1702 # Save into config.log some information that might help in debugging.
1707 ## ---------------- ##
1708 ## Cache variables. ##
1709 ## ---------------- ##
1712 # The following way of writing the cache mishandles newlines in values,
1714 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1715 eval ac_val=\$$ac_var
1719 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1720 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1723 _ | IFS | as_nl) ;; #(
1724 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1725 *) $as_unset $ac_var ;;
1730 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1731 *${as_nl}ac_space=\ *)
1733 "s/'\''/'\''\\\\'\'''\''/g;
1734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1737 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1745 ## ----------------- ##
1746 ## Output variables. ##
1747 ## ----------------- ##
1750 for ac_var in $ac_subst_vars
1752 eval ac_val=\$$ac_var
1754 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1756 $as_echo "$ac_var='\''$ac_val'\''"
1760 if test -n "$ac_subst_files"; then
1762 ## ------------------- ##
1763 ## File substitutions. ##
1764 ## ------------------- ##
1767 for ac_var in $ac_subst_files
1769 eval ac_val=\$$ac_var
1771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 $as_echo "$ac_var='\''$ac_val'\''"
1778 if test -s confdefs.h; then
1788 test "$ac_signal" != 0 &&
1789 $as_echo "$as_me: caught signal $ac_signal"
1790 $as_echo "$as_me: exit $exit_status"
1792 rm -f core *.core core.conftest.* &&
1793 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1796 for ac_signal in 1 2 13 15; do
1797 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1802 rm -f -r conftest* confdefs.h
1804 # Predefined preprocessor variables.
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_NAME "$PACKAGE_NAME"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_STRING "$PACKAGE_STRING"
1826 cat >>confdefs.h <<_ACEOF
1827 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1831 # Let the site file select an alternate cache file if it wants to.
1832 # Prefer an explicitly selected file to automatically selected ones.
1835 if test -n "$CONFIG_SITE"; then
1836 ac_site_file1=$CONFIG_SITE
1837 elif test "x$prefix" != xNONE; then
1838 ac_site_file1=$prefix/share/config.site
1839 ac_site_file2=$prefix/etc/config.site
1841 ac_site_file1=$ac_default_prefix/share/config.site
1842 ac_site_file2=$ac_default_prefix/etc/config.site
1844 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1846 test "x$ac_site_file" = xNONE && continue
1847 if test -r "$ac_site_file"; then
1848 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1849 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1850 sed 's/^/| /' "$ac_site_file" >&5
1855 if test -r "$cache_file"; then
1856 # Some versions of bash will fail to source /dev/null (special
1857 # files actually), so we avoid doing that.
1858 if test -f "$cache_file"; then
1859 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1860 $as_echo "$as_me: loading cache $cache_file" >&6;}
1862 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1863 *) . "./$cache_file";;
1867 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1868 $as_echo "$as_me: creating cache $cache_file" >&6;}
1872 # Check that the precious variables saved in the cache have kept the same
1874 ac_cache_corrupted=false
1875 for ac_var in $ac_precious_vars; do
1876 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1877 eval ac_new_set=\$ac_env_${ac_var}_set
1878 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1879 eval ac_new_val=\$ac_env_${ac_var}_value
1880 case $ac_old_set,$ac_new_set in
1882 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1883 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1884 ac_cache_corrupted=: ;;
1886 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1887 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1888 ac_cache_corrupted=: ;;
1891 if test "x$ac_old_val" != "x$ac_new_val"; then
1892 # differences in whitespace do not lead to failure.
1893 ac_old_val_w=`echo x $ac_old_val`
1894 ac_new_val_w=`echo x $ac_new_val`
1895 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1896 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1897 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1898 ac_cache_corrupted=:
1900 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1901 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1902 eval $ac_var=\$ac_old_val
1904 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1905 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1906 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1907 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1910 # Pass precious variables to config.status.
1911 if test "$ac_new_set" = set; then
1913 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1914 *) ac_arg=$ac_var=$ac_new_val ;;
1916 case " $ac_configure_args " in
1917 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1918 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1922 if $ac_cache_corrupted; then
1923 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1924 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1925 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1927 { (exit 1); exit 1; }; }
1947 ac_cpp='$CPP $CPPFLAGS'
1948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1953 am__api_version="1.9"
1955 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1956 if test -f "$ac_dir/install-sh"; then
1958 ac_install_sh="$ac_aux_dir/install-sh -c"
1960 elif test -f "$ac_dir/install.sh"; then
1962 ac_install_sh="$ac_aux_dir/install.sh -c"
1964 elif test -f "$ac_dir/shtool"; then
1966 ac_install_sh="$ac_aux_dir/shtool install -c"
1970 if test -z "$ac_aux_dir"; then
1971 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1972 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1973 { (exit 1); exit 1; }; }
1976 # These three variables are undocumented and unsupported,
1977 # and are intended to be withdrawn in a future Autoconf release.
1978 # They can cause serious problems if a builder's source tree is in a directory
1979 # whose full name contains unusual characters.
1980 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1981 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1982 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1985 # Find a good install program. We prefer a C program (faster),
1986 # so one script is as good as another. But avoid the broken or
1987 # incompatible versions:
1988 # SysV /etc/install, /usr/sbin/install
1989 # SunOS /usr/etc/install
1990 # IRIX /sbin/install
1992 # AmigaOS /C/install, which installs bootblocks on floppy discs
1993 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1994 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1995 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1996 # OS/2's system install, which has a completely different semantic
1997 # ./install, which can be erroneously created by make from ./install.sh.
1998 # Reject install programs that cannot install multiple files.
1999 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2000 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2001 if test -z "$INSTALL"; then
2002 if test "${ac_cv_path_install+set}" = set; then
2003 $as_echo_n "(cached) " >&6
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir=.
2010 # Account for people who put trailing slashes in PATH elements.
2012 ./ | .// | /cC/* | \
2013 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2014 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2017 # OSF1 and SCO ODT 3.0 have their own names for install.
2018 # Don't use installbsd from OSF since it installs stuff as root
2020 for ac_prog in ginstall scoinst install; do
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2023 if test $ac_prog = install &&
2024 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2025 # AIX install. It has an incompatible calling convention.
2027 elif test $ac_prog = install &&
2028 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2029 # program-specific install script used by HP pwplus--don't use.
2032 rm -rf conftest.one conftest.two conftest.dir
2033 echo one > conftest.one
2034 echo two > conftest.two
2036 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2037 test -s conftest.one && test -s conftest.two &&
2038 test -s conftest.dir/conftest.one &&
2039 test -s conftest.dir/conftest.two
2041 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2054 rm -rf conftest.one conftest.two conftest.dir
2057 if test "${ac_cv_path_install+set}" = set; then
2058 INSTALL=$ac_cv_path_install
2060 # As a last resort, use the slow shell script. Don't cache a
2061 # value for INSTALL within a source directory, because that will
2062 # break other packages using the cache if that directory is
2063 # removed, or if the value is a relative name.
2064 INSTALL=$ac_install_sh
2067 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2068 $as_echo "$INSTALL" >&6; }
2070 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2071 # It thinks the first close brace ends the variable substitution.
2072 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2074 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2076 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2078 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2079 $as_echo_n "checking whether build environment is sane... " >&6; }
2082 echo timestamp > conftest.file
2083 # Do `set' in a subshell so we don't clobber the current shell's
2084 # arguments. Must try -L first in case configure is actually a
2085 # symlink; some systems play weird games with the mod time of symlinks
2086 # (eg FreeBSD returns the mod time of the symlink's containing
2089 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2090 if test "$*" = "X"; then
2092 set X `ls -t $srcdir/configure conftest.file`
2095 if test "$*" != "X $srcdir/configure conftest.file" \
2096 && test "$*" != "X conftest.file $srcdir/configure"; then
2098 # If neither matched, then we have a broken ls. This can happen
2099 # if, for instance, CONFIG_SHELL is bash and it inherits a
2100 # broken ls alias from the environment. This has actually
2101 # happened. Such a system could not be considered "sane".
2102 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&5
2104 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2105 alias in your environment" >&2;}
2106 { (exit 1); exit 1; }; }
2109 test "$2" = conftest.file
2115 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116 Check your system clock" >&5
2117 $as_echo "$as_me: error: newly created file is older than distributed files!
2118 Check your system clock" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { $as_echo "$as_me:$LINENO: result: yes" >&5
2122 $as_echo "yes" >&6; }
2123 test "$program_prefix" != NONE &&
2124 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2125 # Use a double $ so make ignores it.
2126 test "$program_suffix" != NONE &&
2127 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2128 # Double any \ or $.
2129 # By default was `s,x,x', remove it if useless.
2130 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2131 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2133 # expand $ac_aux_dir to an absolute path
2134 am_aux_dir=`cd $ac_aux_dir && pwd`
2136 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2137 # Use eval to expand $SHELL
2138 if eval "$MISSING --run true"; then
2139 am_missing_run="$MISSING --run "
2142 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2143 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2146 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2147 # We used to keeping the `.' as first argument, in order to
2148 # allow $(mkdir_p) to be used without argument. As in
2149 # $(mkdir_p) $(somedir)
2150 # where $(somedir) is conditionally defined. However this is wrong
2152 # 1. if the package is installed by a user who cannot write `.'
2153 # make install will fail,
2154 # 2. the above comment should most certainly read
2155 # $(mkdir_p) $(DESTDIR)$(somedir)
2156 # so it does not work when $(somedir) is undefined and
2157 # $(DESTDIR) is not.
2158 # To support the latter case, we have to write
2159 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2160 # so the `.' trick is pointless.
2161 mkdir_p='mkdir -p --'
2163 # On NextStep and OpenStep, the `mkdir' command does not
2164 # recognize any option. It will interpret all options as
2165 # directories to create, and then abort because `.' already
2167 for d in ./-p ./--version;
2169 test -d $d && rmdir $d
2171 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2172 if test -f "$ac_aux_dir/mkinstalldirs"; then
2173 mkdir_p='$(mkinstalldirs)'
2175 mkdir_p='$(install_sh) -d'
2179 for ac_prog in gawk mawk nawk awk
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy $ac_prog; ac_word=$2
2183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 $as_echo_n "checking for $ac_word... " >&6; }
2185 if test "${ac_cv_prog_AWK+set}" = set; then
2186 $as_echo_n "(cached) " >&6
2188 if test -n "$AWK"; then
2189 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_AWK="$ac_prog"
2199 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$AWK"; then
2210 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2211 $as_echo "$AWK" >&6; }
2213 { $as_echo "$as_me:$LINENO: result: no" >&5
2214 $as_echo "no" >&6; }
2218 test -n "$AWK" && break
2221 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2224 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2226 $as_echo_n "(cached) " >&6
2228 cat >conftest.make <<\_ACEOF
2231 @echo '@@@%%%=$(MAKE)=@@@%%%'
2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2236 eval ac_cv_prog_make_${ac_make}_set=yes;;
2238 eval ac_cv_prog_make_${ac_make}_set=no;;
2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2243 { $as_echo "$as_me:$LINENO: result: yes" >&5
2244 $as_echo "yes" >&6; }
2247 { $as_echo "$as_me:$LINENO: result: no" >&5
2248 $as_echo "no" >&6; }
2249 SET_MAKE="MAKE=${MAKE-make}"
2252 rm -rf .tst 2>/dev/null
2253 mkdir .tst 2>/dev/null
2254 if test -d .tst; then
2259 rmdir .tst 2>/dev/null
2261 # test to see if srcdir already configured
2262 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2263 test -f $srcdir/config.status; then
2264 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2265 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2266 { (exit 1); exit 1; }; }
2269 # test whether we have cygpath
2270 if test -z "$CYGPATH_W"; then
2271 if (cygpath --version) >/dev/null 2>/dev/null; then
2272 CYGPATH_W='cygpath -w'
2279 # Define the identity of the package.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE "$PACKAGE"
2289 cat >>confdefs.h <<_ACEOF
2290 #define VERSION "$VERSION"
2293 # Some tools Automake needs.
2295 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2298 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2301 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2304 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2307 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2309 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'. However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
2319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_STRIP+set}" = set; then
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$STRIP"; then
2325 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 STRIP=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2349 { $as_echo "$as_me:$LINENO: result: no" >&5
2350 $as_echo "no" >&6; }
2355 if test -z "$ac_cv_prog_STRIP"; then
2357 # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip; ac_word=$2
2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$ac_ct_STRIP"; then
2365 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_ac_ct_STRIP="strip"
2375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2389 { $as_echo "$as_me:$LINENO: result: no" >&5
2390 $as_echo "no" >&6; }
2393 if test "x$ac_ct_STRIP" = x; then
2396 case $cross_compiling:$ac_tool_warned in
2398 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&5
2401 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2404 ac_tool_warned=yes ;;
2409 STRIP="$ac_cv_prog_STRIP"
2413 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2415 # We need awk for the "check" target. The system "awk" is bad on
2417 # Always define AMTAR for backward compatibility.
2419 AMTAR=${AMTAR-"${am_missing_run}tar"}
2421 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2427 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2428 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2429 # Check whether --enable-maintainer-mode was given.
2430 if test "${enable_maintainer_mode+set}" = set; then
2431 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2433 USE_MAINTAINER_MODE=no
2436 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2437 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2440 if test $USE_MAINTAINER_MODE = yes; then
2441 MAINTAINER_MODE_TRUE=
2442 MAINTAINER_MODE_FALSE='#'
2444 MAINTAINER_MODE_TRUE='#'
2445 MAINTAINER_MODE_FALSE=
2448 MAINT=$MAINTAINER_MODE_TRUE
2451 ac_config_headers="$ac_config_headers config.h"
2454 DEPDIR="${am__leading_dot}deps"
2456 ac_config_commands="$ac_config_commands depfiles"
2459 am_make=${MAKE-make}
2460 cat > confinc << 'END'
2465 # If we don't find an include directive, just comment out the code.
2466 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2467 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2471 # First try GNU make style include.
2472 echo "include confinc" > confmf
2473 # We grep out `Entering directory' and `Leaving directory'
2474 # messages which can occur if `w' ends up in MAKEFLAGS.
2475 # In particular we don't look at `^make:' because GNU make might
2476 # be invoked under some other name (usually "gmake"), in which
2477 # case it prints its new name instead of `make'.
2478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2483 # Now try BSD make style include.
2484 if test "$am__include" = "#"; then
2485 echo '.include "confinc"' > confmf
2486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2487 am__include=.include
2494 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2495 $as_echo "$_am_result" >&6; }
2496 rm -f confinc confmf
2498 # Check whether --enable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then
2500 enableval=$enable_dependency_tracking;
2503 if test "x$enable_dependency_tracking" != xno; then
2504 am_depcomp="$ac_aux_dir/depcomp"
2509 if test "x$enable_dependency_tracking" != xno; then
2520 ac_cpp='$CPP $CPPFLAGS'
2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_CC+set}" = set; then
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2557 { $as_echo "$as_me:$LINENO: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_CC"; then
2565 # Extract the first word of "gcc", so it can be a program name with args.
2566 set dummy gcc; ac_word=$2
2567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$ac_ct_CC"; then
2573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_ac_ct_CC="gcc"
2583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2593 if test -n "$ac_ct_CC"; then
2594 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2595 $as_echo "$ac_ct_CC" >&6; }
2597 { $as_echo "$as_me:$LINENO: result: no" >&5
2598 $as_echo "no" >&6; }
2601 if test "x$ac_ct_CC" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2607 whose name does not start with the host triplet. If you think this
2608 configuration is useful to you, please write to autoconf@gnu.org." >&5
2609 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2610 whose name does not start with the host triplet. If you think this
2611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2612 ac_tool_warned=yes ;;
2620 if test -z "$CC"; then
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2623 set dummy ${ac_tool_prefix}cc; ac_word=$2
2624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if test "${ac_cv_prog_CC+set}" = set; then
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_CC="${ac_tool_prefix}cc"
2640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2652 $as_echo "$CC" >&6; }
2654 { $as_echo "$as_me:$LINENO: result: no" >&5
2655 $as_echo "no" >&6; }
2661 if test -z "$CC"; then
2662 # Extract the first word of "cc", so it can be a program name with args.
2663 set dummy cc; ac_word=$2
2664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2681 ac_prog_rejected=yes
2685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test $ac_prog_rejected = yes; then
2693 # We found a bogon in the path, so make sure we never use it.
2694 set dummy $ac_cv_prog_CC
2696 if test $# != 0; then
2697 # We chose a different compiler from the bogus one.
2698 # However, it has the same basename, so the bogon will be chosen
2699 # first if we set CC to just the basename; use the full file name.
2701 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2707 if test -n "$CC"; then
2708 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2709 $as_echo "$CC" >&6; }
2711 { $as_echo "$as_me:$LINENO: result: no" >&5
2712 $as_echo "no" >&6; }
2717 if test -z "$CC"; then
2718 if test -n "$ac_tool_prefix"; then
2719 for ac_prog in cl.exe
2721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:$LINENO: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$CC" && break
2761 if test -z "$CC"; then
2763 for ac_prog in cl.exe
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$ac_ct_CC"; then
2773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_ac_ct_CC="$ac_prog"
2783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2793 if test -n "$ac_ct_CC"; then
2794 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2795 $as_echo "$ac_ct_CC" >&6; }
2797 { $as_echo "$as_me:$LINENO: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$ac_ct_CC" && break
2805 if test "x$ac_ct_CC" = x; then
2808 case $cross_compiling:$ac_tool_warned in
2810 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2811 whose name does not start with the host triplet. If you think this
2812 configuration is useful to you, please write to autoconf@gnu.org." >&5
2813 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2814 whose name does not start with the host triplet. If you think this
2815 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2816 ac_tool_warned=yes ;;
2825 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2826 See \`config.log' for more details." >&5
2827 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&2;}
2829 { (exit 1); exit 1; }; }
2831 # Provide some information about the compiler.
2832 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2835 { (ac_try="$ac_compiler --version >&5"
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841 $as_echo "$ac_try_echo") >&5
2842 (eval "$ac_compiler --version >&5") 2>&5
2844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 { (ac_try="$ac_compiler -v >&5"
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2852 $as_echo "$ac_try_echo") >&5
2853 (eval "$ac_compiler -v >&5") 2>&5
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857 { (ac_try="$ac_compiler -V >&5"
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2863 $as_echo "$ac_try_echo") >&5
2864 (eval "$ac_compiler -V >&5") 2>&5
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 ac_clean_files_save=$ac_clean_files
2885 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2886 # Try to create an executable without -o first, disregard a.out.
2887 # It will help us diagnose broken compilers, and finding out an intuition
2889 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2890 $as_echo_n "checking for C compiler default output file name... " >&6; }
2891 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2893 # The possible output files:
2894 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2897 for ac_file in $ac_files
2900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2901 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2906 if { (ac_try="$ac_link_default"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913 (eval "$ac_link_default") 2>&5
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; then
2917 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2918 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2919 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2920 # so that the user can short-circuit this test for compilers unknown to
2922 for ac_file in $ac_files ''
2924 test -f "$ac_file" || continue
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2929 # We found the default executable, but exeext='' is most
2933 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2935 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # We set ac_cv_exeext here because the later test for it is not
2938 # safe: cross compilers may not add the suffix if given an `-o'
2939 # argument, so we may need to know it at that point already.
2940 # Even if this section looks crufty: it has the advantage of
2947 test "$ac_cv_exeext" = no && ac_cv_exeext=
2953 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2954 $as_echo "$ac_file" >&6; }
2955 if test -z "$ac_file"; then
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2960 See \`config.log' for more details." >&5
2961 $as_echo "$as_me: error: C compiler cannot create executables
2962 See \`config.log' for more details." >&2;}
2963 { (exit 77); exit 77; }; }
2966 ac_exeext=$ac_cv_exeext
2968 # Check that the compiler produces executables we can run. If not, either
2969 # the compiler is broken, or we cross compile.
2970 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2971 $as_echo_n "checking whether the C compiler works... " >&6; }
2972 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2973 # If not cross compiling, check that we can run a simple program.
2974 if test "$cross_compiling" != yes; then
2975 if { ac_try='./$ac_file'
2976 { (case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982 (eval "$ac_try") 2>&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2988 if test "$cross_compiling" = maybe; then
2991 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2992 If you meant to cross compile, use \`--host'.
2993 See \`config.log' for more details." >&5
2994 $as_echo "$as_me: error: cannot run C compiled programs.
2995 If you meant to cross compile, use \`--host'.
2996 See \`config.log' for more details." >&2;}
2997 { (exit 1); exit 1; }; }
3001 { $as_echo "$as_me:$LINENO: result: yes" >&5
3002 $as_echo "yes" >&6; }
3004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3005 ac_clean_files=$ac_clean_files_save
3006 # Check that the compiler produces executables we can run. If not, either
3007 # the compiler is broken, or we cross compile.
3008 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3009 $as_echo_n "checking whether we are cross compiling... " >&6; }
3010 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3011 $as_echo "$cross_compiling" >&6; }
3013 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3014 $as_echo_n "checking for suffix of executables... " >&6; }
3015 if { (ac_try="$ac_link"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3021 $as_echo "$ac_try_echo") >&5
3022 (eval "$ac_link") 2>&5
3024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; then
3026 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3027 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3028 # work properly (i.e., refer to `conftest.exe'), while it won't with
3030 for ac_file in conftest.exe conftest conftest.*; do
3031 test -f "$ac_file" || continue
3033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3034 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3040 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details." >&5
3042 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3043 See \`config.log' for more details." >&2;}
3044 { (exit 1); exit 1; }; }
3047 rm -f conftest$ac_cv_exeext
3048 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3049 $as_echo "$ac_cv_exeext" >&6; }
3051 rm -f conftest.$ac_ext
3052 EXEEXT=$ac_cv_exeext
3054 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3055 $as_echo_n "checking for suffix of object files... " >&6; }
3056 if test "${ac_cv_objext+set}" = set; then
3057 $as_echo_n "(cached) " >&6
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3074 rm -f conftest.o conftest.obj
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081 $as_echo "$ac_try_echo") >&5
3082 (eval "$ac_compile") 2>&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; then
3086 for ac_file in conftest.o conftest.obj conftest.*; do
3087 test -f "$ac_file" || continue;
3089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3090 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3099 See \`config.log' for more details." >&5
3100 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3101 See \`config.log' for more details." >&2;}
3102 { (exit 1); exit 1; }; }
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3108 $as_echo "$ac_cv_objext" >&6; }
3109 OBJEXT=$ac_cv_objext
3111 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3112 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3113 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3114 $as_echo_n "(cached) " >&6
3116 cat >conftest.$ac_ext <<_ACEOF
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3164 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3166 if test $ac_compiler_gnu = yes; then
3171 ac_test_CFLAGS=${CFLAGS+set}
3172 ac_save_CFLAGS=$CFLAGS
3173 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3175 if test "${ac_cv_prog_cc_g+set}" = set; then
3176 $as_echo_n "(cached) " >&6
3178 ac_save_c_werror_flag=$ac_c_werror_flag
3179 ac_c_werror_flag=yes
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.$ac_objext
3198 if { (ac_try="$ac_compile"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3204 $as_echo "$ac_try_echo") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } && {
3212 test -z "$ac_c_werror_flag" ||
3213 test ! -s conftest.err
3214 } && test -s conftest.$ac_objext; then
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
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
3259 ac_c_werror_flag=$ac_save_c_werror_flag
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3283 $as_echo "$ac_try_echo") >&5
3284 (eval "$ac_compile") 2>conftest.er1
3286 grep -v '^ *+' conftest.er1 >conftest.err
3288 cat conftest.err >&5
3289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } && {
3291 test -z "$ac_c_werror_flag" ||
3292 test ! -s conftest.err
3293 } && test -s conftest.$ac_objext; then
3296 $as_echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 ac_c_werror_flag=$ac_save_c_werror_flag
3311 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3312 $as_echo "$ac_cv_prog_cc_g" >&6; }
3313 if test "$ac_test_CFLAGS" = set; then
3314 CFLAGS=$ac_save_CFLAGS
3315 elif test $ac_cv_prog_cc_g = yes; then
3316 if test "$GCC" = yes; then
3322 if test "$GCC" = yes; then
3328 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3329 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3330 if test "${ac_cv_prog_cc_c89+set}" = set; then
3331 $as_echo_n "(cached) " >&6
3333 ac_cv_prog_cc_c89=no
3335 cat >conftest.$ac_ext <<_ACEOF
3338 cat confdefs.h >>conftest.$ac_ext
3339 cat >>conftest.$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3343 #include <sys/types.h>
3344 #include <sys/stat.h>
3345 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3346 struct buf { int x; };
3347 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3348 static char *e (p, i)
3354 static char *f (char * (*g) (char **, int), char **p, ...)
3359 s = g (p, va_arg (v,int));
3364 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3365 function prototypes and stuff, but not '\xHH' hex character constants.
3366 These don't provoke an error unfortunately, instead are silently treated
3367 as 'x'. The following induces an error, until -std is added to get
3368 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3369 array size at least. It's necessary to write '\x00'==0 to get something
3370 that's true only with -std. */
3371 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3373 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3374 inside strings and character constants. */
3376 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3378 int test (int i, double x);
3379 struct s1 {int (*f) (int a);};
3380 struct s2 {int (*f) (double a);};
3381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3392 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3393 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3395 CC="$ac_save_CC $ac_arg"
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3403 $as_echo "$ac_try_echo") >&5
3404 (eval "$ac_compile") 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } && {
3411 test -z "$ac_c_werror_flag" ||
3412 test ! -s conftest.err
3413 } && test -s conftest.$ac_objext; then
3414 ac_cv_prog_cc_c89=$ac_arg
3416 $as_echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext
3423 test "x$ac_cv_prog_cc_c89" != "xno" && break
3425 rm -f conftest.$ac_ext
3430 case "x$ac_cv_prog_cc_c89" in
3432 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3433 $as_echo "none needed" >&6; } ;;
3435 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3436 $as_echo "unsupported" >&6; } ;;
3438 CC="$CC $ac_cv_prog_cc_c89"
3439 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3440 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3445 ac_cpp='$CPP $CPPFLAGS'
3446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 depcc="$CC" am_compiler_list=
3452 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3453 $as_echo_n "checking dependency style of $depcc... " >&6; }
3454 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3455 $as_echo_n "(cached) " >&6
3457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3458 # We make a subdir and do the tests there. Otherwise we can end up
3459 # making bogus files that we don't know about and never remove. For
3460 # instance it was reported that on HP-UX the gcc test will end up
3461 # making a dummy file named `D' -- because `-MD' means `put the output
3464 # Copy depcomp to subdir because otherwise we won't find it if we're
3465 # using a relative directory.
3466 cp "$am_depcomp" conftest.dir
3468 # We will build objects and dependencies in a subdirectory because
3469 # it helps to detect inapplicable dependency modes. For instance
3470 # both Tru64's cc and ICC support -MD to output dependencies as a
3471 # side effect of compilation, but ICC will put the dependencies in
3472 # the current directory while Tru64 will put them in the object
3476 am_cv_CC_dependencies_compiler_type=none
3477 if test "$am_compiler_list" = ""; then
3478 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3480 for depmode in $am_compiler_list; do
3481 # Setup a source with many dependencies, because some compilers
3482 # like to wrap large dependency lists on column 80 (with \), and
3483 # we should not choose a depcomp mode which is confused by this.
3485 # We need to recreate these files for each test, as the compiler may
3486 # overwrite some of them when testing with obscure command lines.
3487 # This happens at least with the AIX C compiler.
3489 for i in 1 2 3 4 5 6; do
3490 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3492 # Solaris 8's {/usr,}/bin/sh.
3493 touch sub/conftst$i.h
3495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3499 # after this tag, mechanisms are not by side-effect, so they'll
3500 # only be used when explicitly requested
3501 if test "x$enable_dependency_tracking" = xyes; then
3509 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3510 # mode. It turns out that the SunPro C++ compiler does not properly
3511 # handle `-M -o', and we need to detect this.
3512 if depmode=$depmode \
3513 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3514 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3515 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3516 >/dev/null 2>conftest.err &&
3517 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3518 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3519 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3520 # icc doesn't choke on unknown options, it will just issue warnings
3521 # or remarks (even with -Werror). So we grep stderr for any message
3522 # that says an option was ignored or not supported.
3523 # When given -MP, icc 7.0 and 7.1 complain thusly:
3524 # icc: Command line warning: ignoring option '-M'; no argument required
3525 # The diagnosis changed in icc 8.0:
3526 # icc: Command line remark: option '-MP' not supported
3527 if (grep 'ignoring option' conftest.err ||
3528 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3529 am_cv_CC_dependencies_compiler_type=$depmode
3538 am_cv_CC_dependencies_compiler_type=none
3542 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3543 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3544 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3549 test "x$enable_dependency_tracking" != xno \
3550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3552 am__fastdepCC_FALSE='#'
3554 am__fastdepCC_TRUE='#'
3555 am__fastdepCC_FALSE=
3561 { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3562 $as_echo_n "checking for strerror in -lcposix... " >&6; }
3563 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3564 $as_echo_n "(cached) " >&6
3566 ac_check_lib_save_LIBS=$LIBS
3567 LIBS="-lcposix $LIBS"
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3575 /* Override any GCC internal prototype to avoid an error.
3576 Use char because int might match the return type of a GCC
3577 builtin and then its argument prototype would still apply. */
3590 rm -f conftest.$ac_objext conftest$ac_exeext
3591 if { (ac_try="$ac_link"
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3597 $as_echo "$ac_try_echo") >&5
3598 (eval "$ac_link") 2>conftest.er1
3600 grep -v '^ *+' conftest.er1 >conftest.err
3602 cat conftest.err >&5
3603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } && {
3605 test -z "$ac_c_werror_flag" ||
3606 test ! -s conftest.err
3607 } && test -s conftest$ac_exeext && {
3608 test "$cross_compiling" = yes ||
3609 $as_test_x conftest$ac_exeext
3611 ac_cv_lib_cposix_strerror=yes
3613 $as_echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 ac_cv_lib_cposix_strerror=no
3619 rm -rf conftest.dSYM
3620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3621 conftest$ac_exeext conftest.$ac_ext
3622 LIBS=$ac_check_lib_save_LIBS
3624 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3625 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
3626 if test $ac_cv_lib_cposix_strerror = yes; then
3627 LIBS="$LIBS -lcposix"
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3670 { $as_echo "$as_me:$LINENO: result: no" >&5
3671 $as_echo "no" >&6; }
3676 if test -z "$ac_cv_prog_CC"; then
3678 # Extract the first word of "gcc", so it can be a program name with args.
3679 set dummy gcc; ac_word=$2
3680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$ac_ct_CC"; then
3686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695 ac_cv_prog_ac_ct_CC="gcc"
3696 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3706 if test -n "$ac_ct_CC"; then
3707 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3708 $as_echo "$ac_ct_CC" >&6; }
3710 { $as_echo "$as_me:$LINENO: result: no" >&5
3711 $as_echo "no" >&6; }
3714 if test "x$ac_ct_CC" = x; then
3717 case $cross_compiling:$ac_tool_warned in
3719 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3720 whose name does not start with the host triplet. If you think this
3721 configuration is useful to you, please write to autoconf@gnu.org." >&5
3722 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3723 whose name does not start with the host triplet. If you think this
3724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3725 ac_tool_warned=yes ;;
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}cc; ac_word=$2
3737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="${ac_tool_prefix}cc"
3753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:$LINENO: result: no" >&5
3768 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3775 # Extract the first word of "cc", so it can be a program name with args.
3776 set dummy cc; ac_word=$2
3777 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_CC+set}" = set; then
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC="$CC" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3794 ac_prog_rejected=yes
3798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 if test $ac_prog_rejected = yes; then
3806 # We found a bogon in the path, so make sure we never use it.
3807 set dummy $ac_cv_prog_CC
3809 if test $# != 0; then
3810 # We chose a different compiler from the bogus one.
3811 # However, it has the same basename, so the bogon will be chosen
3812 # first if we set CC to just the basename; use the full file name.
3814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3820 if test -n "$CC"; then
3821 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3822 $as_echo "$CC" >&6; }
3824 { $as_echo "$as_me:$LINENO: result: no" >&5
3825 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 if test -n "$ac_tool_prefix"; then
3832 for ac_prog in cl.exe
3834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if test "${ac_cv_prog_CC+set}" = set; then
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3866 { $as_echo "$as_me:$LINENO: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$CC" && break
3874 if test -z "$CC"; then
3876 for ac_prog in cl.exe
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy $ac_prog; ac_word=$2
3880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$ac_ct_CC"; then
3886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895 ac_cv_prog_ac_ct_CC="$ac_prog"
3896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3906 if test -n "$ac_ct_CC"; then
3907 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3908 $as_echo "$ac_ct_CC" >&6; }
3910 { $as_echo "$as_me:$LINENO: result: no" >&5
3911 $as_echo "no" >&6; }
3915 test -n "$ac_ct_CC" && break
3918 if test "x$ac_ct_CC" = x; then
3921 case $cross_compiling:$ac_tool_warned in
3923 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3924 whose name does not start with the host triplet. If you think this
3925 configuration is useful to you, please write to autoconf@gnu.org." >&5
3926 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3927 whose name does not start with the host triplet. If you think this
3928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3929 ac_tool_warned=yes ;;
3938 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3939 See \`config.log' for more details." >&5
3940 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3941 See \`config.log' for more details." >&2;}
3942 { (exit 1); exit 1; }; }
3944 # Provide some information about the compiler.
3945 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3948 { (ac_try="$ac_compiler --version >&5"
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954 $as_echo "$ac_try_echo") >&5
3955 (eval "$ac_compiler --version >&5") 2>&5
3957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }
3959 { (ac_try="$ac_compiler -v >&5"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3965 $as_echo "$ac_try_echo") >&5
3966 (eval "$ac_compiler -v >&5") 2>&5
3968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }
3970 { (ac_try="$ac_compiler -V >&5"
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3976 $as_echo "$ac_try_echo") >&5
3977 (eval "$ac_compiler -V >&5") 2>&5
3979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }
3982 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3984 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 cat >conftest.$ac_ext <<_ACEOF
3990 cat confdefs.h >>conftest.$ac_ext
3991 cat >>conftest.$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
4005 rm -f conftest.$ac_objext
4006 if { (ac_try="$ac_compile"
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4012 $as_echo "$ac_try_echo") >&5
4013 (eval "$ac_compile") 2>conftest.er1
4015 grep -v '^ *+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } && {
4020 test -z "$ac_c_werror_flag" ||
4021 test ! -s conftest.err
4022 } && test -s conftest.$ac_objext; then
4025 $as_echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.$ac_ext >&5
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4037 if test $ac_compiler_gnu = yes; then
4042 ac_test_CFLAGS=${CFLAGS+set}
4043 ac_save_CFLAGS=$CFLAGS
4044 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4046 if test "${ac_cv_prog_cc_g+set}" = set; then
4047 $as_echo_n "(cached) " >&6
4049 ac_save_c_werror_flag=$ac_c_werror_flag
4050 ac_c_werror_flag=yes
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4068 rm -f conftest.$ac_objext
4069 if { (ac_try="$ac_compile"
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4075 $as_echo "$ac_try_echo") >&5
4076 (eval "$ac_compile") 2>conftest.er1
4078 grep -v '^ *+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest.$ac_objext; then
4088 $as_echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4092 cat >conftest.$ac_ext <<_ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4107 rm -f conftest.$ac_objext
4108 if { (ac_try="$ac_compile"
4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111 *) ac_try_echo=$ac_try;;
4113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4114 $as_echo "$ac_try_echo") >&5
4115 (eval "$ac_compile") 2>conftest.er1
4117 grep -v '^ *+' conftest.er1 >conftest.err
4119 cat conftest.err >&5
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } && {
4122 test -z "$ac_c_werror_flag" ||
4123 test ! -s conftest.err
4124 } && test -s conftest.$ac_objext; then
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4130 ac_c_werror_flag=$ac_save_c_werror_flag
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4147 rm -f conftest.$ac_objext
4148 if { (ac_try="$ac_compile"
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154 $as_echo "$ac_try_echo") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4183 $as_echo "$ac_cv_prog_cc_g" >&6; }
4184 if test "$ac_test_CFLAGS" = set; then
4185 CFLAGS=$ac_save_CFLAGS
4186 elif test $ac_cv_prog_cc_g = yes; then
4187 if test "$GCC" = yes; then
4193 if test "$GCC" = yes; then
4199 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4201 if test "${ac_cv_prog_cc_c89+set}" = set; then
4202 $as_echo_n "(cached) " >&6
4204 ac_cv_prog_cc_c89=no
4206 cat >conftest.$ac_ext <<_ACEOF
4209 cat confdefs.h >>conftest.$ac_ext
4210 cat >>conftest.$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4214 #include <sys/types.h>
4215 #include <sys/stat.h>
4216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4217 struct buf { int x; };
4218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4219 static char *e (p, i)
4225 static char *f (char * (*g) (char **, int), char **p, ...)
4230 s = g (p, va_arg (v,int));
4235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4236 function prototypes and stuff, but not '\xHH' hex character constants.
4237 These don't provoke an error unfortunately, instead are silently treated
4238 as 'x'. The following induces an error, until -std is added to get
4239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4240 array size at least. It's necessary to write '\x00'==0 to get something
4241 that's true only with -std. */
4242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4245 inside strings and character constants. */
4247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4249 int test (int i, double x);
4250 struct s1 {int (*f) (int a);};
4251 struct s2 {int (*f) (double a);};
4252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266 CC="$ac_save_CC $ac_arg"
4267 rm -f conftest.$ac_objext
4268 if { (ac_try="$ac_compile"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4274 $as_echo "$ac_try_echo") >&5
4275 (eval "$ac_compile") 2>conftest.er1
4277 grep -v '^ *+' conftest.er1 >conftest.err
4279 cat conftest.err >&5
4280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } && {
4282 test -z "$ac_c_werror_flag" ||
4283 test ! -s conftest.err
4284 } && test -s conftest.$ac_objext; then
4285 ac_cv_prog_cc_c89=$ac_arg
4287 $as_echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4293 rm -f core conftest.err conftest.$ac_objext
4294 test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 rm -f conftest.$ac_ext
4301 case "x$ac_cv_prog_cc_c89" in
4303 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4304 $as_echo "none needed" >&6; } ;;
4306 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4307 $as_echo "unsupported" >&6; } ;;
4309 CC="$CC $ac_cv_prog_cc_c89"
4310 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 ac_cpp='$CPP $CPPFLAGS'
4317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4321 depcc="$CC" am_compiler_list=
4323 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4324 $as_echo_n "checking dependency style of $depcc... " >&6; }
4325 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4326 $as_echo_n "(cached) " >&6
4328 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4329 # We make a subdir and do the tests there. Otherwise we can end up
4330 # making bogus files that we don't know about and never remove. For
4331 # instance it was reported that on HP-UX the gcc test will end up
4332 # making a dummy file named `D' -- because `-MD' means `put the output
4335 # Copy depcomp to subdir because otherwise we won't find it if we're
4336 # using a relative directory.
4337 cp "$am_depcomp" conftest.dir
4339 # We will build objects and dependencies in a subdirectory because
4340 # it helps to detect inapplicable dependency modes. For instance
4341 # both Tru64's cc and ICC support -MD to output dependencies as a
4342 # side effect of compilation, but ICC will put the dependencies in
4343 # the current directory while Tru64 will put them in the object
4347 am_cv_CC_dependencies_compiler_type=none
4348 if test "$am_compiler_list" = ""; then
4349 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4351 for depmode in $am_compiler_list; do
4352 # Setup a source with many dependencies, because some compilers
4353 # like to wrap large dependency lists on column 80 (with \), and
4354 # we should not choose a depcomp mode which is confused by this.
4356 # We need to recreate these files for each test, as the compiler may
4357 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler.
4360 for i in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh.
4364 touch sub/conftst$i.h
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4370 # after this tag, mechanisms are not by side-effect, so they'll
4371 # only be used when explicitly requested
4372 if test "x$enable_dependency_tracking" = xyes; then
4380 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4381 # mode. It turns out that the SunPro C++ compiler does not properly
4382 # handle `-M -o', and we need to detect this.
4383 if depmode=$depmode \
4384 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4385 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4386 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4387 >/dev/null 2>conftest.err &&
4388 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4389 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4390 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4391 # icc doesn't choke on unknown options, it will just issue warnings
4392 # or remarks (even with -Werror). So we grep stderr for any message
4393 # that says an option was ignored or not supported.
4394 # When given -MP, icc 7.0 and 7.1 complain thusly:
4395 # icc: Command line warning: ignoring option '-M'; no argument required
4396 # The diagnosis changed in icc 8.0:
4397 # icc: Command line remark: option '-MP' not supported
4398 if (grep 'ignoring option' conftest.err ||
4399 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4400 am_cv_CC_dependencies_compiler_type=$depmode
4409 am_cv_CC_dependencies_compiler_type=none
4413 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4414 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4415 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4420 test "x$enable_dependency_tracking" != xno \
4421 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4423 am__fastdepCC_FALSE='#'
4425 am__fastdepCC_TRUE='#'
4426 am__fastdepCC_FALSE=
4431 ac_cpp='$CPP $CPPFLAGS'
4432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if test "${ac_cv_prog_CC+set}" = set; then
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$CC"; then
4444 ac_cv_prog_CC="$CC" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4454 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 if test -n "$CC"; then
4465 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4466 $as_echo "$CC" >&6; }
4468 { $as_echo "$as_me:$LINENO: result: no" >&5
4469 $as_echo "no" >&6; }
4474 if test -z "$ac_cv_prog_CC"; then
4476 # Extract the first word of "gcc", so it can be a program name with args.
4477 set dummy gcc; ac_word=$2
4478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$ac_ct_CC"; then
4484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CC="gcc"
4494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4504 if test -n "$ac_ct_CC"; then
4505 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4506 $as_echo "$ac_ct_CC" >&6; }
4508 { $as_echo "$as_me:$LINENO: result: no" >&5
4509 $as_echo "no" >&6; }
4512 if test "x$ac_ct_CC" = x; then
4515 case $cross_compiling:$ac_tool_warned in
4517 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4518 whose name does not start with the host triplet. If you think this
4519 configuration is useful to you, please write to autoconf@gnu.org." >&5
4520 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4521 whose name does not start with the host triplet. If you think this
4522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4523 ac_tool_warned=yes ;;
4531 if test -z "$CC"; then
4532 if test -n "$ac_tool_prefix"; then
4533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4534 set dummy ${ac_tool_prefix}cc; ac_word=$2
4535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if test "${ac_cv_prog_CC+set}" = set; then
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC="$CC" # Let the user override the test.
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4550 ac_cv_prog_CC="${ac_tool_prefix}cc"
4551 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 if test -n "$CC"; then
4562 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4563 $as_echo "$CC" >&6; }
4565 { $as_echo "$as_me:$LINENO: result: no" >&5
4566 $as_echo "no" >&6; }
4572 if test -z "$CC"; then
4573 # Extract the first word of "cc", so it can be a program name with args.
4574 set dummy cc; ac_word=$2
4575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if test "${ac_cv_prog_CC+set}" = set; then
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$CC"; then
4581 ac_cv_prog_CC="$CC" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4592 ac_prog_rejected=yes
4596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 if test $ac_prog_rejected = yes; then
4604 # We found a bogon in the path, so make sure we never use it.
4605 set dummy $ac_cv_prog_CC
4607 if test $# != 0; then
4608 # We chose a different compiler from the bogus one.
4609 # However, it has the same basename, so the bogon will be chosen
4610 # first if we set CC to just the basename; use the full file name.
4612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4618 if test -n "$CC"; then
4619 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4620 $as_echo "$CC" >&6; }
4622 { $as_echo "$as_me:$LINENO: result: no" >&5
4623 $as_echo "no" >&6; }
4628 if test -z "$CC"; then
4629 if test -n "$ac_tool_prefix"; then
4630 for ac_prog in cl.exe
4632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4634 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if test "${ac_cv_prog_CC+set}" = set; then
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$CC"; then
4640 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4650 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 if test -n "$CC"; then
4661 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4662 $as_echo "$CC" >&6; }
4664 { $as_echo "$as_me:$LINENO: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$CC" && break
4672 if test -z "$CC"; then
4674 for ac_prog in cl.exe
4676 # Extract the first word of "$ac_prog", so it can be a program name with args.
4677 set dummy $ac_prog; ac_word=$2
4678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$ac_ct_CC"; then
4684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_ac_ct_CC="$ac_prog"
4694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4704 if test -n "$ac_ct_CC"; then
4705 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4706 $as_echo "$ac_ct_CC" >&6; }
4708 { $as_echo "$as_me:$LINENO: result: no" >&5
4709 $as_echo "no" >&6; }
4713 test -n "$ac_ct_CC" && break
4716 if test "x$ac_ct_CC" = x; then
4719 case $cross_compiling:$ac_tool_warned in
4721 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4722 whose name does not start with the host triplet. If you think this
4723 configuration is useful to you, please write to autoconf@gnu.org." >&5
4724 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4725 whose name does not start with the host triplet. If you think this
4726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4727 ac_tool_warned=yes ;;
4736 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4737 See \`config.log' for more details." >&5
4738 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4739 See \`config.log' for more details." >&2;}
4740 { (exit 1); exit 1; }; }
4742 # Provide some information about the compiler.
4743 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4746 { (ac_try="$ac_compiler --version >&5"
4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4749 *) ac_try_echo=$ac_try;;
4751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4752 $as_echo "$ac_try_echo") >&5
4753 (eval "$ac_compiler --version >&5") 2>&5
4755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }
4757 { (ac_try="$ac_compiler -v >&5"
4759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4763 $as_echo "$ac_try_echo") >&5
4764 (eval "$ac_compiler -v >&5") 2>&5
4766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }
4768 { (ac_try="$ac_compiler -V >&5"
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4774 $as_echo "$ac_try_echo") >&5
4775 (eval "$ac_compiler -V >&5") 2>&5
4777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }
4780 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4781 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4782 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4803 rm -f conftest.$ac_objext
4804 if { (ac_try="$ac_compile"
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4810 $as_echo "$ac_try_echo") >&5
4811 (eval "$ac_compile") 2>conftest.er1
4813 grep -v '^ *+' conftest.er1 >conftest.err
4815 cat conftest.err >&5
4816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } && {
4818 test -z "$ac_c_werror_flag" ||
4819 test ! -s conftest.err
4820 } && test -s conftest.$ac_objext; then
4823 $as_echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4833 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4835 if test $ac_compiler_gnu = yes; then
4840 ac_test_CFLAGS=${CFLAGS+set}
4841 ac_save_CFLAGS=$CFLAGS
4842 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4844 if test "${ac_cv_prog_cc_g+set}" = set; then
4845 $as_echo_n "(cached) " >&6
4847 ac_save_c_werror_flag=$ac_c_werror_flag
4848 ac_c_werror_flag=yes
4851 cat >conftest.$ac_ext <<_ACEOF
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4866 rm -f conftest.$ac_objext
4867 if { (ac_try="$ac_compile"
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4873 $as_echo "$ac_try_echo") >&5
4874 (eval "$ac_compile") 2>conftest.er1
4876 grep -v '^ *+' conftest.er1 >conftest.err
4878 cat conftest.err >&5
4879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } && {
4881 test -z "$ac_c_werror_flag" ||
4882 test ! -s conftest.err
4883 } && test -s conftest.$ac_objext; then
4886 $as_echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.$ac_ext >&5
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4905 rm -f conftest.$ac_objext
4906 if { (ac_try="$ac_compile"
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4912 $as_echo "$ac_try_echo") >&5
4913 (eval "$ac_compile") 2>conftest.er1
4915 grep -v '^ *+' conftest.er1 >conftest.err
4917 cat conftest.err >&5
4918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } && {
4920 test -z "$ac_c_werror_flag" ||
4921 test ! -s conftest.err
4922 } && test -s conftest.$ac_objext; then
4925 $as_echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.$ac_ext >&5
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4930 cat >conftest.$ac_ext <<_ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4945 rm -f conftest.$ac_objext
4946 if { (ac_try="$ac_compile"
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4952 $as_echo "$ac_try_echo") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } && {
4960 test -z "$ac_c_werror_flag" ||
4961 test ! -s conftest.err
4962 } && test -s conftest.$ac_objext; then
4965 $as_echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.$ac_ext >&5
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 ac_c_werror_flag=$ac_save_c_werror_flag
4980 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4981 $as_echo "$ac_cv_prog_cc_g" >&6; }
4982 if test "$ac_test_CFLAGS" = set; then
4983 CFLAGS=$ac_save_CFLAGS
4984 elif test $ac_cv_prog_cc_g = yes; then
4985 if test "$GCC" = yes; then
4991 if test "$GCC" = yes; then
4997 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4998 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4999 if test "${ac_cv_prog_cc_c89+set}" = set; then
5000 $as_echo_n "(cached) " >&6
5002 ac_cv_prog_cc_c89=no
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5012 #include <sys/types.h>
5013 #include <sys/stat.h>
5014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5015 struct buf { int x; };
5016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5017 static char *e (p, i)
5023 static char *f (char * (*g) (char **, int), char **p, ...)
5028 s = g (p, va_arg (v,int));
5033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5034 function prototypes and stuff, but not '\xHH' hex character constants.
5035 These don't provoke an error unfortunately, instead are silently treated
5036 as 'x'. The following induces an error, until -std is added to get
5037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5038 array size at least. It's necessary to write '\x00'==0 to get something
5039 that's true only with -std. */
5040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5043 inside strings and character constants. */
5045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5047 int test (int i, double x);
5048 struct s1 {int (*f) (int a);};
5049 struct s2 {int (*f) (double a);};
5050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5064 CC="$ac_save_CC $ac_arg"
5065 rm -f conftest.$ac_objext
5066 if { (ac_try="$ac_compile"
5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5072 $as_echo "$ac_try_echo") >&5
5073 (eval "$ac_compile") 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } && {
5080 test -z "$ac_c_werror_flag" ||
5081 test ! -s conftest.err
5082 } && test -s conftest.$ac_objext; then
5083 ac_cv_prog_cc_c89=$ac_arg
5085 $as_echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5091 rm -f core conftest.err conftest.$ac_objext
5092 test "x$ac_cv_prog_cc_c89" != "xno" && break
5094 rm -f conftest.$ac_ext
5099 case "x$ac_cv_prog_cc_c89" in
5101 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5102 $as_echo "none needed" >&6; } ;;
5104 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5105 $as_echo "unsupported" >&6; } ;;
5107 CC="$CC $ac_cv_prog_cc_c89"
5108 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 depcc="$CC" am_compiler_list=
5121 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5122 $as_echo_n "checking dependency style of $depcc... " >&6; }
5123 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5124 $as_echo_n "(cached) " >&6
5126 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5127 # We make a subdir and do the tests there. Otherwise we can end up
5128 # making bogus files that we don't know about and never remove. For
5129 # instance it was reported that on HP-UX the gcc test will end up
5130 # making a dummy file named `D' -- because `-MD' means `put the output
5133 # Copy depcomp to subdir because otherwise we won't find it if we're
5134 # using a relative directory.
5135 cp "$am_depcomp" conftest.dir
5137 # We will build objects and dependencies in a subdirectory because
5138 # it helps to detect inapplicable dependency modes. For instance
5139 # both Tru64's cc and ICC support -MD to output dependencies as a
5140 # side effect of compilation, but ICC will put the dependencies in
5141 # the current directory while Tru64 will put them in the object
5145 am_cv_CC_dependencies_compiler_type=none
5146 if test "$am_compiler_list" = ""; then
5147 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5149 for depmode in $am_compiler_list; do
5150 # Setup a source with many dependencies, because some compilers
5151 # like to wrap large dependency lists on column 80 (with \), and
5152 # we should not choose a depcomp mode which is confused by this.
5154 # We need to recreate these files for each test, as the compiler may
5155 # overwrite some of them when testing with obscure command lines.
5156 # This happens at least with the AIX C compiler.
5158 for i in 1 2 3 4 5 6; do
5159 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5160 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5161 # Solaris 8's {/usr,}/bin/sh.
5162 touch sub/conftst$i.h
5164 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5168 # after this tag, mechanisms are not by side-effect, so they'll
5169 # only be used when explicitly requested
5170 if test "x$enable_dependency_tracking" = xyes; then
5178 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5179 # mode. It turns out that the SunPro C++ compiler does not properly
5180 # handle `-M -o', and we need to detect this.
5181 if depmode=$depmode \
5182 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5183 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5184 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5185 >/dev/null 2>conftest.err &&
5186 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5187 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5188 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5189 # icc doesn't choke on unknown options, it will just issue warnings
5190 # or remarks (even with -Werror). So we grep stderr for any message
5191 # that says an option was ignored or not supported.
5192 # When given -MP, icc 7.0 and 7.1 complain thusly:
5193 # icc: Command line warning: ignoring option '-M'; no argument required
5194 # The diagnosis changed in icc 8.0:
5195 # icc: Command line remark: option '-MP' not supported
5196 if (grep 'ignoring option' conftest.err ||
5197 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5198 am_cv_CC_dependencies_compiler_type=$depmode
5207 am_cv_CC_dependencies_compiler_type=none
5211 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5212 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5213 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5218 test "x$enable_dependency_tracking" != xno \
5219 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5221 am__fastdepCC_FALSE='#'
5223 am__fastdepCC_TRUE='#'
5224 am__fastdepCC_FALSE=
5229 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5231 # By default we simply use the C compiler to build assembly code.
5233 test "${CCAS+set}" = set || CCAS=$CC
5234 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5239 ac_cpp='$CPP $CPPFLAGS'
5240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5243 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5244 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5245 # On Suns, sometimes $CPP names a directory.
5246 if test -n "$CPP" && test -d "$CPP"; then
5249 if test -z "$CPP"; then
5250 if test "${ac_cv_prog_CPP+set}" = set; then
5251 $as_echo_n "(cached) " >&6
5253 # Double quotes because CPP needs to be expanded
5254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5257 for ac_c_preproc_warn_flag in '' yes
5259 # Use a header file that comes with gcc, so configuring glibc
5260 # with a fresh cross-compiler works.
5261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5262 # <limits.h> exists even on freestanding compilers.
5263 # On the NeXT, cc -E runs the code through the compiler's parser,
5264 # not just through cpp. "Syntax error" is here to catch this case.
5265 cat >conftest.$ac_ext <<_ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5272 # include <limits.h>
5274 # include <assert.h>
5278 if { (ac_try="$ac_cpp conftest.$ac_ext"
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5284 $as_echo "$ac_try_echo") >&5
5285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5287 grep -v '^ *+' conftest.er1 >conftest.err
5289 cat conftest.err >&5
5290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } >/dev/null && {
5292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5293 test ! -s conftest.err
5297 $as_echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5300 # Broken: fails on valid input.
5304 rm -f conftest.err conftest.$ac_ext
5306 # OK, works on sane cases. Now check whether nonexistent headers
5307 # can be detected and how.
5308 cat >conftest.$ac_ext <<_ACEOF
5311 cat confdefs.h >>conftest.$ac_ext
5312 cat >>conftest.$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5314 #include <ac_nonexistent.h>
5316 if { (ac_try="$ac_cpp conftest.$ac_ext"
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5322 $as_echo "$ac_try_echo") >&5
5323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5325 grep -v '^ *+' conftest.er1 >conftest.err
5327 cat conftest.err >&5
5328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } >/dev/null && {
5330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5331 test ! -s conftest.err
5333 # Broken: success on invalid input.
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 # Passes both tests.
5344 rm -f conftest.err conftest.$ac_ext
5347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5348 rm -f conftest.err conftest.$ac_ext
5349 if $ac_preproc_ok; then
5361 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5362 $as_echo "$CPP" >&6; }
5364 for ac_c_preproc_warn_flag in '' yes
5366 # Use a header file that comes with gcc, so configuring glibc
5367 # with a fresh cross-compiler works.
5368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5369 # <limits.h> exists even on freestanding compilers.
5370 # On the NeXT, cc -E runs the code through the compiler's parser,
5371 # not just through cpp. "Syntax error" is here to catch this case.
5372 cat >conftest.$ac_ext <<_ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5379 # include <limits.h>
5381 # include <assert.h>
5385 if { (ac_try="$ac_cpp conftest.$ac_ext"
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5391 $as_echo "$ac_try_echo") >&5
5392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5394 grep -v '^ *+' conftest.er1 >conftest.err
5396 cat conftest.err >&5
5397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } >/dev/null && {
5399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5400 test ! -s conftest.err
5404 $as_echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 # Broken: fails on valid input.
5411 rm -f conftest.err conftest.$ac_ext
5413 # OK, works on sane cases. Now check whether nonexistent headers
5414 # can be detected and how.
5415 cat >conftest.$ac_ext <<_ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 #include <ac_nonexistent.h>
5423 if { (ac_try="$ac_cpp conftest.$ac_ext"
5425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5426 *) ac_try_echo=$ac_try;;
5428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5429 $as_echo "$ac_try_echo") >&5
5430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5432 grep -v '^ *+' conftest.er1 >conftest.err
5434 cat conftest.err >&5
5435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } >/dev/null && {
5437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5438 test ! -s conftest.err
5440 # Broken: success on invalid input.
5443 $as_echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 # Passes both tests.
5451 rm -f conftest.err conftest.$ac_ext
5454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5455 rm -f conftest.err conftest.$ac_ext
5456 if $ac_preproc_ok; then
5459 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5460 See \`config.log' for more details." >&5
5461 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5462 See \`config.log' for more details." >&2;}
5463 { (exit 1); exit 1; }; }
5467 ac_cpp='$CPP $CPPFLAGS'
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5474 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5475 if test "${ac_cv_path_GREP+set}" = set; then
5476 $as_echo_n "(cached) " >&6
5478 if test -z "$GREP"; then
5479 ac_path_GREP_found=false
5480 # Loop through the user's path and test for each of PROGNAME-LIST
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5485 test -z "$as_dir" && as_dir=.
5486 for ac_prog in grep ggrep; do
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5489 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5490 # Check for GNU ac_path_GREP and select it if it is found.
5491 # Check for GNU $ac_path_GREP
5492 case `"$ac_path_GREP" --version 2>&1` in
5494 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5497 $as_echo_n 0123456789 >"conftest.in"
5500 cat "conftest.in" "conftest.in" >"conftest.tmp"
5501 mv "conftest.tmp" "conftest.in"
5502 cp "conftest.in" "conftest.nl"
5503 $as_echo 'GREP' >> "conftest.nl"
5504 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5505 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5506 ac_count=`expr $ac_count + 1`
5507 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5508 # Best one so far, save it but keep looking for a better one
5509 ac_cv_path_GREP="$ac_path_GREP"
5510 ac_path_GREP_max=$ac_count
5512 # 10*(2^10) chars as input seems more than enough
5513 test $ac_count -gt 10 && break
5515 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 $ac_path_GREP_found && break 3
5523 if test -z "$ac_cv_path_GREP"; then
5524 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5525 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5526 { (exit 1); exit 1; }; }
5529 ac_cv_path_GREP=$GREP
5533 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5534 $as_echo "$ac_cv_path_GREP" >&6; }
5535 GREP="$ac_cv_path_GREP"
5538 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5539 $as_echo_n "checking for egrep... " >&6; }
5540 if test "${ac_cv_path_EGREP+set}" = set; then
5541 $as_echo_n "(cached) " >&6
5543 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5544 then ac_cv_path_EGREP="$GREP -E"
5546 if test -z "$EGREP"; then
5547 ac_path_EGREP_found=false
5548 # Loop through the user's path and test for each of PROGNAME-LIST
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5553 test -z "$as_dir" && as_dir=.
5554 for ac_prog in egrep; do
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5557 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5558 # Check for GNU ac_path_EGREP and select it if it is found.
5559 # Check for GNU $ac_path_EGREP
5560 case `"$ac_path_EGREP" --version 2>&1` in
5562 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5565 $as_echo_n 0123456789 >"conftest.in"
5568 cat "conftest.in" "conftest.in" >"conftest.tmp"
5569 mv "conftest.tmp" "conftest.in"
5570 cp "conftest.in" "conftest.nl"
5571 $as_echo 'EGREP' >> "conftest.nl"
5572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5574 ac_count=`expr $ac_count + 1`
5575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5576 # Best one so far, save it but keep looking for a better one
5577 ac_cv_path_EGREP="$ac_path_EGREP"
5578 ac_path_EGREP_max=$ac_count
5580 # 10*(2^10) chars as input seems more than enough
5581 test $ac_count -gt 10 && break
5583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5586 $ac_path_EGREP_found && break 3
5591 if test -z "$ac_cv_path_EGREP"; then
5592 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5593 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5594 { (exit 1); exit 1; }; }
5597 ac_cv_path_EGREP=$EGREP
5602 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5603 $as_echo "$ac_cv_path_EGREP" >&6; }
5604 EGREP="$ac_cv_path_EGREP"
5607 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5608 $as_echo_n "checking for ANSI C header files... " >&6; }
5609 if test "${ac_cv_header_stdc+set}" = set; then
5610 $as_echo_n "(cached) " >&6
5612 cat >conftest.$ac_ext <<_ACEOF
5615 cat confdefs.h >>conftest.$ac_ext
5616 cat >>conftest.$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5631 rm -f conftest.$ac_objext
5632 if { (ac_try="$ac_compile"
5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5638 $as_echo "$ac_try_echo") >&5
5639 (eval "$ac_compile") 2>conftest.er1
5641 grep -v '^ *+' conftest.er1 >conftest.err
5643 cat conftest.err >&5
5644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } && {
5646 test -z "$ac_c_werror_flag" ||
5647 test ! -s conftest.err
5648 } && test -s conftest.$ac_objext; then
5649 ac_cv_header_stdc=yes
5651 $as_echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5654 ac_cv_header_stdc=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 if test $ac_cv_header_stdc = yes; then
5660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5661 cat >conftest.$ac_ext <<_ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5671 $EGREP "memchr" >/dev/null 2>&1; then
5674 ac_cv_header_stdc=no
5680 if test $ac_cv_header_stdc = yes; then
5681 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5682 cat >conftest.$ac_ext <<_ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5692 $EGREP "free" >/dev/null 2>&1; then
5695 ac_cv_header_stdc=no
5701 if test $ac_cv_header_stdc = yes; then
5702 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5703 if test "$cross_compiling" = yes; then
5706 cat >conftest.$ac_ext <<_ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5714 #if ((' ' & 0x0FF) == 0x020)
5715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5718 # define ISLOWER(c) \
5719 (('a' <= (c) && (c) <= 'i') \
5720 || ('j' <= (c) && (c) <= 'r') \
5721 || ('s' <= (c) && (c) <= 'z'))
5722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5730 for (i = 0; i < 256; i++)
5731 if (XOR (islower (i), ISLOWER (i))
5732 || toupper (i) != TOUPPER (i))
5737 rm -f conftest$ac_exeext
5738 if { (ac_try="$ac_link"
5740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_link") 2>&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5749 { (case "(($ac_try" in
5750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5751 *) ac_try_echo=$ac_try;;
5753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5754 $as_echo "$ac_try_echo") >&5
5755 (eval "$ac_try") 2>&5
5757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; }; then
5761 $as_echo "$as_me: program exited with status $ac_status" >&5
5762 $as_echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5766 ac_cv_header_stdc=no
5768 rm -rf conftest.dSYM
5769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5775 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5776 $as_echo "$ac_cv_header_stdc" >&6; }
5777 if test $ac_cv_header_stdc = yes; then
5779 cat >>confdefs.h <<\_ACEOF
5780 #define STDC_HEADERS 1
5785 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5795 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5796 inttypes.h stdint.h unistd.h
5798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5799 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5800 $as_echo_n "checking for $ac_header... " >&6; }
5801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5802 $as_echo_n "(cached) " >&6
5804 cat >conftest.$ac_ext <<_ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 $ac_includes_default
5812 #include <$ac_header>
5814 rm -f conftest.$ac_objext
5815 if { (ac_try="$ac_compile"
5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5818 *) ac_try_echo=$ac_try;;
5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5821 $as_echo "$ac_try_echo") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1 >conftest.err
5826 cat conftest.err >&5
5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } && {
5829 test -z "$ac_c_werror_flag" ||
5830 test ! -s conftest.err
5831 } && test -s conftest.$ac_objext; then
5832 eval "$as_ac_Header=yes"
5834 $as_echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5837 eval "$as_ac_Header=no"
5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5842 ac_res=`eval 'as_val=${'$as_ac_Header'}
5843 $as_echo "$as_val"'`
5844 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5845 $as_echo "$ac_res" >&6; }
5846 if test `eval 'as_val=${'$as_ac_Header'}
5847 $as_echo "$as_val"'` = yes; then
5848 cat >>confdefs.h <<_ACEOF
5849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5857 # The cast to long int works around a bug in the HP C Compiler
5858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5860 # This bug is HP SR number 8606223364.
5861 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
5862 $as_echo_n "checking size of void *... " >&6; }
5863 if test "${ac_cv_sizeof_void_p+set}" = set; then
5864 $as_echo_n "(cached) " >&6
5866 if test "$cross_compiling" = yes; then
5867 # Depending upon the size, compute the lo and hi bounds.
5868 cat >conftest.$ac_ext <<_ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5874 $ac_includes_default
5878 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
5885 rm -f conftest.$ac_objext
5886 if { (ac_try="$ac_compile"
5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5892 $as_echo "$ac_try_echo") >&5
5893 (eval "$ac_compile") 2>conftest.er1
5895 grep -v '^ *+' conftest.er1 >conftest.err
5897 cat conftest.err >&5
5898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } && {
5900 test -z "$ac_c_werror_flag" ||
5901 test ! -s conftest.err
5902 } && test -s conftest.$ac_objext; then
5905 cat >conftest.$ac_ext <<_ACEOF
5908 cat confdefs.h >>conftest.$ac_ext
5909 cat >>conftest.$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5911 $ac_includes_default
5915 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
5922 rm -f conftest.$ac_objext
5923 if { (ac_try="$ac_compile"
5925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926 *) ac_try_echo=$ac_try;;
5928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5929 $as_echo "$ac_try_echo") >&5
5930 (eval "$ac_compile") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1 >conftest.err
5934 cat conftest.err >&5
5935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && {
5937 test -z "$ac_c_werror_flag" ||
5938 test ! -s conftest.err
5939 } && test -s conftest.$ac_objext; then
5940 ac_hi=$ac_mid; break
5942 $as_echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.$ac_ext >&5
5945 ac_lo=`expr $ac_mid + 1`
5946 if test $ac_lo -le $ac_mid; then
5950 ac_mid=`expr 2 '*' $ac_mid + 1`
5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 cat >conftest.$ac_ext <<_ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 $ac_includes_default
5969 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
5976 rm -f conftest.$ac_objext
5977 if { (ac_try="$ac_compile"
5979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5980 *) ac_try_echo=$ac_try;;
5982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5983 $as_echo "$ac_try_echo") >&5
5984 (eval "$ac_compile") 2>conftest.er1
5986 grep -v '^ *+' conftest.er1 >conftest.err
5988 cat conftest.err >&5
5989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } && {
5991 test -z "$ac_c_werror_flag" ||
5992 test ! -s conftest.err
5993 } && test -s conftest.$ac_objext; then
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6002 $ac_includes_default
6006 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
6013 rm -f conftest.$ac_objext
6014 if { (ac_try="$ac_compile"
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6020 $as_echo "$ac_try_echo") >&5
6021 (eval "$ac_compile") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1 >conftest.err
6025 cat conftest.err >&5
6026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } && {
6028 test -z "$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6030 } && test -s conftest.$ac_objext; then
6031 ac_lo=$ac_mid; break
6033 $as_echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ac_hi=`expr '(' $ac_mid ')' - 1`
6037 if test $ac_mid -le $ac_hi; then
6041 ac_mid=`expr 2 '*' $ac_mid`
6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6047 $as_echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057 # Binary search between lo and hi bounds.
6058 while test "x$ac_lo" != "x$ac_hi"; do
6059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 $ac_includes_default
6070 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
6077 rm -f conftest.$ac_objext
6078 if { (ac_try="$ac_compile"
6080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6084 $as_echo "$ac_try_echo") >&5
6085 (eval "$ac_compile") 2>conftest.er1
6087 grep -v '^ *+' conftest.er1 >conftest.err
6089 cat conftest.err >&5
6090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } && {
6092 test -z "$ac_c_werror_flag" ||
6093 test ! -s conftest.err
6094 } && test -s conftest.$ac_objext; then
6097 $as_echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.$ac_ext >&5
6100 ac_lo=`expr '(' $ac_mid ')' + 1`
6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6107 '') if test "$ac_cv_type_void_p" = yes; then
6108 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6109 See \`config.log' for more details." >&5
6110 $as_echo "$as_me: error: cannot compute sizeof (void *)
6111 See \`config.log' for more details." >&2;}
6112 { (exit 77); exit 77; }; }
6114 ac_cv_sizeof_void_p=0
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 $ac_includes_default
6125 static long int longval () { return (long int) (sizeof (void *)); }
6126 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6133 FILE *f = fopen ("conftest.val", "w");
6136 if (((long int) (sizeof (void *))) < 0)
6138 long int i = longval ();
6139 if (i != ((long int) (sizeof (void *))))
6141 fprintf (f, "%ld", i);
6145 unsigned long int i = ulongval ();
6146 if (i != ((long int) (sizeof (void *))))
6148 fprintf (f, "%lu", i);
6150 /* Do not output a trailing newline, as this causes \r\n confusion
6151 on some platforms. */
6152 return ferror (f) || fclose (f) != 0;
6158 rm -f conftest$ac_exeext
6159 if { (ac_try="$ac_link"
6161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6162 *) ac_try_echo=$ac_try;;
6164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6165 $as_echo "$ac_try_echo") >&5
6166 (eval "$ac_link") 2>&5
6168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6170 { (case "(($ac_try" in
6171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6175 $as_echo "$ac_try_echo") >&5
6176 (eval "$ac_try") 2>&5
6178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_sizeof_void_p=`cat conftest.val`
6182 $as_echo "$as_me: program exited with status $ac_status" >&5
6183 $as_echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.$ac_ext >&5
6187 if test "$ac_cv_type_void_p" = yes; then
6188 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6189 See \`config.log' for more details." >&5
6190 $as_echo "$as_me: error: cannot compute sizeof (void *)
6191 See \`config.log' for more details." >&2;}
6192 { (exit 77); exit 77; }; }
6194 ac_cv_sizeof_void_p=0
6197 rm -rf conftest.dSYM
6198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6202 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6203 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6207 cat >>confdefs.h <<_ACEOF
6208 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6212 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6213 $as_echo_n "checking for ANSI C header files... " >&6; }
6214 if test "${ac_cv_header_stdc+set}" = set; then
6215 $as_echo_n "(cached) " >&6
6217 cat >conftest.$ac_ext <<_ACEOF
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6236 rm -f conftest.$ac_objext
6237 if { (ac_try="$ac_compile"
6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6240 *) ac_try_echo=$ac_try;;
6242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6243 $as_echo "$ac_try_echo") >&5
6244 (eval "$ac_compile") 2>conftest.er1
6246 grep -v '^ *+' conftest.er1 >conftest.err
6248 cat conftest.err >&5
6249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && {
6251 test -z "$ac_c_werror_flag" ||
6252 test ! -s conftest.err
6253 } && test -s conftest.$ac_objext; then
6254 ac_cv_header_stdc=yes
6256 $as_echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.$ac_ext >&5
6259 ac_cv_header_stdc=no
6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 if test $ac_cv_header_stdc = yes; then
6265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6266 cat >conftest.$ac_ext <<_ACEOF
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6276 $EGREP "memchr" >/dev/null 2>&1; then
6279 ac_cv_header_stdc=no
6285 if test $ac_cv_header_stdc = yes; then
6286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6287 cat >conftest.$ac_ext <<_ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6297 $EGREP "free" >/dev/null 2>&1; then
6300 ac_cv_header_stdc=no
6306 if test $ac_cv_header_stdc = yes; then
6307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6308 if test "$cross_compiling" = yes; then
6311 cat >conftest.$ac_ext <<_ACEOF
6314 cat confdefs.h >>conftest.$ac_ext
6315 cat >>conftest.$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6319 #if ((' ' & 0x0FF) == 0x020)
6320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6323 # define ISLOWER(c) \
6324 (('a' <= (c) && (c) <= 'i') \
6325 || ('j' <= (c) && (c) <= 'r') \
6326 || ('s' <= (c) && (c) <= 'z'))
6327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6335 for (i = 0; i < 256; i++)
6336 if (XOR (islower (i), ISLOWER (i))
6337 || toupper (i) != TOUPPER (i))
6342 rm -f conftest$ac_exeext
6343 if { (ac_try="$ac_link"
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6349 $as_echo "$ac_try_echo") >&5
6350 (eval "$ac_link") 2>&5
6352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6354 { (case "(($ac_try" in
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_try") 2>&5
6362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then
6366 $as_echo "$as_me: program exited with status $ac_status" >&5
6367 $as_echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_header_stdc=no
6373 rm -rf conftest.dSYM
6374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6380 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6381 $as_echo "$ac_cv_header_stdc" >&6; }
6382 if test $ac_cv_header_stdc = yes; then
6384 cat >>confdefs.h <<\_ACEOF
6385 #define STDC_HEADERS 1
6390 # Make sure we can run config.sub.
6391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6392 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6393 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6394 { (exit 1); exit 1; }; }
6396 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6397 $as_echo_n "checking build system type... " >&6; }
6398 if test "${ac_cv_build+set}" = set; then
6399 $as_echo_n "(cached) " >&6
6401 ac_build_alias=$build_alias
6402 test "x$ac_build_alias" = x &&
6403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6404 test "x$ac_build_alias" = x &&
6405 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6406 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6407 { (exit 1); exit 1; }; }
6408 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6409 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6410 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6411 { (exit 1); exit 1; }; }
6414 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6415 $as_echo "$ac_cv_build" >&6; }
6416 case $ac_cv_build in
6418 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6419 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6420 { (exit 1); exit 1; }; };;
6423 ac_save_IFS=$IFS; IFS='-'
6429 # Remember, the first character of IFS is used to create $*,
6430 # except with old shells:
6433 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6436 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6437 $as_echo_n "checking host system type... " >&6; }
6438 if test "${ac_cv_host+set}" = set; then
6439 $as_echo_n "(cached) " >&6
6441 if test "x$host_alias" = x; then
6442 ac_cv_host=$ac_cv_build
6444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6445 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6446 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6447 { (exit 1); exit 1; }; }
6451 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6452 $as_echo "$ac_cv_host" >&6; }
6455 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6456 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6457 { (exit 1); exit 1; }; };;
6460 ac_save_IFS=$IFS; IFS='-'
6466 # Remember, the first character of IFS is used to create $*,
6467 # except with old shells:
6470 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6474 # Extract the first word of "pod2man", so it can be a program name with args.
6475 set dummy pod2man; ac_word=$2
6476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if test "${ac_cv_path_POD2MAN+set}" = set; then
6479 $as_echo_n "(cached) " >&6
6483 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
6494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 POD2MAN=$ac_cv_path_POD2MAN
6505 if test -n "$POD2MAN"; then
6506 { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
6507 $as_echo "$POD2MAN" >&6; }
6509 { $as_echo "$as_me:$LINENO: result: no" >&5
6510 $as_echo "no" >&6; }
6514 # Extract the first word of "pod2html", so it can be a program name with args.
6515 set dummy pod2html; ac_word=$2
6516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_path_POD2HTML+set}" = set; then
6519 $as_echo_n "(cached) " >&6
6523 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir=.
6531 for ac_exec_ext in '' $ac_executable_extensions; do
6532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6533 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
6534 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 POD2HTML=$ac_cv_path_POD2HTML
6545 if test -n "$POD2HTML"; then
6546 { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
6547 $as_echo "$POD2HTML" >&6; }
6549 { $as_echo "$as_me:$LINENO: result: no" >&5
6550 $as_echo "no" >&6; }
6556 # Check whether --enable-strict-warn was given.
6557 if test "${enable_strict_warn+set}" = set; then
6558 enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"
6561 # Check whether --enable-translator was given.
6562 if test "${enable_translator+set}" = set; then
6563 enableval=$enable_translator; true
6565 enable_translator=yes
6568 # Check whether --enable-trace was given.
6569 if test "${enable_trace+set}" = set; then
6570 enableval=$enable_trace; if test "$enableval" == "yes"; then
6572 cat >>confdefs.h <<\_ACEOF
6573 #define ENABLE_TRACE_IO 1
6579 # Check whether --enable-watch was given.
6580 if test "${enable_watch+set}" = set; then
6581 enableval=$enable_watch; if test "$enableval" == "yes"; then
6583 cat >>confdefs.h <<\_ACEOF
6584 #define ENABLE_WATCH 1
6590 # Check whether --enable-sh4stats was given.
6591 if test "${enable_sh4stats+set}" = set; then
6592 enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
6594 cat >>confdefs.h <<\_ACEOF
6595 #define ENABLE_SH4STATS 1
6602 # Check whether --with-osmesa was given.
6603 if test "${with_osmesa+set}" = set; then
6604 withval=$with_osmesa;
6610 # Check whether --with-gtk was given.
6611 if test "${with_gtk+set}" = set; then
6612 withval=$with_gtk; with_gtk=yes
6618 # Check whether --with-esd was given.
6619 if test "${with_esd+set}" = set; then
6624 # Check whether --with-pulse was given.
6625 if test "${with_pulse+set}" = set; then
6626 withval=$with_pulse;
6631 if test "x$GCC" = "xyes"; then
6632 CFLAGS="$CFLAGS -fno-strict-aliasing"
6636 lxdream_save_cppflags="$CPPFLAGS"
6637 CPPFLAGS="$CPPFLAGS -x objective-c"
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6653 rm -f conftest.$ac_objext
6654 if { (ac_try="$ac_compile"
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6660 $as_echo "$ac_try_echo") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1 >conftest.err
6665 cat conftest.err >&5
6666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
6673 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6674 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
6675 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
6676 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
6677 $as_echo_n "(cached) " >&6
6679 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
6680 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
6682 # Is the header compilable?
6683 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
6684 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
6685 cat >conftest.$ac_ext <<_ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6692 #include <Cocoa/Cocoa.h>
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6701 $as_echo "$ac_try_echo") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6704 grep -v '^ *+' conftest.er1 >conftest.err
6706 cat conftest.err >&5
6707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.$ac_objext; then
6712 ac_header_compiler=yes
6714 $as_echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 ac_header_compiler=no
6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6722 $as_echo "$ac_header_compiler" >&6; }
6724 # Is the header present?
6725 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
6726 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
6727 cat >conftest.$ac_ext <<_ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6733 #include <Cocoa/Cocoa.h>
6735 if { (ac_try="$ac_cpp conftest.$ac_ext"
6737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6738 *) ac_try_echo=$ac_try;;
6740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6741 $as_echo "$ac_try_echo") >&5
6742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6744 grep -v '^ *+' conftest.er1 >conftest.err
6746 cat conftest.err >&5
6747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } >/dev/null && {
6749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6750 test ! -s conftest.err
6752 ac_header_preproc=yes
6754 $as_echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6757 ac_header_preproc=no
6760 rm -f conftest.err conftest.$ac_ext
6761 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6762 $as_echo "$ac_header_preproc" >&6; }
6764 # So? What about this header?
6765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6767 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
6768 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6769 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
6770 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
6771 ac_header_preproc=yes
6774 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
6775 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
6776 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&5
6777 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}
6778 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
6779 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
6780 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&5
6781 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}
6782 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result