2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for newlib 1.18.0.
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.
595 PACKAGE_NAME='newlib'
596 PACKAGE_TARNAME='newlib'
597 PACKAGE_VERSION='1.18.0'
598 PACKAGE_STRING='newlib 1.18.0'
601 ac_unique_file="asm.h"
603 ac_subst_vars='am__EXEEXT_FALSE
640 MAINTAINER_MODE_FALSE
664 INSTALL_STRIP_PROGRAM
688 MAY_SUPPLY_SYSCALLS_FALSE
689 MAY_SUPPLY_SYSCALLS_TRUE
717 program_transform_name
729 enable_option_checking
731 enable_target_optspace
732 enable_malloc_debugging
733 enable_newlib_multithread
735 enable_newlib_elix_level
736 enable_newlib_io_float
737 enable_newlib_supplied_syscalls
738 enable_dependency_tracking
739 enable_maintainer_mode
741 ac_precious_vars='build_alias
754 # Initialize some variables set by options.
756 ac_init_version=false
757 ac_unrecognized_opts=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
768 program_transform_name=s,x,x,
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir='${exec_prefix}/bin'
783 sbindir='${exec_prefix}/sbin'
784 libexecdir='${exec_prefix}/libexec'
785 datarootdir='${prefix}/share'
786 datadir='${datarootdir}'
787 sysconfdir='${prefix}/etc'
788 sharedstatedir='${prefix}/com'
789 localstatedir='${prefix}/var'
790 includedir='${prefix}/include'
791 oldincludedir='/usr/include'
792 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir='${datarootdir}/info'
798 libdir='${exec_prefix}/lib'
799 localedir='${datarootdir}/locale'
800 mandir='${datarootdir}/man'
806 # If the previous option needs an argument, assign it.
807 if test -n "$ac_prev"; then
808 eval $ac_prev=\$ac_option
814 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir | --bindir | --bindi | --bind | --bin | --bi)
826 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
829 -build | --build | --buil | --bui | --bu)
830 ac_prev=build_alias ;;
831 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832 build_alias=$ac_optarg ;;
834 -cache-file | --cache-file | --cache-fil | --cache-fi \
835 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836 ac_prev=cache_file ;;
837 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839 cache_file=$ac_optarg ;;
842 cache_file=config.cache ;;
844 -datadir | --datadir | --datadi | --datad)
846 -datadir=* | --datadir=* | --datadi=* | --datad=*)
847 datadir=$ac_optarg ;;
849 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850 | --dataroo | --dataro | --datar)
851 ac_prev=datarootdir ;;
852 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854 datarootdir=$ac_optarg ;;
856 -disable-* | --disable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
861 { (exit 1); exit 1; }; }
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
871 eval enable_$ac_useropt=no ;;
873 -docdir | --docdir | --docdi | --doc | --do)
875 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
878 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
880 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
883 -enable-* | --enable-*)
884 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
888 { (exit 1); exit 1; }; }
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
898 eval enable_$ac_useropt=\$ac_optarg ;;
900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902 | --exec | --exe | --ex)
903 ac_prev=exec_prefix ;;
904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906 | --exec=* | --exe=* | --ex=*)
907 exec_prefix=$ac_optarg ;;
909 -gas | --gas | --ga | --g)
910 # Obsolete; use --with-gas.
913 -help | --help | --hel | --he | -h)
915 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
916 ac_init_help=recursive ;;
917 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
918 ac_init_help=short ;;
920 -host | --host | --hos | --ho)
921 ac_prev=host_alias ;;
922 -host=* | --host=* | --hos=* | --ho=*)
923 host_alias=$ac_optarg ;;
925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929 htmldir=$ac_optarg ;;
931 -includedir | --includedir | --includedi | --included | --include \
932 | --includ | --inclu | --incl | --inc)
933 ac_prev=includedir ;;
934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935 | --includ=* | --inclu=* | --incl=* | --inc=*)
936 includedir=$ac_optarg ;;
938 -infodir | --infodir | --infodi | --infod | --info | --inf)
940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941 infodir=$ac_optarg ;;
943 -libdir | --libdir | --libdi | --libd)
945 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949 | --libexe | --libex | --libe)
950 ac_prev=libexecdir ;;
951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952 | --libexe=* | --libex=* | --libe=*)
953 libexecdir=$ac_optarg ;;
955 -localedir | --localedir | --localedi | --localed | --locale)
957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958 localedir=$ac_optarg ;;
960 -localstatedir | --localstatedir | --localstatedi | --localstated \
961 | --localstate | --localstat | --localsta | --localst | --locals)
962 ac_prev=localstatedir ;;
963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965 localstatedir=$ac_optarg ;;
967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
973 # Obsolete; use --without-fp.
976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977 | --no-cr | --no-c | -n)
980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986 | --oldin | --oldi | --old | --ol | --o)
987 ac_prev=oldincludedir ;;
988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991 oldincludedir=$ac_optarg ;;
993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 -program-prefix | --program-prefix | --program-prefi | --program-pref \
999 | --program-pre | --program-pr | --program-p)
1000 ac_prev=program_prefix ;;
1001 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003 program_prefix=$ac_optarg ;;
1005 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006 | --program-suf | --program-su | --program-s)
1007 ac_prev=program_suffix ;;
1008 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010 program_suffix=$ac_optarg ;;
1012 -program-transform-name | --program-transform-name \
1013 | --program-transform-nam | --program-transform-na \
1014 | --program-transform-n | --program-transform- \
1015 | --program-transform | --program-transfor \
1016 | --program-transfo | --program-transf \
1017 | --program-trans | --program-tran \
1018 | --progr-tra | --program-tr | --program-t)
1019 ac_prev=program_transform_name ;;
1020 -program-transform-name=* | --program-transform-name=* \
1021 | --program-transform-nam=* | --program-transform-na=* \
1022 | --program-transform-n=* | --program-transform-=* \
1023 | --program-transform=* | --program-transfor=* \
1024 | --program-transfo=* | --program-transf=* \
1025 | --program-trans=* | --program-tran=* \
1026 | --progr-tra=* | --program-tr=* | --program-t=*)
1027 program_transform_name=$ac_optarg ;;
1029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032 pdfdir=$ac_optarg ;;
1034 -psdir | --psdir | --psdi | --psd | --ps)
1036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 sbindir=$ac_optarg ;;
1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051 | --sharedst | --shareds | --shared | --share | --shar \
1053 ac_prev=sharedstatedir ;;
1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 sharedstatedir=$ac_optarg ;;
1060 -site | --site | --sit)
1062 -site=* | --site=* | --sit=*)
1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068 srcdir=$ac_optarg ;;
1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071 | --syscon | --sysco | --sysc | --sys | --sy)
1072 ac_prev=sysconfdir ;;
1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075 sysconfdir=$ac_optarg ;;
1077 -target | --target | --targe | --targ | --tar | --ta | --t)
1078 ac_prev=target_alias ;;
1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080 target_alias=$ac_optarg ;;
1082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 -version | --version | --versio | --versi | --vers | -V)
1086 ac_init_version=: ;;
1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1093 { (exit 1); exit 1; }; }
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_useropt_orig=$ac_useropt
1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1120 eval with_$ac_useropt=no ;;
1123 # Obsolete; use --with-x.
1126 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1127 | --x-incl | --x-inc | --x-in | --x-i)
1128 ac_prev=x_includes ;;
1129 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1130 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1131 x_includes=$ac_optarg ;;
1133 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1134 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1135 ac_prev=x_libraries ;;
1136 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1137 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138 x_libraries=$ac_optarg ;;
1140 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1141 Try \`$0 --help' for more information." >&2
1142 { (exit 1); exit 1; }; }
1146 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1149 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1150 { (exit 1); exit 1; }; }
1151 eval $ac_envvar=\$ac_optarg
1152 export $ac_envvar ;;
1155 # FIXME: should be removed in autoconf 3.0.
1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 if test -n "$ac_prev"; then
1166 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1168 { (exit 1); exit 1; }; }
1171 if test -n "$ac_unrecognized_opts"; then
1172 case $enable_option_checking in
1174 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1175 { (exit 1); exit 1; }; } ;;
1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 # Check all directory arguments for consistency.
1181 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val=\$$ac_var
1187 # Remove trailing slashes.
1190 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191 eval $ac_var=\$ac_val;;
1193 # Be sure to have absolute directory names.
1195 [\\/$]* | ?:[\\/]* ) continue;;
1196 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1199 { (exit 1); exit 1; }; }
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211 if test "x$build_alias" = x; then
1212 cross_compiling=maybe
1213 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1214 If a cross compiler is detected then cross compile mode will be used." >&2
1215 elif test "x$build_alias" != "x$host_alias"; then
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1223 test "$silent" = yes && exec 6>/dev/null
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1230 { (exit 1); exit 1; }; }
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1233 { (exit 1); exit 1; }; }
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1273 { (exit 1); exit 1; }; }
1275 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1278 { (exit 1); exit 1; }; }
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 for ac_var in $ac_precious_vars; do
1291 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_${ac_var}_value=\$${ac_var}
1293 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298 # Report the --help message.
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1304 \`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1311 Defaults for the options are specified in brackets.
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1335 For better control, use the options below.
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1362 --program-prefix=PREFIX prepend PREFIX to installed program names
1363 --program-suffix=SUFFIX append SUFFIX to installed program names
1364 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1367 --build=BUILD configure for building on BUILD [guessed]
1368 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive ) echo "Configuration of newlib 1.18.0:";;
1379 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-multilib build many library versions (default)
1383 --enable-target-optspace optimize for space
1384 --enable-malloc-debugging indicate malloc debugging requested
1385 --enable-newlib-multithread enable support for multiple threads
1386 --enable-newlib-iconv enable iconv library support
1387 --enable-newlib-elix-level supply desired elix library level (1-4)
1388 --disable-newlib-io-float disable printf/scanf family float support
1389 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-maintainer-mode enable make rules and dependencies not useful
1393 (and sometimes confusing) to the casual installer
1395 Some influential environment variables:
1396 CCAS assembler compiler command (defaults to CC)
1397 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1398 CC C compiler command
1399 CFLAGS C compiler flags
1400 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1401 nonstandard directory <lib dir>
1402 LIBS libraries to pass to the linker, e.g. -l<library>
1403 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1404 you have headers in a nonstandard directory <include dir>
1407 Use these variables to override the choices made by `configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1414 if test "$ac_init_help" = "recursive"; then
1415 # If there are subdirs, report their specific --help.
1416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1417 test -d "$ac_dir" ||
1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1426 # A ".." for each directory in $ac_dir_suffix.
1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1428 case $ac_top_builddir_sub in
1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
1439 .) # We are building in place.
1441 ac_top_srcdir=$ac_top_builddir_sub
1442 ac_abs_top_srcdir=$ac_pwd ;;
1443 [\\/]* | ?:[\\/]* ) # Absolute name.
1444 ac_srcdir=$srcdir$ac_dir_suffix;
1445 ac_top_srcdir=$srcdir
1446 ac_abs_top_srcdir=$srcdir ;;
1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449 ac_top_srcdir=$ac_top_build_prefix$srcdir
1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1454 cd "$ac_dir" || { ac_status=$?; continue; }
1455 # Check for guested configure.
1456 if test -f "$ac_srcdir/configure.gnu"; then
1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459 elif test -f "$ac_srcdir/configure"; then
1461 $SHELL "$ac_srcdir/configure" --help=recursive
1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1465 cd "$ac_pwd" || { ac_status=$?; break; }
1469 test -n "$ac_init_help" && exit $ac_status
1470 if $ac_init_version; then
1472 newlib configure 1.18.0
1473 generated by GNU Autoconf 2.63
1475 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1476 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1486 It was created by newlib $as_me 1.18.0, which was
1487 generated by GNU Autoconf 2.63. Invocation command line was
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 $as_echo "PATH: $as_dir"
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1547 ac_must_keep_next=false
1553 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555 | -silent | --silent | --silen | --sile | --sil)
1558 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1561 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1563 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1564 if test $ac_must_keep_next = true; then
1565 ac_must_keep_next=false # Got value, back to normal.
1568 *=* | --config-cache | -C | -disable-* | --disable-* \
1569 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571 | -with-* | --with-* | -without-* | --without-* | --x)
1572 case "$ac_configure_args0 " in
1573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1576 -* ) ac_must_keep_next=true ;;
1579 ac_configure_args="$ac_configure_args '$ac_arg'"
1584 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1585 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log. We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593 # Save into config.log some information that might help in debugging.
1598 ## ---------------- ##
1599 ## Cache variables. ##
1600 ## ---------------- ##
1603 # The following way of writing the cache mishandles newlines in values,
1605 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1606 eval ac_val=\$$ac_var
1610 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1614 _ | IFS | as_nl) ;; #(
1615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1616 *) $as_unset $ac_var ;;
1621 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1622 *${as_nl}ac_space=\ *)
1624 "s/'\''/'\''\\\\'\'''\''/g;
1625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1636 ## ----------------- ##
1637 ## Output variables. ##
1638 ## ----------------- ##
1641 for ac_var in $ac_subst_vars
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 $as_echo "$ac_var='\''$ac_val'\''"
1651 if test -n "$ac_subst_files"; then
1653 ## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##
1658 for ac_var in $ac_subst_files
1660 eval ac_val=\$$ac_var
1662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1664 $as_echo "$ac_var='\''$ac_val'\''"
1669 if test -s confdefs.h; then
1679 test "$ac_signal" != 0 &&
1680 $as_echo "$as_me: caught signal $ac_signal"
1681 $as_echo "$as_me: exit $exit_status"
1683 rm -f core *.core core.conftest.* &&
1684 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1687 for ac_signal in 1 2 13 15; do
1688 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1693 rm -f -r conftest* confdefs.h
1695 # Predefined preprocessor variables.
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_NAME "$PACKAGE_NAME"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_STRING "$PACKAGE_STRING"
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1722 # Let the site file select an alternate cache file if it wants to.
1723 # Prefer an explicitly selected file to automatically selected ones.
1726 if test -n "$CONFIG_SITE"; then
1727 ac_site_file1=$CONFIG_SITE
1728 elif test "x$prefix" != xNONE; then
1729 ac_site_file1=$prefix/share/config.site
1730 ac_site_file2=$prefix/etc/config.site
1732 ac_site_file1=$ac_default_prefix/share/config.site
1733 ac_site_file2=$ac_default_prefix/etc/config.site
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1737 test "x$ac_site_file" = xNONE && continue
1738 if test -r "$ac_site_file"; then
1739 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1741 sed 's/^/| /' "$ac_site_file" >&5
1746 if test -r "$cache_file"; then
1747 # Some versions of bash will fail to source /dev/null (special
1748 # files actually), so we avoid doing that.
1749 if test -f "$cache_file"; then
1750 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 $as_echo "$as_me: loading cache $cache_file" >&6;}
1753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754 *) . "./$cache_file";;
1758 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 $as_echo "$as_me: creating cache $cache_file" >&6;}
1763 # Check that the precious variables saved in the cache have kept the same
1765 ac_cache_corrupted=false
1766 for ac_var in $ac_precious_vars; do
1767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1768 eval ac_new_set=\$ac_env_${ac_var}_set
1769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1770 eval ac_new_val=\$ac_env_${ac_var}_value
1771 case $ac_old_set,$ac_new_set in
1773 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775 ac_cache_corrupted=: ;;
1777 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779 ac_cache_corrupted=: ;;
1782 if test "x$ac_old_val" != "x$ac_new_val"; then
1783 # differences in whitespace do not lead to failure.
1784 ac_old_val_w=`echo x $ac_old_val`
1785 ac_new_val_w=`echo x $ac_new_val`
1786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789 ac_cache_corrupted=:
1791 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793 eval $ac_var=\$ac_old_val
1795 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1797 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1801 # Pass precious variables to config.status.
1802 if test "$ac_new_set" = set; then
1804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1805 *) ac_arg=$ac_var=$ac_new_val ;;
1807 case " $ac_configure_args " in
1808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1809 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1813 if $ac_cache_corrupted; then
1814 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820 { (exit 1); exit 1; }; }
1848 ac_cpp='$CPP $CPPFLAGS'
1849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1857 for ac_dir in ../../../.. "$srcdir"/../../../..; do
1858 if test -f "$ac_dir/install-sh"; then
1860 ac_install_sh="$ac_aux_dir/install-sh -c"
1862 elif test -f "$ac_dir/install.sh"; then
1864 ac_install_sh="$ac_aux_dir/install.sh -c"
1866 elif test -f "$ac_dir/shtool"; then
1868 ac_install_sh="$ac_aux_dir/shtool install -c"
1872 if test -z "$ac_aux_dir"; then
1873 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
1874 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
1875 { (exit 1); exit 1; }; }
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1896 $as_echo_n "checking build system type... " >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 $as_echo_n "(cached) " >&6
1900 ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 $as_echo "$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1917 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1922 ac_save_IFS=$IFS; IFS='-'
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 am__api_version='1.11'
1937 # Find a good install program. We prefer a C program (faster),
1938 # so one script is as good as another. But avoid the broken or
1939 # incompatible versions:
1940 # SysV /etc/install, /usr/sbin/install
1941 # SunOS /usr/etc/install
1942 # IRIX /sbin/install
1944 # AmigaOS /C/install, which installs bootblocks on floppy discs
1945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1948 # OS/2's system install, which has a completely different semantic
1949 # ./install, which can be erroneously created by make from ./install.sh.
1950 # Reject install programs that cannot install multiple files.
1951 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1953 if test -z "$INSTALL"; then
1954 if test "${ac_cv_path_install+set}" = set; then
1955 $as_echo_n "(cached) " >&6
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 # Account for people who put trailing slashes in PATH elements.
1964 ./ | .// | /cC/* | \
1965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1966 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1969 # OSF1 and SCO ODT 3.0 have their own names for install.
1970 # Don't use installbsd from OSF since it installs stuff as root
1972 for ac_prog in ginstall scoinst install; do
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1975 if test $ac_prog = install &&
1976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1977 # AIX install. It has an incompatible calling convention.
1979 elif test $ac_prog = install &&
1980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1981 # program-specific install script used by HP pwplus--don't use.
1984 rm -rf conftest.one conftest.two conftest.dir
1985 echo one > conftest.one
1986 echo two > conftest.two
1988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1989 test -s conftest.one && test -s conftest.two &&
1990 test -s conftest.dir/conftest.one &&
1991 test -s conftest.dir/conftest.two
1993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2006 rm -rf conftest.one conftest.two conftest.dir
2009 if test "${ac_cv_path_install+set}" = set; then
2010 INSTALL=$ac_cv_path_install
2012 # As a last resort, use the slow shell script. Don't cache a
2013 # value for INSTALL within a source directory, because that will
2014 # break other packages using the cache if that directory is
2015 # removed, or if the value is a relative name.
2016 INSTALL=$ac_install_sh
2019 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2020 $as_echo "$INSTALL" >&6; }
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2030 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2031 $as_echo_n "checking whether build environment is sane... " >&6; }
2034 echo timestamp > conftest.file
2035 # Reject unsafe characters in $srcdir or the absolute working directory
2036 # name. Accept space and tab only in the latter.
2040 *[\\\"\#\$\&\'\`$am_lf]*)
2041 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2042 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2043 { (exit 1); exit 1; }; };;
2046 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2047 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2048 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2049 { (exit 1); exit 1; }; };;
2052 # Do `set' in a subshell so we don't clobber the current shell's
2053 # arguments. Must try -L first in case configure is actually a
2054 # symlink; some systems play weird games with the mod time of symlinks
2055 # (eg FreeBSD returns the mod time of the symlink's containing
2058 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2059 if test "$*" = "X"; then
2061 set X `ls -t "$srcdir/configure" conftest.file`
2064 if test "$*" != "X $srcdir/configure conftest.file" \
2065 && test "$*" != "X conftest.file $srcdir/configure"; then
2067 # If neither matched, then we have a broken ls. This can happen
2068 # if, for instance, CONFIG_SHELL is bash and it inherits a
2069 # broken ls alias from the environment. This has actually
2070 # happened. Such a system could not be considered "sane".
2071 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2072 alias in your environment" >&5
2073 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2074 alias in your environment" >&2;}
2075 { (exit 1); exit 1; }; }
2078 test "$2" = conftest.file
2084 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2085 Check your system clock" >&5
2086 $as_echo "$as_me: error: newly created file is older than distributed files!
2087 Check your system clock" >&2;}
2088 { (exit 1); exit 1; }; }
2090 { $as_echo "$as_me:$LINENO: result: yes" >&5
2091 $as_echo "yes" >&6; }
2092 test "$program_prefix" != NONE &&
2093 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2094 # Use a double $ so make ignores it.
2095 test "$program_suffix" != NONE &&
2096 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2097 # Double any \ or $.
2098 # By default was `s,x,x', remove it if useless.
2099 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2100 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2102 # expand $ac_aux_dir to an absolute path
2103 am_aux_dir=`cd $ac_aux_dir && pwd`
2105 if test x"${MISSING+set}" != xset; then
2108 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2110 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2113 # Use eval to expand $SHELL
2114 if eval "$MISSING --run true"; then
2115 am_missing_run="$MISSING --run "
2118 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2122 if test x"${install_sh}" != xset; then
2125 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2127 install_sh="\${SHELL} $am_aux_dir/install-sh"
2131 # Installed binaries are usually stripped using `strip' when the user
2132 # run `make install-strip'. However `strip' might not be the right
2133 # tool to use in cross-compilation environments, therefore Automake
2134 # will honor the `STRIP' environment variable to overrule this program.
2135 if test "$cross_compiling" != no; then
2136 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2138 set dummy ${ac_tool_prefix}strip; ac_word=$2
2139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 $as_echo_n "checking for $ac_word... " >&6; }
2141 if test "${ac_cv_prog_STRIP+set}" = set; then
2142 $as_echo_n "(cached) " >&6
2144 if test -n "$STRIP"; then
2145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 STRIP=$ac_cv_prog_STRIP
2165 if test -n "$STRIP"; then
2166 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2167 $as_echo "$STRIP" >&6; }
2169 { $as_echo "$as_me:$LINENO: result: no" >&5
2170 $as_echo "no" >&6; }
2175 if test -z "$ac_cv_prog_STRIP"; then
2177 # Extract the first word of "strip", so it can be a program name with args.
2178 set dummy strip; ac_word=$2
2179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 $as_echo_n "checking for $ac_word... " >&6; }
2181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2182 $as_echo_n "(cached) " >&6
2184 if test -n "$ac_ct_STRIP"; then
2185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_ac_ct_STRIP="strip"
2195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2205 if test -n "$ac_ct_STRIP"; then
2206 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207 $as_echo "$ac_ct_STRIP" >&6; }
2209 { $as_echo "$as_me:$LINENO: result: no" >&5
2210 $as_echo "no" >&6; }
2213 if test "x$ac_ct_STRIP" = x; then
2216 case $cross_compiling:$ac_tool_warned in
2218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2220 ac_tool_warned=yes ;;
2225 STRIP="$ac_cv_prog_STRIP"
2229 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2231 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2233 if test -z "$MKDIR_P"; then
2234 if test "${ac_cv_path_mkdir+set}" = set; then
2235 $as_echo_n "(cached) " >&6
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2241 test -z "$as_dir" && as_dir=.
2242 for ac_prog in mkdir gmkdir; do
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2246 'mkdir (GNU coreutils) '* | \
2247 'mkdir (coreutils) '* | \
2248 'mkdir (fileutils) '4.1*)
2249 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2259 if test "${ac_cv_path_mkdir+set}" = set; then
2260 MKDIR_P="$ac_cv_path_mkdir -p"
2262 # As a last resort, use the slow shell script. Don't cache a
2263 # value for MKDIR_P within a source directory, because that will
2264 # break other packages using the cache if that directory is
2265 # removed, or if the value is a relative name.
2266 test -d ./--version && rmdir ./--version
2267 MKDIR_P="$ac_install_sh -d"
2270 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2271 $as_echo "$MKDIR_P" >&6; }
2275 [\\/$]* | ?:[\\/]*) ;;
2276 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2279 for ac_prog in gawk mawk nawk awk
2281 # Extract the first word of "$ac_prog", so it can be a program name with args.
2282 set dummy $ac_prog; ac_word=$2
2283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 $as_echo_n "checking for $ac_word... " >&6; }
2285 if test "${ac_cv_prog_AWK+set}" = set; then
2286 $as_echo_n "(cached) " >&6
2288 if test -n "$AWK"; then
2289 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298 ac_cv_prog_AWK="$ac_prog"
2299 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 if test -n "$AWK"; then
2310 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2311 $as_echo "$AWK" >&6; }
2313 { $as_echo "$as_me:$LINENO: result: no" >&5
2314 $as_echo "no" >&6; }
2318 test -n "$AWK" && break
2321 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2324 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2325 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2326 $as_echo_n "(cached) " >&6
2328 cat >conftest.make <<\_ACEOF
2331 @echo '@@@%%%=$(MAKE)=@@@%%%'
2333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2336 eval ac_cv_prog_make_${ac_make}_set=yes;;
2338 eval ac_cv_prog_make_${ac_make}_set=no;;
2342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2343 { $as_echo "$as_me:$LINENO: result: yes" >&5
2344 $as_echo "yes" >&6; }
2347 { $as_echo "$as_me:$LINENO: result: no" >&5
2348 $as_echo "no" >&6; }
2349 SET_MAKE="MAKE=${MAKE-make}"
2352 rm -rf .tst 2>/dev/null
2353 mkdir .tst 2>/dev/null
2354 if test -d .tst; then
2359 rmdir .tst 2>/dev/null
2361 DEPDIR="${am__leading_dot}deps"
2363 ac_config_commands="$ac_config_commands depfiles"
2366 am_make=${MAKE-make}
2367 cat > confinc << 'END'
2369 @echo this is the am__doit target
2372 # If we don't find an include directive, just comment out the code.
2373 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2374 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2378 # First try GNU make style include.
2379 echo "include confinc" > confmf
2380 # Ignore all kinds of additional output from `make'.
2381 case `$am_make -s -f confmf 2> /dev/null` in #(
2382 *the\ am__doit\ target*)
2388 # Now try BSD make style include.
2389 if test "$am__include" = "#"; then
2390 echo '.include "confinc"' > confmf
2391 case `$am_make -s -f confmf 2> /dev/null` in #(
2392 *the\ am__doit\ target*)
2393 am__include=.include
2401 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2402 $as_echo "$_am_result" >&6; }
2403 rm -f confinc confmf
2405 # Check whether --enable-dependency-tracking was given.
2406 if test "${enable_dependency_tracking+set}" = set; then
2407 enableval=$enable_dependency_tracking;
2410 if test "x$enable_dependency_tracking" != xno; then
2411 am_depcomp="$ac_aux_dir/depcomp"
2414 if test "x$enable_dependency_tracking" != xno; then
2424 # Check whether --enable-multilib was given.
2425 if test "${enable_multilib+set}" = set; then
2426 enableval=$enable_multilib; case "${enableval}" in
2427 yes) multilib=yes ;;
2429 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2430 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2431 { (exit 1); exit 1; }; } ;;
2437 # Check whether --enable-target-optspace was given.
2438 if test "${enable_target_optspace+set}" = set; then
2439 enableval=$enable_target_optspace; case "${enableval}" in
2440 yes) target_optspace=yes ;;
2441 no) target_optspace=no ;;
2442 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2443 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2444 { (exit 1); exit 1; }; } ;;
2450 # Check whether --enable-malloc-debugging was given.
2451 if test "${enable_malloc_debugging+set}" = set; then
2452 enableval=$enable_malloc_debugging; case "${enableval}" in
2453 yes) malloc_debugging=yes ;;
2454 no) malloc_debugging=no ;;
2455 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2456 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2457 { (exit 1); exit 1; }; } ;;
2463 # Check whether --enable-newlib-multithread was given.
2464 if test "${enable_newlib_multithread+set}" = set; then
2465 enableval=$enable_newlib_multithread; case "${enableval}" in
2466 yes) newlib_multithread=yes ;;
2467 no) newlib_multithread=no ;;
2468 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2469 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2470 { (exit 1); exit 1; }; } ;;
2473 newlib_multithread=yes
2476 # Check whether --enable-newlib-iconv was given.
2477 if test "${enable_newlib_iconv+set}" = set; then
2478 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2479 case "${enableval}" in
2480 yes) newlib_iconv=yes ;;
2481 no) newlib_iconv=no ;;
2482 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2483 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2484 { (exit 1); exit 1; }; } ;;
2488 newlib_iconv=${newlib_iconv}
2491 # Check whether --enable-newlib-elix-level was given.
2492 if test "${enable_newlib_elix_level+set}" = set; then
2493 enableval=$enable_newlib_elix_level; case "${enableval}" in
2494 0) newlib_elix_level=0 ;;
2495 1) newlib_elix_level=1 ;;
2496 2) newlib_elix_level=2 ;;
2497 3) newlib_elix_level=3 ;;
2498 4) newlib_elix_level=4 ;;
2499 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2500 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2501 { (exit 1); exit 1; }; } ;;
2507 # Check whether --enable-newlib-io-float was given.
2508 if test "${enable_newlib_io_float+set}" = set; then
2509 enableval=$enable_newlib_io_float; case "${enableval}" in
2510 yes) newlib_io_float=yes ;;
2511 no) newlib_io_float=no ;;
2512 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2513 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2514 { (exit 1); exit 1; }; } ;;
2520 # Check whether --enable-newlib-supplied-syscalls was given.
2521 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2522 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2523 yes) newlib_may_supply_syscalls=yes ;;
2524 no) newlib_may_supply_syscalls=no ;;
2525 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2526 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2527 { (exit 1); exit 1; }; } ;;
2530 newlib_may_supply_syscalls=yes
2533 if test x${newlib_may_supply_syscalls} = xyes; then
2534 MAY_SUPPLY_SYSCALLS_TRUE=
2535 MAY_SUPPLY_SYSCALLS_FALSE='#'
2537 MAY_SUPPLY_SYSCALLS_TRUE='#'
2538 MAY_SUPPLY_SYSCALLS_FALSE=
2543 test -z "${with_target_subdir}" && with_target_subdir=.
2545 if test "${srcdir}" = "."; then
2546 if test "${with_target_subdir}" != "."; then
2547 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2549 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2552 newlib_basedir="${srcdir}/../../.."
2556 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2557 $as_echo_n "checking host system type... " >&6; }
2558 if test "${ac_cv_host+set}" = set; then
2559 $as_echo_n "(cached) " >&6
2561 if test "x$host_alias" = x; then
2562 ac_cv_host=$ac_cv_build
2564 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2565 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2566 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2567 { (exit 1); exit 1; }; }
2571 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2572 $as_echo "$ac_cv_host" >&6; }
2575 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2576 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2577 { (exit 1); exit 1; }; };;
2580 ac_save_IFS=$IFS; IFS='-'
2586 # Remember, the first character of IFS is used to create $*,
2587 # except with old shells:
2590 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2594 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2595 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2596 # is not polluted with repeated "-I."
2597 am__isrc=' -I$(srcdir)'
2598 # test to see if srcdir already configured
2599 if test -f $srcdir/config.status; then
2600 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2601 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2602 { (exit 1); exit 1; }; }
2606 # test whether we have cygpath
2607 if test -z "$CYGPATH_W"; then
2608 if (cygpath --version) >/dev/null 2>/dev/null; then
2609 CYGPATH_W='cygpath -w'
2616 # Define the identity of the package.
2621 # Some tools Automake needs.
2623 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2626 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2629 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2632 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2635 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2637 # We need awk for the "check" target. The system "awk" is bad on
2639 # Always define AMTAR for backward compatibility.
2641 AMTAR=${AMTAR-"${am_missing_run}tar"}
2643 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2650 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2651 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2652 # are probably using a cross compiler, which will not be able to fully
2653 # link an executable. This should really be fixed in autoconf
2662 # Extract the first word of "gcc", so it can be a program name with args.
2663 set dummy gcc; 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.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2694 { $as_echo "$as_me:$LINENO: result: no" >&5
2695 $as_echo "no" >&6; }
2700 depcc="$CC" am_compiler_list=
2702 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2703 $as_echo_n "checking dependency style of $depcc... " >&6; }
2704 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2705 $as_echo_n "(cached) " >&6
2707 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2708 # We make a subdir and do the tests there. Otherwise we can end up
2709 # making bogus files that we don't know about and never remove. For
2710 # instance it was reported that on HP-UX the gcc test will end up
2711 # making a dummy file named `D' -- because `-MD' means `put the output
2714 # Copy depcomp to subdir because otherwise we won't find it if we're
2715 # using a relative directory.
2716 cp "$am_depcomp" conftest.dir
2718 # We will build objects and dependencies in a subdirectory because
2719 # it helps to detect inapplicable dependency modes. For instance
2720 # both Tru64's cc and ICC support -MD to output dependencies as a
2721 # side effect of compilation, but ICC will put the dependencies in
2722 # the current directory while Tru64 will put them in the object
2726 am_cv_CC_dependencies_compiler_type=none
2727 if test "$am_compiler_list" = ""; then
2728 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2731 case " $depcc " in #(
2732 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2735 for depmode in $am_compiler_list; do
2736 # Setup a source with many dependencies, because some compilers
2737 # like to wrap large dependency lists on column 80 (with \), and
2738 # we should not choose a depcomp mode which is confused by this.
2740 # We need to recreate these files for each test, as the compiler may
2741 # overwrite some of them when testing with obscure command lines.
2742 # This happens at least with the AIX C compiler.
2744 for i in 1 2 3 4 5 6; do
2745 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2746 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2747 # Solaris 8's {/usr,}/bin/sh.
2748 touch sub/conftst$i.h
2750 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2752 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2753 # mode. It turns out that the SunPro C++ compiler does not properly
2754 # handle `-M -o', and we need to detect this. Also, some Intel
2755 # versions had trouble with output in subdirs
2756 am__obj=sub/conftest.${OBJEXT-o}
2757 am__minus_obj="-o $am__obj"
2760 # This depmode causes a compiler race in universal mode.
2761 test "$am__universal" = false || continue
2764 # after this tag, mechanisms are not by side-effect, so they'll
2765 # only be used when explicitly requested
2766 if test "x$enable_dependency_tracking" = xyes; then
2772 msvisualcpp | msvcmsys)
2773 # This compiler won't grok `-c -o', but also, the minuso test has
2774 # not run yet. These depmodes are late enough in the game, and
2775 # so weak that their functioning should not be impacted.
2776 am__obj=conftest.${OBJEXT-o}
2781 if depmode=$depmode \
2782 source=sub/conftest.c object=$am__obj \
2783 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2784 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2785 >/dev/null 2>conftest.err &&
2786 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2787 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2788 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2789 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2790 # icc doesn't choke on unknown options, it will just issue warnings
2791 # or remarks (even with -Werror). So we grep stderr for any message
2792 # that says an option was ignored or not supported.
2793 # When given -MP, icc 7.0 and 7.1 complain thusly:
2794 # icc: Command line warning: ignoring option '-M'; no argument required
2795 # The diagnosis changed in icc 8.0:
2796 # icc: Command line remark: option '-MP' not supported
2797 if (grep 'ignoring option' conftest.err ||
2798 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2799 am_cv_CC_dependencies_compiler_type=$depmode
2808 am_cv_CC_dependencies_compiler_type=none
2812 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2813 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2814 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2817 test "x$enable_dependency_tracking" != xno \
2818 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2820 am__fastdepCC_FALSE='#'
2822 am__fastdepCC_TRUE='#'
2823 am__fastdepCC_FALSE=
2827 if test -z "$CC"; then
2828 # Extract the first word of "cc", so it can be a program name with args.
2829 set dummy cc; ac_word=$2
2830 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if test "${ac_cv_prog_CC+set}" = set; then
2833 $as_echo_n "(cached) " >&6
2835 if test -n "$CC"; then
2836 ac_cv_prog_CC="$CC" # Let the user override the test.
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir=.
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2847 ac_prog_rejected=yes
2851 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 if test $ac_prog_rejected = yes; then
2859 # We found a bogon in the path, so make sure we never use it.
2860 set dummy $ac_cv_prog_CC
2862 if test $# != 0; then
2863 # We chose a different compiler from the bogus one.
2864 # However, it has the same basename, so the bogon will be chosen
2865 # first if we set CC to just the basename; use the full file name.
2867 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2873 if test -n "$CC"; then
2874 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2875 $as_echo "$CC" >&6; }
2877 { $as_echo "$as_me:$LINENO: result: no" >&5
2878 $as_echo "no" >&6; }
2882 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2883 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2884 { (exit 1); exit 1; }; }
2887 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2888 $as_echo_n "checking whether we are using GNU C... " >&6; }
2889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2890 $as_echo_n "(cached) " >&6
2892 cat > conftest.c <<EOF
2897 if { ac_try='${CC-cc} -E conftest.c'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2903 ac_cv_c_compiler_gnu=yes
2905 ac_cv_c_compiler_gnu=no
2908 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2911 if test $ac_cv_c_compiler_gnu = yes; then
2913 ac_test_CFLAGS="${CFLAGS+set}"
2914 ac_save_CFLAGS="$CFLAGS"
2915 ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2919 if test "${ac_cv_prog_cc_g+set}" = set; then
2920 $as_echo_n "(cached) " >&6
2922 ac_save_c_werror_flag=$ac_c_werror_flag
2923 ac_c_werror_flag=yes
2926 cat >conftest.$ac_ext <<_ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2941 rm -f conftest.$ac_objext
2942 if { (ac_try="$ac_compile"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948 $as_echo "$ac_try_echo") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2965 cat >conftest.$ac_ext <<_ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2987 $as_echo "$ac_try_echo") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext; then
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 ac_c_werror_flag=$ac_save_c_werror_flag
3005 cat >conftest.$ac_ext <<_ACEOF
3008 cat confdefs.h >>conftest.$ac_ext
3009 cat >>conftest.$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3020 rm -f conftest.$ac_objext
3021 if { (ac_try="$ac_compile"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3027 $as_echo "$ac_try_echo") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3030 grep -v '^ *+' conftest.er1 >conftest.err
3032 cat conftest.err >&5
3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest.$ac_objext; then
3040 $as_echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 ac_c_werror_flag=$ac_save_c_werror_flag
3055 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3056 $as_echo "$ac_cv_prog_cc_g" >&6; }
3057 if test "$ac_test_CFLAGS" = set; then
3058 CFLAGS=$ac_save_CFLAGS
3059 elif test $ac_cv_prog_cc_g = yes; then
3060 if test "$GCC" = yes; then
3066 if test "$GCC" = yes; then
3072 if test "$ac_test_CFLAGS" = set; then
3073 CFLAGS="$ac_save_CFLAGS"
3074 elif test $ac_cv_prog_cc_g = yes; then
3081 test "${CFLAGS+set}" = set || CFLAGS="-g"
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}as; ac_word=$2
3088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_AS+set}" = set; then
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$AS"; then
3094 ac_cv_prog_AS="$AS" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_AS="${ac_tool_prefix}as"
3104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$AS"; then
3115 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3116 $as_echo "$AS" >&6; }
3118 { $as_echo "$as_me:$LINENO: result: no" >&5
3119 $as_echo "no" >&6; }
3124 if test -z "$ac_cv_prog_AS"; then
3126 # Extract the first word of "as", so it can be a program name with args.
3127 set dummy as; ac_word=$2
3128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3131 $as_echo_n "(cached) " >&6
3133 if test -n "$ac_ct_AS"; then
3134 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir=.
3141 for ac_exec_ext in '' $ac_executable_extensions; do
3142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143 ac_cv_prog_ac_ct_AS="as"
3144 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3154 if test -n "$ac_ct_AS"; then
3155 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3156 $as_echo "$ac_ct_AS" >&6; }
3158 { $as_echo "$as_me:$LINENO: result: no" >&5
3159 $as_echo "no" >&6; }
3162 if test "x$ac_ct_AS" = x; then
3165 case $cross_compiling:$ac_tool_warned in
3167 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169 ac_tool_warned=yes ;;
3177 if test -n "$ac_tool_prefix"; then
3178 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3179 set dummy ${ac_tool_prefix}ar; ac_word=$2
3180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if test "${ac_cv_prog_AR+set}" = set; then
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$AR"; then
3186 ac_cv_prog_AR="$AR" # Let the user override the test.
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir=.
3193 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195 ac_cv_prog_AR="${ac_tool_prefix}ar"
3196 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 if test -n "$AR"; then
3207 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3208 $as_echo "$AR" >&6; }
3210 { $as_echo "$as_me:$LINENO: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$ac_cv_prog_AR"; then
3218 # Extract the first word of "ar", so it can be a program name with args.
3219 set dummy ar; ac_word=$2
3220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$ac_ct_AR"; then
3226 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_ac_ct_AR="ar"
3236 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3246 if test -n "$ac_ct_AR"; then
3247 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3248 $as_echo "$ac_ct_AR" >&6; }
3250 { $as_echo "$as_me:$LINENO: result: no" >&5
3251 $as_echo "no" >&6; }
3254 if test "x$ac_ct_AR" = x; then
3257 case $cross_compiling:$ac_tool_warned in
3259 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261 ac_tool_warned=yes ;;
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3271 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3272 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if test "${ac_cv_prog_RANLIB+set}" = set; then
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$RANLIB"; then
3278 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir=.
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3288 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 RANLIB=$ac_cv_prog_RANLIB
3298 if test -n "$RANLIB"; then
3299 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3300 $as_echo "$RANLIB" >&6; }
3302 { $as_echo "$as_me:$LINENO: result: no" >&5
3303 $as_echo "no" >&6; }
3308 if test -z "$ac_cv_prog_RANLIB"; then
3309 ac_ct_RANLIB=$RANLIB
3310 # Extract the first word of "ranlib", so it can be a program name with args.
3311 set dummy ranlib; ac_word=$2
3312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$ac_ct_RANLIB"; then
3318 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir=.
3325 for ac_exec_ext in '' $ac_executable_extensions; do
3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 ac_cv_prog_ac_ct_RANLIB="ranlib"
3328 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3338 if test -n "$ac_ct_RANLIB"; then
3339 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3340 $as_echo "$ac_ct_RANLIB" >&6; }
3342 { $as_echo "$as_me:$LINENO: result: no" >&5
3343 $as_echo "no" >&6; }
3346 if test "x$ac_ct_RANLIB" = x; then
3349 case $cross_compiling:$ac_tool_warned in
3351 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3355 RANLIB=$ac_ct_RANLIB
3358 RANLIB="$ac_cv_prog_RANLIB"
3361 if test -n "$ac_tool_prefix"; then
3362 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3363 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if test "${ac_cv_prog_READELF+set}" = set; then
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$READELF"; then
3370 ac_cv_prog_READELF="$READELF" # Let the user override the test.
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 READELF=$ac_cv_prog_READELF
3390 if test -n "$READELF"; then
3391 { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3392 $as_echo "$READELF" >&6; }
3394 { $as_echo "$as_me:$LINENO: result: no" >&5
3395 $as_echo "no" >&6; }
3400 if test -z "$ac_cv_prog_READELF"; then
3401 ac_ct_READELF=$READELF
3402 # Extract the first word of "readelf", so it can be a program name with args.
3403 set dummy readelf; ac_word=$2
3404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$ac_ct_READELF"; then
3410 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419 ac_cv_prog_ac_ct_READELF="readelf"
3420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3430 if test -n "$ac_ct_READELF"; then
3431 { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3432 $as_echo "$ac_ct_READELF" >&6; }
3434 { $as_echo "$as_me:$LINENO: result: no" >&5
3435 $as_echo "no" >&6; }
3438 if test "x$ac_ct_READELF" = x; then
3441 case $cross_compiling:$ac_tool_warned in
3443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3445 ac_tool_warned=yes ;;
3447 READELF=$ac_ct_READELF
3450 READELF="$ac_cv_prog_READELF"
3454 # Find a good install program. We prefer a C program (faster),
3455 # so one script is as good as another. But avoid the broken or
3456 # incompatible versions:
3457 # SysV /etc/install, /usr/sbin/install
3458 # SunOS /usr/etc/install
3459 # IRIX /sbin/install
3461 # AmigaOS /C/install, which installs bootblocks on floppy discs
3462 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3465 # OS/2's system install, which has a completely different semantic
3466 # ./install, which can be erroneously created by make from ./install.sh.
3467 # Reject install programs that cannot install multiple files.
3468 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3470 if test -z "$INSTALL"; then
3471 if test "${ac_cv_path_install+set}" = set; then
3472 $as_echo_n "(cached) " >&6
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 test -z "$as_dir" && as_dir=.
3479 # Account for people who put trailing slashes in PATH elements.
3481 ./ | .// | /cC/* | \
3482 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3483 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3486 # OSF1 and SCO ODT 3.0 have their own names for install.
3487 # Don't use installbsd from OSF since it installs stuff as root
3489 for ac_prog in ginstall scoinst install; do
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3492 if test $ac_prog = install &&
3493 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3494 # AIX install. It has an incompatible calling convention.
3496 elif test $ac_prog = install &&
3497 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3498 # program-specific install script used by HP pwplus--don't use.
3501 rm -rf conftest.one conftest.two conftest.dir
3502 echo one > conftest.one
3503 echo two > conftest.two
3505 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3506 test -s conftest.one && test -s conftest.two &&
3507 test -s conftest.dir/conftest.one &&
3508 test -s conftest.dir/conftest.two
3510 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3523 rm -rf conftest.one conftest.two conftest.dir
3526 if test "${ac_cv_path_install+set}" = set; then
3527 INSTALL=$ac_cv_path_install
3529 # As a last resort, use the slow shell script. Don't cache a
3530 # value for INSTALL within a source directory, because that will
3531 # break other packages using the cache if that directory is
3532 # removed, or if the value is a relative name.
3533 INSTALL=$ac_install_sh
3536 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3537 $as_echo "$INSTALL" >&6; }
3539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3540 # It thinks the first close brace ends the variable substitution.
3541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3545 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3548 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
3549 ac_given_INSTALL=$INSTALL
3552 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3553 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3554 # Check whether --enable-maintainer-mode was given.
3555 if test "${enable_maintainer_mode+set}" = set; then
3556 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3558 USE_MAINTAINER_MODE=no
3561 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3562 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3563 if test $USE_MAINTAINER_MODE = yes; then
3564 MAINTAINER_MODE_TRUE=
3565 MAINTAINER_MODE_FALSE='#'
3567 MAINTAINER_MODE_TRUE='#'
3568 MAINTAINER_MODE_FALSE=
3571 MAINT=$MAINTAINER_MODE_TRUE
3574 # By default we simply use the C compiler to build assembly code.
3576 test "${CCAS+set}" = set || CCAS=$CC
3577 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3582 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
3583 # at least currently, we never actually build a program, so we never
3584 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
3585 # fails, because we are probably configuring with a cross compiler
3586 # which can't create executables. So we include AC_EXEEXT to keep
3587 # automake happy, but we don't execute it, since we don't care about
3594 . ${newlib_basedir}/configure.host
3596 newlib_cflags="${newlib_cflags} -fno-builtin"
3598 NEWLIB_CFLAGS=${newlib_cflags}
3604 if test x${newlib_elix_level} = x0; then
3606 ELIX_LEVEL_0_FALSE='#'
3608 ELIX_LEVEL_0_TRUE='#'
3612 if test x${newlib_elix_level} = x1; then
3614 ELIX_LEVEL_1_FALSE='#'
3616 ELIX_LEVEL_1_TRUE='#'
3620 if test x${newlib_elix_level} = x2; then
3622 ELIX_LEVEL_2_FALSE='#'
3624 ELIX_LEVEL_2_TRUE='#'
3628 if test x${newlib_elix_level} = x3; then
3630 ELIX_LEVEL_3_FALSE='#'
3632 ELIX_LEVEL_3_TRUE='#'
3636 if test x${newlib_elix_level} = x4; then
3638 ELIX_LEVEL_4_FALSE='#'
3640 ELIX_LEVEL_4_TRUE='#'
3645 if test x${use_libtool} = xyes; then
3647 USE_LIBTOOL_FALSE='#'
3649 USE_LIBTOOL_TRUE='#'
3654 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3655 # use oext, which is set in configure.host based on the target platform.
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 if test -n "$CC"; then
3705 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3708 { $as_echo "$as_me:$LINENO: result: no" >&5
3709 $as_echo "no" >&6; }
3714 if test -z "$ac_cv_prog_CC"; then
3716 # Extract the first word of "gcc", so it can be a program name with args.
3717 set dummy gcc; ac_word=$2
3718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$ac_ct_CC"; then
3724 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_ac_ct_CC="gcc"
3734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3744 if test -n "$ac_ct_CC"; then
3745 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3746 $as_echo "$ac_ct_CC" >&6; }
3748 { $as_echo "$as_me:$LINENO: result: no" >&5
3749 $as_echo "no" >&6; }
3752 if test "x$ac_ct_CC" = x; then
3755 case $cross_compiling:$ac_tool_warned in
3757 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3767 if test -z "$CC"; then
3768 if test -n "$ac_tool_prefix"; then
3769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3770 set dummy ${ac_tool_prefix}cc; ac_word=$2
3771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_CC+set}" = set; then
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_CC="${ac_tool_prefix}cc"
3787 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3801 { $as_echo "$as_me:$LINENO: result: no" >&5
3802 $as_echo "no" >&6; }
3808 if test -z "$CC"; then
3809 # Extract the first word of "cc", so it can be a program name with args.
3810 set dummy cc; ac_word=$2
3811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if test "${ac_cv_prog_CC+set}" = set; then
3814 $as_echo_n "(cached) " >&6
3816 if test -n "$CC"; then
3817 ac_cv_prog_CC="$CC" # Let the user override the test.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3828 ac_prog_rejected=yes
3832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 if test $ac_prog_rejected = yes; then
3840 # We found a bogon in the path, so make sure we never use it.
3841 set dummy $ac_cv_prog_CC
3843 if test $# != 0; then
3844 # We chose a different compiler from the bogus one.
3845 # However, it has the same basename, so the bogon will be chosen
3846 # first if we set CC to just the basename; use the full file name.
3848 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3858 { $as_echo "$as_me:$LINENO: result: no" >&5
3859 $as_echo "no" >&6; }
3864 if test -z "$CC"; then
3865 if test -n "$ac_tool_prefix"; then
3866 for ac_prog in cl.exe
3868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_CC+set}" = set; then
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$CC"; then
3876 ac_cv_prog_CC="$CC" # Let the user override the test.
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3886 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 if test -n "$CC"; then
3897 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3898 $as_echo "$CC" >&6; }
3900 { $as_echo "$as_me:$LINENO: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$CC" && break
3908 if test -z "$CC"; then
3910 for ac_prog in cl.exe
3912 # Extract the first word of "$ac_prog", so it can be a program name with args.
3913 set dummy $ac_prog; ac_word=$2
3914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$ac_ct_CC"; then
3920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir=.
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 ac_cv_prog_ac_ct_CC="$ac_prog"
3930 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3940 if test -n "$ac_ct_CC"; then
3941 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3942 $as_echo "$ac_ct_CC" >&6; }
3944 { $as_echo "$as_me:$LINENO: result: no" >&5
3945 $as_echo "no" >&6; }
3949 test -n "$ac_ct_CC" && break
3952 if test "x$ac_ct_CC" = x; then
3955 case $cross_compiling:$ac_tool_warned in
3957 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3959 ac_tool_warned=yes ;;
3968 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3971 See \`config.log' for more details." >&5
3972 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3973 See \`config.log' for more details." >&2;}
3974 { (exit 1); exit 1; }; }; }
3976 # Provide some information about the compiler.
3977 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3980 { (ac_try="$ac_compiler --version >&5"
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3986 $as_echo "$ac_try_echo") >&5
3987 (eval "$ac_compiler --version >&5") 2>&5
3989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); }
3991 { (ac_try="$ac_compiler -v >&5"
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3997 $as_echo "$ac_try_echo") >&5
3998 (eval "$ac_compiler -v >&5") 2>&5
4000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }
4002 { (ac_try="$ac_compiler -V >&5"
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4008 $as_echo "$ac_try_echo") >&5
4009 (eval "$ac_compiler -V >&5") 2>&5
4011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }
4014 cat >conftest.$ac_ext <<_ACEOF
4017 cat confdefs.h >>conftest.$ac_ext
4018 cat >>conftest.$ac_ext <<_ACEOF
4019 /* end confdefs.h. */
4029 if { (ac_try="$ac_link"
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4035 $as_echo "$ac_try_echo") >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; then
4041 cat >conftest.$ac_ext <<_ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4056 ac_clean_files_save=$ac_clean_files
4057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4058 # Try to create an executable without -o first, disregard a.out.
4059 # It will help us diagnose broken compilers, and finding out an intuition
4061 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4062 $as_echo_n "checking for C compiler default output file name... " >&6; }
4063 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4065 # The possible output files:
4066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4069 for ac_file in $ac_files
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4073 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4078 if { (ac_try="$ac_link_default"
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4084 $as_echo "$ac_try_echo") >&5
4085 (eval "$ac_link_default") 2>&5
4087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; then
4089 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4091 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4092 # so that the user can short-circuit this test for compilers unknown to
4094 for ac_file in $ac_files ''
4096 test -f "$ac_file" || continue
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4101 # We found the default executable, but exeext='' is most
4105 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4107 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4109 # We set ac_cv_exeext here because the later test for it is not
4110 # safe: cross compilers may not add the suffix if given an `-o'
4111 # argument, so we may need to know it at that point already.
4112 # Even if this section looks crufty: it has the advantage of
4119 test "$ac_cv_exeext" = no && ac_cv_exeext=
4125 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4126 $as_echo "$ac_file" >&6; }
4127 if test -z "$ac_file"; then
4128 $as_echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.$ac_ext >&5
4131 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4134 See \`config.log' for more details." >&5
4135 $as_echo "$as_me: error: C compiler cannot create executables
4136 See \`config.log' for more details." >&2;}
4137 { (exit 77); exit 77; }; }; }
4140 ac_exeext=$ac_cv_exeext
4142 # Check that the compiler produces executables we can run. If not, either
4143 # the compiler is broken, or we cross compile.
4144 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4145 $as_echo_n "checking whether the C compiler works... " >&6; }
4146 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4147 # If not cross compiling, check that we can run a simple program.
4148 if test "$cross_compiling" != yes; then
4149 if { ac_try='./$ac_file'
4150 { (case "(($ac_try" in
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4155 $as_echo "$ac_try_echo") >&5
4156 (eval "$ac_try") 2>&5
4158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; }; then
4162 if test "$cross_compiling" = maybe; then
4165 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4168 If you meant to cross compile, use \`--host'.
4169 See \`config.log' for more details." >&5
4170 $as_echo "$as_me: error: cannot run C compiled programs.
4171 If you meant to cross compile, use \`--host'.
4172 See \`config.log' for more details." >&2;}
4173 { (exit 1); exit 1; }; }; }
4177 { $as_echo "$as_me:$LINENO: result: yes" >&5
4178 $as_echo "yes" >&6; }
4180 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4181 ac_clean_files=$ac_clean_files_save
4182 # Check that the compiler produces executables we can run. If not, either
4183 # the compiler is broken, or we cross compile.
4184 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4185 $as_echo_n "checking whether we are cross compiling... " >&6; }
4186 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4187 $as_echo "$cross_compiling" >&6; }
4189 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4190 $as_echo_n "checking for suffix of executables... " >&6; }
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4197 $as_echo "$ac_try_echo") >&5
4198 (eval "$ac_link") 2>&5
4200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; then
4202 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4203 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4204 # work properly (i.e., refer to `conftest.exe'), while it won't with
4206 for ac_file in conftest.exe conftest conftest.*; do
4207 test -f "$ac_file" || continue
4209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4210 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4216 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4218 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4219 See \`config.log' for more details." >&5
4220 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4221 See \`config.log' for more details." >&2;}
4222 { (exit 1); exit 1; }; }; }
4225 rm -f conftest$ac_cv_exeext
4226 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4227 $as_echo "$ac_cv_exeext" >&6; }
4229 rm -f conftest.$ac_ext
4230 EXEEXT=$ac_cv_exeext
4234 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4236 # Setting cross_compile will disable run tests; it will
4237 # also disable AC_CHECK_FILE but that's generally
4238 # correct if we can't link.
4241 # Check that the compiler produces executables we can run. If not, either
4242 # the compiler is broken, or we cross compile.
4243 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4244 $as_echo_n "checking whether we are cross compiling... " >&6; }
4245 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4246 $as_echo "$cross_compiling" >&6; }
4249 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4250 $as_echo_n "checking for suffix of object files... " >&6; }
4251 if test "${ac_cv_objext+set}" = set; then
4252 $as_echo_n "(cached) " >&6
4254 cat >conftest.$ac_ext <<_ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4269 rm -f conftest.o conftest.obj
4270 if { (ac_try="$ac_compile"
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4276 $as_echo "$ac_try_echo") >&5
4277 (eval "$ac_compile") 2>&5
4279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); }; then
4281 for ac_file in conftest.o conftest.obj conftest.*; do
4282 test -f "$ac_file" || continue;
4284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4290 $as_echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4296 See \`config.log' for more details." >&5
4297 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4298 See \`config.log' for more details." >&2;}
4299 { (exit 1); exit 1; }; }; }
4302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4304 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4305 $as_echo "$ac_cv_objext" >&6; }
4306 OBJEXT=$ac_cv_objext
4308 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4311 $as_echo_n "(cached) " >&6
4313 cat >conftest.$ac_ext <<_ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4331 rm -f conftest.$ac_objext
4332 if { (ac_try="$ac_compile"
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4338 $as_echo "$ac_try_echo") >&5
4339 (eval "$ac_compile") 2>conftest.er1
4341 grep -v '^ *+' conftest.er1 >conftest.err
4343 cat conftest.err >&5
4344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } && {
4346 test -z "$ac_c_werror_flag" ||
4347 test ! -s conftest.err
4348 } && test -s conftest.$ac_objext; then
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4358 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4361 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4362 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4363 if test $ac_compiler_gnu = yes; then
4368 ac_test_CFLAGS=${CFLAGS+set}
4369 ac_save_CFLAGS=$CFLAGS
4370 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4371 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4372 if test "${ac_cv_prog_cc_g+set}" = set; then
4373 $as_echo_n "(cached) " >&6
4375 ac_save_c_werror_flag=$ac_c_werror_flag
4376 ac_c_werror_flag=yes
4379 cat >conftest.$ac_ext <<_ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4394 rm -f conftest.$ac_objext
4395 if { (ac_try="$ac_compile"
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4401 $as_echo "$ac_try_echo") >&5
4402 (eval "$ac_compile") 2>conftest.er1
4404 grep -v '^ *+' conftest.er1 >conftest.err
4406 cat conftest.err >&5
4407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); } && {
4409 test -z "$ac_c_werror_flag" ||
4410 test ! -s conftest.err
4411 } && test -s conftest.$ac_objext; then
4414 $as_echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4418 cat >conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4433 rm -f conftest.$ac_objext
4434 if { (ac_try="$ac_compile"
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4440 $as_echo "$ac_try_echo") >&5
4441 (eval "$ac_compile") 2>conftest.er1
4443 grep -v '^ *+' conftest.er1 >conftest.err
4445 cat conftest.err >&5
4446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } && {
4448 test -z "$ac_c_werror_flag" ||
4449 test ! -s conftest.err
4450 } && test -s conftest.$ac_objext; then
4453 $as_echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4456 ac_c_werror_flag=$ac_save_c_werror_flag
4458 cat >conftest.$ac_ext <<_ACEOF
4461 cat confdefs.h >>conftest.$ac_ext
4462 cat >>conftest.$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4473 rm -f conftest.$ac_objext
4474 if { (ac_try="$ac_compile"
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_compile") 2>conftest.er1
4483 grep -v '^ *+' conftest.er1 >conftest.err
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } && {
4488 test -z "$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 } && test -s conftest.$ac_objext; then
4493 $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_c_werror_flag=$ac_save_c_werror_flag
4508 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4509 $as_echo "$ac_cv_prog_cc_g" >&6; }
4510 if test "$ac_test_CFLAGS" = set; then
4511 CFLAGS=$ac_save_CFLAGS
4512 elif test $ac_cv_prog_cc_g = yes; then
4513 if test "$GCC" = yes; then
4519 if test "$GCC" = yes; then
4525 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4527 if test "${ac_cv_prog_cc_c89+set}" = set; then
4528 $as_echo_n "(cached) " >&6
4530 ac_cv_prog_cc_c89=no
4532 cat >conftest.$ac_ext <<_ACEOF
4535 cat confdefs.h >>conftest.$ac_ext
4536 cat >>conftest.$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4540 #include <sys/types.h>
4541 #include <sys/stat.h>
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4556 s = g (p, va_arg (v,int));
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4562 function prototypes and stuff, but not '\xHH' hex character constants.
4563 These don't provoke an error unfortunately, instead are silently treated
4564 as 'x'. The following induces an error, until -std is added to get
4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4566 array size at least. It's necessary to write '\x00'==0 to get something
4567 that's true only with -std. */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571 inside strings and character constants. */
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4592 CC="$ac_save_CC $ac_arg"
4593 rm -f conftest.$ac_objext
4594 if { (ac_try="$ac_compile"
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1 >conftest.err
4605 cat conftest.err >&5
4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.$ac_objext; then
4611 ac_cv_prog_cc_c89=$ac_arg
4613 $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4619 rm -f core conftest.err conftest.$ac_objext
4620 test "x$ac_cv_prog_cc_c89" != "xno" && break
4622 rm -f conftest.$ac_ext
4627 case "x$ac_cv_prog_cc_c89" in
4629 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4630 $as_echo "none needed" >&6; } ;;
4632 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4633 $as_echo "unsupported" >&6; } ;;
4635 CC="$CC $ac_cv_prog_cc_c89"
4636 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4637 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647 depcc="$CC" am_compiler_list=
4649 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4650 $as_echo_n "checking dependency style of $depcc... " >&6; }
4651 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4652 $as_echo_n "(cached) " >&6
4654 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4655 # We make a subdir and do the tests there. Otherwise we can end up
4656 # making bogus files that we don't know about and never remove. For
4657 # instance it was reported that on HP-UX the gcc test will end up
4658 # making a dummy file named `D' -- because `-MD' means `put the output
4661 # Copy depcomp to subdir because otherwise we won't find it if we're
4662 # using a relative directory.
4663 cp "$am_depcomp" conftest.dir
4665 # We will build objects and dependencies in a subdirectory because
4666 # it helps to detect inapplicable dependency modes. For instance
4667 # both Tru64's cc and ICC support -MD to output dependencies as a
4668 # side effect of compilation, but ICC will put the dependencies in
4669 # the current directory while Tru64 will put them in the object
4673 am_cv_CC_dependencies_compiler_type=none
4674 if test "$am_compiler_list" = ""; then
4675 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4678 case " $depcc " in #(
4679 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4682 for depmode in $am_compiler_list; do
4683 # Setup a source with many dependencies, because some compilers
4684 # like to wrap large dependency lists on column 80 (with \), and
4685 # we should not choose a depcomp mode which is confused by this.
4687 # We need to recreate these files for each test, as the compiler may
4688 # overwrite some of them when testing with obscure command lines.
4689 # This happens at least with the AIX C compiler.
4691 for i in 1 2 3 4 5 6; do
4692 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4693 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4694 # Solaris 8's {/usr,}/bin/sh.
4695 touch sub/conftst$i.h
4697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4699 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4700 # mode. It turns out that the SunPro C++ compiler does not properly
4701 # handle `-M -o', and we need to detect this. Also, some Intel
4702 # versions had trouble with output in subdirs
4703 am__obj=sub/conftest.${OBJEXT-o}
4704 am__minus_obj="-o $am__obj"
4707 # This depmode causes a compiler race in universal mode.
4708 test "$am__universal" = false || continue
4711 # after this tag, mechanisms are not by side-effect, so they'll
4712 # only be used when explicitly requested
4713 if test "x$enable_dependency_tracking" = xyes; then
4719 msvisualcpp | msvcmsys)
4720 # This compiler won't grok `-c -o', but also, the minuso test has
4721 # not run yet. These depmodes are late enough in the game, and
4722 # so weak that their functioning should not be impacted.
4723 am__obj=conftest.${OBJEXT-o}
4728 if depmode=$depmode \
4729 source=sub/conftest.c object=$am__obj \
4730 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4731 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4732 >/dev/null 2>conftest.err &&
4733 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4734 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4735 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4736 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4737 # icc doesn't choke on unknown options, it will just issue warnings
4738 # or remarks (even with -Werror). So we grep stderr for any message
4739 # that says an option was ignored or not supported.
4740 # When given -MP, icc 7.0 and 7.1 complain thusly:
4741 # icc: Command line warning: ignoring option '-M'; no argument required
4742 # The diagnosis changed in icc 8.0:
4743 # icc: Command line remark: option '-MP' not supported
4744 if (grep 'ignoring option' conftest.err ||
4745 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4746 am_cv_CC_dependencies_compiler_type=$depmode
4755 am_cv_CC_dependencies_compiler_type=none
4759 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4760 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4761 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4764 test "x$enable_dependency_tracking" != xno \
4765 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4767 am__fastdepCC_FALSE='#'
4769 am__fastdepCC_TRUE='#'
4770 am__fastdepCC_FALSE=
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4781 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4782 # On Suns, sometimes $CPP names a directory.
4783 if test -n "$CPP" && test -d "$CPP"; then
4786 if test -z "$CPP"; then
4787 if test "${ac_cv_prog_CPP+set}" = set; then
4788 $as_echo_n "(cached) " >&6
4790 # Double quotes because CPP needs to be expanded
4791 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4794 for ac_c_preproc_warn_flag in '' yes
4796 # Use a header file that comes with gcc, so configuring glibc
4797 # with a fresh cross-compiler works.
4798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799 # <limits.h> exists even on freestanding compilers.
4800 # On the NeXT, cc -E runs the code through the compiler's parser,
4801 # not just through cpp. "Syntax error" is here to catch this case.
4802 cat >conftest.$ac_ext <<_ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4809 # include <limits.h>
4811 # include <assert.h>
4815 if { (ac_try="$ac_cpp conftest.$ac_ext"
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4821 $as_echo "$ac_try_echo") >&5
4822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } >/dev/null && {
4829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4834 $as_echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 # Broken: fails on valid input.
4841 rm -f conftest.err conftest.$ac_ext
4843 # OK, works on sane cases. Now check whether nonexistent headers
4844 # can be detected and how.
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 #include <ac_nonexistent.h>
4853 if { (ac_try="$ac_cpp conftest.$ac_ext"
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4859 $as_echo "$ac_try_echo") >&5
4860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4862 grep -v '^ *+' conftest.er1 >conftest.err
4864 cat conftest.err >&5
4865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } >/dev/null && {
4867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4868 test ! -s conftest.err
4870 # Broken: success on invalid input.
4873 $as_echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 # Passes both tests.
4881 rm -f conftest.err conftest.$ac_ext
4884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4885 rm -f conftest.err conftest.$ac_ext
4886 if $ac_preproc_ok; then
4898 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4899 $as_echo "$CPP" >&6; }
4901 for ac_c_preproc_warn_flag in '' yes
4903 # Use a header file that comes with gcc, so configuring glibc
4904 # with a fresh cross-compiler works.
4905 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906 # <limits.h> exists even on freestanding compilers.
4907 # On the NeXT, cc -E runs the code through the compiler's parser,
4908 # not just through cpp. "Syntax error" is here to catch this case.
4909 cat >conftest.$ac_ext <<_ACEOF
4912 cat confdefs.h >>conftest.$ac_ext
4913 cat >>conftest.$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4916 # include <limits.h>
4918 # include <assert.h>
4922 if { (ac_try="$ac_cpp conftest.$ac_ext"
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928 $as_echo "$ac_try_echo") >&5
4929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4931 grep -v '^ *+' conftest.er1 >conftest.err
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev/null && {
4936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4941 $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 # Broken: fails on valid input.
4948 rm -f conftest.err conftest.$ac_ext
4950 # OK, works on sane cases. Now check whether nonexistent headers
4951 # can be detected and how.
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4958 #include <ac_nonexistent.h>
4960 if { (ac_try="$ac_cpp conftest.$ac_ext"
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4966 $as_echo "$ac_try_echo") >&5
4967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } >/dev/null && {
4974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4977 # Broken: success on invalid input.
4980 $as_echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 # Passes both tests.
4988 rm -f conftest.err conftest.$ac_ext
4991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4992 rm -f conftest.err conftest.$ac_ext
4993 if $ac_preproc_ok; then
4996 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4999 See \`config.log' for more details." >&5
5000 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5001 See \`config.log' for more details." >&2;}
5002 { (exit 1); exit 1; }; }; }
5006 ac_cpp='$CPP $CPPFLAGS'
5007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5012 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5013 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5014 if test "${ac_cv_path_GREP+set}" = set; then
5015 $as_echo_n "(cached) " >&6
5017 if test -z "$GREP"; then
5018 ac_path_GREP_found=false
5019 # Loop through the user's path and test for each of PROGNAME-LIST
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5024 test -z "$as_dir" && as_dir=.
5025 for ac_prog in grep ggrep; do
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5029 # Check for GNU ac_path_GREP and select it if it is found.
5030 # Check for GNU $ac_path_GREP
5031 case `"$ac_path_GREP" --version 2>&1` in
5033 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5036 $as_echo_n 0123456789 >"conftest.in"
5039 cat "conftest.in" "conftest.in" >"conftest.tmp"
5040 mv "conftest.tmp" "conftest.in"
5041 cp "conftest.in" "conftest.nl"
5042 $as_echo 'GREP' >> "conftest.nl"
5043 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5045 ac_count=`expr $ac_count + 1`
5046 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5047 # Best one so far, save it but keep looking for a better one
5048 ac_cv_path_GREP="$ac_path_GREP"
5049 ac_path_GREP_max=$ac_count
5051 # 10*(2^10) chars as input seems more than enough
5052 test $ac_count -gt 10 && break
5054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5057 $ac_path_GREP_found && break 3
5062 if test -z "$ac_cv_path_GREP"; then
5063 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5064 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5065 { (exit 1); exit 1; }; }
5068 ac_cv_path_GREP=$GREP
5072 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5073 $as_echo "$ac_cv_path_GREP" >&6; }
5074 GREP="$ac_cv_path_GREP"
5077 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5078 $as_echo_n "checking for egrep... " >&6; }
5079 if test "${ac_cv_path_EGREP+set}" = set; then
5080 $as_echo_n "(cached) " >&6
5082 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5083 then ac_cv_path_EGREP="$GREP -E"
5085 if test -z "$EGREP"; then
5086 ac_path_EGREP_found=false
5087 # Loop through the user's path and test for each of PROGNAME-LIST
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5092 test -z "$as_dir" && as_dir=.
5093 for ac_prog in egrep; do
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5096 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5097 # Check for GNU ac_path_EGREP and select it if it is found.
5098 # Check for GNU $ac_path_EGREP
5099 case `"$ac_path_EGREP" --version 2>&1` in
5101 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5104 $as_echo_n 0123456789 >"conftest.in"
5107 cat "conftest.in" "conftest.in" >"conftest.tmp"
5108 mv "conftest.tmp" "conftest.in"
5109 cp "conftest.in" "conftest.nl"
5110 $as_echo 'EGREP' >> "conftest.nl"
5111 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5113 ac_count=`expr $ac_count + 1`
5114 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5115 # Best one so far, save it but keep looking for a better one
5116 ac_cv_path_EGREP="$ac_path_EGREP"
5117 ac_path_EGREP_max=$ac_count
5119 # 10*(2^10) chars as input seems more than enough
5120 test $ac_count -gt 10 && break
5122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5125 $ac_path_EGREP_found && break 3
5130 if test -z "$ac_cv_path_EGREP"; then
5131 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5132 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5133 { (exit 1); exit 1; }; }
5136 ac_cv_path_EGREP=$EGREP
5141 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5142 $as_echo "$ac_cv_path_EGREP" >&6; }
5143 EGREP="$ac_cv_path_EGREP"
5146 cat >conftest.$ac_ext <<_ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5159 $EGREP "sh5" >/dev/null 2>&1; then
5166 if test $have_sh64 = yes; then
5175 ac_config_files="$ac_config_files Makefile"
5177 cat >confcache <<\_ACEOF
5178 # This file is a shell script that caches the results of configure
5179 # tests run on this system so they can be shared between configure
5180 # scripts and configure runs, see configure's option --config-cache.
5181 # It is not useful on other systems. If it contains results you don't
5182 # want to keep, you may remove or edit it.
5184 # config.status only pays attention to the cache file if you give it
5185 # the --recheck option to rerun configure.
5187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5193 # The following way of writing the cache mishandles newlines in values,
5194 # but we know of no workaround that is simple, portable, and efficient.
5195 # So, we kill variables containing newlines.
5196 # Ultrix sh set writes to stderr and can't be redirected directly,
5197 # and sets the high bit in the cache file unless we assign to the vars.
5199 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5200 eval ac_val=\$$ac_var
5204 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5208 _ | IFS | as_nl) ;; #(
5209 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5210 *) $as_unset $ac_var ;;
5216 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5217 *${as_nl}ac_space=\ *)
5218 # `set' does not quote correctly, so add quotes (double-quote
5219 # substitution turns \\\\ into \\, and sed turns \\ into \).
5222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5225 # `set' quotes correctly as required by POSIX, so do not add quotes.
5226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5235 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5237 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5239 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5240 if test -w "$cache_file"; then
5241 test "x$cache_file" != "x/dev/null" &&
5242 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5243 $as_echo "$as_me: updating cache $cache_file" >&6;}
5244 cat confcache >$cache_file
5246 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5252 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5253 # Let make expand exec_prefix.
5254 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5256 # Transform confdefs.h into DEFS.
5257 # Protect against shell expansion while executing Makefile rules.
5258 # Protect against Makefile macro expansion.
5260 # If the first sed substitution is executed (which looks for macros that
5261 # take arguments), then branch to the quote section. Otherwise,
5262 # look for a macro that doesn't take arguments.
5272 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5274 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5278 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5291 DEFS=`sed -n "$ac_script" confdefs.h`
5296 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5297 # 1. Remove the extension, and $U if already installed.
5298 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5299 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5300 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5301 # will be set to the directory where LIBOBJS objects are built.
5302 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5303 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5307 LTLIBOBJS=$ac_ltlibobjs
5310 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5311 { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5312 Usually this means the macro was only invoked conditionally." >&5
5313 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5314 Usually this means the macro was only invoked conditionally." >&2;}
5315 { (exit 1); exit 1; }; }
5317 if test -n "$EXEEXT"; then
5319 am__EXEEXT_FALSE='#'
5325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5326 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5327 Usually this means the macro was only invoked conditionally." >&5
5328 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5329 Usually this means the macro was only invoked conditionally." >&2;}
5330 { (exit 1); exit 1; }; }
5332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5333 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5334 Usually this means the macro was only invoked conditionally." >&5
5335 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5336 Usually this means the macro was only invoked conditionally." >&2;}
5337 { (exit 1); exit 1; }; }
5339 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5340 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5341 Usually this means the macro was only invoked conditionally." >&5
5342 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5343 Usually this means the macro was only invoked conditionally." >&2;}
5344 { (exit 1); exit 1; }; }
5346 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5347 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5348 Usually this means the macro was only invoked conditionally." >&5
5349 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5350 Usually this means the macro was only invoked conditionally." >&2;}
5351 { (exit 1); exit 1; }; }
5353 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5354 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5355 Usually this means the macro was only invoked conditionally." >&5
5356 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5357 Usually this means the macro was only invoked conditionally." >&2;}
5358 { (exit 1); exit 1; }; }
5360 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5361 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5362 Usually this means the macro was only invoked conditionally." >&5
5363 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5364 Usually this means the macro was only invoked conditionally." >&2;}
5365 { (exit 1); exit 1; }; }
5367 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5368 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5369 Usually this means the macro was only invoked conditionally." >&5
5370 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5371 Usually this means the macro was only invoked conditionally." >&2;}
5372 { (exit 1); exit 1; }; }
5374 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5375 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5376 Usually this means the macro was only invoked conditionally." >&5
5377 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5378 Usually this means the macro was only invoked conditionally." >&2;}
5379 { (exit 1); exit 1; }; }
5381 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5382 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5383 Usually this means the macro was only invoked conditionally." >&5
5384 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5385 Usually this means the macro was only invoked conditionally." >&2;}
5386 { (exit 1); exit 1; }; }
5388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5389 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5390 Usually this means the macro was only invoked conditionally." >&5
5391 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5392 Usually this means the macro was only invoked conditionally." >&2;}
5393 { (exit 1); exit 1; }; }
5395 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
5396 { { $as_echo "$as_me:$LINENO: error: conditional \"SH64\" was never defined.
5397 Usually this means the macro was only invoked conditionally." >&5
5398 $as_echo "$as_me: error: conditional \"SH64\" was never defined.
5399 Usually this means the macro was only invoked conditionally." >&2;}
5400 { (exit 1); exit 1; }; }
5403 : ${CONFIG_STATUS=./config.status}
5405 ac_clean_files_save=$ac_clean_files
5406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5407 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5408 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5409 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5411 # Generated by $as_me.
5412 # Run this file to recreate the current configuration.
5413 # Compiler output produced by configure, useful for debugging
5414 # configure, is in config.log if it exists.
5419 SHELL=\${CONFIG_SHELL-$SHELL}
5422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5423 ## --------------------- ##
5424 ## M4sh Initialization. ##
5425 ## --------------------- ##
5427 # Be more Bourne compatible
5428 DUALCASE=1; export DUALCASE # for MKS sh
5429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5432 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5433 # is contrary to our usage. Disable this feature.
5434 alias -g '${1+"$@"}'='"$@"'
5435 setopt NO_GLOB_SUBST
5437 case `(set -o) 2>/dev/null` in
5438 *posix*) set -o posix ;;
5447 # Avoid depending upon Character Ranges.
5448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5451 as_cr_digits='0123456789'
5452 as_cr_alnum=$as_cr_Letters$as_cr_digits
5457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5461 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5462 as_echo='printf %s\n'
5463 as_echo_n='printf %s'
5465 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5466 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5467 as_echo_n='/usr/ucb/echo -n'
5469 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5470 as_echo_n_body='eval
5474 expr "X$arg" : "X\\(.*\\)$as_nl";
5475 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5477 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5479 export as_echo_n_body
5480 as_echo_n='sh -c $as_echo_n_body as_echo'
5483 as_echo='sh -c $as_echo_body as_echo'
5486 # The user is always right.
5487 if test "${PATH_SEPARATOR+set}" != set; then
5489 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5490 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5495 # Support unset when possible.
5496 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5504 # We need space, tab and new line, in precisely that order. Quoting is
5505 # there to prevent editors from complaining about space-tab.
5506 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5507 # splitting by setting IFS to empty value.)
5510 # Find who we are. Look in the path if we contain no directory separator.
5512 *[\\/]* ) as_myself=$0 ;;
5513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5524 # We did not find ourselves, most probably we were run as `sh COMMAND'
5525 # in which case we are not to be found in the path.
5526 if test "x$as_myself" = x; then
5529 if test ! -f "$as_myself"; then
5530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5531 { (exit 1); exit 1; }
5534 # Work around bugs in pre-3.0 UWIN ksh.
5535 for as_var in ENV MAIL MAILPATH
5536 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5548 # Required to use basename.
5549 if expr a : '\(a\)' >/dev/null 2>&1 &&
5550 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5556 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5557 as_basename=basename
5563 # Name of the executable.
5564 as_me=`$as_basename -- "$0" ||
5565 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5566 X"$0" : 'X\(//\)$' \| \
5567 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5569 sed '/^.*\/\([^/][^/]*\)\/*$/{
5590 test "x$as_lineno_1" != "x$as_lineno_2" &&
5591 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5593 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5594 # uniformly replaced by the line number. The first 'sed' inserts a
5595 # line-number line after each line using $LINENO; the second 'sed'
5596 # does the real work. The second script uses 'N' to pair each
5597 # line-number line with the line containing $LINENO, and appends
5598 # trailing '-' during substitution so that $LINENO is not a special
5600 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5601 # scripts with optimization help from Paolo Bonzini. Blame Lee
5602 # E. McMahon (1931-1989) for sed's syntax. :-)
5614 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5618 chmod +x "$as_me.lineno" ||
5619 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5620 { (exit 1); exit 1; }; }
5622 # Don't try to exec as it changes $[0], causing all sort of problems
5623 # (the dirname of $[0] is not the place where we might find the
5624 # original and so on. Autoconf is especially sensitive to this).
5626 # Exit status is that of the last command.
5631 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5637 ECHO_C= ECHO_N= ECHO_T=
5640 case `echo 'x\c'` in
5641 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5647 if expr a : '\(a\)' >/dev/null 2>&1 &&
5648 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5654 rm -f conf$$ conf$$.exe conf$$.file
5655 if test -d conf$$.dir; then
5656 rm -f conf$$.dir/conf$$.file
5659 mkdir conf$$.dir 2>/dev/null
5661 if (echo >conf$$.file) 2>/dev/null; then
5662 if ln -s conf$$.file conf$$ 2>/dev/null; then
5664 # ... but there are two gotchas:
5665 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5666 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5667 # In both cases, we have to default to `cp -p'.
5668 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5670 elif ln conf$$.file conf$$ 2>/dev/null; then
5678 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5679 rmdir conf$$.dir 2>/dev/null
5681 if mkdir -p . 2>/dev/null; then
5684 test -d ./-p && rmdir ./-p
5688 if test -x / >/dev/null 2>&1; then
5691 if ls -dL / >/dev/null 2>&1; then
5698 if test -d "$1"; then
5704 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5705 ???[sx]*):;;*)false;;esac;fi
5709 as_executable_p=$as_test_x
5711 # Sed expression to map a string onto a valid CPP name.
5712 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5714 # Sed expression to map a string onto a valid variable name.
5715 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5720 # Save the log message, to keep $[0] and so on meaningful, and to
5721 # report actual input values of CONFIG_FILES etc. instead of their
5722 # values after options handling.
5724 This file was extended by newlib $as_me 1.18.0, which was
5725 generated by GNU Autoconf 2.63. Invocation command line was
5727 CONFIG_FILES = $CONFIG_FILES
5728 CONFIG_HEADERS = $CONFIG_HEADERS
5729 CONFIG_LINKS = $CONFIG_LINKS
5730 CONFIG_COMMANDS = $CONFIG_COMMANDS
5733 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5738 case $ac_config_files in *"
5739 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5745 # Files that config.status was made for.
5746 config_files="$ac_config_files"
5747 config_commands="$ac_config_commands"
5751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5753 \`$as_me' instantiates files from templates according to the
5754 current configuration.
5756 Usage: $0 [OPTION]... [FILE]...
5758 -h, --help print this help, then exit
5759 -V, --version print version number and configuration settings, then exit
5760 -q, --quiet, --silent
5761 do not print progress messages
5762 -d, --debug don't remove temporary files
5763 --recheck update $as_me by reconfiguring in the same conditions
5764 --file=FILE[:TEMPLATE]
5765 instantiate the configuration file FILE
5767 Configuration files:
5770 Configuration commands:
5773 Report bugs to <bug-autoconf@gnu.org>."
5776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778 newlib config.status 1.18.0
5779 configured by $0, generated by GNU Autoconf 2.63,
5780 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5782 Copyright (C) 2008 Free Software Foundation, Inc.
5783 This config.status script is free software; the Free Software Foundation
5784 gives unlimited permission to copy, distribute and modify it."
5791 test -n "\$AWK" || AWK=awk
5794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5795 # The default lists apply if the user does not specify any file.
5801 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5802 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5813 # Handling of the options.
5814 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5816 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5817 $as_echo "$ac_cs_version"; exit ;;
5818 --debug | --debu | --deb | --de | --d | -d )
5820 --file | --fil | --fi | --f )
5823 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5825 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5826 ac_need_defaults=false;;
5827 --he | --h | --help | --hel | -h )
5828 $as_echo "$ac_cs_usage"; exit ;;
5829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5830 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5834 -*) { $as_echo "$as_me: error: unrecognized option: $1
5835 Try \`$0 --help' for more information." >&2
5836 { (exit 1); exit 1; }; } ;;
5838 *) ac_config_targets="$ac_config_targets $1"
5839 ac_need_defaults=false ;;
5845 ac_configure_extra_args=
5847 if $ac_cs_silent; then
5849 ac_configure_extra_args="$ac_configure_extra_args --silent"
5853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5854 if \$ac_cs_recheck; then
5855 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5857 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5858 CONFIG_SHELL='$SHELL'
5864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5869 ## Running $as_me. ##
5875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5879 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5885 # Handling of arguments.
5886 for ac_config_target in $ac_config_targets
5888 case $ac_config_target in
5889 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5890 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5892 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5893 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5894 { (exit 1); exit 1; }; };;
5899 # If the user did not use the arguments to specify the items to instantiate,
5900 # then the envvar interface is used. Set only those that are not.
5901 # We use the long form for the default assignment because of an extremely
5902 # bizarre bug on SunOS 4.1.3.
5903 if $ac_need_defaults; then
5904 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5905 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5908 # Have a temporary directory for convenience. Make it in the build tree
5909 # simply because there is no reason against having it here, and in addition,
5910 # creating and moving files from /tmp can sometimes cause problems.
5911 # Hook for its removal unless debugging.
5912 # Note that there is a small window in which the directory will not be cleaned:
5913 # after its creation but before its name has been assigned to `$tmp'.
5917 trap 'exit_status=$?
5918 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5920 trap '{ (exit 1); exit 1; }' 1 2 13 15
5922 # Create a (secure) tmp directory for tmp files.
5925 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5926 test -n "$tmp" && test -d "$tmp"
5929 tmp=./conf$$-$RANDOM
5930 (umask 077 && mkdir "$tmp")
5933 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5934 { (exit 1); exit 1; }
5937 # Set up the scripts for CONFIG_FILES section.
5938 # No need to generate them if there are no CONFIG_FILES.
5939 # This happens for instance with `./config.status config.h'.
5940 if test -n "$CONFIG_FILES"; then
5944 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5945 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5951 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5956 echo "cat >conf$$subs.awk <<_ACEOF" &&
5957 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5960 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5961 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5962 { (exit 1); exit 1; }; }
5963 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5965 for ac_last_try in false false false false false :; do
5966 . ./conf$$subs.sh ||
5967 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5968 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5969 { (exit 1); exit 1; }; }
5971 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5972 if test $ac_delim_n = $ac_delim_num; then
5974 elif $ac_last_try; then
5975 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5976 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5977 { (exit 1); exit 1; }; }
5979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5985 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5989 s/^/S["/; s/!.*/"]=/
5999 s/\(.\{148\}\).*/\1/
6001 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6013 s/\(.\{148\}\).*/\1/
6015 s/["\\]/\\&/g; s/^/"/; s/$/"/
6019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6024 ' <conf$$subs.awk | sed '
6029 ' >>$CONFIG_STATUS || ac_write_fail=1
6030 rm -f conf$$subs.awk
6031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6033 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6034 for (key in S) S_is_set[key] = 1
6040 nfields = split(line, field, "@")
6042 len = length(field[1])
6043 for (i = 2; i < nfields; i++) {
6045 keylen = length(key)
6046 if (S_is_set[key]) {
6048 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6049 len += length(value) + length(field[++i])
6060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6061 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6062 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6065 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6066 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6067 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6068 { (exit 1); exit 1; }; }
6071 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6072 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6073 # trailing colons and then remove the whole line if VPATH becomes empty
6074 # (actually we leave an empty line to preserve line numbers).
6075 if test "x$srcdir" = x.; then
6076 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6080 s/^\([^=]*=[ ]*\):*/\1/
6086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6087 fi # test -n "$CONFIG_FILES"
6090 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6095 :[FHLC]) ac_mode=$ac_tag; continue;;
6097 case $ac_mode$ac_tag in
6099 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6100 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6101 { (exit 1); exit 1; }; };;
6102 :[FH]-) ac_tag=-:-;;
6103 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6120 -) ac_f="$tmp/stdin";;
6121 *) # Look for the file first in the build tree, then in the source tree
6122 # (if the path is not absolute). The absolute path cannot be DOS-style,
6123 # because $ac_f cannot contain `:'.
6127 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6129 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6130 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6131 { (exit 1); exit 1; }; };;
6133 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6134 ac_file_inputs="$ac_file_inputs '$ac_f'"
6137 # Let's still pretend it is `configure' which instantiates (i.e., don't
6138 # use $as_me), people would be surprised to read:
6139 # /* config.h. Generated by config.status. */
6140 configure_input='Generated from '`
6141 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6143 if test x"$ac_file" != x-; then
6144 configure_input="$ac_file. $configure_input"
6145 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6146 $as_echo "$as_me: creating $ac_file" >&6;}
6148 # Neutralize special characters interpreted by sed in replacement strings.
6149 case $configure_input in #(
6150 *\&* | *\|* | *\\* )
6151 ac_sed_conf_input=`$as_echo "$configure_input" |
6152 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6153 *) ac_sed_conf_input=$configure_input;;
6157 *:-:* | *:-) cat >"$tmp/stdin" \
6158 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6159 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6160 { (exit 1); exit 1; }; } ;;
6165 ac_dir=`$as_dirname -- "$ac_file" ||
6166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6167 X"$ac_file" : 'X\(//\)[^/]' \| \
6168 X"$ac_file" : 'X\(//\)$' \| \
6169 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6170 $as_echo X"$ac_file" |
6171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6190 -*) as_dir=./$as_dir;;
6192 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6196 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6197 *) as_qdir=$as_dir;;
6199 as_dirs="'$as_qdir' $as_dirs"
6200 as_dir=`$as_dirname -- "$as_dir" ||
6201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6202 X"$as_dir" : 'X\(//\)[^/]' \| \
6203 X"$as_dir" : 'X\(//\)$' \| \
6204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6205 $as_echo X"$as_dir" |
6206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6223 test -d "$as_dir" && break
6225 test -z "$as_dirs" || eval "mkdir $as_dirs"
6226 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6227 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6228 { (exit 1); exit 1; }; }; }
6232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6234 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6235 # A ".." for each directory in $ac_dir_suffix.
6236 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6237 case $ac_top_builddir_sub in
6238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6242 ac_abs_top_builddir=$ac_pwd
6243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6244 # for backward compatibility:
6245 ac_top_builddir=$ac_top_build_prefix
6248 .) # We are building in place.
6250 ac_top_srcdir=$ac_top_builddir_sub
6251 ac_abs_top_srcdir=$ac_pwd ;;
6252 [\\/]* | ?:[\\/]* ) # Absolute name.
6253 ac_srcdir=$srcdir$ac_dir_suffix;
6254 ac_top_srcdir=$srcdir
6255 ac_abs_top_srcdir=$srcdir ;;
6257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6258 ac_top_srcdir=$ac_top_build_prefix$srcdir
6259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6271 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6272 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6276 [\\/$]* | ?:[\\/]* ) ;;
6277 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6282 # If the template does not know about datarootdir, expand it.
6283 # FIXME: This hack should be removed a few years after 2.60.
6284 ac_datarootdir_hack=; ac_datarootdir_seen=
6297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6298 *datarootdir*) ac_datarootdir_seen=yes;;
6299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6300 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6304 ac_datarootdir_hack='
6305 s&@datadir@&$datadir&g
6306 s&@docdir@&$docdir&g
6307 s&@infodir@&$infodir&g
6308 s&@localedir@&$localedir&g
6309 s&@mandir@&$mandir&g
6310 s&\\\${datarootdir}&$datarootdir&g' ;;
6314 # Neutralize VPATH when `$srcdir' = `.'.
6315 # Shell code in configure.ac might set extrasub.
6316 # FIXME: do we really want to maintain this feature?
6317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6318 ac_sed_extra="$ac_vpsub
6321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6324 s|@configure_input@|$ac_sed_conf_input|;t t
6325 s&@top_builddir@&$ac_top_builddir_sub&;t t
6326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6327 s&@srcdir@&$ac_srcdir&;t t
6328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6329 s&@top_srcdir@&$ac_top_srcdir&;t t
6330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6331 s&@builddir@&$ac_builddir&;t t
6332 s&@abs_builddir@&$ac_abs_builddir&;t t
6333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6334 s&@INSTALL@&$ac_INSTALL&;t t
6335 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6336 $ac_datarootdir_hack
6338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6339 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6340 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6341 { (exit 1); exit 1; }; }
6343 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6344 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6345 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6346 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6347 which seems to be undefined. Please make sure it is defined." >&5
6348 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6349 which seems to be undefined. Please make sure it is defined." >&2;}
6353 -) cat "$tmp/out" && rm -f "$tmp/out";;
6354 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6356 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6357 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6358 { (exit 1); exit 1; }; }
6362 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6363 $as_echo "$as_me: executing $ac_file commands" >&6;}
6368 case $ac_file$ac_mode in
6369 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6370 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6371 # are listed without --file. Let's play safe and only enable the eval
6372 # if we detect the quoting.
6373 case $CONFIG_FILES in
6374 *\'*) eval set x "$CONFIG_FILES" ;;
6375 *) set x $CONFIG_FILES ;;
6380 # Strip MF so we end up with the name of the file.
6381 mf=`echo "$mf" | sed -e 's/:.*$//'`
6382 # Check whether this is an Automake generated Makefile or not.
6383 # We used to match only the files named `Makefile.in', but
6384 # some people rename them; so instead we look at the file content.
6385 # Grep'ing the first line is not enough: some people post-process
6386 # each Makefile.in and add a new line on top of each file to say so.
6387 # Grep'ing the whole file is not good either: AIX grep has a line
6388 # limit of 2048, but all sed's we know have understand at least 4000.
6389 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6390 dirpart=`$as_dirname -- "$mf" ||
6391 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6392 X"$mf" : 'X\(//\)[^/]' \| \
6393 X"$mf" : 'X\(//\)$' \| \
6394 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6416 # Extract the definition of DEPDIR, am__include, and am__quote
6417 # from the Makefile without running `make'.
6418 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6419 test -z "$DEPDIR" && continue
6420 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6421 test -z "am__include" && continue
6422 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6423 # When using ansi2knr, U may be empty or an underscore; expand it
6424 U=`sed -n 's/^U = //p' < "$mf"`
6425 # Find all dependency output files, they are included files with
6426 # $(DEPDIR) in their names. We invoke sed twice because it is the
6427 # simplest approach to changing $(DEPDIR) to its actual value in the
6429 for file in `sed -n "
6430 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6431 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6432 # Make sure the directory exists.
6433 test -f "$dirpart/$file" && continue
6434 fdir=`$as_dirname -- "$file" ||
6435 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436 X"$file" : 'X\(//\)[^/]' \| \
6437 X"$file" : 'X\(//\)$' \| \
6438 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6457 { as_dir=$dirpart/$fdir
6459 -*) as_dir=./$as_dir;;
6461 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6465 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6466 *) as_qdir=$as_dir;;
6468 as_dirs="'$as_qdir' $as_dirs"
6469 as_dir=`$as_dirname -- "$as_dir" ||
6470 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6471 X"$as_dir" : 'X\(//\)[^/]' \| \
6472 X"$as_dir" : 'X\(//\)$' \| \
6473 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6474 $as_echo X"$as_dir" |
6475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6492 test -d "$as_dir" && break
6494 test -z "$as_dirs" || eval "mkdir $as_dirs"
6495 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6496 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6497 { (exit 1); exit 1; }; }; }
6498 # echo "creating $dirpart/$file"
6499 echo '# dummy' > "$dirpart/$file"
6509 { (exit 0); exit 0; }
6511 chmod +x $CONFIG_STATUS
6512 ac_clean_files=$ac_clean_files_save
6514 test $ac_write_fail = 0 ||
6515 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6516 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6517 { (exit 1); exit 1; }; }
6520 # configure is writing to config.log, and then calls config.status.
6521 # config.status does its own redirection, appending to config.log.
6522 # Unfortunately, on DOS this fails, as config.log is still kept open
6523 # by configure, so config.status won't be able to write to it; its
6524 # output is simply discarded. So we exec the FD to /dev/null,
6525 # effectively closing config.log, so it can be properly (re)opened and
6526 # appended to by config.status. When coming back to configure, we
6527 # need to make the FD available again.
6528 if test "$no_create" != yes; then
6530 ac_config_status_args=
6531 test "$silent" = yes &&
6532 ac_config_status_args="$ac_config_status_args --quiet"
6534 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6536 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6537 # would make configure fail if this is the last instruction.
6538 $ac_cs_success || { (exit 1); exit 1; }
6540 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6541 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6542 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}