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="isatty.c"
602 ac_subst_vars='LTLIBOBJS
628 MAINTAINER_MODE_FALSE
652 INSTALL_STRIP_PROGRAM
676 MAY_SUPPLY_SYSCALLS_FALSE
677 MAY_SUPPLY_SYSCALLS_TRUE
705 program_transform_name
717 enable_option_checking
719 enable_target_optspace
720 enable_malloc_debugging
721 enable_newlib_multithread
723 enable_newlib_elix_level
724 enable_newlib_io_float
725 enable_newlib_supplied_syscalls
726 enable_dependency_tracking
727 enable_maintainer_mode
729 ac_precious_vars='build_alias
736 # Initialize some variables set by options.
738 ac_init_version=false
739 ac_unrecognized_opts=
741 # The variables have the same names as the options, with
742 # dashes changed to underlines.
750 program_transform_name=s,x,x,
758 # Installation directory options.
759 # These are left unexpanded so users can "make install exec_prefix=/foo"
760 # and all the variables that are supposed to be based on exec_prefix
761 # by default will actually change.
762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
764 bindir='${exec_prefix}/bin'
765 sbindir='${exec_prefix}/sbin'
766 libexecdir='${exec_prefix}/libexec'
767 datarootdir='${prefix}/share'
768 datadir='${datarootdir}'
769 sysconfdir='${prefix}/etc'
770 sharedstatedir='${prefix}/com'
771 localstatedir='${prefix}/var'
772 includedir='${prefix}/include'
773 oldincludedir='/usr/include'
774 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
775 infodir='${datarootdir}/info'
780 libdir='${exec_prefix}/lib'
781 localedir='${datarootdir}/locale'
782 mandir='${datarootdir}/man'
788 # If the previous option needs an argument, assign it.
789 if test -n "$ac_prev"; then
790 eval $ac_prev=\$ac_option
796 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
800 # Accept the important Cygnus configure options, so we can diagnose typos.
802 case $ac_dashdash$ac_option in
806 -bindir | --bindir | --bindi | --bind | --bin | --bi)
808 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
811 -build | --build | --buil | --bui | --bu)
812 ac_prev=build_alias ;;
813 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
814 build_alias=$ac_optarg ;;
816 -cache-file | --cache-file | --cache-fil | --cache-fi \
817 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
818 ac_prev=cache_file ;;
819 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
820 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
821 cache_file=$ac_optarg ;;
824 cache_file=config.cache ;;
826 -datadir | --datadir | --datadi | --datad)
828 -datadir=* | --datadir=* | --datadi=* | --datad=*)
829 datadir=$ac_optarg ;;
831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
832 | --dataroo | --dataro | --datar)
833 ac_prev=datarootdir ;;
834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
836 datarootdir=$ac_optarg ;;
838 -disable-* | --disable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
843 { (exit 1); exit 1; }; }
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
853 eval enable_$ac_useropt=no ;;
855 -docdir | --docdir | --docdi | --doc | --do)
857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865 -enable-* | --enable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
870 { (exit 1); exit 1; }; }
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=\$ac_optarg ;;
882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
883 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
884 | --exec | --exe | --ex)
885 ac_prev=exec_prefix ;;
886 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
887 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
888 | --exec=* | --exe=* | --ex=*)
889 exec_prefix=$ac_optarg ;;
891 -gas | --gas | --ga | --g)
892 # Obsolete; use --with-gas.
895 -help | --help | --hel | --he | -h)
897 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
898 ac_init_help=recursive ;;
899 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
900 ac_init_help=short ;;
902 -host | --host | --hos | --ho)
903 ac_prev=host_alias ;;
904 -host=* | --host=* | --hos=* | --ho=*)
905 host_alias=$ac_optarg ;;
907 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
909 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
911 htmldir=$ac_optarg ;;
913 -includedir | --includedir | --includedi | --included | --include \
914 | --includ | --inclu | --incl | --inc)
915 ac_prev=includedir ;;
916 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
917 | --includ=* | --inclu=* | --incl=* | --inc=*)
918 includedir=$ac_optarg ;;
920 -infodir | --infodir | --infodi | --infod | --info | --inf)
922 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
923 infodir=$ac_optarg ;;
925 -libdir | --libdir | --libdi | --libd)
927 -libdir=* | --libdir=* | --libdi=* | --libd=*)
930 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
931 | --libexe | --libex | --libe)
932 ac_prev=libexecdir ;;
933 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
934 | --libexe=* | --libex=* | --libe=*)
935 libexecdir=$ac_optarg ;;
937 -localedir | --localedir | --localedi | --localed | --locale)
939 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940 localedir=$ac_optarg ;;
942 -localstatedir | --localstatedir | --localstatedi | --localstated \
943 | --localstate | --localstat | --localsta | --localst | --locals)
944 ac_prev=localstatedir ;;
945 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
946 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
947 localstatedir=$ac_optarg ;;
949 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
951 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955 # Obsolete; use --without-fp.
958 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
959 | --no-cr | --no-c | -n)
962 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
963 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
966 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
967 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
968 | --oldin | --oldi | --old | --ol | --o)
969 ac_prev=oldincludedir ;;
970 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
971 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
972 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
973 oldincludedir=$ac_optarg ;;
975 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
977 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
980 -program-prefix | --program-prefix | --program-prefi | --program-pref \
981 | --program-pre | --program-pr | --program-p)
982 ac_prev=program_prefix ;;
983 -program-prefix=* | --program-prefix=* | --program-prefi=* \
984 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
985 program_prefix=$ac_optarg ;;
987 -program-suffix | --program-suffix | --program-suffi | --program-suff \
988 | --program-suf | --program-su | --program-s)
989 ac_prev=program_suffix ;;
990 -program-suffix=* | --program-suffix=* | --program-suffi=* \
991 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
992 program_suffix=$ac_optarg ;;
994 -program-transform-name | --program-transform-name \
995 | --program-transform-nam | --program-transform-na \
996 | --program-transform-n | --program-transform- \
997 | --program-transform | --program-transfor \
998 | --program-transfo | --program-transf \
999 | --program-trans | --program-tran \
1000 | --progr-tra | --program-tr | --program-t)
1001 ac_prev=program_transform_name ;;
1002 -program-transform-name=* | --program-transform-name=* \
1003 | --program-transform-nam=* | --program-transform-na=* \
1004 | --program-transform-n=* | --program-transform-=* \
1005 | --program-transform=* | --program-transfor=* \
1006 | --program-transfo=* | --program-transf=* \
1007 | --program-trans=* | --program-tran=* \
1008 | --progr-tra=* | --program-tr=* | --program-t=*)
1009 program_transform_name=$ac_optarg ;;
1011 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1013 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1014 pdfdir=$ac_optarg ;;
1016 -psdir | --psdir | --psdi | --psd | --ps)
1018 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1025 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1027 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1029 sbindir=$ac_optarg ;;
1031 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1032 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1033 | --sharedst | --shareds | --shared | --share | --shar \
1035 ac_prev=sharedstatedir ;;
1036 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1037 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1038 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1040 sharedstatedir=$ac_optarg ;;
1042 -site | --site | --sit)
1044 -site=* | --site=* | --sit=*)
1047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1050 srcdir=$ac_optarg ;;
1052 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1053 | --syscon | --sysco | --sysc | --sys | --sy)
1054 ac_prev=sysconfdir ;;
1055 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1056 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1057 sysconfdir=$ac_optarg ;;
1059 -target | --target | --targe | --targ | --tar | --ta | --t)
1060 ac_prev=target_alias ;;
1061 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1062 target_alias=$ac_optarg ;;
1064 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1067 -version | --version | --versio | --versi | --vers | -V)
1068 ac_init_version=: ;;
1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1085 eval with_$ac_useropt=\$ac_optarg ;;
1087 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1092 { (exit 1); exit 1; }; }
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval with_$ac_useropt=no ;;
1105 # Obsolete; use --with-x.
1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1109 | --x-incl | --x-inc | --x-in | --x-i)
1110 ac_prev=x_includes ;;
1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1113 x_includes=$ac_optarg ;;
1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1117 ac_prev=x_libraries ;;
1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1120 x_libraries=$ac_optarg ;;
1122 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1123 Try \`$0 --help' for more information." >&2
1124 { (exit 1); exit 1; }; }
1128 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1131 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1132 { (exit 1); exit 1; }; }
1133 eval $ac_envvar=\$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1147 if test -n "$ac_prev"; then
1148 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1149 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1150 { (exit 1); exit 1; }; }
1153 if test -n "$ac_unrecognized_opts"; then
1154 case $enable_option_checking in
1156 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1157 { (exit 1); exit 1; }; } ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1175 # Be sure to have absolute directory names.
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1181 { (exit 1); exit 1; }; }
1184 # There might be people who depend on the old broken behavior: `$host'
1185 # used to hold the argument of --host etc.
1186 # FIXME: To remove some day.
1189 target=$target_alias
1191 # FIXME: To remove some day.
1192 if test "x$host_alias" != x; then
1193 if test "x$build_alias" = x; then
1194 cross_compiling=maybe
1195 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1196 If a cross compiler is detected then cross compile mode will be used." >&2
1197 elif test "x$build_alias" != "x$host_alias"; then
1203 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1205 test "$silent" = yes && exec 6>/dev/null
1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di=`ls -di .` &&
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1212 { (exit 1); exit 1; }; }
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1215 { (exit 1); exit 1; }; }
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1255 { (exit 1); exit 1; }; }
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1260 { (exit 1); exit 1; }; }
1262 # When building in place, set srcdir=.
1263 if test "$ac_abs_confdir" = "$ac_pwd"; then
1266 # Remove unnecessary trailing slashes from srcdir.
1267 # Double slashes in file names in object file debugging info
1268 # mess up M-x gdb in Emacs.
1270 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1272 for ac_var in $ac_precious_vars; do
1273 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_env_${ac_var}_value=\$${ac_var}
1275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1276 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1280 # Report the --help message.
1282 if test "$ac_init_help" = "long"; then
1283 # Omit some internal or obsolete options to make the list less imposing.
1284 # This message is too long to be a string in the A/UX 3.1 sh.
1286 \`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1288 Usage: $0 [OPTION]... [VAR=VALUE]...
1290 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291 VAR=VALUE. See below for descriptions of some of the useful variables.
1293 Defaults for the options are specified in brackets.
1296 -h, --help display this help and exit
1297 --help=short display options specific to this package
1298 --help=recursive display the short help of all the included packages
1299 -V, --version display version information and exit
1300 -q, --quiet, --silent do not print \`checking...' messages
1301 --cache-file=FILE cache test results in FILE [disabled]
1302 -C, --config-cache alias for \`--cache-file=config.cache'
1303 -n, --no-create do not create output files
1304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1306 Installation directories:
1307 --prefix=PREFIX install architecture-independent files in PREFIX
1308 [$ac_default_prefix]
1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1312 By default, \`make install' will install all the files in
1313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1314 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315 for instance \`--prefix=\$HOME'.
1317 For better control, use the options below.
1319 Fine tuning of the installation directories:
1320 --bindir=DIR user executables [EPREFIX/bin]
1321 --sbindir=DIR system admin executables [EPREFIX/sbin]
1322 --libexecdir=DIR program executables [EPREFIX/libexec]
1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1326 --libdir=DIR object code libraries [EPREFIX/lib]
1327 --includedir=DIR C header files [PREFIX/include]
1328 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1331 --infodir=DIR info documentation [DATAROOTDIR/info]
1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1333 --mandir=DIR man documentation [DATAROOTDIR/man]
1334 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1344 --program-prefix=PREFIX prepend PREFIX to installed program names
1345 --program-suffix=SUFFIX append SUFFIX to installed program names
1346 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1349 --build=BUILD configure for building on BUILD [guessed]
1350 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1354 if test -n "$ac_init_help"; then
1355 case $ac_init_help in
1356 short | recursive ) echo "Configuration of newlib 1.18.0:";;
1361 --disable-option-checking ignore unrecognized --enable/--with options
1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1364 --enable-multilib build many library versions (default)
1365 --enable-target-optspace optimize for space
1366 --enable-malloc-debugging indicate malloc debugging requested
1367 --enable-newlib-multithread enable support for multiple threads
1368 --enable-newlib-iconv enable iconv library support
1369 --enable-newlib-elix-level supply desired elix library level (1-4)
1370 --disable-newlib-io-float disable printf/scanf family float support
1371 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1372 --disable-dependency-tracking speeds up one-time build
1373 --enable-dependency-tracking do not reject slow dependency extractors
1374 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing) to the casual installer
1377 Some influential environment variables:
1378 CCAS assembler compiler command (defaults to CC)
1379 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" ||
1392 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1413 .) # We are building in place.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1446 newlib configure 1.18.0
1447 generated by GNU Autoconf 2.63
1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1456 cat >config.log <<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1460 It was created by newlib $as_me 1.18.0, which was
1461 generated by GNU Autoconf 2.63. Invocation command line was
1473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 $as_echo "PATH: $as_dir"
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1521 ac_must_keep_next=false
1527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529 | -silent | --silent | --silen | --sile | --sil)
1532 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true; then
1539 ac_must_keep_next=false # Got value, back to normal.
1542 *=* | --config-cache | -C | -disable-* | --disable-* \
1543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545 | -with-* | --with-* | -without-* | --without-* | --x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 -* ) ac_must_keep_next=true ;;
1553 ac_configure_args="$ac_configure_args '$ac_arg'"
1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1584 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1588 _ | IFS | as_nl) ;; #(
1589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1590 *) $as_unset $ac_var ;;
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1619 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1621 $as_echo "$ac_var='\''$ac_val'\''"
1625 if test -n "$ac_subst_files"; then
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1636 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1638 $as_echo "$ac_var='\''$ac_val'\''"
1643 if test -s confdefs.h; then
1653 test "$ac_signal" != 0 &&
1654 $as_echo "$as_me: caught signal $ac_signal"
1655 $as_echo "$as_me: exit $exit_status"
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer an explicitly selected file to automatically selected ones.
1700 if test -n "$CONFIG_SITE"; then
1701 ac_site_file1=$CONFIG_SITE
1702 elif test "x$prefix" != xNONE; then
1703 ac_site_file1=$prefix/share/config.site
1704 ac_site_file2=$prefix/etc/config.site
1706 ac_site_file1=$ac_default_prefix/share/config.site
1707 ac_site_file2=$ac_default_prefix/etc/config.site
1709 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1711 test "x$ac_site_file" = xNONE && continue
1712 if test -r "$ac_site_file"; then
1713 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1714 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1715 sed 's/^/| /' "$ac_site_file" >&5
1720 if test -r "$cache_file"; then
1721 # Some versions of bash will fail to source /dev/null (special
1722 # files actually), so we avoid doing that.
1723 if test -f "$cache_file"; then
1724 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1725 $as_echo "$as_me: loading cache $cache_file" >&6;}
1727 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1728 *) . "./$cache_file";;
1732 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1733 $as_echo "$as_me: creating cache $cache_file" >&6;}
1737 # Check that the precious variables saved in the cache have kept the same
1739 ac_cache_corrupted=false
1740 for ac_var in $ac_precious_vars; do
1741 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1742 eval ac_new_set=\$ac_env_${ac_var}_set
1743 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1744 eval ac_new_val=\$ac_env_${ac_var}_value
1745 case $ac_old_set,$ac_new_set in
1747 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1748 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1751 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1752 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1753 ac_cache_corrupted=: ;;
1756 if test "x$ac_old_val" != "x$ac_new_val"; then
1757 # differences in whitespace do not lead to failure.
1758 ac_old_val_w=`echo x $ac_old_val`
1759 ac_new_val_w=`echo x $ac_new_val`
1760 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1762 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1763 ac_cache_corrupted=:
1765 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1766 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1767 eval $ac_var=\$ac_old_val
1769 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1770 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1771 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1772 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1778 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg=$ac_var=$ac_new_val ;;
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1787 if $ac_cache_corrupted; then
1788 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1790 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1791 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1792 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1793 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1794 { (exit 1); exit 1; }; }
1822 ac_cpp='$CPP $CPPFLAGS'
1823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1831 for ac_dir in ../../../.. "$srcdir"/../../../..; do
1832 if test -f "$ac_dir/install-sh"; then
1834 ac_install_sh="$ac_aux_dir/install-sh -c"
1836 elif test -f "$ac_dir/install.sh"; then
1838 ac_install_sh="$ac_aux_dir/install.sh -c"
1840 elif test -f "$ac_dir/shtool"; then
1842 ac_install_sh="$ac_aux_dir/shtool install -c"
1846 if test -z "$ac_aux_dir"; then
1847 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
1848 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
1849 { (exit 1); exit 1; }; }
1852 # These three variables are undocumented and unsupported,
1853 # and are intended to be withdrawn in a future Autoconf release.
1854 # They can cause serious problems if a builder's source tree is in a directory
1855 # whose full name contains unusual characters.
1856 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1857 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1858 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1863 # Make sure we can run config.sub.
1864 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1865 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1866 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1867 { (exit 1); exit 1; }; }
1869 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1870 $as_echo_n "checking build system type... " >&6; }
1871 if test "${ac_cv_build+set}" = set; then
1872 $as_echo_n "(cached) " >&6
1874 ac_build_alias=$build_alias
1875 test "x$ac_build_alias" = x &&
1876 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1877 test "x$ac_build_alias" = x &&
1878 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1879 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1880 { (exit 1); exit 1; }; }
1881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1882 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1883 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1884 { (exit 1); exit 1; }; }
1887 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1888 $as_echo "$ac_cv_build" >&6; }
1889 case $ac_cv_build in
1891 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1892 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1893 { (exit 1); exit 1; }; };;
1896 ac_save_IFS=$IFS; IFS='-'
1902 # Remember, the first character of IFS is used to create $*,
1903 # except with old shells:
1906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1909 am__api_version='1.11'
1911 # Find a good install program. We prefer a C program (faster),
1912 # so one script is as good as another. But avoid the broken or
1913 # incompatible versions:
1914 # SysV /etc/install, /usr/sbin/install
1915 # SunOS /usr/etc/install
1916 # IRIX /sbin/install
1918 # AmigaOS /C/install, which installs bootblocks on floppy discs
1919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1922 # OS/2's system install, which has a completely different semantic
1923 # ./install, which can be erroneously created by make from ./install.sh.
1924 # Reject install programs that cannot install multiple files.
1925 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1926 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1927 if test -z "$INSTALL"; then
1928 if test "${ac_cv_path_install+set}" = set; then
1929 $as_echo_n "(cached) " >&6
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 # Account for people who put trailing slashes in PATH elements.
1938 ./ | .// | /cC/* | \
1939 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1940 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1943 # OSF1 and SCO ODT 3.0 have their own names for install.
1944 # Don't use installbsd from OSF since it installs stuff as root
1946 for ac_prog in ginstall scoinst install; do
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1949 if test $ac_prog = install &&
1950 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1951 # AIX install. It has an incompatible calling convention.
1953 elif test $ac_prog = install &&
1954 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1955 # program-specific install script used by HP pwplus--don't use.
1958 rm -rf conftest.one conftest.two conftest.dir
1959 echo one > conftest.one
1960 echo two > conftest.two
1962 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1963 test -s conftest.one && test -s conftest.two &&
1964 test -s conftest.dir/conftest.one &&
1965 test -s conftest.dir/conftest.two
1967 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1980 rm -rf conftest.one conftest.two conftest.dir
1983 if test "${ac_cv_path_install+set}" = set; then
1984 INSTALL=$ac_cv_path_install
1986 # As a last resort, use the slow shell script. Don't cache a
1987 # value for INSTALL within a source directory, because that will
1988 # break other packages using the cache if that directory is
1989 # removed, or if the value is a relative name.
1990 INSTALL=$ac_install_sh
1993 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1994 $as_echo "$INSTALL" >&6; }
1996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1997 # It thinks the first close brace ends the variable substitution.
1998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2002 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2004 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2005 $as_echo_n "checking whether build environment is sane... " >&6; }
2008 echo timestamp > conftest.file
2009 # Reject unsafe characters in $srcdir or the absolute working directory
2010 # name. Accept space and tab only in the latter.
2014 *[\\\"\#\$\&\'\`$am_lf]*)
2015 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2016 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2017 { (exit 1); exit 1; }; };;
2020 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2021 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2022 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2023 { (exit 1); exit 1; }; };;
2026 # Do `set' in a subshell so we don't clobber the current shell's
2027 # arguments. Must try -L first in case configure is actually a
2028 # symlink; some systems play weird games with the mod time of symlinks
2029 # (eg FreeBSD returns the mod time of the symlink's containing
2032 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2033 if test "$*" = "X"; then
2035 set X `ls -t "$srcdir/configure" conftest.file`
2038 if test "$*" != "X $srcdir/configure conftest.file" \
2039 && test "$*" != "X conftest.file $srcdir/configure"; then
2041 # If neither matched, then we have a broken ls. This can happen
2042 # if, for instance, CONFIG_SHELL is bash and it inherits a
2043 # broken ls alias from the environment. This has actually
2044 # happened. Such a system could not be considered "sane".
2045 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2046 alias in your environment" >&5
2047 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2048 alias in your environment" >&2;}
2049 { (exit 1); exit 1; }; }
2052 test "$2" = conftest.file
2058 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2059 Check your system clock" >&5
2060 $as_echo "$as_me: error: newly created file is older than distributed files!
2061 Check your system clock" >&2;}
2062 { (exit 1); exit 1; }; }
2064 { $as_echo "$as_me:$LINENO: result: yes" >&5
2065 $as_echo "yes" >&6; }
2066 test "$program_prefix" != NONE &&
2067 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2068 # Use a double $ so make ignores it.
2069 test "$program_suffix" != NONE &&
2070 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2071 # Double any \ or $.
2072 # By default was `s,x,x', remove it if useless.
2073 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2074 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2076 # expand $ac_aux_dir to an absolute path
2077 am_aux_dir=`cd $ac_aux_dir && pwd`
2079 if test x"${MISSING+set}" != xset; then
2082 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2084 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2087 # Use eval to expand $SHELL
2088 if eval "$MISSING --run true"; then
2089 am_missing_run="$MISSING --run "
2092 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2093 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2096 if test x"${install_sh}" != xset; then
2099 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2101 install_sh="\${SHELL} $am_aux_dir/install-sh"
2105 # Installed binaries are usually stripped using `strip' when the user
2106 # run `make install-strip'. However `strip' might not be the right
2107 # tool to use in cross-compilation environments, therefore Automake
2108 # will honor the `STRIP' environment variable to overrule this program.
2109 if test "$cross_compiling" != no; then
2110 if test -n "$ac_tool_prefix"; then
2111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112 set dummy ${ac_tool_prefix}strip; ac_word=$2
2113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if test "${ac_cv_prog_STRIP+set}" = set; then
2116 $as_echo_n "(cached) " >&6
2118 if test -n "$STRIP"; then
2119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 STRIP=$ac_cv_prog_STRIP
2139 if test -n "$STRIP"; then
2140 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2141 $as_echo "$STRIP" >&6; }
2143 { $as_echo "$as_me:$LINENO: result: no" >&5
2144 $as_echo "no" >&6; }
2149 if test -z "$ac_cv_prog_STRIP"; then
2151 # Extract the first word of "strip", so it can be a program name with args.
2152 set dummy strip; ac_word=$2
2153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 $as_echo_n "checking for $ac_word... " >&6; }
2155 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156 $as_echo_n "(cached) " >&6
2158 if test -n "$ac_ct_STRIP"; then
2159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_ac_ct_STRIP="strip"
2169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179 if test -n "$ac_ct_STRIP"; then
2180 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181 $as_echo "$ac_ct_STRIP" >&6; }
2183 { $as_echo "$as_me:$LINENO: result: no" >&5
2184 $as_echo "no" >&6; }
2187 if test "x$ac_ct_STRIP" = x; then
2190 case $cross_compiling:$ac_tool_warned in
2192 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2194 ac_tool_warned=yes ;;
2199 STRIP="$ac_cv_prog_STRIP"
2203 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2205 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2206 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2207 if test -z "$MKDIR_P"; then
2208 if test "${ac_cv_path_mkdir+set}" = set; then
2209 $as_echo_n "(cached) " >&6
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2215 test -z "$as_dir" && as_dir=.
2216 for ac_prog in mkdir gmkdir; do
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2219 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2220 'mkdir (GNU coreutils) '* | \
2221 'mkdir (coreutils) '* | \
2222 'mkdir (fileutils) '4.1*)
2223 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2233 if test "${ac_cv_path_mkdir+set}" = set; then
2234 MKDIR_P="$ac_cv_path_mkdir -p"
2236 # As a last resort, use the slow shell script. Don't cache a
2237 # value for MKDIR_P within a source directory, because that will
2238 # break other packages using the cache if that directory is
2239 # removed, or if the value is a relative name.
2240 test -d ./--version && rmdir ./--version
2241 MKDIR_P="$ac_install_sh -d"
2244 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2245 $as_echo "$MKDIR_P" >&6; }
2249 [\\/$]* | ?:[\\/]*) ;;
2250 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2253 for ac_prog in gawk mawk nawk awk
2255 # Extract the first word of "$ac_prog", so it can be a program name with args.
2256 set dummy $ac_prog; ac_word=$2
2257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 $as_echo_n "checking for $ac_word... " >&6; }
2259 if test "${ac_cv_prog_AWK+set}" = set; then
2260 $as_echo_n "(cached) " >&6
2262 if test -n "$AWK"; then
2263 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_prog_AWK="$ac_prog"
2273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test -n "$AWK"; then
2284 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2285 $as_echo "$AWK" >&6; }
2287 { $as_echo "$as_me:$LINENO: result: no" >&5
2288 $as_echo "no" >&6; }
2292 test -n "$AWK" && break
2295 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2299 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2300 $as_echo_n "(cached) " >&6
2302 cat >conftest.make <<\_ACEOF
2305 @echo '@@@%%%=$(MAKE)=@@@%%%'
2307 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2310 eval ac_cv_prog_make_${ac_make}_set=yes;;
2312 eval ac_cv_prog_make_${ac_make}_set=no;;
2316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2317 { $as_echo "$as_me:$LINENO: result: yes" >&5
2318 $as_echo "yes" >&6; }
2321 { $as_echo "$as_me:$LINENO: result: no" >&5
2322 $as_echo "no" >&6; }
2323 SET_MAKE="MAKE=${MAKE-make}"
2326 rm -rf .tst 2>/dev/null
2327 mkdir .tst 2>/dev/null
2328 if test -d .tst; then
2333 rmdir .tst 2>/dev/null
2335 DEPDIR="${am__leading_dot}deps"
2337 ac_config_commands="$ac_config_commands depfiles"
2340 am_make=${MAKE-make}
2341 cat > confinc << 'END'
2343 @echo this is the am__doit target
2346 # If we don't find an include directive, just comment out the code.
2347 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2348 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2352 # First try GNU make style include.
2353 echo "include confinc" > confmf
2354 # Ignore all kinds of additional output from `make'.
2355 case `$am_make -s -f confmf 2> /dev/null` in #(
2356 *the\ am__doit\ target*)
2362 # Now try BSD make style include.
2363 if test "$am__include" = "#"; then
2364 echo '.include "confinc"' > confmf
2365 case `$am_make -s -f confmf 2> /dev/null` in #(
2366 *the\ am__doit\ target*)
2367 am__include=.include
2375 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2376 $as_echo "$_am_result" >&6; }
2377 rm -f confinc confmf
2379 # Check whether --enable-dependency-tracking was given.
2380 if test "${enable_dependency_tracking+set}" = set; then
2381 enableval=$enable_dependency_tracking;
2384 if test "x$enable_dependency_tracking" != xno; then
2385 am_depcomp="$ac_aux_dir/depcomp"
2388 if test "x$enable_dependency_tracking" != xno; then
2398 # Check whether --enable-multilib was given.
2399 if test "${enable_multilib+set}" = set; then
2400 enableval=$enable_multilib; case "${enableval}" in
2401 yes) multilib=yes ;;
2403 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2404 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2405 { (exit 1); exit 1; }; } ;;
2411 # Check whether --enable-target-optspace was given.
2412 if test "${enable_target_optspace+set}" = set; then
2413 enableval=$enable_target_optspace; case "${enableval}" in
2414 yes) target_optspace=yes ;;
2415 no) target_optspace=no ;;
2416 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2417 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2418 { (exit 1); exit 1; }; } ;;
2424 # Check whether --enable-malloc-debugging was given.
2425 if test "${enable_malloc_debugging+set}" = set; then
2426 enableval=$enable_malloc_debugging; case "${enableval}" in
2427 yes) malloc_debugging=yes ;;
2428 no) malloc_debugging=no ;;
2429 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2430 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2431 { (exit 1); exit 1; }; } ;;
2437 # Check whether --enable-newlib-multithread was given.
2438 if test "${enable_newlib_multithread+set}" = set; then
2439 enableval=$enable_newlib_multithread; case "${enableval}" in
2440 yes) newlib_multithread=yes ;;
2441 no) newlib_multithread=no ;;
2442 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2443 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2444 { (exit 1); exit 1; }; } ;;
2447 newlib_multithread=yes
2450 # Check whether --enable-newlib-iconv was given.
2451 if test "${enable_newlib_iconv+set}" = set; then
2452 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2453 case "${enableval}" in
2454 yes) newlib_iconv=yes ;;
2455 no) newlib_iconv=no ;;
2456 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2457 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2458 { (exit 1); exit 1; }; } ;;
2462 newlib_iconv=${newlib_iconv}
2465 # Check whether --enable-newlib-elix-level was given.
2466 if test "${enable_newlib_elix_level+set}" = set; then
2467 enableval=$enable_newlib_elix_level; case "${enableval}" in
2468 0) newlib_elix_level=0 ;;
2469 1) newlib_elix_level=1 ;;
2470 2) newlib_elix_level=2 ;;
2471 3) newlib_elix_level=3 ;;
2472 4) newlib_elix_level=4 ;;
2473 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2474 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2475 { (exit 1); exit 1; }; } ;;
2481 # Check whether --enable-newlib-io-float was given.
2482 if test "${enable_newlib_io_float+set}" = set; then
2483 enableval=$enable_newlib_io_float; case "${enableval}" in
2484 yes) newlib_io_float=yes ;;
2485 no) newlib_io_float=no ;;
2486 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2487 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2488 { (exit 1); exit 1; }; } ;;
2494 # Check whether --enable-newlib-supplied-syscalls was given.
2495 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2496 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2497 yes) newlib_may_supply_syscalls=yes ;;
2498 no) newlib_may_supply_syscalls=no ;;
2499 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2500 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2501 { (exit 1); exit 1; }; } ;;
2504 newlib_may_supply_syscalls=yes
2507 if test x${newlib_may_supply_syscalls} = xyes; then
2508 MAY_SUPPLY_SYSCALLS_TRUE=
2509 MAY_SUPPLY_SYSCALLS_FALSE='#'
2511 MAY_SUPPLY_SYSCALLS_TRUE='#'
2512 MAY_SUPPLY_SYSCALLS_FALSE=
2517 test -z "${with_target_subdir}" && with_target_subdir=.
2519 if test "${srcdir}" = "."; then
2520 if test "${with_target_subdir}" != "."; then
2521 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2523 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2526 newlib_basedir="${srcdir}/../../.."
2530 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2531 $as_echo_n "checking host system type... " >&6; }
2532 if test "${ac_cv_host+set}" = set; then
2533 $as_echo_n "(cached) " >&6
2535 if test "x$host_alias" = x; then
2536 ac_cv_host=$ac_cv_build
2538 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2539 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2540 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2541 { (exit 1); exit 1; }; }
2545 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2546 $as_echo "$ac_cv_host" >&6; }
2549 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2550 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2551 { (exit 1); exit 1; }; };;
2554 ac_save_IFS=$IFS; IFS='-'
2560 # Remember, the first character of IFS is used to create $*,
2561 # except with old shells:
2564 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2569 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2570 # is not polluted with repeated "-I."
2571 am__isrc=' -I$(srcdir)'
2572 # test to see if srcdir already configured
2573 if test -f $srcdir/config.status; then
2574 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2575 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2576 { (exit 1); exit 1; }; }
2580 # test whether we have cygpath
2581 if test -z "$CYGPATH_W"; then
2582 if (cygpath --version) >/dev/null 2>/dev/null; then
2583 CYGPATH_W='cygpath -w'
2590 # Define the identity of the package.
2595 # Some tools Automake needs.
2597 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2600 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2603 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2606 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2609 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2611 # We need awk for the "check" target. The system "awk" is bad on
2613 # Always define AMTAR for backward compatibility.
2615 AMTAR=${AMTAR-"${am_missing_run}tar"}
2617 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2624 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2625 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2626 # are probably using a cross compiler, which will not be able to fully
2627 # link an executable. This should really be fixed in autoconf
2636 # Extract the first word of "gcc", so it can be a program name with args.
2637 set dummy gcc; ac_word=$2
2638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_CC+set}" = set; then
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$CC"; then
2644 ac_cv_prog_CC="$CC" # Let the user override the test.
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$CC"; then
2665 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2666 $as_echo "$CC" >&6; }
2668 { $as_echo "$as_me:$LINENO: result: no" >&5
2669 $as_echo "no" >&6; }
2674 depcc="$CC" am_compiler_list=
2676 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2677 $as_echo_n "checking dependency style of $depcc... " >&6; }
2678 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2679 $as_echo_n "(cached) " >&6
2681 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2682 # We make a subdir and do the tests there. Otherwise we can end up
2683 # making bogus files that we don't know about and never remove. For
2684 # instance it was reported that on HP-UX the gcc test will end up
2685 # making a dummy file named `D' -- because `-MD' means `put the output
2688 # Copy depcomp to subdir because otherwise we won't find it if we're
2689 # using a relative directory.
2690 cp "$am_depcomp" conftest.dir
2692 # We will build objects and dependencies in a subdirectory because
2693 # it helps to detect inapplicable dependency modes. For instance
2694 # both Tru64's cc and ICC support -MD to output dependencies as a
2695 # side effect of compilation, but ICC will put the dependencies in
2696 # the current directory while Tru64 will put them in the object
2700 am_cv_CC_dependencies_compiler_type=none
2701 if test "$am_compiler_list" = ""; then
2702 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2705 case " $depcc " in #(
2706 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2709 for depmode in $am_compiler_list; do
2710 # Setup a source with many dependencies, because some compilers
2711 # like to wrap large dependency lists on column 80 (with \), and
2712 # we should not choose a depcomp mode which is confused by this.
2714 # We need to recreate these files for each test, as the compiler may
2715 # overwrite some of them when testing with obscure command lines.
2716 # This happens at least with the AIX C compiler.
2718 for i in 1 2 3 4 5 6; do
2719 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2720 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2721 # Solaris 8's {/usr,}/bin/sh.
2722 touch sub/conftst$i.h
2724 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2726 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2727 # mode. It turns out that the SunPro C++ compiler does not properly
2728 # handle `-M -o', and we need to detect this. Also, some Intel
2729 # versions had trouble with output in subdirs
2730 am__obj=sub/conftest.${OBJEXT-o}
2731 am__minus_obj="-o $am__obj"
2734 # This depmode causes a compiler race in universal mode.
2735 test "$am__universal" = false || continue
2738 # after this tag, mechanisms are not by side-effect, so they'll
2739 # only be used when explicitly requested
2740 if test "x$enable_dependency_tracking" = xyes; then
2746 msvisualcpp | msvcmsys)
2747 # This compiler won't grok `-c -o', but also, the minuso test has
2748 # not run yet. These depmodes are late enough in the game, and
2749 # so weak that their functioning should not be impacted.
2750 am__obj=conftest.${OBJEXT-o}
2755 if depmode=$depmode \
2756 source=sub/conftest.c object=$am__obj \
2757 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2758 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2759 >/dev/null 2>conftest.err &&
2760 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2761 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2762 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2763 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2764 # icc doesn't choke on unknown options, it will just issue warnings
2765 # or remarks (even with -Werror). So we grep stderr for any message
2766 # that says an option was ignored or not supported.
2767 # When given -MP, icc 7.0 and 7.1 complain thusly:
2768 # icc: Command line warning: ignoring option '-M'; no argument required
2769 # The diagnosis changed in icc 8.0:
2770 # icc: Command line remark: option '-MP' not supported
2771 if (grep 'ignoring option' conftest.err ||
2772 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2773 am_cv_CC_dependencies_compiler_type=$depmode
2782 am_cv_CC_dependencies_compiler_type=none
2786 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2787 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2788 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2791 test "x$enable_dependency_tracking" != xno \
2792 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2794 am__fastdepCC_FALSE='#'
2796 am__fastdepCC_TRUE='#'
2797 am__fastdepCC_FALSE=
2801 if test -z "$CC"; then
2802 # Extract the first word of "cc", so it can be a program name with args.
2803 set dummy cc; ac_word=$2
2804 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2821 ac_prog_rejected=yes
2825 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 if test $ac_prog_rejected = yes; then
2833 # We found a bogon in the path, so make sure we never use it.
2834 set dummy $ac_cv_prog_CC
2836 if test $# != 0; then
2837 # We chose a different compiler from the bogus one.
2838 # However, it has the same basename, so the bogon will be chosen
2839 # first if we set CC to just the basename; use the full file name.
2841 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:$LINENO: result: no" >&5
2852 $as_echo "no" >&6; }
2856 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2857 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2858 { (exit 1); exit 1; }; }
2861 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2862 $as_echo_n "checking whether we are using GNU C... " >&6; }
2863 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864 $as_echo_n "(cached) " >&6
2866 cat > conftest.c <<EOF
2871 if { ac_try='${CC-cc} -E conftest.c'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2877 ac_cv_c_compiler_gnu=yes
2879 ac_cv_c_compiler_gnu=no
2882 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2883 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2885 if test $ac_cv_c_compiler_gnu = yes; then
2887 ac_test_CFLAGS="${CFLAGS+set}"
2888 ac_save_CFLAGS="$CFLAGS"
2889 ac_test_CFLAGS=${CFLAGS+set}
2890 ac_save_CFLAGS=$CFLAGS
2891 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2892 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2893 if test "${ac_cv_prog_cc_g+set}" = set; then
2894 $as_echo_n "(cached) " >&6
2896 ac_save_c_werror_flag=$ac_c_werror_flag
2897 ac_c_werror_flag=yes
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2915 rm -f conftest.$ac_objext
2916 if { (ac_try="$ac_compile"
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2922 $as_echo "$ac_try_echo") >&5
2923 (eval "$ac_compile") 2>conftest.er1
2925 grep -v '^ *+' conftest.er1 >conftest.err
2927 cat conftest.err >&5
2928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } && {
2930 test -z "$ac_c_werror_flag" ||
2931 test ! -s conftest.err
2932 } && test -s conftest.$ac_objext; then
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2961 $as_echo "$ac_try_echo") >&5
2962 (eval "$ac_compile") 2>conftest.er1
2964 grep -v '^ *+' conftest.er1 >conftest.err
2966 cat conftest.err >&5
2967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } && {
2969 test -z "$ac_c_werror_flag" ||
2970 test ! -s conftest.err
2971 } && test -s conftest.$ac_objext; then
2974 $as_echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_c_werror_flag=$ac_save_c_werror_flag
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3001 $as_echo "$ac_try_echo") >&5
3002 (eval "$ac_compile") 2>conftest.er1
3004 grep -v '^ *+' conftest.er1 >conftest.err
3006 cat conftest.err >&5
3007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); } && {
3009 test -z "$ac_c_werror_flag" ||
3010 test ! -s conftest.err
3011 } && test -s conftest.$ac_objext; then
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 ac_c_werror_flag=$ac_save_c_werror_flag
3029 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3030 $as_echo "$ac_cv_prog_cc_g" >&6; }
3031 if test "$ac_test_CFLAGS" = set; then
3032 CFLAGS=$ac_save_CFLAGS
3033 elif test $ac_cv_prog_cc_g = yes; then
3034 if test "$GCC" = yes; then
3040 if test "$GCC" = yes; then
3046 if test "$ac_test_CFLAGS" = set; then
3047 CFLAGS="$ac_save_CFLAGS"
3048 elif test $ac_cv_prog_cc_g = yes; then
3055 test "${CFLAGS+set}" = set || CFLAGS="-g"
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3061 set dummy ${ac_tool_prefix}as; ac_word=$2
3062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if test "${ac_cv_prog_AS+set}" = set; then
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$AS"; then
3068 ac_cv_prog_AS="$AS" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077 ac_cv_prog_AS="${ac_tool_prefix}as"
3078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$AS"; then
3089 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3090 $as_echo "$AS" >&6; }
3092 { $as_echo "$as_me:$LINENO: result: no" >&5
3093 $as_echo "no" >&6; }
3098 if test -z "$ac_cv_prog_AS"; then
3100 # Extract the first word of "as", so it can be a program name with args.
3101 set dummy as; ac_word=$2
3102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$ac_ct_AS"; then
3108 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117 ac_cv_prog_ac_ct_AS="as"
3118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3128 if test -n "$ac_ct_AS"; then
3129 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3130 $as_echo "$ac_ct_AS" >&6; }
3132 { $as_echo "$as_me:$LINENO: result: no" >&5
3133 $as_echo "no" >&6; }
3136 if test "x$ac_ct_AS" = x; then
3139 case $cross_compiling:$ac_tool_warned in
3141 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3143 ac_tool_warned=yes ;;
3151 if test -n "$ac_tool_prefix"; then
3152 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3153 set dummy ${ac_tool_prefix}ar; ac_word=$2
3154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_AR+set}" = set; then
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$AR"; then
3160 ac_cv_prog_AR="$AR" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_AR="${ac_tool_prefix}ar"
3170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$AR"; then
3181 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3182 $as_echo "$AR" >&6; }
3184 { $as_echo "$as_me:$LINENO: result: no" >&5
3185 $as_echo "no" >&6; }
3190 if test -z "$ac_cv_prog_AR"; then
3192 # Extract the first word of "ar", so it can be a program name with args.
3193 set dummy ar; ac_word=$2
3194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$ac_ct_AR"; then
3200 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_ac_ct_AR="ar"
3210 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3220 if test -n "$ac_ct_AR"; then
3221 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3222 $as_echo "$ac_ct_AR" >&6; }
3224 { $as_echo "$as_me:$LINENO: result: no" >&5
3225 $as_echo "no" >&6; }
3228 if test "x$ac_ct_AR" = x; then
3231 case $cross_compiling:$ac_tool_warned in
3233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235 ac_tool_warned=yes ;;
3243 if test -n "$ac_tool_prefix"; then
3244 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3245 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3246 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if test "${ac_cv_prog_RANLIB+set}" = set; then
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$RANLIB"; then
3252 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir=.
3259 for ac_exec_ext in '' $ac_executable_extensions; do
3260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3262 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 RANLIB=$ac_cv_prog_RANLIB
3272 if test -n "$RANLIB"; then
3273 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3274 $as_echo "$RANLIB" >&6; }
3276 { $as_echo "$as_me:$LINENO: result: no" >&5
3277 $as_echo "no" >&6; }
3282 if test -z "$ac_cv_prog_RANLIB"; then
3283 ac_ct_RANLIB=$RANLIB
3284 # Extract the first word of "ranlib", so it can be a program name with args.
3285 set dummy ranlib; ac_word=$2
3286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$ac_ct_RANLIB"; then
3292 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 ac_cv_prog_ac_ct_RANLIB="ranlib"
3302 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3312 if test -n "$ac_ct_RANLIB"; then
3313 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3314 $as_echo "$ac_ct_RANLIB" >&6; }
3316 { $as_echo "$as_me:$LINENO: result: no" >&5
3317 $as_echo "no" >&6; }
3320 if test "x$ac_ct_RANLIB" = x; then
3323 case $cross_compiling:$ac_tool_warned in
3325 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327 ac_tool_warned=yes ;;
3329 RANLIB=$ac_ct_RANLIB
3332 RANLIB="$ac_cv_prog_RANLIB"
3335 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3337 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if test "${ac_cv_prog_READELF+set}" = set; then
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$READELF"; then
3344 ac_cv_prog_READELF="$READELF" # Let the user override the test.
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3354 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 READELF=$ac_cv_prog_READELF
3364 if test -n "$READELF"; then
3365 { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3366 $as_echo "$READELF" >&6; }
3368 { $as_echo "$as_me:$LINENO: result: no" >&5
3369 $as_echo "no" >&6; }
3374 if test -z "$ac_cv_prog_READELF"; then
3375 ac_ct_READELF=$READELF
3376 # Extract the first word of "readelf", so it can be a program name with args.
3377 set dummy readelf; ac_word=$2
3378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$ac_ct_READELF"; then
3384 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393 ac_cv_prog_ac_ct_READELF="readelf"
3394 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3404 if test -n "$ac_ct_READELF"; then
3405 { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3406 $as_echo "$ac_ct_READELF" >&6; }
3408 { $as_echo "$as_me:$LINENO: result: no" >&5
3409 $as_echo "no" >&6; }
3412 if test "x$ac_ct_READELF" = x; then
3415 case $cross_compiling:$ac_tool_warned in
3417 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3419 ac_tool_warned=yes ;;
3421 READELF=$ac_ct_READELF
3424 READELF="$ac_cv_prog_READELF"
3428 # Find a good install program. We prefer a C program (faster),
3429 # so one script is as good as another. But avoid the broken or
3430 # incompatible versions:
3431 # SysV /etc/install, /usr/sbin/install
3432 # SunOS /usr/etc/install
3433 # IRIX /sbin/install
3435 # AmigaOS /C/install, which installs bootblocks on floppy discs
3436 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3437 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3438 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3439 # OS/2's system install, which has a completely different semantic
3440 # ./install, which can be erroneously created by make from ./install.sh.
3441 # Reject install programs that cannot install multiple files.
3442 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3443 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3444 if test -z "$INSTALL"; then
3445 if test "${ac_cv_path_install+set}" = set; then
3446 $as_echo_n "(cached) " >&6
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 # Account for people who put trailing slashes in PATH elements.
3455 ./ | .// | /cC/* | \
3456 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3457 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3460 # OSF1 and SCO ODT 3.0 have their own names for install.
3461 # Don't use installbsd from OSF since it installs stuff as root
3463 for ac_prog in ginstall scoinst install; do
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3466 if test $ac_prog = install &&
3467 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3468 # AIX install. It has an incompatible calling convention.
3470 elif test $ac_prog = install &&
3471 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3472 # program-specific install script used by HP pwplus--don't use.
3475 rm -rf conftest.one conftest.two conftest.dir
3476 echo one > conftest.one
3477 echo two > conftest.two
3479 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3480 test -s conftest.one && test -s conftest.two &&
3481 test -s conftest.dir/conftest.one &&
3482 test -s conftest.dir/conftest.two
3484 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3497 rm -rf conftest.one conftest.two conftest.dir
3500 if test "${ac_cv_path_install+set}" = set; then
3501 INSTALL=$ac_cv_path_install
3503 # As a last resort, use the slow shell script. Don't cache a
3504 # value for INSTALL within a source directory, because that will
3505 # break other packages using the cache if that directory is
3506 # removed, or if the value is a relative name.
3507 INSTALL=$ac_install_sh
3510 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3511 $as_echo "$INSTALL" >&6; }
3513 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3514 # It thinks the first close brace ends the variable substitution.
3515 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3517 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3519 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3522 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
3523 ac_given_INSTALL=$INSTALL
3526 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3527 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3528 # Check whether --enable-maintainer-mode was given.
3529 if test "${enable_maintainer_mode+set}" = set; then
3530 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3532 USE_MAINTAINER_MODE=no
3535 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3536 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3537 if test $USE_MAINTAINER_MODE = yes; then
3538 MAINTAINER_MODE_TRUE=
3539 MAINTAINER_MODE_FALSE='#'
3541 MAINTAINER_MODE_TRUE='#'
3542 MAINTAINER_MODE_FALSE=
3545 MAINT=$MAINTAINER_MODE_TRUE
3548 # By default we simply use the C compiler to build assembly code.
3550 test "${CCAS+set}" = set || CCAS=$CC
3551 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3556 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
3557 # at least currently, we never actually build a program, so we never
3558 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
3559 # fails, because we are probably configuring with a cross compiler
3560 # which can't create executables. So we include AC_EXEEXT to keep
3561 # automake happy, but we don't execute it, since we don't care about
3568 . ${newlib_basedir}/configure.host
3570 newlib_cflags="${newlib_cflags} -fno-builtin"
3572 NEWLIB_CFLAGS=${newlib_cflags}
3578 if test x${newlib_elix_level} = x0; then
3580 ELIX_LEVEL_0_FALSE='#'
3582 ELIX_LEVEL_0_TRUE='#'
3586 if test x${newlib_elix_level} = x1; then
3588 ELIX_LEVEL_1_FALSE='#'
3590 ELIX_LEVEL_1_TRUE='#'
3594 if test x${newlib_elix_level} = x2; then
3596 ELIX_LEVEL_2_FALSE='#'
3598 ELIX_LEVEL_2_TRUE='#'
3602 if test x${newlib_elix_level} = x3; then
3604 ELIX_LEVEL_3_FALSE='#'
3606 ELIX_LEVEL_3_TRUE='#'
3610 if test x${newlib_elix_level} = x4; then
3612 ELIX_LEVEL_4_FALSE='#'
3614 ELIX_LEVEL_4_TRUE='#'
3619 if test x${use_libtool} = xyes; then
3621 USE_LIBTOOL_FALSE='#'
3623 USE_LIBTOOL_TRUE='#'
3628 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3629 # use oext, which is set in configure.host based on the target platform.
3642 ac_config_files="$ac_config_files Makefile"
3644 cat >confcache <<\_ACEOF
3645 # This file is a shell script that caches the results of configure
3646 # tests run on this system so they can be shared between configure
3647 # scripts and configure runs, see configure's option --config-cache.
3648 # It is not useful on other systems. If it contains results you don't
3649 # want to keep, you may remove or edit it.
3651 # config.status only pays attention to the cache file if you give it
3652 # the --recheck option to rerun configure.
3654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3660 # The following way of writing the cache mishandles newlines in values,
3661 # but we know of no workaround that is simple, portable, and efficient.
3662 # So, we kill variables containing newlines.
3663 # Ultrix sh set writes to stderr and can't be redirected directly,
3664 # and sets the high bit in the cache file unless we assign to the vars.
3666 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3667 eval ac_val=\$$ac_var
3671 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3672 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3675 _ | IFS | as_nl) ;; #(
3676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3677 *) $as_unset $ac_var ;;
3683 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3684 *${as_nl}ac_space=\ *)
3685 # `set' does not quote correctly, so add quotes (double-quote
3686 # substitution turns \\\\ into \\, and sed turns \\ into \).
3689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3692 # `set' quotes correctly as required by POSIX, so do not add quotes.
3693 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3702 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3704 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3706 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3707 if test -w "$cache_file"; then
3708 test "x$cache_file" != "x/dev/null" &&
3709 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3710 $as_echo "$as_me: updating cache $cache_file" >&6;}
3711 cat confcache >$cache_file
3713 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3714 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3719 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3720 # Let make expand exec_prefix.
3721 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3723 # Transform confdefs.h into DEFS.
3724 # Protect against shell expansion while executing Makefile rules.
3725 # Protect against Makefile macro expansion.
3727 # If the first sed substitution is executed (which looks for macros that
3728 # take arguments), then branch to the quote section. Otherwise,
3729 # look for a macro that doesn't take arguments.
3739 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3741 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3745 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3758 DEFS=`sed -n "$ac_script" confdefs.h`
3763 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3764 # 1. Remove the extension, and $U if already installed.
3765 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3766 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3767 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3768 # will be set to the directory where LIBOBJS objects are built.
3769 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3770 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3774 LTLIBOBJS=$ac_ltlibobjs
3777 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
3778 { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3779 Usually this means the macro was only invoked conditionally." >&5
3780 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3781 Usually this means the macro was only invoked conditionally." >&2;}
3782 { (exit 1); exit 1; }; }
3785 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3786 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3787 Usually this means the macro was only invoked conditionally." >&5
3788 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
3789 Usually this means the macro was only invoked conditionally." >&2;}
3790 { (exit 1); exit 1; }; }
3792 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3793 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3794 Usually this means the macro was only invoked conditionally." >&5
3795 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3796 Usually this means the macro was only invoked conditionally." >&2;}
3797 { (exit 1); exit 1; }; }
3799 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3800 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3801 Usually this means the macro was only invoked conditionally." >&5
3802 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3803 Usually this means the macro was only invoked conditionally." >&2;}
3804 { (exit 1); exit 1; }; }
3806 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
3807 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
3808 Usually this means the macro was only invoked conditionally." >&5
3809 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
3810 Usually this means the macro was only invoked conditionally." >&2;}
3811 { (exit 1); exit 1; }; }
3813 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
3814 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
3815 Usually this means the macro was only invoked conditionally." >&5
3816 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
3817 Usually this means the macro was only invoked conditionally." >&2;}
3818 { (exit 1); exit 1; }; }
3820 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
3821 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
3822 Usually this means the macro was only invoked conditionally." >&5
3823 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
3824 Usually this means the macro was only invoked conditionally." >&2;}
3825 { (exit 1); exit 1; }; }
3827 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
3828 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
3829 Usually this means the macro was only invoked conditionally." >&5
3830 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
3831 Usually this means the macro was only invoked conditionally." >&2;}
3832 { (exit 1); exit 1; }; }
3834 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
3835 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
3836 Usually this means the macro was only invoked conditionally." >&5
3837 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
3838 Usually this means the macro was only invoked conditionally." >&2;}
3839 { (exit 1); exit 1; }; }
3841 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
3842 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
3843 Usually this means the macro was only invoked conditionally." >&5
3844 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
3845 Usually this means the macro was only invoked conditionally." >&2;}
3846 { (exit 1); exit 1; }; }
3849 : ${CONFIG_STATUS=./config.status}
3851 ac_clean_files_save=$ac_clean_files
3852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3853 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3855 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3857 # Generated by $as_me.
3858 # Run this file to recreate the current configuration.
3859 # Compiler output produced by configure, useful for debugging
3860 # configure, is in config.log if it exists.
3865 SHELL=\${CONFIG_SHELL-$SHELL}
3868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3869 ## --------------------- ##
3870 ## M4sh Initialization. ##
3871 ## --------------------- ##
3873 # Be more Bourne compatible
3874 DUALCASE=1; export DUALCASE # for MKS sh
3875 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3878 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3879 # is contrary to our usage. Disable this feature.
3880 alias -g '${1+"$@"}'='"$@"'
3881 setopt NO_GLOB_SUBST
3883 case `(set -o) 2>/dev/null` in
3884 *posix*) set -o posix ;;
3893 # Avoid depending upon Character Ranges.
3894 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3895 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3896 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3897 as_cr_digits='0123456789'
3898 as_cr_alnum=$as_cr_Letters$as_cr_digits
3903 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3904 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3905 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3907 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3908 as_echo='printf %s\n'
3909 as_echo_n='printf %s'
3911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3912 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3913 as_echo_n='/usr/ucb/echo -n'
3915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3916 as_echo_n_body='eval
3920 expr "X$arg" : "X\\(.*\\)$as_nl";
3921 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3923 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3925 export as_echo_n_body
3926 as_echo_n='sh -c $as_echo_n_body as_echo'
3929 as_echo='sh -c $as_echo_body as_echo'
3932 # The user is always right.
3933 if test "${PATH_SEPARATOR+set}" != set; then
3935 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3936 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3941 # Support unset when possible.
3942 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3950 # We need space, tab and new line, in precisely that order. Quoting is
3951 # there to prevent editors from complaining about space-tab.
3952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3953 # splitting by setting IFS to empty value.)
3956 # Find who we are. Look in the path if we contain no directory separator.
3958 *[\\/]* ) as_myself=$0 ;;
3959 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3970 # We did not find ourselves, most probably we were run as `sh COMMAND'
3971 # in which case we are not to be found in the path.
3972 if test "x$as_myself" = x; then
3975 if test ! -f "$as_myself"; then
3976 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3977 { (exit 1); exit 1; }
3980 # Work around bugs in pre-3.0 UWIN ksh.
3981 for as_var in ENV MAIL MAILPATH
3982 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3994 # Required to use basename.
3995 if expr a : '\(a\)' >/dev/null 2>&1 &&
3996 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4002 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4003 as_basename=basename
4009 # Name of the executable.
4010 as_me=`$as_basename -- "$0" ||
4011 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4012 X"$0" : 'X\(//\)$' \| \
4013 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4015 sed '/^.*\/\([^/][^/]*\)\/*$/{
4036 test "x$as_lineno_1" != "x$as_lineno_2" &&
4037 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4039 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4040 # uniformly replaced by the line number. The first 'sed' inserts a
4041 # line-number line after each line using $LINENO; the second 'sed'
4042 # does the real work. The second script uses 'N' to pair each
4043 # line-number line with the line containing $LINENO, and appends
4044 # trailing '-' during substitution so that $LINENO is not a special
4046 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4047 # scripts with optimization help from Paolo Bonzini. Blame Lee
4048 # E. McMahon (1931-1989) for sed's syntax. :-)
4060 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4064 chmod +x "$as_me.lineno" ||
4065 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4066 { (exit 1); exit 1; }; }
4068 # Don't try to exec as it changes $[0], causing all sort of problems
4069 # (the dirname of $[0] is not the place where we might find the
4070 # original and so on. Autoconf is especially sensitive to this).
4072 # Exit status is that of the last command.
4077 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4083 ECHO_C= ECHO_N= ECHO_T=
4086 case `echo 'x\c'` in
4087 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4093 if expr a : '\(a\)' >/dev/null 2>&1 &&
4094 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4100 rm -f conf$$ conf$$.exe conf$$.file
4101 if test -d conf$$.dir; then
4102 rm -f conf$$.dir/conf$$.file
4105 mkdir conf$$.dir 2>/dev/null
4107 if (echo >conf$$.file) 2>/dev/null; then
4108 if ln -s conf$$.file conf$$ 2>/dev/null; then
4110 # ... but there are two gotchas:
4111 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4112 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4113 # In both cases, we have to default to `cp -p'.
4114 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4116 elif ln conf$$.file conf$$ 2>/dev/null; then
4124 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4125 rmdir conf$$.dir 2>/dev/null
4127 if mkdir -p . 2>/dev/null; then
4130 test -d ./-p && rmdir ./-p
4134 if test -x / >/dev/null 2>&1; then
4137 if ls -dL / >/dev/null 2>&1; then
4144 if test -d "$1"; then
4150 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4151 ???[sx]*):;;*)false;;esac;fi
4155 as_executable_p=$as_test_x
4157 # Sed expression to map a string onto a valid CPP name.
4158 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4160 # Sed expression to map a string onto a valid variable name.
4161 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4166 # Save the log message, to keep $[0] and so on meaningful, and to
4167 # report actual input values of CONFIG_FILES etc. instead of their
4168 # values after options handling.
4170 This file was extended by newlib $as_me 1.18.0, which was
4171 generated by GNU Autoconf 2.63. Invocation command line was
4173 CONFIG_FILES = $CONFIG_FILES
4174 CONFIG_HEADERS = $CONFIG_HEADERS
4175 CONFIG_LINKS = $CONFIG_LINKS
4176 CONFIG_COMMANDS = $CONFIG_COMMANDS
4179 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4184 case $ac_config_files in *"
4185 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4191 # Files that config.status was made for.
4192 config_files="$ac_config_files"
4193 config_commands="$ac_config_commands"
4197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4199 \`$as_me' instantiates files from templates according to the
4200 current configuration.
4202 Usage: $0 [OPTION]... [FILE]...
4204 -h, --help print this help, then exit
4205 -V, --version print version number and configuration settings, then exit
4206 -q, --quiet, --silent
4207 do not print progress messages
4208 -d, --debug don't remove temporary files
4209 --recheck update $as_me by reconfiguring in the same conditions
4210 --file=FILE[:TEMPLATE]
4211 instantiate the configuration file FILE
4213 Configuration files:
4216 Configuration commands:
4219 Report bugs to <bug-autoconf@gnu.org>."
4222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4224 newlib config.status 1.18.0
4225 configured by $0, generated by GNU Autoconf 2.63,
4226 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4228 Copyright (C) 2008 Free Software Foundation, Inc.
4229 This config.status script is free software; the Free Software Foundation
4230 gives unlimited permission to copy, distribute and modify it."
4237 test -n "\$AWK" || AWK=awk
4240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4241 # The default lists apply if the user does not specify any file.
4247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4259 # Handling of the options.
4260 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4262 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4263 $as_echo "$ac_cs_version"; exit ;;
4264 --debug | --debu | --deb | --de | --d | -d )
4266 --file | --fil | --fi | --f )
4269 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4271 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4272 ac_need_defaults=false;;
4273 --he | --h | --help | --hel | -h )
4274 $as_echo "$ac_cs_usage"; exit ;;
4275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4276 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4280 -*) { $as_echo "$as_me: error: unrecognized option: $1
4281 Try \`$0 --help' for more information." >&2
4282 { (exit 1); exit 1; }; } ;;
4284 *) ac_config_targets="$ac_config_targets $1"
4285 ac_need_defaults=false ;;
4291 ac_configure_extra_args=
4293 if $ac_cs_silent; then
4295 ac_configure_extra_args="$ac_configure_extra_args --silent"
4299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4300 if \$ac_cs_recheck; then
4301 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4304 CONFIG_SHELL='$SHELL'
4310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4315 ## Running $as_me. ##
4321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4325 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4331 # Handling of arguments.
4332 for ac_config_target in $ac_config_targets
4334 case $ac_config_target in
4335 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4336 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4338 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4339 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4340 { (exit 1); exit 1; }; };;
4345 # If the user did not use the arguments to specify the items to instantiate,
4346 # then the envvar interface is used. Set only those that are not.
4347 # We use the long form for the default assignment because of an extremely
4348 # bizarre bug on SunOS 4.1.3.
4349 if $ac_need_defaults; then
4350 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4354 # Have a temporary directory for convenience. Make it in the build tree
4355 # simply because there is no reason against having it here, and in addition,
4356 # creating and moving files from /tmp can sometimes cause problems.
4357 # Hook for its removal unless debugging.
4358 # Note that there is a small window in which the directory will not be cleaned:
4359 # after its creation but before its name has been assigned to `$tmp'.
4363 trap 'exit_status=$?
4364 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4366 trap '{ (exit 1); exit 1; }' 1 2 13 15
4368 # Create a (secure) tmp directory for tmp files.
4371 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4372 test -n "$tmp" && test -d "$tmp"
4375 tmp=./conf$$-$RANDOM
4376 (umask 077 && mkdir "$tmp")
4379 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4380 { (exit 1); exit 1; }
4383 # Set up the scripts for CONFIG_FILES section.
4384 # No need to generate them if there are no CONFIG_FILES.
4385 # This happens for instance with `./config.status config.h'.
4386 if test -n "$CONFIG_FILES"; then
4390 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4391 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4397 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4402 echo "cat >conf$$subs.awk <<_ACEOF" &&
4403 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4406 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4407 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4408 { (exit 1); exit 1; }; }
4409 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4411 for ac_last_try in false false false false false :; do
4412 . ./conf$$subs.sh ||
4413 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4414 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4415 { (exit 1); exit 1; }; }
4417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4418 if test $ac_delim_n = $ac_delim_num; then
4420 elif $ac_last_try; then
4421 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4422 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4423 { (exit 1); exit 1; }; }
4425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4431 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4435 s/^/S["/; s/!.*/"]=/
4445 s/\(.\{148\}\).*/\1/
4447 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4452 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4459 s/\(.\{148\}\).*/\1/
4461 s/["\\]/\\&/g; s/^/"/; s/$/"/
4465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4470 ' <conf$$subs.awk | sed '
4475 ' >>$CONFIG_STATUS || ac_write_fail=1
4476 rm -f conf$$subs.awk
4477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4479 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4480 for (key in S) S_is_set[key] = 1
4486 nfields = split(line, field, "@")
4488 len = length(field[1])
4489 for (i = 2; i < nfields; i++) {
4491 keylen = length(key)
4492 if (S_is_set[key]) {
4494 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4495 len += length(value) + length(field[++i])
4506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4507 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4508 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4511 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4512 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4513 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4514 { (exit 1); exit 1; }; }
4517 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4518 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4519 # trailing colons and then remove the whole line if VPATH becomes empty
4520 # (actually we leave an empty line to preserve line numbers).
4521 if test "x$srcdir" = x.; then
4522 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4526 s/^\([^=]*=[ ]*\):*/\1/
4532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4533 fi # test -n "$CONFIG_FILES"
4536 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4541 :[FHLC]) ac_mode=$ac_tag; continue;;
4543 case $ac_mode$ac_tag in
4545 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4546 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4547 { (exit 1); exit 1; }; };;
4548 :[FH]-) ac_tag=-:-;;
4549 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4566 -) ac_f="$tmp/stdin";;
4567 *) # Look for the file first in the build tree, then in the source tree
4568 # (if the path is not absolute). The absolute path cannot be DOS-style,
4569 # because $ac_f cannot contain `:'.
4573 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4575 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4576 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4577 { (exit 1); exit 1; }; };;
4579 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4580 ac_file_inputs="$ac_file_inputs '$ac_f'"
4583 # Let's still pretend it is `configure' which instantiates (i.e., don't
4584 # use $as_me), people would be surprised to read:
4585 # /* config.h. Generated by config.status. */
4586 configure_input='Generated from '`
4587 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4589 if test x"$ac_file" != x-; then
4590 configure_input="$ac_file. $configure_input"
4591 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4592 $as_echo "$as_me: creating $ac_file" >&6;}
4594 # Neutralize special characters interpreted by sed in replacement strings.
4595 case $configure_input in #(
4596 *\&* | *\|* | *\\* )
4597 ac_sed_conf_input=`$as_echo "$configure_input" |
4598 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4599 *) ac_sed_conf_input=$configure_input;;
4603 *:-:* | *:-) cat >"$tmp/stdin" \
4604 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4605 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4606 { (exit 1); exit 1; }; } ;;
4611 ac_dir=`$as_dirname -- "$ac_file" ||
4612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4613 X"$ac_file" : 'X\(//\)[^/]' \| \
4614 X"$ac_file" : 'X\(//\)$' \| \
4615 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4616 $as_echo X"$ac_file" |
4617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4636 -*) as_dir=./$as_dir;;
4638 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4642 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4643 *) as_qdir=$as_dir;;
4645 as_dirs="'$as_qdir' $as_dirs"
4646 as_dir=`$as_dirname -- "$as_dir" ||
4647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4648 X"$as_dir" : 'X\(//\)[^/]' \| \
4649 X"$as_dir" : 'X\(//\)$' \| \
4650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4651 $as_echo X"$as_dir" |
4652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4669 test -d "$as_dir" && break
4671 test -z "$as_dirs" || eval "mkdir $as_dirs"
4672 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4673 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4674 { (exit 1); exit 1; }; }; }
4678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4680 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4681 # A ".." for each directory in $ac_dir_suffix.
4682 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4683 case $ac_top_builddir_sub in
4684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4688 ac_abs_top_builddir=$ac_pwd
4689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4690 # for backward compatibility:
4691 ac_top_builddir=$ac_top_build_prefix
4694 .) # We are building in place.
4696 ac_top_srcdir=$ac_top_builddir_sub
4697 ac_abs_top_srcdir=$ac_pwd ;;
4698 [\\/]* | ?:[\\/]* ) # Absolute name.
4699 ac_srcdir=$srcdir$ac_dir_suffix;
4700 ac_top_srcdir=$srcdir
4701 ac_abs_top_srcdir=$srcdir ;;
4703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4704 ac_top_srcdir=$ac_top_build_prefix$srcdir
4705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4717 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4718 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4722 [\\/$]* | ?:[\\/]* ) ;;
4723 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4728 # If the template does not know about datarootdir, expand it.
4729 # FIXME: This hack should be removed a few years after 2.60.
4730 ac_datarootdir_hack=; ac_datarootdir_seen=
4743 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4744 *datarootdir*) ac_datarootdir_seen=yes;;
4745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4746 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4747 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4750 ac_datarootdir_hack='
4751 s&@datadir@&$datadir&g
4752 s&@docdir@&$docdir&g
4753 s&@infodir@&$infodir&g
4754 s&@localedir@&$localedir&g
4755 s&@mandir@&$mandir&g
4756 s&\\\${datarootdir}&$datarootdir&g' ;;
4760 # Neutralize VPATH when `$srcdir' = `.'.
4761 # Shell code in configure.ac might set extrasub.
4762 # FIXME: do we really want to maintain this feature?
4763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4764 ac_sed_extra="$ac_vpsub
4767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4770 s|@configure_input@|$ac_sed_conf_input|;t t
4771 s&@top_builddir@&$ac_top_builddir_sub&;t t
4772 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4773 s&@srcdir@&$ac_srcdir&;t t
4774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4775 s&@top_srcdir@&$ac_top_srcdir&;t t
4776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4777 s&@builddir@&$ac_builddir&;t t
4778 s&@abs_builddir@&$ac_abs_builddir&;t t
4779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4780 s&@INSTALL@&$ac_INSTALL&;t t
4781 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4782 $ac_datarootdir_hack
4784 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4785 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4786 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4787 { (exit 1); exit 1; }; }
4789 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4790 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4792 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4793 which seems to be undefined. Please make sure it is defined." >&5
4794 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4795 which seems to be undefined. Please make sure it is defined." >&2;}
4799 -) cat "$tmp/out" && rm -f "$tmp/out";;
4800 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4802 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4803 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4804 { (exit 1); exit 1; }; }
4808 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
4809 $as_echo "$as_me: executing $ac_file commands" >&6;}
4814 case $ac_file$ac_mode in
4815 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4816 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4817 # are listed without --file. Let's play safe and only enable the eval
4818 # if we detect the quoting.
4819 case $CONFIG_FILES in
4820 *\'*) eval set x "$CONFIG_FILES" ;;
4821 *) set x $CONFIG_FILES ;;
4826 # Strip MF so we end up with the name of the file.
4827 mf=`echo "$mf" | sed -e 's/:.*$//'`
4828 # Check whether this is an Automake generated Makefile or not.
4829 # We used to match only the files named `Makefile.in', but
4830 # some people rename them; so instead we look at the file content.
4831 # Grep'ing the first line is not enough: some people post-process
4832 # each Makefile.in and add a new line on top of each file to say so.
4833 # Grep'ing the whole file is not good either: AIX grep has a line
4834 # limit of 2048, but all sed's we know have understand at least 4000.
4835 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4836 dirpart=`$as_dirname -- "$mf" ||
4837 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838 X"$mf" : 'X\(//\)[^/]' \| \
4839 X"$mf" : 'X\(//\)$' \| \
4840 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4862 # Extract the definition of DEPDIR, am__include, and am__quote
4863 # from the Makefile without running `make'.
4864 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4865 test -z "$DEPDIR" && continue
4866 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4867 test -z "am__include" && continue
4868 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4869 # When using ansi2knr, U may be empty or an underscore; expand it
4870 U=`sed -n 's/^U = //p' < "$mf"`
4871 # Find all dependency output files, they are included files with
4872 # $(DEPDIR) in their names. We invoke sed twice because it is the
4873 # simplest approach to changing $(DEPDIR) to its actual value in the
4875 for file in `sed -n "
4876 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4877 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4878 # Make sure the directory exists.
4879 test -f "$dirpart/$file" && continue
4880 fdir=`$as_dirname -- "$file" ||
4881 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4882 X"$file" : 'X\(//\)[^/]' \| \
4883 X"$file" : 'X\(//\)$' \| \
4884 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4903 { as_dir=$dirpart/$fdir
4905 -*) as_dir=./$as_dir;;
4907 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4911 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4912 *) as_qdir=$as_dir;;
4914 as_dirs="'$as_qdir' $as_dirs"
4915 as_dir=`$as_dirname -- "$as_dir" ||
4916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4917 X"$as_dir" : 'X\(//\)[^/]' \| \
4918 X"$as_dir" : 'X\(//\)$' \| \
4919 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4920 $as_echo X"$as_dir" |
4921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4938 test -d "$as_dir" && break
4940 test -z "$as_dirs" || eval "mkdir $as_dirs"
4941 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4942 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4943 { (exit 1); exit 1; }; }; }
4944 # echo "creating $dirpart/$file"
4945 echo '# dummy' > "$dirpart/$file"
4955 { (exit 0); exit 0; }
4957 chmod +x $CONFIG_STATUS
4958 ac_clean_files=$ac_clean_files_save
4960 test $ac_write_fail = 0 ||
4961 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4962 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4963 { (exit 1); exit 1; }; }
4966 # configure is writing to config.log, and then calls config.status.
4967 # config.status does its own redirection, appending to config.log.
4968 # Unfortunately, on DOS this fails, as config.log is still kept open
4969 # by configure, so config.status won't be able to write to it; its
4970 # output is simply discarded. So we exec the FD to /dev/null,
4971 # effectively closing config.log, so it can be properly (re)opened and
4972 # appended to by config.status. When coming back to configure, we
4973 # need to make the FD available again.
4974 if test "$no_create" != yes; then
4976 ac_config_status_args=
4977 test "$silent" = yes &&
4978 ac_config_status_args="$ac_config_status_args --quiet"
4980 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4983 # would make configure fail if this is the last instruction.
4984 $ac_cs_success || { (exit 1); exit 1; }
4986 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4987 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4988 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}