2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="elf2flt.c"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars='LTLIBOBJS
644 use_ld_elf2flt_binary
645 binutils_ldscript_dir
701 program_transform_name
713 enable_option_checking
718 with_binutils_include_dir
719 with_binutils_ldscript_dir
720 with_binutils_build_dir
721 enable_ld_elf2flt_binary
724 enable_emit_ctor_dtor
726 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 ac_unrecognized_opts=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 -build | --build | --buil | --bui | --bu)
813 ac_prev=build_alias ;;
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815 build_alias=$ac_optarg ;;
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819 ac_prev=cache_file ;;
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822 cache_file=$ac_optarg ;;
825 cache_file=config.cache ;;
827 -datadir | --datadir | --datadi | --datad)
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
830 datadir=$ac_optarg ;;
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833 | --dataroo | --dataro | --datar)
834 ac_prev=datarootdir ;;
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837 datarootdir=$ac_optarg ;;
839 -disable-* | --disable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
844 { (exit 1); exit 1; }; }
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=no ;;
856 -docdir | --docdir | --docdi | --doc | --do)
858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 -enable-* | --enable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
871 { (exit 1); exit 1; }; }
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
881 eval enable_$ac_useropt=\$ac_optarg ;;
883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
885 | --exec | --exe | --ex)
886 ac_prev=exec_prefix ;;
887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
889 | --exec=* | --exe=* | --ex=*)
890 exec_prefix=$ac_optarg ;;
892 -gas | --gas | --ga | --g)
893 # Obsolete; use --with-gas.
896 -help | --help | --hel | --he | -h)
898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
899 ac_init_help=recursive ;;
900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
901 ac_init_help=short ;;
903 -host | --host | --hos | --ho)
904 ac_prev=host_alias ;;
905 -host=* | --host=* | --hos=* | --ho=*)
906 host_alias=$ac_optarg ;;
908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
912 htmldir=$ac_optarg ;;
914 -includedir | --includedir | --includedi | --included | --include \
915 | --includ | --inclu | --incl | --inc)
916 ac_prev=includedir ;;
917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
918 | --includ=* | --inclu=* | --incl=* | --inc=*)
919 includedir=$ac_optarg ;;
921 -infodir | --infodir | --infodi | --infod | --info | --inf)
923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
924 infodir=$ac_optarg ;;
926 -libdir | --libdir | --libdi | --libd)
928 -libdir=* | --libdir=* | --libdi=* | --libd=*)
931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
932 | --libexe | --libex | --libe)
933 ac_prev=libexecdir ;;
934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
935 | --libexe=* | --libex=* | --libe=*)
936 libexecdir=$ac_optarg ;;
938 -localedir | --localedir | --localedi | --localed | --locale)
940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
941 localedir=$ac_optarg ;;
943 -localstatedir | --localstatedir | --localstatedi | --localstated \
944 | --localstate | --localstat | --localsta | --localst | --locals)
945 ac_prev=localstatedir ;;
946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
948 localstatedir=$ac_optarg ;;
950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
956 # Obsolete; use --without-fp.
959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
960 | --no-cr | --no-c | -n)
963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
969 | --oldin | --oldi | --old | --ol | --o)
970 ac_prev=oldincludedir ;;
971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
974 oldincludedir=$ac_optarg ;;
976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981 -program-prefix | --program-prefix | --program-prefi | --program-pref \
982 | --program-pre | --program-pr | --program-p)
983 ac_prev=program_prefix ;;
984 -program-prefix=* | --program-prefix=* | --program-prefi=* \
985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
986 program_prefix=$ac_optarg ;;
988 -program-suffix | --program-suffix | --program-suffi | --program-suff \
989 | --program-suf | --program-su | --program-s)
990 ac_prev=program_suffix ;;
991 -program-suffix=* | --program-suffix=* | --program-suffi=* \
992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
993 program_suffix=$ac_optarg ;;
995 -program-transform-name | --program-transform-name \
996 | --program-transform-nam | --program-transform-na \
997 | --program-transform-n | --program-transform- \
998 | --program-transform | --program-transfor \
999 | --program-transfo | --program-transf \
1000 | --program-trans | --program-tran \
1001 | --progr-tra | --program-tr | --program-t)
1002 ac_prev=program_transform_name ;;
1003 -program-transform-name=* | --program-transform-name=* \
1004 | --program-transform-nam=* | --program-transform-na=* \
1005 | --program-transform-n=* | --program-transform-=* \
1006 | --program-transform=* | --program-transfor=* \
1007 | --program-transfo=* | --program-transf=* \
1008 | --program-trans=* | --program-tran=* \
1009 | --progr-tra=* | --program-tr=* | --program-t=*)
1010 program_transform_name=$ac_optarg ;;
1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1015 pdfdir=$ac_optarg ;;
1017 -psdir | --psdir | --psdi | --psd | --ps)
1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1026 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1028 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1030 sbindir=$ac_optarg ;;
1032 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1033 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1034 | --sharedst | --shareds | --shared | --share | --shar \
1036 ac_prev=sharedstatedir ;;
1037 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1038 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1039 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1041 sharedstatedir=$ac_optarg ;;
1043 -site | --site | --sit)
1045 -site=* | --site=* | --sit=*)
1048 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1050 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1051 srcdir=$ac_optarg ;;
1053 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1054 | --syscon | --sysco | --sysc | --sys | --sy)
1055 ac_prev=sysconfdir ;;
1056 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1057 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1058 sysconfdir=$ac_optarg ;;
1060 -target | --target | --targe | --targ | --tar | --ta | --t)
1061 ac_prev=target_alias ;;
1062 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1063 target_alias=$ac_optarg ;;
1065 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068 -version | --version | --versio | --versi | --vers | -V)
1069 ac_init_version=: ;;
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval with_$ac_useropt=\$ac_optarg ;;
1088 -without-* | --without-*)
1089 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1093 { (exit 1); exit 1; }; }
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=no ;;
1106 # Obsolete; use --with-x.
1109 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1110 | --x-incl | --x-inc | --x-in | --x-i)
1111 ac_prev=x_includes ;;
1112 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1113 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1114 x_includes=$ac_optarg ;;
1116 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1117 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1118 ac_prev=x_libraries ;;
1119 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1120 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1121 x_libraries=$ac_optarg ;;
1123 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1124 Try \`$0 --help' for more information." >&2
1125 { (exit 1); exit 1; }; }
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1132 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1133 { (exit 1); exit 1; }; }
1134 eval $ac_envvar=\$ac_optarg
1135 export $ac_envvar ;;
1138 # FIXME: should be removed in autoconf 3.0.
1139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1148 if test -n "$ac_prev"; then
1149 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1151 { (exit 1); exit 1; }; }
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1158 { (exit 1); exit 1; }; } ;;
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 # Check all directory arguments for consistency.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 # Remove trailing slashes.
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174 eval $ac_var=\$ac_val;;
1176 # Be sure to have absolute directory names.
1178 [\\/$]* | ?:[\\/]* ) continue;;
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1182 { (exit 1); exit 1; }; }
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then
1195 cross_compiling=maybe
1196 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1197 If a cross compiler is detected then cross compile mode will be used." >&2
1198 elif test "x$build_alias" != "x$host_alias"; then
1204 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1206 test "$silent" = yes && exec 6>/dev/null
1209 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di=`ls -di .` &&
1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1212 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1213 { (exit 1); exit 1; }; }
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1216 { (exit 1); exit 1; }; }
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1256 { (exit 1); exit 1; }; }
1258 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1260 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1261 { (exit 1); exit 1; }; }
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var in $ac_precious_vars; do
1274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_${ac_var}_value=\$${ac_var}
1276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures this package to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 --target=TARGET configure for building compilers for TARGET [HOST]
1351 if test -n "$ac_init_help"; then
1356 --disable-option-checking ignore unrecognized --enable/--with options
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --disable-ld-elf2flt-binary
1360 use ld-elf2flt shell script
1361 --disable-got-check - disable check for GOT (needed on H8)
1362 --disable-emit-relocs - don't use the --emit-relocs (-q) linker option
1363 --enable-emit-ctor-dtor manually create ctor/dtor list
1366 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1367 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1368 --with-zlib-prefix=<dir> path to installed zlib
1369 --with-libbfd=<file> path to libbfd.a library to use
1370 --with-libiberty=<file> path to libiberty.a library to use
1371 --with-bfd-include-dir=<dir> include path for correct bfd.h
1372 --with-binutils-include-dir=<dir> include path for binutils headers
1373 --with-binutils-ldscript-dir=<dir> path to install elf2flt.ld
1374 --with-binutils-build-dir=<dir> path to compiled binutils tree
1376 Some influential environment variables:
1377 CC C compiler command
1378 CFLAGS C compiler flags
1379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1380 nonstandard directory <lib dir>
1381 LIBS libraries to pass to the linker, e.g. -l<library>
1382 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1383 you have headers in a nonstandard directory <include dir>
1386 Use these variables to override the choices made by `configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1393 if test "$ac_init_help" = "recursive"; then
1394 # If there are subdirs, report their specific --help.
1395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1405 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1407 case $ac_top_builddir_sub in
1408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 ac_abs_top_builddir=$ac_pwd
1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414 # for backward compatibility:
1415 ac_top_builddir=$ac_top_build_prefix
1418 .) # We are building in place.
1420 ac_top_srcdir=$ac_top_builddir_sub
1421 ac_abs_top_srcdir=$ac_pwd ;;
1422 [\\/]* | ?:[\\/]* ) # Absolute name.
1423 ac_srcdir=$srcdir$ac_dir_suffix;
1424 ac_top_srcdir=$srcdir
1425 ac_abs_top_srcdir=$srcdir ;;
1427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1428 ac_top_srcdir=$ac_top_build_prefix$srcdir
1429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1433 cd "$ac_dir" || { ac_status=$?; continue; }
1434 # Check for guested configure.
1435 if test -f "$ac_srcdir/configure.gnu"; then
1437 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438 elif test -f "$ac_srcdir/configure"; then
1440 $SHELL "$ac_srcdir/configure" --help=recursive
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444 cd "$ac_pwd" || { ac_status=$?; break; }
1448 test -n "$ac_init_help" && exit $ac_status
1449 if $ac_init_version; then
1452 generated by GNU Autoconf 2.63
1454 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1455 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1461 cat >config.log <<_ACEOF
1462 This file contains any messages produced by compilers while
1463 running configure, to aid debugging if configure makes a mistake.
1465 It was created by $as_me, which was
1466 generated by GNU Autoconf 2.63. Invocation command line was
1478 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1479 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1480 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1481 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1482 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1484 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1485 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1487 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1488 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1489 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1490 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1491 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1492 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1493 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 $as_echo "PATH: $as_dir"
1518 # Keep a trace of the command line.
1519 # Strip out --no-create and --no-recursion so they do not pile up.
1520 # Strip out --silent because we don't want to record it for future runs.
1521 # Also quote any args containing shell meta-characters.
1522 # Make two passes to allow for proper duplicate-argument suppression.
1526 ac_must_keep_next=false
1532 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1534 | -silent | --silent | --silen | --sile | --sil)
1537 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1540 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1542 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1543 if test $ac_must_keep_next = true; then
1544 ac_must_keep_next=false # Got value, back to normal.
1547 *=* | --config-cache | -C | -disable-* | --disable-* \
1548 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1549 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1550 | -with-* | --with-* | -without-* | --without-* | --x)
1551 case "$ac_configure_args0 " in
1552 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1555 -* ) ac_must_keep_next=true ;;
1558 ac_configure_args="$ac_configure_args '$ac_arg'"
1563 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1564 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1566 # When interrupted or exit'd, cleanup temporary files, and complete
1567 # config.log. We remove comments because anyway the quotes in there
1568 # would cause problems or look ugly.
1569 # WARNING: Use '\'' to represent an apostrophe within the trap.
1570 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1571 trap 'exit_status=$?
1572 # Save into config.log some information that might help in debugging.
1577 ## ---------------- ##
1578 ## Cache variables. ##
1579 ## ---------------- ##
1582 # The following way of writing the cache mishandles newlines in values,
1584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1585 eval ac_val=\$$ac_var
1589 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1593 _ | IFS | as_nl) ;; #(
1594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1595 *) $as_unset $ac_var ;;
1600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1601 *${as_nl}ac_space=\ *)
1603 "s/'\''/'\''\\\\'\'''\''/g;
1604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 ## ----------------- ##
1616 ## Output variables. ##
1617 ## ----------------- ##
1620 for ac_var in $ac_subst_vars
1622 eval ac_val=\$$ac_var
1624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 $as_echo "$ac_var='\''$ac_val'\''"
1630 if test -n "$ac_subst_files"; then
1632 ## ------------------- ##
1633 ## File substitutions. ##
1634 ## ------------------- ##
1637 for ac_var in $ac_subst_files
1639 eval ac_val=\$$ac_var
1641 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 $as_echo "$ac_var='\''$ac_val'\''"
1648 if test -s confdefs.h; then
1658 test "$ac_signal" != 0 &&
1659 $as_echo "$as_me: caught signal $ac_signal"
1660 $as_echo "$as_me: exit $exit_status"
1662 rm -f core *.core core.conftest.* &&
1663 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1666 for ac_signal in 1 2 13 15; do
1667 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1672 rm -f -r conftest* confdefs.h
1674 # Predefined preprocessor variables.
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 # Let the site file select an alternate cache file if it wants to.
1702 # Prefer an explicitly selected file to automatically selected ones.
1705 if test -n "$CONFIG_SITE"; then
1706 ac_site_file1=$CONFIG_SITE
1707 elif test "x$prefix" != xNONE; then
1708 ac_site_file1=$prefix/share/config.site
1709 ac_site_file2=$prefix/etc/config.site
1711 ac_site_file1=$ac_default_prefix/share/config.site
1712 ac_site_file2=$ac_default_prefix/etc/config.site
1714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1716 test "x$ac_site_file" = xNONE && continue
1717 if test -r "$ac_site_file"; then
1718 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 $as_echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1737 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 $as_echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1756 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 # differences in whitespace do not lead to failure.
1763 ac_old_val_w=`echo x $ac_old_val`
1764 ac_new_val_w=`echo x $ac_new_val`
1765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 ac_cache_corrupted=:
1770 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772 eval $ac_var=\$ac_old_val
1774 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1776 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1780 # Pass precious variables to config.status.
1781 if test "$ac_new_set" = set; then
1783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 *) ac_arg=$ac_var=$ac_new_val ;;
1786 case " $ac_configure_args " in
1787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1788 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1792 if $ac_cache_corrupted; then
1793 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1798 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1799 { (exit 1); exit 1; }; }
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1827 # Check whether --with-zlib-prefix was given.
1828 if test "${with_zlib_prefix+set}" = set; then
1829 withval=$with_zlib_prefix; ac_zlib_prefix=$withval
1837 # Check whether --with-libbfd was given.
1838 if test "${with_libbfd+set}" = set; then
1839 withval=$with_libbfd; ac_libbfd=$withval
1847 # Check whether --with-libiberty was given.
1848 if test "${with_libiberty+set}" = set; then
1849 withval=$with_libiberty; ac_libiberty=$withval
1857 # Check whether --with-bfd-include-dir was given.
1858 if test "${with_bfd_include_dir+set}" = set; then
1859 withval=$with_bfd_include_dir; ac_bfd_include_dir=$withval
1861 ac_bfd_include_dir=NONE
1867 # Check whether --with-binutils-include-dir was given.
1868 if test "${with_binutils_include_dir+set}" = set; then
1869 withval=$with_binutils_include_dir; ac_binutils_include_dir=$withval
1871 ac_binutils_include_dir=NONE
1877 # Check whether --with-binutils-ldscript-dir was given.
1878 if test "${with_binutils_ldscript_dir+set}" = set; then
1879 withval=$with_binutils_ldscript_dir; ac_binutils_ldscript_dir=$withval
1881 ac_binutils_ldscript_dir=NONE
1887 # Check whether --with-binutils-build-dir was given.
1888 if test "${with_binutils_build_dir+set}" = set; then
1889 withval=$with_binutils_build_dir; ac_binutils_build_dir=$withval
1891 ac_binutils_build_dir=NONE
1896 # Check whether --enable-ld-elf2flt-binary was given.
1897 if test "${enable_ld_elf2flt_binary+set}" = set; then
1898 enableval=$enable_ld_elf2flt_binary; use_ld_elf2flt_binary=$enableval
1900 use_ld_elf2flt_binary=yes
1906 if eval test \"\$$1\" = yes ; then
1913 # Check whether --enable-got-check was given.
1914 if test "${enable_got_check+set}" = set; then
1915 enableval=$enable_got_check; got_check=$enableval
1921 var_yn_to_10 got_check
1923 # Check whether --enable-emit-relocs was given.
1924 if test "${enable_emit_relocs+set}" = set; then
1925 enableval=$enable_emit_relocs; emit_relocs=$enableval
1931 var_yn_to_10 emit_relocs
1933 # Check whether --enable-emit-ctor-dtor was given.
1934 if test "${enable_emit_ctor_dtor+set}" = set; then
1935 enableval=$enable_emit_ctor_dtor; emit_ctor_dtor=$enableval
1941 var_yn_to_10 emit_ctor_dtor
1944 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1945 if test -f "$ac_dir/install-sh"; then
1947 ac_install_sh="$ac_aux_dir/install-sh -c"
1949 elif test -f "$ac_dir/install.sh"; then
1951 ac_install_sh="$ac_aux_dir/install.sh -c"
1953 elif test -f "$ac_dir/shtool"; then
1955 ac_install_sh="$ac_aux_dir/shtool install -c"
1959 if test -z "$ac_aux_dir"; then
1960 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1961 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # These three variables are undocumented and unsupported,
1966 # and are intended to be withdrawn in a future Autoconf release.
1967 # They can cause serious problems if a builder's source tree is in a directory
1968 # whose full name contains unusual characters.
1969 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1970 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1971 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1974 # Make sure we can run config.sub.
1975 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1976 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1977 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1978 { (exit 1); exit 1; }; }
1980 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1981 $as_echo_n "checking build system type... " >&6; }
1982 if test "${ac_cv_build+set}" = set; then
1983 $as_echo_n "(cached) " >&6
1985 ac_build_alias=$build_alias
1986 test "x$ac_build_alias" = x &&
1987 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1988 test "x$ac_build_alias" = x &&
1989 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1990 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1991 { (exit 1); exit 1; }; }
1992 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1993 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1994 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1995 { (exit 1); exit 1; }; }
1998 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1999 $as_echo "$ac_cv_build" >&6; }
2000 case $ac_cv_build in
2002 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2003 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2004 { (exit 1); exit 1; }; };;
2007 ac_save_IFS=$IFS; IFS='-'
2013 # Remember, the first character of IFS is used to create $*,
2014 # except with old shells:
2017 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2020 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2021 $as_echo_n "checking host system type... " >&6; }
2022 if test "${ac_cv_host+set}" = set; then
2023 $as_echo_n "(cached) " >&6
2025 if test "x$host_alias" = x; then
2026 ac_cv_host=$ac_cv_build
2028 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2029 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2030 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2031 { (exit 1); exit 1; }; }
2035 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2036 $as_echo "$ac_cv_host" >&6; }
2039 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2040 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2041 { (exit 1); exit 1; }; };;
2044 ac_save_IFS=$IFS; IFS='-'
2050 # Remember, the first character of IFS is used to create $*,
2051 # except with old shells:
2054 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2057 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2058 $as_echo_n "checking target system type... " >&6; }
2059 if test "${ac_cv_target+set}" = set; then
2060 $as_echo_n "(cached) " >&6
2062 if test "x$target_alias" = x; then
2063 ac_cv_target=$ac_cv_host
2065 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2066 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2067 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2068 { (exit 1); exit 1; }; }
2072 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2073 $as_echo "$ac_cv_target" >&6; }
2074 case $ac_cv_target in
2076 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2077 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2078 { (exit 1); exit 1; }; };;
2080 target=$ac_cv_target
2081 ac_save_IFS=$IFS; IFS='-'
2087 # Remember, the first character of IFS is used to create $*,
2088 # except with old shells:
2091 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2094 # The aliases save the names the user supplied, while $host etc.
2095 # will get canonicalized.
2096 test -n "$target_alias" &&
2097 test "$program_prefix$program_suffix$program_transform_name" = \
2099 program_prefix=${target_alias}-
2102 ac_cpp='$CPP $CPPFLAGS'
2103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 if test -n "$ac_tool_prefix"; then
2107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if test "${ac_cv_prog_CC+set}" = set; then
2112 $as_echo_n "(cached) " >&6
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2125 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test -n "$CC"; then
2136 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2137 $as_echo "$CC" >&6; }
2139 { $as_echo "$as_me:$LINENO: result: no" >&5
2140 $as_echo "no" >&6; }
2145 if test -z "$ac_cv_prog_CC"; then
2147 # Extract the first word of "gcc", so it can be a program name with args.
2148 set dummy gcc; ac_word=$2
2149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2150 $as_echo_n "checking for $ac_word... " >&6; }
2151 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2152 $as_echo_n "(cached) " >&6
2154 if test -n "$ac_ct_CC"; then
2155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_prog_ac_ct_CC="gcc"
2165 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175 if test -n "$ac_ct_CC"; then
2176 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2177 $as_echo "$ac_ct_CC" >&6; }
2179 { $as_echo "$as_me:$LINENO: result: no" >&5
2180 $as_echo "no" >&6; }
2183 if test "x$ac_ct_CC" = x; then
2186 case $cross_compiling:$ac_tool_warned in
2188 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2190 ac_tool_warned=yes ;;
2198 if test -z "$CC"; then
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2201 set dummy ${ac_tool_prefix}cc; ac_word=$2
2202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 $as_echo_n "checking for $ac_word... " >&6; }
2204 if test "${ac_cv_prog_CC+set}" = set; then
2205 $as_echo_n "(cached) " >&6
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_CC="${ac_tool_prefix}cc"
2218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 if test -n "$CC"; then
2229 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2230 $as_echo "$CC" >&6; }
2232 { $as_echo "$as_me:$LINENO: result: no" >&5
2233 $as_echo "no" >&6; }
2239 if test -z "$CC"; then
2240 # Extract the first word of "cc", so it can be a program name with args.
2241 set dummy cc; ac_word=$2
2242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 $as_echo_n "checking for $ac_word... " >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 $as_echo_n "(cached) " >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2259 ac_prog_rejected=yes
2263 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test $ac_prog_rejected = yes; then
2271 # We found a bogon in the path, so make sure we never use it.
2272 set dummy $ac_cv_prog_CC
2274 if test $# != 0; then
2275 # We chose a different compiler from the bogus one.
2276 # However, it has the same basename, so the bogon will be chosen
2277 # first if we set CC to just the basename; use the full file name.
2279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2285 if test -n "$CC"; then
2286 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2287 $as_echo "$CC" >&6; }
2289 { $as_echo "$as_me:$LINENO: result: no" >&5
2290 $as_echo "no" >&6; }
2295 if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 for ac_prog in cl.exe
2299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 $as_echo_n "checking for $ac_word... " >&6; }
2303 if test "${ac_cv_prog_CC+set}" = set; then
2304 $as_echo_n "(cached) " >&6
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 if test -n "$CC"; then
2328 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2329 $as_echo "$CC" >&6; }
2331 { $as_echo "$as_me:$LINENO: result: no" >&5
2332 $as_echo "no" >&6; }
2336 test -n "$CC" && break
2339 if test -z "$CC"; then
2341 for ac_prog in cl.exe
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344 set dummy $ac_prog; ac_word=$2
2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 $as_echo_n "checking for $ac_word... " >&6; }
2347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2348 $as_echo_n "(cached) " >&6
2350 if test -n "$ac_ct_CC"; then
2351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_CC="$ac_prog"
2361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371 if test -n "$ac_ct_CC"; then
2372 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2373 $as_echo "$ac_ct_CC" >&6; }
2375 { $as_echo "$as_me:$LINENO: result: no" >&5
2376 $as_echo "no" >&6; }
2380 test -n "$ac_ct_CC" && break
2383 if test "x$ac_ct_CC" = x; then
2386 case $cross_compiling:$ac_tool_warned in
2388 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2390 ac_tool_warned=yes ;;
2399 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." >&5
2403 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2404 See \`config.log' for more details." >&2;}
2405 { (exit 1); exit 1; }; }; }
2407 # Provide some information about the compiler.
2408 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2411 { (ac_try="$ac_compiler --version >&5"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2417 $as_echo "$ac_try_echo") >&5
2418 (eval "$ac_compiler --version >&5") 2>&5
2420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }
2422 { (ac_try="$ac_compiler -v >&5"
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2428 $as_echo "$ac_try_echo") >&5
2429 (eval "$ac_compiler -v >&5") 2>&5
2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }
2433 { (ac_try="$ac_compiler -V >&5"
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2439 $as_echo "$ac_try_echo") >&5
2440 (eval "$ac_compiler -V >&5") 2>&5
2442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }
2445 cat >conftest.$ac_ext <<_ACEOF
2448 cat confdefs.h >>conftest.$ac_ext
2449 cat >>conftest.$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 ac_clean_files_save=$ac_clean_files
2461 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2462 # Try to create an executable without -o first, disregard a.out.
2463 # It will help us diagnose broken compilers, and finding out an intuition
2465 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2466 $as_echo_n "checking for C compiler default output file name... " >&6; }
2467 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2469 # The possible output files:
2470 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2473 for ac_file in $ac_files
2476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2477 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2482 if { (ac_try="$ac_link_default"
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2488 $as_echo "$ac_try_echo") >&5
2489 (eval "$ac_link_default") 2>&5
2491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2495 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2496 # so that the user can short-circuit this test for compilers unknown to
2498 for ac_file in $ac_files ''
2500 test -f "$ac_file" || continue
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2505 # We found the default executable, but exeext='' is most
2509 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2511 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2513 # We set ac_cv_exeext here because the later test for it is not
2514 # safe: cross compilers may not add the suffix if given an `-o'
2515 # argument, so we may need to know it at that point already.
2516 # Even if this section looks crufty: it has the advantage of
2523 test "$ac_cv_exeext" = no && ac_cv_exeext=
2529 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2530 $as_echo "$ac_file" >&6; }
2531 if test -z "$ac_file"; then
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2537 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2538 See \`config.log' for more details." >&5
2539 $as_echo "$as_me: error: C compiler cannot create executables
2540 See \`config.log' for more details." >&2;}
2541 { (exit 77); exit 77; }; }; }
2544 ac_exeext=$ac_cv_exeext
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2549 $as_echo_n "checking whether the C compiler works... " >&6; }
2550 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2551 # If not cross compiling, check that we can run a simple program.
2552 if test "$cross_compiling" != yes; then
2553 if { ac_try='./$ac_file'
2554 { (case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2559 $as_echo "$ac_try_echo") >&5
2560 (eval "$ac_try") 2>&5
2562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2566 if test "$cross_compiling" = maybe; then
2569 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2572 If you meant to cross compile, use \`--host'.
2573 See \`config.log' for more details." >&5
2574 $as_echo "$as_me: error: cannot run C compiled programs.
2575 If you meant to cross compile, use \`--host'.
2576 See \`config.log' for more details." >&2;}
2577 { (exit 1); exit 1; }; }; }
2581 { $as_echo "$as_me:$LINENO: result: yes" >&5
2582 $as_echo "yes" >&6; }
2584 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2585 ac_clean_files=$ac_clean_files_save
2586 # Check that the compiler produces executables we can run. If not, either
2587 # the compiler is broken, or we cross compile.
2588 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2589 $as_echo_n "checking whether we are cross compiling... " >&6; }
2590 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2591 $as_echo "$cross_compiling" >&6; }
2593 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2594 $as_echo_n "checking for suffix of executables... " >&6; }
2595 if { (ac_try="$ac_link"
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2601 $as_echo "$ac_try_echo") >&5
2602 (eval "$ac_link") 2>&5
2604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; then
2606 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2607 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2608 # work properly (i.e., refer to `conftest.exe'), while it won't with
2610 for ac_file in conftest.exe conftest conftest.*; do
2611 test -f "$ac_file" || continue
2613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2614 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2620 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2622 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2623 See \`config.log' for more details." >&5
2624 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }; }
2629 rm -f conftest$ac_cv_exeext
2630 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2631 $as_echo "$ac_cv_exeext" >&6; }
2633 rm -f conftest.$ac_ext
2634 EXEEXT=$ac_cv_exeext
2636 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2637 $as_echo_n "checking for suffix of object files... " >&6; }
2638 if test "${ac_cv_objext+set}" = set; then
2639 $as_echo_n "(cached) " >&6
2641 cat >conftest.$ac_ext <<_ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2656 rm -f conftest.o conftest.obj
2657 if { (ac_try="$ac_compile"
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2663 $as_echo "$ac_try_echo") >&5
2664 (eval "$ac_compile") 2>&5
2666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; then
2668 for ac_file in conftest.o conftest.obj conftest.*; do
2669 test -f "$ac_file" || continue;
2671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2672 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2677 $as_echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2680 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2683 See \`config.log' for more details." >&5
2684 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2685 See \`config.log' for more details." >&2;}
2686 { (exit 1); exit 1; }; }; }
2689 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2691 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2692 $as_echo "$ac_cv_objext" >&6; }
2693 OBJEXT=$ac_cv_objext
2695 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2696 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2697 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2698 $as_echo_n "(cached) " >&6
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2718 rm -f conftest.$ac_objext
2719 if { (ac_try="$ac_compile"
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2725 $as_echo "$ac_try_echo") >&5
2726 (eval "$ac_compile") 2>conftest.er1
2728 grep -v '^ *+' conftest.er1 >conftest.err
2730 cat conftest.err >&5
2731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } && {
2733 test -z "$ac_c_werror_flag" ||
2734 test ! -s conftest.err
2735 } && test -s conftest.$ac_objext; then
2738 $as_echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2748 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2749 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2750 if test $ac_compiler_gnu = yes; then
2755 ac_test_CFLAGS=${CFLAGS+set}
2756 ac_save_CFLAGS=$CFLAGS
2757 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2758 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2759 if test "${ac_cv_prog_cc_g+set}" = set; then
2760 $as_echo_n "(cached) " >&6
2762 ac_save_c_werror_flag=$ac_c_werror_flag
2763 ac_c_werror_flag=yes
2766 cat >conftest.$ac_ext <<_ACEOF
2769 cat confdefs.h >>conftest.$ac_ext
2770 cat >>conftest.$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 rm -f conftest.$ac_objext
2782 if { (ac_try="$ac_compile"
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2788 $as_echo "$ac_try_echo") >&5
2789 (eval "$ac_compile") 2>conftest.er1
2791 grep -v '^ *+' conftest.er1 >conftest.err
2793 cat conftest.err >&5
2794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } && {
2796 test -z "$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext; then
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2805 cat >conftest.$ac_ext <<_ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2820 rm -f conftest.$ac_objext
2821 if { (ac_try="$ac_compile"
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2827 $as_echo "$ac_try_echo") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_c_werror_flag=$ac_save_c_werror_flag
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2867 $as_echo "$ac_try_echo") >&5
2868 (eval "$ac_compile") 2>conftest.er1
2870 grep -v '^ *+' conftest.er1 >conftest.err
2872 cat conftest.err >&5
2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.$ac_objext; then
2880 $as_echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 ac_c_werror_flag=$ac_save_c_werror_flag
2895 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2896 $as_echo "$ac_cv_prog_cc_g" >&6; }
2897 if test "$ac_test_CFLAGS" = set; then
2898 CFLAGS=$ac_save_CFLAGS
2899 elif test $ac_cv_prog_cc_g = yes; then
2900 if test "$GCC" = yes; then
2906 if test "$GCC" = yes; then
2912 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2913 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2914 if test "${ac_cv_prog_cc_c89+set}" = set; then
2915 $as_echo_n "(cached) " >&6
2917 ac_cv_prog_cc_c89=no
2919 cat >conftest.$ac_ext <<_ACEOF
2922 cat confdefs.h >>conftest.$ac_ext
2923 cat >>conftest.$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2927 #include <sys/types.h>
2928 #include <sys/stat.h>
2929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2930 struct buf { int x; };
2931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2932 static char *e (p, i)
2938 static char *f (char * (*g) (char **, int), char **p, ...)
2943 s = g (p, va_arg (v,int));
2948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2949 function prototypes and stuff, but not '\xHH' hex character constants.
2950 These don't provoke an error unfortunately, instead are silently treated
2951 as 'x'. The following induces an error, until -std is added to get
2952 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2953 array size at least. It's necessary to write '\x00'==0 to get something
2954 that's true only with -std. */
2955 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2958 inside strings and character constants. */
2960 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2962 int test (int i, double x);
2963 struct s1 {int (*f) (int a);};
2964 struct s2 {int (*f) (double a);};
2965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2976 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2977 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2979 CC="$ac_save_CC $ac_arg"
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2987 $as_echo "$ac_try_echo") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext; then
2998 ac_cv_prog_cc_c89=$ac_arg
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3006 rm -f core conftest.err conftest.$ac_objext
3007 test "x$ac_cv_prog_cc_c89" != "xno" && break
3009 rm -f conftest.$ac_ext
3014 case "x$ac_cv_prog_cc_c89" in
3016 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3017 $as_echo "none needed" >&6; } ;;
3019 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3020 $as_echo "unsupported" >&6; } ;;
3022 CC="$CC $ac_cv_prog_cc_c89"
3023 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3024 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3029 ac_cpp='$CPP $CPPFLAGS'
3030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3041 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3042 # On Suns, sometimes $CPP names a directory.
3043 if test -n "$CPP" && test -d "$CPP"; then
3046 if test -z "$CPP"; then
3047 if test "${ac_cv_prog_CPP+set}" = set; then
3048 $as_echo_n "(cached) " >&6
3050 # Double quotes because CPP needs to be expanded
3051 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3054 for ac_c_preproc_warn_flag in '' yes
3056 # Use a header file that comes with gcc, so configuring glibc
3057 # with a fresh cross-compiler works.
3058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3059 # <limits.h> exists even on freestanding compilers.
3060 # On the NeXT, cc -E runs the code through the compiler's parser,
3061 # not just through cpp. "Syntax error" is here to catch this case.
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3069 # include <limits.h>
3071 # include <assert.h>
3075 if { (ac_try="$ac_cpp conftest.$ac_ext"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081 $as_echo "$ac_try_echo") >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3084 grep -v '^ *+' conftest.er1 >conftest.err
3086 cat conftest.err >&5
3087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev/null && {
3089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3090 test ! -s conftest.err
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 # Broken: fails on valid input.
3101 rm -f conftest.err conftest.$ac_ext
3103 # OK, works on sane cases. Now check whether nonexistent headers
3104 # can be detected and how.
3105 cat >conftest.$ac_ext <<_ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3111 #include <ac_nonexistent.h>
3113 if { (ac_try="$ac_cpp conftest.$ac_ext"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3119 $as_echo "$ac_try_echo") >&5
3120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } >/dev/null && {
3127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3128 test ! -s conftest.err
3130 # Broken: success on invalid input.
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 # Passes both tests.
3141 rm -f conftest.err conftest.$ac_ext
3144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3145 rm -f conftest.err conftest.$ac_ext
3146 if $ac_preproc_ok; then
3158 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3159 $as_echo "$CPP" >&6; }
3161 for ac_c_preproc_warn_flag in '' yes
3163 # Use a header file that comes with gcc, so configuring glibc
3164 # with a fresh cross-compiler works.
3165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3166 # <limits.h> exists even on freestanding compilers.
3167 # On the NeXT, cc -E runs the code through the compiler's parser,
3168 # not just through cpp. "Syntax error" is here to catch this case.
3169 cat >conftest.$ac_ext <<_ACEOF
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3176 # include <limits.h>
3178 # include <assert.h>
3182 if { (ac_try="$ac_cpp conftest.$ac_ext"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3188 $as_echo "$ac_try_echo") >&5
3189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3191 grep -v '^ *+' conftest.er1 >conftest.err
3193 cat conftest.err >&5
3194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } >/dev/null && {
3196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3197 test ! -s conftest.err
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 # Broken: fails on valid input.
3208 rm -f conftest.err conftest.$ac_ext
3210 # OK, works on sane cases. Now check whether nonexistent headers
3211 # can be detected and how.
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3218 #include <ac_nonexistent.h>
3220 if { (ac_try="$ac_cpp conftest.$ac_ext"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3226 $as_echo "$ac_try_echo") >&5
3227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3229 grep -v '^ *+' conftest.er1 >conftest.err
3231 cat conftest.err >&5
3232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); } >/dev/null && {
3234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3235 test ! -s conftest.err
3237 # Broken: success on invalid input.
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 # Passes both tests.
3248 rm -f conftest.err conftest.$ac_ext
3251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3252 rm -f conftest.err conftest.$ac_ext
3253 if $ac_preproc_ok; then
3256 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3259 See \`config.log' for more details." >&5
3260 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }; }
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3273 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3274 if test "${ac_cv_path_GREP+set}" = set; then
3275 $as_echo_n "(cached) " >&6
3277 if test -z "$GREP"; then
3278 ac_path_GREP_found=false
3279 # Loop through the user's path and test for each of PROGNAME-LIST
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3284 test -z "$as_dir" && as_dir=.
3285 for ac_prog in grep ggrep; do
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3288 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3289 # Check for GNU ac_path_GREP and select it if it is found.
3290 # Check for GNU $ac_path_GREP
3291 case `"$ac_path_GREP" --version 2>&1` in
3293 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3296 $as_echo_n 0123456789 >"conftest.in"
3299 cat "conftest.in" "conftest.in" >"conftest.tmp"
3300 mv "conftest.tmp" "conftest.in"
3301 cp "conftest.in" "conftest.nl"
3302 $as_echo 'GREP' >> "conftest.nl"
3303 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3304 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3305 ac_count=`expr $ac_count + 1`
3306 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3307 # Best one so far, save it but keep looking for a better one
3308 ac_cv_path_GREP="$ac_path_GREP"
3309 ac_path_GREP_max=$ac_count
3311 # 10*(2^10) chars as input seems more than enough
3312 test $ac_count -gt 10 && break
3314 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3317 $ac_path_GREP_found && break 3
3322 if test -z "$ac_cv_path_GREP"; then
3323 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3324 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3325 { (exit 1); exit 1; }; }
3328 ac_cv_path_GREP=$GREP
3332 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3333 $as_echo "$ac_cv_path_GREP" >&6; }
3334 GREP="$ac_cv_path_GREP"
3337 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3338 $as_echo_n "checking for egrep... " >&6; }
3339 if test "${ac_cv_path_EGREP+set}" = set; then
3340 $as_echo_n "(cached) " >&6
3342 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3343 then ac_cv_path_EGREP="$GREP -E"
3345 if test -z "$EGREP"; then
3346 ac_path_EGREP_found=false
3347 # Loop through the user's path and test for each of PROGNAME-LIST
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3352 test -z "$as_dir" && as_dir=.
3353 for ac_prog in egrep; do
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3356 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3357 # Check for GNU ac_path_EGREP and select it if it is found.
3358 # Check for GNU $ac_path_EGREP
3359 case `"$ac_path_EGREP" --version 2>&1` in
3361 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3364 $as_echo_n 0123456789 >"conftest.in"
3367 cat "conftest.in" "conftest.in" >"conftest.tmp"
3368 mv "conftest.tmp" "conftest.in"
3369 cp "conftest.in" "conftest.nl"
3370 $as_echo 'EGREP' >> "conftest.nl"
3371 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3373 ac_count=`expr $ac_count + 1`
3374 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3375 # Best one so far, save it but keep looking for a better one
3376 ac_cv_path_EGREP="$ac_path_EGREP"
3377 ac_path_EGREP_max=$ac_count
3379 # 10*(2^10) chars as input seems more than enough
3380 test $ac_count -gt 10 && break
3382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3385 $ac_path_EGREP_found && break 3
3390 if test -z "$ac_cv_path_EGREP"; then
3391 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3392 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3393 { (exit 1); exit 1; }; }
3396 ac_cv_path_EGREP=$EGREP
3401 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3402 $as_echo "$ac_cv_path_EGREP" >&6; }
3403 EGREP="$ac_cv_path_EGREP"
3406 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3407 $as_echo_n "checking for ANSI C header files... " >&6; }
3408 if test "${ac_cv_header_stdc+set}" = set; then
3409 $as_echo_n "(cached) " >&6
3411 cat >conftest.$ac_ext <<_ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3430 rm -f conftest.$ac_objext
3431 if { (ac_try="$ac_compile"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3437 $as_echo "$ac_try_echo") >&5
3438 (eval "$ac_compile") 2>conftest.er1
3440 grep -v '^ *+' conftest.er1 >conftest.err
3442 cat conftest.err >&5
3443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } && {
3445 test -z "$ac_c_werror_flag" ||
3446 test ! -s conftest.err
3447 } && test -s conftest.$ac_objext; then
3448 ac_cv_header_stdc=yes
3450 $as_echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 ac_cv_header_stdc=no
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 if test $ac_cv_header_stdc = yes; then
3459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3470 $EGREP "memchr" >/dev/null 2>&1; then
3473 ac_cv_header_stdc=no
3479 if test $ac_cv_header_stdc = yes; then
3480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3481 cat >conftest.$ac_ext <<_ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3491 $EGREP "free" >/dev/null 2>&1; then
3494 ac_cv_header_stdc=no
3500 if test $ac_cv_header_stdc = yes; then
3501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3502 if test "$cross_compiling" = yes; then
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3513 #if ((' ' & 0x0FF) == 0x020)
3514 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3515 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3517 # define ISLOWER(c) \
3518 (('a' <= (c) && (c) <= 'i') \
3519 || ('j' <= (c) && (c) <= 'r') \
3520 || ('s' <= (c) && (c) <= 'z'))
3521 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3524 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3529 for (i = 0; i < 256; i++)
3530 if (XOR (islower (i), ISLOWER (i))
3531 || toupper (i) != TOUPPER (i))
3536 rm -f conftest$ac_exeext
3537 if { (ac_try="$ac_link"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3543 $as_echo "$ac_try_echo") >&5
3544 (eval "$ac_link") 2>&5
3546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3548 { (case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3553 $as_echo "$ac_try_echo") >&5
3554 (eval "$ac_try") 2>&5
3556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3560 $as_echo "$as_me: program exited with status $ac_status" >&5
3561 $as_echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3565 ac_cv_header_stdc=no
3567 rm -rf conftest.dSYM
3568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3574 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3575 $as_echo "$ac_cv_header_stdc" >&6; }
3576 if test $ac_cv_header_stdc = yes; then
3578 cat >>confdefs.h <<\_ACEOF
3579 #define STDC_HEADERS 1
3584 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3594 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3595 inttypes.h stdint.h unistd.h
3597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3598 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3599 $as_echo_n "checking for $ac_header... " >&6; }
3600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3601 $as_echo_n "(cached) " >&6
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3609 $ac_includes_default
3611 #include <$ac_header>
3613 rm -f conftest.$ac_objext
3614 if { (ac_try="$ac_compile"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3620 $as_echo "$ac_try_echo") >&5
3621 (eval "$ac_compile") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } && {
3628 test -z "$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 } && test -s conftest.$ac_objext; then
3631 eval "$as_ac_Header=yes"
3633 $as_echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 eval "$as_ac_Header=no"
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 ac_res=`eval 'as_val=${'$as_ac_Header'}
3642 $as_echo "$as_val"'`
3643 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3644 $as_echo "$ac_res" >&6; }
3645 as_val=`eval 'as_val=${'$as_ac_Header'}
3646 $as_echo "$as_val"'`
3647 if test "x$as_val" = x""yes; then
3648 cat >>confdefs.h <<_ACEOF
3649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3658 if test "${ac_cv_header_minix_config_h+set}" = set; then
3659 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3660 $as_echo_n "checking for minix/config.h... " >&6; }
3661 if test "${ac_cv_header_minix_config_h+set}" = set; then
3662 $as_echo_n "(cached) " >&6
3664 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3665 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3667 # Is the header compilable?
3668 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3669 $as_echo_n "checking minix/config.h usability... " >&6; }
3670 cat >conftest.$ac_ext <<_ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3676 $ac_includes_default
3677 #include <minix/config.h>
3679 rm -f conftest.$ac_objext
3680 if { (ac_try="$ac_compile"
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3686 $as_echo "$ac_try_echo") >&5
3687 (eval "$ac_compile") 2>conftest.er1
3689 grep -v '^ *+' conftest.er1 >conftest.err
3691 cat conftest.err >&5
3692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } && {
3694 test -z "$ac_c_werror_flag" ||
3695 test ! -s conftest.err
3696 } && test -s conftest.$ac_objext; then
3697 ac_header_compiler=yes
3699 $as_echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 ac_header_compiler=no
3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3707 $as_echo "$ac_header_compiler" >&6; }
3709 # Is the header present?
3710 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3711 $as_echo_n "checking minix/config.h presence... " >&6; }
3712 cat >conftest.$ac_ext <<_ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3718 #include <minix/config.h>
3720 if { (ac_try="$ac_cpp conftest.$ac_ext"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726 $as_echo "$ac_try_echo") >&5
3727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729 grep -v '^ *+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } >/dev/null && {
3734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3735 test ! -s conftest.err
3737 ac_header_preproc=yes
3739 $as_echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3742 ac_header_preproc=no
3745 rm -f conftest.err conftest.$ac_ext
3746 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3747 $as_echo "$ac_header_preproc" >&6; }
3749 # So? What about this header?
3750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3752 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3753 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3754 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3755 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3756 ac_header_preproc=yes
3759 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3760 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3761 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3762 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3763 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3764 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3765 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3766 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3768 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3769 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3770 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3774 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3775 $as_echo_n "checking for minix/config.h... " >&6; }
3776 if test "${ac_cv_header_minix_config_h+set}" = set; then
3777 $as_echo_n "(cached) " >&6
3779 ac_cv_header_minix_config_h=$ac_header_preproc
3781 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3782 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3785 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3792 if test "$MINIX" = yes; then
3794 cat >>confdefs.h <<\_ACEOF
3795 #define _POSIX_SOURCE 1
3799 cat >>confdefs.h <<\_ACEOF
3800 #define _POSIX_1_SOURCE 2
3804 cat >>confdefs.h <<\_ACEOF
3812 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3813 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3814 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3815 $as_echo_n "(cached) " >&6
3817 cat >conftest.$ac_ext <<_ACEOF
3820 cat confdefs.h >>conftest.$ac_ext
3821 cat >>conftest.$ac_ext <<_ACEOF
3822 /* end confdefs.h. */
3824 # define __EXTENSIONS__ 1
3825 $ac_includes_default
3834 rm -f conftest.$ac_objext
3835 if { (ac_try="$ac_compile"
3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3841 $as_echo "$ac_try_echo") >&5
3842 (eval "$ac_compile") 2>conftest.er1
3844 grep -v '^ *+' conftest.er1 >conftest.err
3846 cat conftest.err >&5
3847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } && {
3849 test -z "$ac_c_werror_flag" ||
3850 test ! -s conftest.err
3851 } && test -s conftest.$ac_objext; then
3852 ac_cv_safe_to_define___extensions__=yes
3854 $as_echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5
3857 ac_cv_safe_to_define___extensions__=no
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3863 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3864 test $ac_cv_safe_to_define___extensions__ = yes &&
3865 cat >>confdefs.h <<\_ACEOF
3866 #define __EXTENSIONS__ 1
3869 cat >>confdefs.h <<\_ACEOF
3870 #define _ALL_SOURCE 1
3873 cat >>confdefs.h <<\_ACEOF
3874 #define _GNU_SOURCE 1
3877 cat >>confdefs.h <<\_ACEOF
3878 #define _POSIX_PTHREAD_SEMANTICS 1
3881 cat >>confdefs.h <<\_ACEOF
3882 #define _TANDEM_SOURCE 1
3886 # Find a good install program. We prefer a C program (faster),
3887 # so one script is as good as another. But avoid the broken or
3888 # incompatible versions:
3889 # SysV /etc/install, /usr/sbin/install
3890 # SunOS /usr/etc/install
3891 # IRIX /sbin/install
3893 # AmigaOS /C/install, which installs bootblocks on floppy discs
3894 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3895 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3896 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3897 # OS/2's system install, which has a completely different semantic
3898 # ./install, which can be erroneously created by make from ./install.sh.
3899 # Reject install programs that cannot install multiple files.
3900 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3901 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3902 if test -z "$INSTALL"; then
3903 if test "${ac_cv_path_install+set}" = set; then
3904 $as_echo_n "(cached) " >&6
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir=.
3911 # Account for people who put trailing slashes in PATH elements.
3913 ./ | .// | /cC/* | \
3914 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3915 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3918 # OSF1 and SCO ODT 3.0 have their own names for install.
3919 # Don't use installbsd from OSF since it installs stuff as root
3921 for ac_prog in ginstall scoinst install; do
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3924 if test $ac_prog = install &&
3925 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3926 # AIX install. It has an incompatible calling convention.
3928 elif test $ac_prog = install &&
3929 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3930 # program-specific install script used by HP pwplus--don't use.
3933 rm -rf conftest.one conftest.two conftest.dir
3934 echo one > conftest.one
3935 echo two > conftest.two
3937 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3938 test -s conftest.one && test -s conftest.two &&
3939 test -s conftest.dir/conftest.one &&
3940 test -s conftest.dir/conftest.two
3942 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3955 rm -rf conftest.one conftest.two conftest.dir
3958 if test "${ac_cv_path_install+set}" = set; then
3959 INSTALL=$ac_cv_path_install
3961 # As a last resort, use the slow shell script. Don't cache a
3962 # value for INSTALL within a source directory, because that will
3963 # break other packages using the cache if that directory is
3964 # removed, or if the value is a relative name.
3965 INSTALL=$ac_install_sh
3968 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3969 $as_echo "$INSTALL" >&6; }
3971 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3972 # It thinks the first close brace ends the variable substitution.
3973 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3975 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3977 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3980 if test "$ac_binutils_build_dir" != "NONE"; then
3981 test "$ac_libbfd" = "NONE" && ac_libbfd="$ac_binutils_build_dir/bfd/libbfd.a"
3982 test "$ac_libiberty" = "NONE" && ac_libiberty="$ac_binutils_build_dir/libiberty/libiberty.a"
3983 test "$ac_bfd_include_dir" = "NONE" && ac_bfd_include_dir="$ac_binutils_build_dir/bfd"
3984 test "$ac_binutils_include_dir" = "NONE" && ac_binutils_include_dir="$ac_binutils_build_dir/include"
3987 if test "$ac_libiberty" = "NONE"; then
3989 { $as_echo "$as_me:$LINENO: checking for objalloc_create in -liberty" >&5
3990 $as_echo_n "checking for objalloc_create in -liberty... " >&6; }
3991 if test "${ac_cv_lib_iberty_objalloc_create+set}" = set; then
3992 $as_echo_n "(cached) " >&6
3994 ac_check_lib_save_LIBS=$LIBS
3995 LIBS="-liberty $LIBS"
3996 cat >conftest.$ac_ext <<_ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4003 /* Override any GCC internal prototype to avoid an error.
4004 Use char because int might match the return type of a GCC
4005 builtin and then its argument prototype would still apply. */
4009 char objalloc_create ();
4013 return objalloc_create ();
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4025 $as_echo "$ac_try_echo") >&5
4026 (eval "$ac_link") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext && {
4036 test "$cross_compiling" = yes ||
4037 $as_test_x conftest$ac_exeext
4039 ac_cv_lib_iberty_objalloc_create=yes
4041 $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_cv_lib_iberty_objalloc_create=no
4047 rm -rf conftest.dSYM
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4050 LIBS=$ac_check_lib_save_LIBS
4052 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_objalloc_create" >&5
4053 $as_echo "$ac_cv_lib_iberty_objalloc_create" >&6; }
4054 if test "x$ac_cv_lib_iberty_objalloc_create" = x""yes; then
4055 cat >>confdefs.h <<_ACEOF
4056 #define HAVE_LIBIBERTY 1
4059 LIBS="-liberty $LIBS"
4065 LIBS="$ac_libiberty $LIBS"
4067 if test "$ac_libbfd" = "NONE"; then
4069 { $as_echo "$as_me:$LINENO: checking for bfd_openr in -lbfd" >&5
4070 $as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
4071 if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then
4072 $as_echo_n "(cached) " >&6
4074 ac_check_lib_save_LIBS=$LIBS
4076 cat >conftest.$ac_ext <<_ACEOF
4079 cat confdefs.h >>conftest.$ac_ext
4080 cat >>conftest.$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4083 /* Override any GCC internal prototype to avoid an error.
4084 Use char because int might match the return type of a GCC
4085 builtin and then its argument prototype would still apply. */
4093 return bfd_openr ();
4098 rm -f conftest.$ac_objext conftest$ac_exeext
4099 if { (ac_try="$ac_link"
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4105 $as_echo "$ac_try_echo") >&5
4106 (eval "$ac_link") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } && {
4113 test -z "$ac_c_werror_flag" ||
4114 test ! -s conftest.err
4115 } && test -s conftest$ac_exeext && {
4116 test "$cross_compiling" = yes ||
4117 $as_test_x conftest$ac_exeext
4119 ac_cv_lib_bfd_bfd_openr=yes
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 ac_cv_lib_bfd_bfd_openr=no
4127 rm -rf conftest.dSYM
4128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4129 conftest$ac_exeext conftest.$ac_ext
4130 LIBS=$ac_check_lib_save_LIBS
4132 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_openr" >&5
4133 $as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
4134 if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then
4135 cat >>confdefs.h <<_ACEOF
4136 #define HAVE_LIBBFD 1
4145 LIBS="$ac_libbfd $LIBS"
4147 if test "$ac_zlib_prefix" = "NONE"; then
4149 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4150 $as_echo_n "checking for deflate in -lz... " >&6; }
4151 if test "${ac_cv_lib_z_deflate+set}" = set; then
4152 $as_echo_n "(cached) " >&6
4154 ac_check_lib_save_LIBS=$LIBS
4156 cat >conftest.$ac_ext <<_ACEOF
4159 cat confdefs.h >>conftest.$ac_ext
4160 cat >>conftest.$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4163 /* Override any GCC internal prototype to avoid an error.
4164 Use char because int might match the return type of a GCC
4165 builtin and then its argument prototype would still apply. */
4178 rm -f conftest.$ac_objext conftest$ac_exeext
4179 if { (ac_try="$ac_link"
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4185 $as_echo "$ac_try_echo") >&5
4186 (eval "$ac_link") 2>conftest.er1
4188 grep -v '^ *+' conftest.er1 >conftest.err
4190 cat conftest.err >&5
4191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } && {
4193 test -z "$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 } && test -s conftest$ac_exeext && {
4196 test "$cross_compiling" = yes ||
4197 $as_test_x conftest$ac_exeext
4199 ac_cv_lib_z_deflate=yes
4201 $as_echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 ac_cv_lib_z_deflate=no
4207 rm -rf conftest.dSYM
4208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4209 conftest$ac_exeext conftest.$ac_ext
4210 LIBS=$ac_check_lib_save_LIBS
4212 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4213 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4214 if test "x$ac_cv_lib_z_deflate" = x""yes; then
4215 cat >>confdefs.h <<_ACEOF
4224 LIBS="-L$ac_zlib_prefix/lib -lz $LIBS"
4228 if test "$ac_bfd_include_dir" != "NONE"; then
4229 bfd_include_dir="-I$ac_bfd_include_dir"
4232 binutils_include_dir=
4233 if test "$ac_binutils_include_dir" != "NONE"; then
4234 binutils_include_dir="-I$ac_binutils_include_dir"
4238 if test "$ac_zlib_prefix" != "NONE"; then
4239 zlib_include_dir="-I$ac_zlib_prefix/include"
4242 binutils_ldscript_dir=
4243 if test "$ac_binutils_ldscript_dir" = "NONE"; then
4244 ac_binutils_ldscript_dir="\${TOOLDIR}/../${target_alias}/lib"
4246 binutils_ldscript_dir="$ac_binutils_ldscript_dir"
4248 if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then
4249 { { $as_echo "$as_me:$LINENO: error:
4251 You need to specify the location of the libfd.a and libiberty.a
4252 host libraries from the binutils package.
4254 Run configure again specifying these options:
4256 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
4258 $as_echo "$as_me: error:
4260 You need to specify the location of the libfd.a and libiberty.a
4261 host libraries from the binutils package.
4263 Run configure again specifying these options:
4265 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
4267 { (exit 1); exit 1; }; }
4270 if test "$ac_bfd_include_dir" = "NONE" ; then
4271 { { $as_echo "$as_me:$LINENO: error:
4273 You need to specify the location of the bfd.h header from a
4274 configured/compiled version of the binutils package for your target.
4275 Without this your elf2flt may crash as it will try to use the
4276 systems bfd.h which may be from a different binutils package.
4278 Run configure again specifying these options:
4280 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
4282 $as_echo "$as_me: error:
4284 You need to specify the location of the bfd.h header from a
4285 configured/compiled version of the binutils package for your target.
4286 Without this your elf2flt may crash as it will try to use the
4287 systems bfd.h which may be from a different binutils package.
4289 Run configure again specifying these options:
4291 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
4293 { (exit 1); exit 1; }; }
4303 { $as_echo "$as_me:$LINENO: checking for malloc in -lc" >&5
4304 $as_echo_n "checking for malloc in -lc... " >&6; }
4305 if test "${ac_cv_lib_c_malloc+set}" = set; then
4306 $as_echo_n "(cached) " >&6
4308 ac_check_lib_save_LIBS=$LIBS
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4317 /* Override any GCC internal prototype to avoid an error.
4318 Use char because int might match the return type of a GCC
4319 builtin and then its argument prototype would still apply. */
4332 rm -f conftest.$ac_objext conftest$ac_exeext
4333 if { (ac_try="$ac_link"
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4339 $as_echo "$ac_try_echo") >&5
4340 (eval "$ac_link") 2>conftest.er1
4342 grep -v '^ *+' conftest.er1 >conftest.err
4344 cat conftest.err >&5
4345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } && {
4347 test -z "$ac_c_werror_flag" ||
4348 test ! -s conftest.err
4349 } && test -s conftest$ac_exeext && {
4350 test "$cross_compiling" = yes ||
4351 $as_test_x conftest$ac_exeext
4353 ac_cv_lib_c_malloc=yes
4355 $as_echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_lib_c_malloc=no
4361 rm -rf conftest.dSYM
4362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4363 conftest$ac_exeext conftest.$ac_ext
4364 LIBS=$ac_check_lib_save_LIBS
4366 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_malloc" >&5
4367 $as_echo "$ac_cv_lib_c_malloc" >&6; }
4368 if test "x$ac_cv_lib_c_malloc" = x""yes; then
4373 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4374 $as_echo_n "checking for ANSI C header files... " >&6; }
4375 if test "${ac_cv_header_stdc+set}" = set; then
4376 $as_echo_n "(cached) " >&6
4378 cat >conftest.$ac_ext <<_ACEOF
4381 cat confdefs.h >>conftest.$ac_ext
4382 cat >>conftest.$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4397 rm -f conftest.$ac_objext
4398 if { (ac_try="$ac_compile"
4400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401 *) ac_try_echo=$ac_try;;
4403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4404 $as_echo "$ac_try_echo") >&5
4405 (eval "$ac_compile") 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } && {
4412 test -z "$ac_c_werror_flag" ||
4413 test ! -s conftest.err
4414 } && test -s conftest.$ac_objext; then
4415 ac_cv_header_stdc=yes
4417 $as_echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4420 ac_cv_header_stdc=no
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 if test $ac_cv_header_stdc = yes; then
4426 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4427 cat >conftest.$ac_ext <<_ACEOF
4430 cat confdefs.h >>conftest.$ac_ext
4431 cat >>conftest.$ac_ext <<_ACEOF
4432 /* end confdefs.h. */
4436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4437 $EGREP "memchr" >/dev/null 2>&1; then
4440 ac_cv_header_stdc=no
4446 if test $ac_cv_header_stdc = yes; then
4447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4448 cat >conftest.$ac_ext <<_ACEOF
4451 cat confdefs.h >>conftest.$ac_ext
4452 cat >>conftest.$ac_ext <<_ACEOF
4453 /* end confdefs.h. */
4457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4458 $EGREP "free" >/dev/null 2>&1; then
4461 ac_cv_header_stdc=no
4467 if test $ac_cv_header_stdc = yes; then
4468 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4469 if test "$cross_compiling" = yes; then
4472 cat >conftest.$ac_ext <<_ACEOF
4475 cat confdefs.h >>conftest.$ac_ext
4476 cat >>conftest.$ac_ext <<_ACEOF
4477 /* end confdefs.h. */
4480 #if ((' ' & 0x0FF) == 0x020)
4481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4484 # define ISLOWER(c) \
4485 (('a' <= (c) && (c) <= 'i') \
4486 || ('j' <= (c) && (c) <= 'r') \
4487 || ('s' <= (c) && (c) <= 'z'))
4488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4496 for (i = 0; i < 256; i++)
4497 if (XOR (islower (i), ISLOWER (i))
4498 || toupper (i) != TOUPPER (i))
4503 rm -f conftest$ac_exeext
4504 if { (ac_try="$ac_link"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4510 $as_echo "$ac_try_echo") >&5
4511 (eval "$ac_link") 2>&5
4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4515 { (case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4520 $as_echo "$ac_try_echo") >&5
4521 (eval "$ac_try") 2>&5
4523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4527 $as_echo "$as_me: program exited with status $ac_status" >&5
4528 $as_echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4532 ac_cv_header_stdc=no
4534 rm -rf conftest.dSYM
4535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4541 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4542 $as_echo "$ac_cv_header_stdc" >&6; }
4543 if test $ac_cv_header_stdc = yes; then
4545 cat >>confdefs.h <<\_ACEOF
4546 #define STDC_HEADERS 1
4554 for ac_header in fcntl.h unistd.h bfd.h
4556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4558 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4559 $as_echo_n "checking for $ac_header... " >&6; }
4560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4561 $as_echo_n "(cached) " >&6
4563 ac_res=`eval 'as_val=${'$as_ac_Header'}
4564 $as_echo "$as_val"'`
4565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4566 $as_echo "$ac_res" >&6; }
4568 # Is the header compilable?
4569 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4570 $as_echo_n "checking $ac_header usability... " >&6; }
4571 cat >conftest.$ac_ext <<_ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 $ac_includes_default
4578 #include <$ac_header>
4580 rm -f conftest.$ac_objext
4581 if { (ac_try="$ac_compile"
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4587 $as_echo "$ac_try_echo") >&5
4588 (eval "$ac_compile") 2>conftest.er1
4590 grep -v '^ *+' conftest.er1 >conftest.err
4592 cat conftest.err >&5
4593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && {
4595 test -z "$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 } && test -s conftest.$ac_objext; then
4598 ac_header_compiler=yes
4600 $as_echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4603 ac_header_compiler=no
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4608 $as_echo "$ac_header_compiler" >&6; }
4610 # Is the header present?
4611 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4612 $as_echo_n "checking $ac_header presence... " >&6; }
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <$ac_header>
4621 if { (ac_try="$ac_cpp conftest.$ac_ext"
4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4627 $as_echo "$ac_try_echo") >&5
4628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4630 grep -v '^ *+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } >/dev/null && {
4635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4636 test ! -s conftest.err
4638 ac_header_preproc=yes
4640 $as_echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4643 ac_header_preproc=no
4646 rm -f conftest.err conftest.$ac_ext
4647 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4648 $as_echo "$ac_header_preproc" >&6; }
4650 # So? What about this header?
4651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4654 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4656 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4657 ac_header_preproc=yes
4660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4661 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4663 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4664 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4665 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4666 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4667 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4668 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4669 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4671 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4675 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4676 $as_echo_n "checking for $ac_header... " >&6; }
4677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4678 $as_echo_n "(cached) " >&6
4680 eval "$as_ac_Header=\$ac_header_preproc"
4682 ac_res=`eval 'as_val=${'$as_ac_Header'}
4683 $as_echo "$as_val"'`
4684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4685 $as_echo "$ac_res" >&6; }
4688 as_val=`eval 'as_val=${'$as_ac_Header'}
4689 $as_echo "$as_val"'`
4690 if test "x$as_val" = x""yes; then
4691 cat >>confdefs.h <<_ACEOF
4692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4700 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4701 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4702 if test "${ac_cv_c_const+set}" = set; then
4703 $as_echo_n "(cached) " >&6
4705 cat >conftest.$ac_ext <<_ACEOF
4708 cat confdefs.h >>conftest.$ac_ext
4709 cat >>conftest.$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4715 /* FIXME: Include the comments suggested by Paul. */
4717 /* Ultrix mips cc rejects this. */
4718 typedef int charset[2];
4720 /* SunOS 4.1.1 cc rejects this. */
4721 char const *const *pcpcc;
4723 /* NEC SVR4.0.2 mips cc rejects this. */
4724 struct point {int x, y;};
4725 static struct point const zero = {0,0};
4726 /* AIX XL C 1.02.0.0 rejects this.
4727 It does not let you subtract one const X* pointer from another in
4728 an arm of an if-expression whose if-part is not a constant
4730 const char *g = "string";
4731 pcpcc = &g + (g ? g-g : 0);
4732 /* HPUX 7.0 cc rejects these. */
4734 ppc = (char**) pcpcc;
4735 pcpcc = (char const *const *) ppc;
4736 { /* SCO 3.2v4 cc rejects this. */
4738 char const *s = 0 ? (char *) 0 : (char const *) 0;
4743 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4745 const int *foo = &x[0];
4748 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4749 typedef const int *iptr;
4753 { /* AIX XL C 1.02.0.0 rejects this saying
4754 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4755 struct s { int j; const int *ap[3]; };
4756 struct s *b; b->j = 5;
4758 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4762 return !cs[0] && !zero.x;
4769 rm -f conftest.$ac_objext
4770 if { (ac_try="$ac_compile"
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4776 $as_echo "$ac_try_echo") >&5
4777 (eval "$ac_compile") 2>conftest.er1
4779 grep -v '^ *+' conftest.er1 >conftest.err
4781 cat conftest.err >&5
4782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); } && {
4784 test -z "$ac_c_werror_flag" ||
4785 test ! -s conftest.err
4786 } && test -s conftest.$ac_objext; then
4789 $as_echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4798 $as_echo "$ac_cv_c_const" >&6; }
4799 if test $ac_cv_c_const = no; then
4801 cat >>confdefs.h <<\_ACEOF
4809 for ac_func in vprintf
4811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4812 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4813 $as_echo_n "checking for $ac_func... " >&6; }
4814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4815 $as_echo_n "(cached) " >&6
4817 cat >conftest.$ac_ext <<_ACEOF
4820 cat confdefs.h >>conftest.$ac_ext
4821 cat >>conftest.$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4825 #define $ac_func innocuous_$ac_func
4827 /* System header to define __stub macros and hopefully few prototypes,
4828 which can conflict with char $ac_func (); below.
4829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4830 <limits.h> exists even on freestanding compilers. */
4833 # include <limits.h>
4835 # include <assert.h>
4840 /* Override any GCC internal prototype to avoid an error.
4841 Use char because int might match the return type of a GCC
4842 builtin and then its argument prototype would still apply. */
4847 /* The GNU C library defines this for functions which it implements
4848 to always fail with ENOSYS. Some functions are actually named
4849 something starting with __ and the normal name is an alias. */
4850 #if defined __stub_$ac_func || defined __stub___$ac_func
4862 rm -f conftest.$ac_objext conftest$ac_exeext
4863 if { (ac_try="$ac_link"
4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4866 *) ac_try_echo=$ac_try;;
4868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4869 $as_echo "$ac_try_echo") >&5
4870 (eval "$ac_link") 2>conftest.er1
4872 grep -v '^ *+' conftest.er1 >conftest.err
4874 cat conftest.err >&5
4875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } && {
4877 test -z "$ac_c_werror_flag" ||
4878 test ! -s conftest.err
4879 } && test -s conftest$ac_exeext && {
4880 test "$cross_compiling" = yes ||
4881 $as_test_x conftest$ac_exeext
4883 eval "$as_ac_var=yes"
4885 $as_echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 eval "$as_ac_var=no"
4891 rm -rf conftest.dSYM
4892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4893 conftest$ac_exeext conftest.$ac_ext
4895 ac_res=`eval 'as_val=${'$as_ac_var'}
4896 $as_echo "$as_val"'`
4897 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4898 $as_echo "$ac_res" >&6; }
4899 as_val=`eval 'as_val=${'$as_ac_var'}
4900 $as_echo "$as_val"'`
4901 if test "x$as_val" = x""yes; then
4902 cat >>confdefs.h <<_ACEOF
4903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4906 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
4907 $as_echo_n "checking for _doprnt... " >&6; }
4908 if test "${ac_cv_func__doprnt+set}" = set; then
4909 $as_echo_n "(cached) " >&6
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4919 #define _doprnt innocuous__doprnt
4921 /* System header to define __stub macros and hopefully few prototypes,
4922 which can conflict with char _doprnt (); below.
4923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4924 <limits.h> exists even on freestanding compilers. */
4927 # include <limits.h>
4929 # include <assert.h>
4934 /* Override any GCC internal prototype to avoid an error.
4935 Use char because int might match the return type of a GCC
4936 builtin and then its argument prototype would still apply. */
4941 /* The GNU C library defines this for functions which it implements
4942 to always fail with ENOSYS. Some functions are actually named
4943 something starting with __ and the normal name is an alias. */
4944 #if defined __stub__doprnt || defined __stub____doprnt
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4963 $as_echo "$ac_try_echo") >&5
4964 (eval "$ac_link") 2>conftest.er1
4966 grep -v '^ *+' conftest.er1 >conftest.err
4968 cat conftest.err >&5
4969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } && {
4971 test -z "$ac_c_werror_flag" ||
4972 test ! -s conftest.err
4973 } && test -s conftest$ac_exeext && {
4974 test "$cross_compiling" = yes ||
4975 $as_test_x conftest$ac_exeext
4977 ac_cv_func__doprnt=yes
4979 $as_echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_func__doprnt=no
4985 rm -rf conftest.dSYM
4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4987 conftest$ac_exeext conftest.$ac_ext
4989 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4990 $as_echo "$ac_cv_func__doprnt" >&6; }
4991 if test "x$ac_cv_func__doprnt" = x""yes; then
4993 cat >>confdefs.h <<\_ACEOF
4994 #define HAVE_DOPRNT 1
5015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5017 $as_echo_n "checking for $ac_func... " >&6; }
5018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5019 $as_echo_n "(cached) " >&6
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029 #define $ac_func innocuous_$ac_func
5031 /* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5037 # include <limits.h>
5039 # include <assert.h>
5044 /* Override any GCC internal prototype to avoid an error.
5045 Use char because int might match the return type of a GCC
5046 builtin and then its argument prototype would still apply. */
5051 /* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054 #if defined __stub_$ac_func || defined __stub___$ac_func
5066 rm -f conftest.$ac_objext conftest$ac_exeext
5067 if { (ac_try="$ac_link"
5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5073 $as_echo "$ac_try_echo") >&5
5074 (eval "$ac_link") 2>conftest.er1
5076 grep -v '^ *+' conftest.er1 >conftest.err
5078 cat conftest.err >&5
5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest$ac_exeext && {
5084 test "$cross_compiling" = yes ||
5085 $as_test_x conftest$ac_exeext
5087 eval "$as_ac_var=yes"
5089 $as_echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.$ac_ext >&5
5092 eval "$as_ac_var=no"
5095 rm -rf conftest.dSYM
5096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5097 conftest$ac_exeext conftest.$ac_ext
5099 ac_res=`eval 'as_val=${'$as_ac_var'}
5100 $as_echo "$as_val"'`
5101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5102 $as_echo "$ac_res" >&6; }
5103 as_val=`eval 'as_val=${'$as_ac_var'}
5104 $as_echo "$as_val"'`
5105 if test "x$as_val" = x""yes; then
5106 cat >>confdefs.h <<_ACEOF
5107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5114 test "$GCC" = yes && CFLAGS="-Wall $CFLAGS"
5131 ac_config_files="$ac_config_files ld-elf2flt.sh:ld-elf2flt.in Makefile elf2flt.ld"
5133 cat >confcache <<\_ACEOF
5134 # This file is a shell script that caches the results of configure
5135 # tests run on this system so they can be shared between configure
5136 # scripts and configure runs, see configure's option --config-cache.
5137 # It is not useful on other systems. If it contains results you don't
5138 # want to keep, you may remove or edit it.
5140 # config.status only pays attention to the cache file if you give it
5141 # the --recheck option to rerun configure.
5143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5149 # The following way of writing the cache mishandles newlines in values,
5150 # but we know of no workaround that is simple, portable, and efficient.
5151 # So, we kill variables containing newlines.
5152 # Ultrix sh set writes to stderr and can't be redirected directly,
5153 # and sets the high bit in the cache file unless we assign to the vars.
5155 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5156 eval ac_val=\$$ac_var
5160 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5164 _ | IFS | as_nl) ;; #(
5165 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5166 *) $as_unset $ac_var ;;
5172 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5173 *${as_nl}ac_space=\ *)
5174 # `set' does not quote correctly, so add quotes (double-quote
5175 # substitution turns \\\\ into \\, and sed turns \\ into \).
5178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5181 # `set' quotes correctly as required by POSIX, so do not add quotes.
5182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5193 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5195 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5196 if test -w "$cache_file"; then
5197 test "x$cache_file" != "x/dev/null" &&
5198 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5199 $as_echo "$as_me: updating cache $cache_file" >&6;}
5200 cat confcache >$cache_file
5202 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5203 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5208 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5209 # Let make expand exec_prefix.
5210 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5212 # Transform confdefs.h into DEFS.
5213 # Protect against shell expansion while executing Makefile rules.
5214 # Protect against Makefile macro expansion.
5216 # If the first sed substitution is executed (which looks for macros that
5217 # take arguments), then branch to the quote section. Otherwise,
5218 # look for a macro that doesn't take arguments.
5228 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5230 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5234 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5247 DEFS=`sed -n "$ac_script" confdefs.h`
5252 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5253 # 1. Remove the extension, and $U if already installed.
5254 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5255 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5256 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5257 # will be set to the directory where LIBOBJS objects are built.
5258 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5259 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5263 LTLIBOBJS=$ac_ltlibobjs
5267 : ${CONFIG_STATUS=./config.status}
5269 ac_clean_files_save=$ac_clean_files
5270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5271 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5272 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5273 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5275 # Generated by $as_me.
5276 # Run this file to recreate the current configuration.
5277 # Compiler output produced by configure, useful for debugging
5278 # configure, is in config.log if it exists.
5283 SHELL=\${CONFIG_SHELL-$SHELL}
5286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5287 ## --------------------- ##
5288 ## M4sh Initialization. ##
5289 ## --------------------- ##
5291 # Be more Bourne compatible
5292 DUALCASE=1; export DUALCASE # for MKS sh
5293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5297 # is contrary to our usage. Disable this feature.
5298 alias -g '${1+"$@"}'='"$@"'
5299 setopt NO_GLOB_SUBST
5301 case `(set -o) 2>/dev/null` in
5302 *posix*) set -o posix ;;
5311 # Avoid depending upon Character Ranges.
5312 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5313 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5314 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5315 as_cr_digits='0123456789'
5316 as_cr_alnum=$as_cr_Letters$as_cr_digits
5321 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5322 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5324 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5325 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5326 as_echo='printf %s\n'
5327 as_echo_n='printf %s'
5329 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5330 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5331 as_echo_n='/usr/ucb/echo -n'
5333 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5334 as_echo_n_body='eval
5338 expr "X$arg" : "X\\(.*\\)$as_nl";
5339 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5341 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5343 export as_echo_n_body
5344 as_echo_n='sh -c $as_echo_n_body as_echo'
5347 as_echo='sh -c $as_echo_body as_echo'
5350 # The user is always right.
5351 if test "${PATH_SEPARATOR+set}" != set; then
5353 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5354 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5359 # Support unset when possible.
5360 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5368 # We need space, tab and new line, in precisely that order. Quoting is
5369 # there to prevent editors from complaining about space-tab.
5370 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5371 # splitting by setting IFS to empty value.)
5374 # Find who we are. Look in the path if we contain no directory separator.
5376 *[\\/]* ) as_myself=$0 ;;
5377 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5388 # We did not find ourselves, most probably we were run as `sh COMMAND'
5389 # in which case we are not to be found in the path.
5390 if test "x$as_myself" = x; then
5393 if test ! -f "$as_myself"; then
5394 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5395 { (exit 1); exit 1; }
5398 # Work around bugs in pre-3.0 UWIN ksh.
5399 for as_var in ENV MAIL MAILPATH
5400 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5412 # Required to use basename.
5413 if expr a : '\(a\)' >/dev/null 2>&1 &&
5414 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5420 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5421 as_basename=basename
5427 # Name of the executable.
5428 as_me=`$as_basename -- "$0" ||
5429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5430 X"$0" : 'X\(//\)$' \| \
5431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5433 sed '/^.*\/\([^/][^/]*\)\/*$/{
5454 test "x$as_lineno_1" != "x$as_lineno_2" &&
5455 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5457 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5458 # uniformly replaced by the line number. The first 'sed' inserts a
5459 # line-number line after each line using $LINENO; the second 'sed'
5460 # does the real work. The second script uses 'N' to pair each
5461 # line-number line with the line containing $LINENO, and appends
5462 # trailing '-' during substitution so that $LINENO is not a special
5464 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5465 # scripts with optimization help from Paolo Bonzini. Blame Lee
5466 # E. McMahon (1931-1989) for sed's syntax. :-)
5478 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5482 chmod +x "$as_me.lineno" ||
5483 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5484 { (exit 1); exit 1; }; }
5486 # Don't try to exec as it changes $[0], causing all sort of problems
5487 # (the dirname of $[0] is not the place where we might find the
5488 # original and so on. Autoconf is especially sensitive to this).
5490 # Exit status is that of the last command.
5495 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5501 ECHO_C= ECHO_N= ECHO_T=
5504 case `echo 'x\c'` in
5505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5511 if expr a : '\(a\)' >/dev/null 2>&1 &&
5512 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5518 rm -f conf$$ conf$$.exe conf$$.file
5519 if test -d conf$$.dir; then
5520 rm -f conf$$.dir/conf$$.file
5523 mkdir conf$$.dir 2>/dev/null
5525 if (echo >conf$$.file) 2>/dev/null; then
5526 if ln -s conf$$.file conf$$ 2>/dev/null; then
5528 # ... but there are two gotchas:
5529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5531 # In both cases, we have to default to `cp -p'.
5532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5534 elif ln conf$$.file conf$$ 2>/dev/null; then
5542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5543 rmdir conf$$.dir 2>/dev/null
5545 if mkdir -p . 2>/dev/null; then
5548 test -d ./-p && rmdir ./-p
5552 if test -x / >/dev/null 2>&1; then
5555 if ls -dL / >/dev/null 2>&1; then
5562 if test -d "$1"; then
5568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5569 ???[sx]*):;;*)false;;esac;fi
5573 as_executable_p=$as_test_x
5575 # Sed expression to map a string onto a valid CPP name.
5576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5578 # Sed expression to map a string onto a valid variable name.
5579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5584 # Save the log message, to keep $[0] and so on meaningful, and to
5585 # report actual input values of CONFIG_FILES etc. instead of their
5586 # values after options handling.
5588 This file was extended by $as_me, which was
5589 generated by GNU Autoconf 2.63. Invocation command line was
5591 CONFIG_FILES = $CONFIG_FILES
5592 CONFIG_HEADERS = $CONFIG_HEADERS
5593 CONFIG_LINKS = $CONFIG_LINKS
5594 CONFIG_COMMANDS = $CONFIG_COMMANDS
5597 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5602 case $ac_config_files in *"
5603 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609 # Files that config.status was made for.
5610 config_files="$ac_config_files"
5614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5616 \`$as_me' instantiates files from templates according to the
5617 current configuration.
5619 Usage: $0 [OPTION]... [FILE]...
5621 -h, --help print this help, then exit
5622 -V, --version print version number and configuration settings, then exit
5623 -q, --quiet, --silent
5624 do not print progress messages
5625 -d, --debug don't remove temporary files
5626 --recheck update $as_me by reconfiguring in the same conditions
5627 --file=FILE[:TEMPLATE]
5628 instantiate the configuration file FILE
5630 Configuration files:
5633 Report bugs to <bug-autoconf@gnu.org>."
5636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5639 configured by $0, generated by GNU Autoconf 2.63,
5640 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5642 Copyright (C) 2008 Free Software Foundation, Inc.
5643 This config.status script is free software; the Free Software Foundation
5644 gives unlimited permission to copy, distribute and modify it."
5649 test -n "\$AWK" || AWK=awk
5652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5653 # The default lists apply if the user does not specify any file.
5659 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5660 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5671 # Handling of the options.
5672 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5674 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5675 $as_echo "$ac_cs_version"; exit ;;
5676 --debug | --debu | --deb | --de | --d | -d )
5678 --file | --fil | --fi | --f )
5681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5683 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5684 ac_need_defaults=false;;
5685 --he | --h | --help | --hel | -h )
5686 $as_echo "$ac_cs_usage"; exit ;;
5687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5688 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5692 -*) { $as_echo "$as_me: error: unrecognized option: $1
5693 Try \`$0 --help' for more information." >&2
5694 { (exit 1); exit 1; }; } ;;
5696 *) ac_config_targets="$ac_config_targets $1"
5697 ac_need_defaults=false ;;
5703 ac_configure_extra_args=
5705 if $ac_cs_silent; then
5707 ac_configure_extra_args="$ac_configure_extra_args --silent"
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 if \$ac_cs_recheck; then
5713 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5715 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5716 CONFIG_SHELL='$SHELL'
5722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5726 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5727 ## Running $as_me. ##
5733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5738 # Handling of arguments.
5739 for ac_config_target in $ac_config_targets
5741 case $ac_config_target in
5742 "ld-elf2flt.sh") CONFIG_FILES="$CONFIG_FILES ld-elf2flt.sh:ld-elf2flt.in" ;;
5743 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5744 "elf2flt.ld") CONFIG_FILES="$CONFIG_FILES elf2flt.ld" ;;
5746 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5747 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5748 { (exit 1); exit 1; }; };;
5753 # If the user did not use the arguments to specify the items to instantiate,
5754 # then the envvar interface is used. Set only those that are not.
5755 # We use the long form for the default assignment because of an extremely
5756 # bizarre bug on SunOS 4.1.3.
5757 if $ac_need_defaults; then
5758 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5761 # Have a temporary directory for convenience. Make it in the build tree
5762 # simply because there is no reason against having it here, and in addition,
5763 # creating and moving files from /tmp can sometimes cause problems.
5764 # Hook for its removal unless debugging.
5765 # Note that there is a small window in which the directory will not be cleaned:
5766 # after its creation but before its name has been assigned to `$tmp'.
5770 trap 'exit_status=$?
5771 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5773 trap '{ (exit 1); exit 1; }' 1 2 13 15
5775 # Create a (secure) tmp directory for tmp files.
5778 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5779 test -n "$tmp" && test -d "$tmp"
5782 tmp=./conf$$-$RANDOM
5783 (umask 077 && mkdir "$tmp")
5786 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5787 { (exit 1); exit 1; }
5790 # Set up the scripts for CONFIG_FILES section.
5791 # No need to generate them if there are no CONFIG_FILES.
5792 # This happens for instance with `./config.status config.h'.
5793 if test -n "$CONFIG_FILES"; then
5797 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5798 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5804 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5809 echo "cat >conf$$subs.awk <<_ACEOF" &&
5810 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5813 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5814 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5815 { (exit 1); exit 1; }; }
5816 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5818 for ac_last_try in false false false false false :; do
5819 . ./conf$$subs.sh ||
5820 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5821 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5822 { (exit 1); exit 1; }; }
5824 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5825 if test $ac_delim_n = $ac_delim_num; then
5827 elif $ac_last_try; then
5828 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5829 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5830 { (exit 1); exit 1; }; }
5832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5838 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5842 s/^/S["/; s/!.*/"]=/
5852 s/\(.\{148\}\).*/\1/
5854 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5859 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5866 s/\(.\{148\}\).*/\1/
5868 s/["\\]/\\&/g; s/^/"/; s/$/"/
5872 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5877 ' <conf$$subs.awk | sed '
5882 ' >>$CONFIG_STATUS || ac_write_fail=1
5883 rm -f conf$$subs.awk
5884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5886 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5887 for (key in S) S_is_set[key] = 1
5893 nfields = split(line, field, "@")
5895 len = length(field[1])
5896 for (i = 2; i < nfields; i++) {
5898 keylen = length(key)
5899 if (S_is_set[key]) {
5901 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5902 len += length(value) + length(field[++i])
5913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5914 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5915 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5918 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5919 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5920 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5921 { (exit 1); exit 1; }; }
5924 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5925 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5926 # trailing colons and then remove the whole line if VPATH becomes empty
5927 # (actually we leave an empty line to preserve line numbers).
5928 if test "x$srcdir" = x.; then
5929 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5933 s/^\([^=]*=[ ]*\):*/\1/
5939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5940 fi # test -n "$CONFIG_FILES"
5943 eval set X " :F $CONFIG_FILES "
5948 :[FHLC]) ac_mode=$ac_tag; continue;;
5950 case $ac_mode$ac_tag in
5952 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5953 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5954 { (exit 1); exit 1; }; };;
5955 :[FH]-) ac_tag=-:-;;
5956 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5973 -) ac_f="$tmp/stdin";;
5974 *) # Look for the file first in the build tree, then in the source tree
5975 # (if the path is not absolute). The absolute path cannot be DOS-style,
5976 # because $ac_f cannot contain `:'.
5980 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5982 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5983 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5984 { (exit 1); exit 1; }; };;
5986 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5987 ac_file_inputs="$ac_file_inputs '$ac_f'"
5990 # Let's still pretend it is `configure' which instantiates (i.e., don't
5991 # use $as_me), people would be surprised to read:
5992 # /* config.h. Generated by config.status. */
5993 configure_input='Generated from '`
5994 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5996 if test x"$ac_file" != x-; then
5997 configure_input="$ac_file. $configure_input"
5998 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5999 $as_echo "$as_me: creating $ac_file" >&6;}
6001 # Neutralize special characters interpreted by sed in replacement strings.
6002 case $configure_input in #(
6003 *\&* | *\|* | *\\* )
6004 ac_sed_conf_input=`$as_echo "$configure_input" |
6005 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6006 *) ac_sed_conf_input=$configure_input;;
6010 *:-:* | *:-) cat >"$tmp/stdin" \
6011 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6012 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6013 { (exit 1); exit 1; }; } ;;
6018 ac_dir=`$as_dirname -- "$ac_file" ||
6019 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6020 X"$ac_file" : 'X\(//\)[^/]' \| \
6021 X"$ac_file" : 'X\(//\)$' \| \
6022 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6023 $as_echo X"$ac_file" |
6024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6043 -*) as_dir=./$as_dir;;
6045 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6049 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6050 *) as_qdir=$as_dir;;
6052 as_dirs="'$as_qdir' $as_dirs"
6053 as_dir=`$as_dirname -- "$as_dir" ||
6054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6055 X"$as_dir" : 'X\(//\)[^/]' \| \
6056 X"$as_dir" : 'X\(//\)$' \| \
6057 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6058 $as_echo X"$as_dir" |
6059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6076 test -d "$as_dir" && break
6078 test -z "$as_dirs" || eval "mkdir $as_dirs"
6079 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6080 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6081 { (exit 1); exit 1; }; }; }
6085 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6087 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6088 # A ".." for each directory in $ac_dir_suffix.
6089 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6090 case $ac_top_builddir_sub in
6091 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6092 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6095 ac_abs_top_builddir=$ac_pwd
6096 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6097 # for backward compatibility:
6098 ac_top_builddir=$ac_top_build_prefix
6101 .) # We are building in place.
6103 ac_top_srcdir=$ac_top_builddir_sub
6104 ac_abs_top_srcdir=$ac_pwd ;;
6105 [\\/]* | ?:[\\/]* ) # Absolute name.
6106 ac_srcdir=$srcdir$ac_dir_suffix;
6107 ac_top_srcdir=$srcdir
6108 ac_abs_top_srcdir=$srcdir ;;
6110 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6111 ac_top_srcdir=$ac_top_build_prefix$srcdir
6112 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6114 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6124 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6125 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6130 # If the template does not know about datarootdir, expand it.
6131 # FIXME: This hack should be removed a few years after 2.60.
6132 ac_datarootdir_hack=; ac_datarootdir_seen=
6145 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6146 *datarootdir*) ac_datarootdir_seen=yes;;
6147 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6148 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6149 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6152 ac_datarootdir_hack='
6153 s&@datadir@&$datadir&g
6154 s&@docdir@&$docdir&g
6155 s&@infodir@&$infodir&g
6156 s&@localedir@&$localedir&g
6157 s&@mandir@&$mandir&g
6158 s&\\\${datarootdir}&$datarootdir&g' ;;
6162 # Neutralize VPATH when `$srcdir' = `.'.
6163 # Shell code in configure.ac might set extrasub.
6164 # FIXME: do we really want to maintain this feature?
6165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6166 ac_sed_extra="$ac_vpsub
6169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6172 s|@configure_input@|$ac_sed_conf_input|;t t
6173 s&@top_builddir@&$ac_top_builddir_sub&;t t
6174 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6175 s&@srcdir@&$ac_srcdir&;t t
6176 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6177 s&@top_srcdir@&$ac_top_srcdir&;t t
6178 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6179 s&@builddir@&$ac_builddir&;t t
6180 s&@abs_builddir@&$ac_abs_builddir&;t t
6181 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6182 s&@INSTALL@&$ac_INSTALL&;t t
6183 $ac_datarootdir_hack
6185 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6186 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6187 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6188 { (exit 1); exit 1; }; }
6190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6191 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6193 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6194 which seems to be undefined. Please make sure it is defined." >&5
6195 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6196 which seems to be undefined. Please make sure it is defined." >&2;}
6200 -) cat "$tmp/out" && rm -f "$tmp/out";;
6201 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6203 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6204 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6205 { (exit 1); exit 1; }; }
6215 { (exit 0); exit 0; }
6217 chmod +x $CONFIG_STATUS
6218 ac_clean_files=$ac_clean_files_save
6220 test $ac_write_fail = 0 ||
6221 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6222 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6223 { (exit 1); exit 1; }; }
6226 # configure is writing to config.log, and then calls config.status.
6227 # config.status does its own redirection, appending to config.log.
6228 # Unfortunately, on DOS this fails, as config.log is still kept open
6229 # by configure, so config.status won't be able to write to it; its
6230 # output is simply discarded. So we exec the FD to /dev/null,
6231 # effectively closing config.log, so it can be properly (re)opened and
6232 # appended to by config.status. When coming back to configure, we
6233 # need to make the FD available again.
6234 if test "$no_create" != yes; then
6236 ac_config_status_args=
6237 test "$silent" = yes &&
6238 ac_config_status_args="$ac_config_status_args --quiet"
6240 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6243 # would make configure fail if this is the last instruction.
6244 $ac_cs_success || { (exit 1); exit 1; }
6246 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6247 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6248 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}