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
643 binutils_ldscript_dir
699 program_transform_name
711 enable_option_checking
716 with_binutils_include_dir
717 with_binutils_ldscript_dir
718 with_binutils_build_dir
722 ac_precious_vars='build_alias
733 # Initialize some variables set by options.
735 ac_init_version=false
736 ac_unrecognized_opts=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
747 program_transform_name=s,x,x,
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir='${exec_prefix}/bin'
762 sbindir='${exec_prefix}/sbin'
763 libexecdir='${exec_prefix}/libexec'
764 datarootdir='${prefix}/share'
765 datadir='${datarootdir}'
766 sysconfdir='${prefix}/etc'
767 sharedstatedir='${prefix}/com'
768 localstatedir='${prefix}/var'
769 includedir='${prefix}/include'
770 oldincludedir='/usr/include'
771 docdir='${datarootdir}/doc/${PACKAGE}'
772 infodir='${datarootdir}/info'
777 libdir='${exec_prefix}/lib'
778 localedir='${datarootdir}/locale'
779 mandir='${datarootdir}/man'
785 # If the previous option needs an argument, assign it.
786 if test -n "$ac_prev"; then
787 eval $ac_prev=\$ac_option
793 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
797 # Accept the important Cygnus configure options, so we can diagnose typos.
799 case $ac_dashdash$ac_option in
803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808 -build | --build | --buil | --bui | --bu)
809 ac_prev=build_alias ;;
810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811 build_alias=$ac_optarg ;;
813 -cache-file | --cache-file | --cache-fil | --cache-fi \
814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815 ac_prev=cache_file ;;
816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818 cache_file=$ac_optarg ;;
821 cache_file=config.cache ;;
823 -datadir | --datadir | --datadi | --datad)
825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
826 datadir=$ac_optarg ;;
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
835 -disable-* | --disable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
840 { (exit 1); exit 1; }; }
841 ac_useropt_orig=$ac_useropt
842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
848 ac_unrecognized_sep=', ';;
850 eval enable_$ac_useropt=no ;;
852 -docdir | --docdir | --docdi | --doc | --do)
854 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
859 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862 -enable-* | --enable-*)
863 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
866 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
867 { (exit 1); exit 1; }; }
868 ac_useropt_orig=$ac_useropt
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
875 ac_unrecognized_sep=', ';;
877 eval enable_$ac_useropt=\$ac_optarg ;;
879 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
880 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
881 | --exec | --exe | --ex)
882 ac_prev=exec_prefix ;;
883 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
884 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
885 | --exec=* | --exe=* | --ex=*)
886 exec_prefix=$ac_optarg ;;
888 -gas | --gas | --ga | --g)
889 # Obsolete; use --with-gas.
892 -help | --help | --hel | --he | -h)
894 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
895 ac_init_help=recursive ;;
896 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
897 ac_init_help=short ;;
899 -host | --host | --hos | --ho)
900 ac_prev=host_alias ;;
901 -host=* | --host=* | --hos=* | --ho=*)
902 host_alias=$ac_optarg ;;
904 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
906 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
908 htmldir=$ac_optarg ;;
910 -includedir | --includedir | --includedi | --included | --include \
911 | --includ | --inclu | --incl | --inc)
912 ac_prev=includedir ;;
913 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
914 | --includ=* | --inclu=* | --incl=* | --inc=*)
915 includedir=$ac_optarg ;;
917 -infodir | --infodir | --infodi | --infod | --info | --inf)
919 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
920 infodir=$ac_optarg ;;
922 -libdir | --libdir | --libdi | --libd)
924 -libdir=* | --libdir=* | --libdi=* | --libd=*)
927 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
928 | --libexe | --libex | --libe)
929 ac_prev=libexecdir ;;
930 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
931 | --libexe=* | --libex=* | --libe=*)
932 libexecdir=$ac_optarg ;;
934 -localedir | --localedir | --localedi | --localed | --locale)
936 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
937 localedir=$ac_optarg ;;
939 -localstatedir | --localstatedir | --localstatedi | --localstated \
940 | --localstate | --localstat | --localsta | --localst | --locals)
941 ac_prev=localstatedir ;;
942 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
943 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
944 localstatedir=$ac_optarg ;;
946 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
948 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
952 # Obsolete; use --without-fp.
955 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
956 | --no-cr | --no-c | -n)
959 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
960 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
963 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
964 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
965 | --oldin | --oldi | --old | --ol | --o)
966 ac_prev=oldincludedir ;;
967 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
968 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
969 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
970 oldincludedir=$ac_optarg ;;
972 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
974 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
977 -program-prefix | --program-prefix | --program-prefi | --program-pref \
978 | --program-pre | --program-pr | --program-p)
979 ac_prev=program_prefix ;;
980 -program-prefix=* | --program-prefix=* | --program-prefi=* \
981 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
982 program_prefix=$ac_optarg ;;
984 -program-suffix | --program-suffix | --program-suffi | --program-suff \
985 | --program-suf | --program-su | --program-s)
986 ac_prev=program_suffix ;;
987 -program-suffix=* | --program-suffix=* | --program-suffi=* \
988 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
989 program_suffix=$ac_optarg ;;
991 -program-transform-name | --program-transform-name \
992 | --program-transform-nam | --program-transform-na \
993 | --program-transform-n | --program-transform- \
994 | --program-transform | --program-transfor \
995 | --program-transfo | --program-transf \
996 | --program-trans | --program-tran \
997 | --progr-tra | --program-tr | --program-t)
998 ac_prev=program_transform_name ;;
999 -program-transform-name=* | --program-transform-name=* \
1000 | --program-transform-nam=* | --program-transform-na=* \
1001 | --program-transform-n=* | --program-transform-=* \
1002 | --program-transform=* | --program-transfor=* \
1003 | --program-transfo=* | --program-transf=* \
1004 | --program-trans=* | --program-tran=* \
1005 | --progr-tra=* | --program-tr=* | --program-t=*)
1006 program_transform_name=$ac_optarg ;;
1008 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1010 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1011 pdfdir=$ac_optarg ;;
1013 -psdir | --psdir | --psdi | --psd | --ps)
1015 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1026 sbindir=$ac_optarg ;;
1028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1030 | --sharedst | --shareds | --shared | --share | --shar \
1032 ac_prev=sharedstatedir ;;
1033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1037 sharedstatedir=$ac_optarg ;;
1039 -site | --site | --sit)
1041 -site=* | --site=* | --sit=*)
1044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1047 srcdir=$ac_optarg ;;
1049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1050 | --syscon | --sysco | --sysc | --sys | --sy)
1051 ac_prev=sysconfdir ;;
1052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1054 sysconfdir=$ac_optarg ;;
1056 -target | --target | --targe | --targ | --tar | --ta | --t)
1057 ac_prev=target_alias ;;
1058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1059 target_alias=$ac_optarg ;;
1061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1064 -version | --version | --versio | --versi | --vers | -V)
1065 ac_init_version=: ;;
1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1072 { (exit 1); exit 1; }; }
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval with_$ac_useropt=\$ac_optarg ;;
1084 -without-* | --without-*)
1085 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval with_$ac_useropt=no ;;
1102 # Obsolete; use --with-x.
1105 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1106 | --x-incl | --x-inc | --x-in | --x-i)
1107 ac_prev=x_includes ;;
1108 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1109 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1110 x_includes=$ac_optarg ;;
1112 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1113 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1114 ac_prev=x_libraries ;;
1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1117 x_libraries=$ac_optarg ;;
1119 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1120 Try \`$0 --help' for more information." >&2
1121 { (exit 1); exit 1; }; }
1125 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1128 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1129 { (exit 1); exit 1; }; }
1130 eval $ac_envvar=\$ac_optarg
1131 export $ac_envvar ;;
1134 # FIXME: should be removed in autoconf 3.0.
1135 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1137 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144 if test -n "$ac_prev"; then
1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1146 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1147 { (exit 1); exit 1; }; }
1150 if test -n "$ac_unrecognized_opts"; then
1151 case $enable_option_checking in
1153 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1154 { (exit 1); exit 1; }; } ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 # Check all directory arguments for consistency.
1160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1161 datadir sysconfdir sharedstatedir localstatedir includedir \
1162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1163 libdir localedir mandir
1165 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1172 # Be sure to have absolute directory names.
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1177 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x; then
1190 if test "x$build_alias" = x; then
1191 cross_compiling=maybe
1192 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1283 \`configure' configures this package to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1341 --build=BUILD configure for building on BUILD [guessed]
1342 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1343 --target=TARGET configure for building compilers for TARGET [HOST]
1347 if test -n "$ac_init_help"; then
1352 --disable-option-checking ignore unrecognized --enable/--with options
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --disable-got-check - disable check for GOT (needed on H8)
1356 --disable-emit-relocs - don't use the --emit-relocs (-q) linker option
1359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1361 --with-zlib-prefix=<dir> path to installed zlib
1362 --with-libbfd=<file> path to libbfd.a library to use
1363 --with-libiberty=<file> path to libiberty.a library to use
1364 --with-bfd-include-dir=<dir> include path for correct bfd.h
1365 --with-binutils-include-dir=<dir> include path for binutils headers
1366 --with-binutils-ldscript-dir=<dir> path to install elf2flt.ld
1367 --with-binutils-build-dir=<dir> path to compiled binutils tree
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1379 Use these variables to override the choices made by `configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1386 if test "$ac_init_help" = "recursive"; then
1387 # If there are subdirs, report their specific --help.
1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1389 test -d "$ac_dir" ||
1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1411 .) # We are building in place.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1445 generated by GNU Autoconf 2.63
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by $as_me, which was
1459 generated by GNU Autoconf 2.63. Invocation command line was
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 $as_echo "PATH: $as_dir"
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_must_keep_next=false
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1530 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548 -* ) ac_must_keep_next=true ;;
1551 ac_configure_args="$ac_configure_args '$ac_arg'"
1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1582 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1583 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1586 _ | IFS | as_nl) ;; #(
1587 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 $as_echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 $as_echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 $as_echo "$as_me: caught signal $ac_signal"
1653 $as_echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer an explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 ac_site_file1=$CONFIG_SITE
1700 elif test "x$prefix" != xNONE; then
1701 ac_site_file1=$prefix/share/config.site
1702 ac_site_file2=$prefix/etc/config.site
1704 ac_site_file1=$ac_default_prefix/share/config.site
1705 ac_site_file2=$ac_default_prefix/etc/config.site
1707 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1709 test "x$ac_site_file" = xNONE && continue
1710 if test -r "$ac_site_file"; then
1711 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1712 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1713 sed 's/^/| /' "$ac_site_file" >&5
1718 if test -r "$cache_file"; then
1719 # Some versions of bash will fail to source /dev/null (special
1720 # files actually), so we avoid doing that.
1721 if test -f "$cache_file"; then
1722 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1723 $as_echo "$as_me: loading cache $cache_file" >&6;}
1725 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1726 *) . "./$cache_file";;
1730 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1731 $as_echo "$as_me: creating cache $cache_file" >&6;}
1735 # Check that the precious variables saved in the cache have kept the same
1737 ac_cache_corrupted=false
1738 for ac_var in $ac_precious_vars; do
1739 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1740 eval ac_new_set=\$ac_env_${ac_var}_set
1741 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1742 eval ac_new_val=\$ac_env_${ac_var}_value
1743 case $ac_old_set,$ac_new_set in
1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1749 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1750 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1751 ac_cache_corrupted=: ;;
1754 if test "x$ac_old_val" != "x$ac_new_val"; then
1755 # differences in whitespace do not lead to failure.
1756 ac_old_val_w=`echo x $ac_old_val`
1757 ac_new_val_w=`echo x $ac_new_val`
1758 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1759 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1760 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1761 ac_cache_corrupted=:
1763 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1764 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1765 eval $ac_var=\$ac_old_val
1767 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1768 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1769 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1770 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1773 # Pass precious variables to config.status.
1774 if test "$ac_new_set" = set; then
1776 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 *) ac_arg=$ac_var=$ac_new_val ;;
1779 case " $ac_configure_args " in
1780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1781 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1785 if $ac_cache_corrupted; then
1786 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1788 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1812 ac_cpp='$CPP $CPPFLAGS'
1813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1820 # Check whether --with-zlib-prefix was given.
1821 if test "${with_zlib_prefix+set}" = set; then
1822 withval=$with_zlib_prefix; ac_zlib_prefix=$withval
1830 # Check whether --with-libbfd was given.
1831 if test "${with_libbfd+set}" = set; then
1832 withval=$with_libbfd; ac_libbfd=$withval
1840 # Check whether --with-libiberty was given.
1841 if test "${with_libiberty+set}" = set; then
1842 withval=$with_libiberty; ac_libiberty=$withval
1850 # Check whether --with-bfd-include-dir was given.
1851 if test "${with_bfd_include_dir+set}" = set; then
1852 withval=$with_bfd_include_dir; ac_bfd_include_dir=$withval
1854 ac_bfd_include_dir=NONE
1860 # Check whether --with-binutils-include-dir was given.
1861 if test "${with_binutils_include_dir+set}" = set; then
1862 withval=$with_binutils_include_dir; ac_binutils_include_dir=$withval
1864 ac_binutils_include_dir=NONE
1870 # Check whether --with-binutils-ldscript-dir was given.
1871 if test "${with_binutils_ldscript_dir+set}" = set; then
1872 withval=$with_binutils_ldscript_dir; ac_binutils_ldscript_dir=$withval
1874 ac_binutils_ldscript_dir=NONE
1880 # Check whether --with-binutils-build-dir was given.
1881 if test "${with_binutils_build_dir+set}" = set; then
1882 withval=$with_binutils_build_dir; ac_binutils_build_dir=$withval
1884 ac_binutils_build_dir=NONE
1889 # Check whether --enable-got-check was given.
1890 if test "${enable_got_check+set}" = set; then
1891 enableval=$enable_got_check; got_check=$enableval
1898 # Check whether --enable-emit_relocs was given.
1899 if test "${enable_emit_relocs+set}" = set; then
1900 enableval=$enable_emit_relocs; emit_relocs=$enableval
1908 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1909 if test -f "$ac_dir/install-sh"; then
1911 ac_install_sh="$ac_aux_dir/install-sh -c"
1913 elif test -f "$ac_dir/install.sh"; then
1915 ac_install_sh="$ac_aux_dir/install.sh -c"
1917 elif test -f "$ac_dir/shtool"; then
1919 ac_install_sh="$ac_aux_dir/shtool install -c"
1923 if test -z "$ac_aux_dir"; then
1924 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1925 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1926 { (exit 1); exit 1; }; }
1929 # These three variables are undocumented and unsupported,
1930 # and are intended to be withdrawn in a future Autoconf release.
1931 # They can cause serious problems if a builder's source tree is in a directory
1932 # whose full name contains unusual characters.
1933 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1934 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1935 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1938 # Make sure we can run config.sub.
1939 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1940 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1941 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1942 { (exit 1); exit 1; }; }
1944 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1945 $as_echo_n "checking build system type... " >&6; }
1946 if test "${ac_cv_build+set}" = set; then
1947 $as_echo_n "(cached) " >&6
1949 ac_build_alias=$build_alias
1950 test "x$ac_build_alias" = x &&
1951 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1952 test "x$ac_build_alias" = x &&
1953 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1954 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1955 { (exit 1); exit 1; }; }
1956 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1957 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1958 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1959 { (exit 1); exit 1; }; }
1962 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1963 $as_echo "$ac_cv_build" >&6; }
1964 case $ac_cv_build in
1966 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1967 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1968 { (exit 1); exit 1; }; };;
1971 ac_save_IFS=$IFS; IFS='-'
1977 # Remember, the first character of IFS is used to create $*,
1978 # except with old shells:
1981 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1984 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1985 $as_echo_n "checking host system type... " >&6; }
1986 if test "${ac_cv_host+set}" = set; then
1987 $as_echo_n "(cached) " >&6
1989 if test "x$host_alias" = x; then
1990 ac_cv_host=$ac_cv_build
1992 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1993 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1994 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1995 { (exit 1); exit 1; }; }
1999 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2000 $as_echo "$ac_cv_host" >&6; }
2003 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2004 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2005 { (exit 1); exit 1; }; };;
2008 ac_save_IFS=$IFS; IFS='-'
2014 # Remember, the first character of IFS is used to create $*,
2015 # except with old shells:
2018 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2021 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2022 $as_echo_n "checking target system type... " >&6; }
2023 if test "${ac_cv_target+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2026 if test "x$target_alias" = x; then
2027 ac_cv_target=$ac_cv_host
2029 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2030 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2031 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2032 { (exit 1); exit 1; }; }
2036 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2037 $as_echo "$ac_cv_target" >&6; }
2038 case $ac_cv_target in
2040 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2041 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2042 { (exit 1); exit 1; }; };;
2044 target=$ac_cv_target
2045 ac_save_IFS=$IFS; IFS='-'
2051 # Remember, the first character of IFS is used to create $*,
2052 # except with old shells:
2055 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2058 # The aliases save the names the user supplied, while $host etc.
2059 # will get canonicalized.
2060 test -n "$target_alias" &&
2061 test "$program_prefix$program_suffix$program_transform_name" = \
2063 program_prefix=${target_alias}-
2066 ac_cpp='$CPP $CPPFLAGS'
2067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2070 if test -n "$ac_tool_prefix"; then
2071 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 $as_echo_n "checking for $ac_word... " >&6; }
2075 if test "${ac_cv_prog_CC+set}" = set; then
2076 $as_echo_n "(cached) " >&6
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC="$CC" # Let the user override the test.
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 if test -n "$CC"; then
2100 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2101 $as_echo "$CC" >&6; }
2103 { $as_echo "$as_me:$LINENO: result: no" >&5
2104 $as_echo "no" >&6; }
2109 if test -z "$ac_cv_prog_CC"; then
2111 # Extract the first word of "gcc", so it can be a program name with args.
2112 set dummy gcc; ac_word=$2
2113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2116 $as_echo_n "(cached) " >&6
2118 if test -n "$ac_ct_CC"; then
2119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_ac_ct_CC="gcc"
2129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2139 if test -n "$ac_ct_CC"; then
2140 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2141 $as_echo "$ac_ct_CC" >&6; }
2143 { $as_echo "$as_me:$LINENO: result: no" >&5
2144 $as_echo "no" >&6; }
2147 if test "x$ac_ct_CC" = x; then
2150 case $cross_compiling:$ac_tool_warned in
2152 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2154 ac_tool_warned=yes ;;
2162 if test -z "$CC"; then
2163 if test -n "$ac_tool_prefix"; then
2164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2165 set dummy ${ac_tool_prefix}cc; ac_word=$2
2166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 $as_echo_n "checking for $ac_word... " >&6; }
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 $as_echo_n "(cached) " >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC="${ac_tool_prefix}cc"
2182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2194 $as_echo "$CC" >&6; }
2196 { $as_echo "$as_me:$LINENO: result: no" >&5
2197 $as_echo "no" >&6; }
2203 if test -z "$CC"; then
2204 # Extract the first word of "cc", so it can be a program name with args.
2205 set dummy cc; ac_word=$2
2206 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2207 $as_echo_n "checking for $ac_word... " >&6; }
2208 if test "${ac_cv_prog_CC+set}" = set; then
2209 $as_echo_n "(cached) " >&6
2211 if test -n "$CC"; then
2212 ac_cv_prog_CC="$CC" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2223 ac_prog_rejected=yes
2227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 if test $ac_prog_rejected = yes; then
2235 # We found a bogon in the path, so make sure we never use it.
2236 set dummy $ac_cv_prog_CC
2238 if test $# != 0; then
2239 # We chose a different compiler from the bogus one.
2240 # However, it has the same basename, so the bogon will be chosen
2241 # first if we set CC to just the basename; use the full file name.
2243 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2249 if test -n "$CC"; then
2250 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2251 $as_echo "$CC" >&6; }
2253 { $as_echo "$as_me:$LINENO: result: no" >&5
2254 $as_echo "no" >&6; }
2259 if test -z "$CC"; then
2260 if test -n "$ac_tool_prefix"; then
2261 for ac_prog in cl.exe
2263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 $as_echo_n "checking for $ac_word... " >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 $as_echo_n "(cached) " >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 if test -n "$CC"; then
2292 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2293 $as_echo "$CC" >&6; }
2295 { $as_echo "$as_me:$LINENO: result: no" >&5
2296 $as_echo "no" >&6; }
2300 test -n "$CC" && break
2303 if test -z "$CC"; then
2305 for ac_prog in cl.exe
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 $as_echo_n "checking for $ac_word... " >&6; }
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 $as_echo_n "(cached) " >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_CC="$ac_prog"
2325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2335 if test -n "$ac_ct_CC"; then
2336 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337 $as_echo "$ac_ct_CC" >&6; }
2339 { $as_echo "$as_me:$LINENO: result: no" >&5
2340 $as_echo "no" >&6; }
2344 test -n "$ac_ct_CC" && break
2347 if test "x$ac_ct_CC" = x; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2354 ac_tool_warned=yes ;;
2363 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }; }
2371 # Provide some information about the compiler.
2372 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2375 { (ac_try="$ac_compiler --version >&5"
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2381 $as_echo "$ac_try_echo") >&5
2382 (eval "$ac_compiler --version >&5") 2>&5
2384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2386 { (ac_try="$ac_compiler -v >&5"
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2392 $as_echo "$ac_try_echo") >&5
2393 (eval "$ac_compiler -v >&5") 2>&5
2395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }
2397 { (ac_try="$ac_compiler -V >&5"
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2403 $as_echo "$ac_try_echo") >&5
2404 (eval "$ac_compiler -V >&5") 2>&5
2406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }
2409 cat >conftest.$ac_ext <<_ACEOF
2412 cat confdefs.h >>conftest.$ac_ext
2413 cat >>conftest.$ac_ext <<_ACEOF
2414 /* end confdefs.h. */
2424 ac_clean_files_save=$ac_clean_files
2425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2426 # Try to create an executable without -o first, disregard a.out.
2427 # It will help us diagnose broken compilers, and finding out an intuition
2429 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2430 $as_echo_n "checking for C compiler default output file name... " >&6; }
2431 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2433 # The possible output files:
2434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2437 for ac_file in $ac_files
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2446 if { (ac_try="$ac_link_default"
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2452 $as_echo "$ac_try_echo") >&5
2453 (eval "$ac_link_default") 2>&5
2455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2462 for ac_file in $ac_files ''
2464 test -f "$ac_file" || continue
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2469 # We found the default executable, but exeext='' is most
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
2493 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2494 $as_echo "$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 $as_echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2501 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&5
2503 $as_echo "$as_me: error: C compiler cannot create executables
2504 See \`config.log' for more details." >&2;}
2505 { (exit 77); exit 77; }; }; }
2508 ac_exeext=$ac_cv_exeext
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2513 $as_echo_n "checking whether the C compiler works... " >&6; }
2514 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2515 # If not cross compiling, check that we can run a simple program.
2516 if test "$cross_compiling" != yes; then
2517 if { ac_try='./$ac_file'
2518 { (case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2523 $as_echo "$ac_try_echo") >&5
2524 (eval "$ac_try") 2>&5
2526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2530 if test "$cross_compiling" = maybe; then
2533 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2536 If you meant to cross compile, use \`--host'.
2537 See \`config.log' for more details." >&5
2538 $as_echo "$as_me: error: cannot run C compiled programs.
2539 If you meant to cross compile, use \`--host'.
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }; }
2545 { $as_echo "$as_me:$LINENO: result: yes" >&5
2546 $as_echo "yes" >&6; }
2548 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2549 ac_clean_files=$ac_clean_files_save
2550 # Check that the compiler produces executables we can run. If not, either
2551 # the compiler is broken, or we cross compile.
2552 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2553 $as_echo_n "checking whether we are cross compiling... " >&6; }
2554 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2555 $as_echo "$cross_compiling" >&6; }
2557 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2558 $as_echo_n "checking for suffix of executables... " >&6; }
2559 if { (ac_try="$ac_link"
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2565 $as_echo "$ac_try_echo") >&5
2566 (eval "$ac_link") 2>&5
2568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; then
2570 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2571 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2572 # work properly (i.e., refer to `conftest.exe'), while it won't with
2574 for ac_file in conftest.exe conftest conftest.*; do
2575 test -f "$ac_file" || continue
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2578 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2584 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2587 See \`config.log' for more details." >&5
2588 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }; }
2593 rm -f conftest$ac_cv_exeext
2594 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2595 $as_echo "$ac_cv_exeext" >&6; }
2597 rm -f conftest.$ac_ext
2598 EXEEXT=$ac_cv_exeext
2600 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2601 $as_echo_n "checking for suffix of object files... " >&6; }
2602 if test "${ac_cv_objext+set}" = set; then
2603 $as_echo_n "(cached) " >&6
2605 cat >conftest.$ac_ext <<_ACEOF
2608 cat confdefs.h >>conftest.$ac_ext
2609 cat >>conftest.$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2620 rm -f conftest.o conftest.obj
2621 if { (ac_try="$ac_compile"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2627 $as_echo "$ac_try_echo") >&5
2628 (eval "$ac_compile") 2>&5
2630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; then
2632 for ac_file in conftest.o conftest.obj conftest.*; do
2633 test -f "$ac_file" || continue;
2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2636 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2641 $as_echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.$ac_ext >&5
2644 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2646 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2647 See \`config.log' for more details." >&5
2648 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2649 See \`config.log' for more details." >&2;}
2650 { (exit 1); exit 1; }; }; }
2653 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2655 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2656 $as_echo "$ac_cv_objext" >&6; }
2657 OBJEXT=$ac_cv_objext
2659 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2660 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2661 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2662 $as_echo_n "(cached) " >&6
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2682 rm -f conftest.$ac_objext
2683 if { (ac_try="$ac_compile"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_compile") 2>conftest.er1
2692 grep -v '^ *+' conftest.er1 >conftest.err
2694 cat conftest.err >&5
2695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); } && {
2697 test -z "$ac_c_werror_flag" ||
2698 test ! -s conftest.err
2699 } && test -s conftest.$ac_objext; then
2702 $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2712 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2713 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2714 if test $ac_compiler_gnu = yes; then
2719 ac_test_CFLAGS=${CFLAGS+set}
2720 ac_save_CFLAGS=$CFLAGS
2721 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2722 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2723 if test "${ac_cv_prog_cc_g+set}" = set; then
2724 $as_echo_n "(cached) " >&6
2726 ac_save_c_werror_flag=$ac_c_werror_flag
2727 ac_c_werror_flag=yes
2730 cat >conftest.$ac_ext <<_ACEOF
2733 cat confdefs.h >>conftest.$ac_ext
2734 cat >>conftest.$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2745 rm -f conftest.$ac_objext
2746 if { (ac_try="$ac_compile"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2752 $as_echo "$ac_try_echo") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1 >conftest.err
2757 cat conftest.err >&5
2758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2769 cat >conftest.$ac_ext <<_ACEOF
2772 cat confdefs.h >>conftest.$ac_ext
2773 cat >>conftest.$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2784 rm -f conftest.$ac_objext
2785 if { (ac_try="$ac_compile"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2791 $as_echo "$ac_try_echo") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 $as_echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2807 ac_c_werror_flag=$ac_save_c_werror_flag
2809 cat >conftest.$ac_ext <<_ACEOF
2812 cat confdefs.h >>conftest.$ac_ext
2813 cat >>conftest.$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2824 rm -f conftest.$ac_objext
2825 if { (ac_try="$ac_compile"
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2831 $as_echo "$ac_try_echo") >&5
2832 (eval "$ac_compile") 2>conftest.er1
2834 grep -v '^ *+' conftest.er1 >conftest.err
2836 cat conftest.err >&5
2837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } && {
2839 test -z "$ac_c_werror_flag" ||
2840 test ! -s conftest.err
2841 } && test -s conftest.$ac_objext; then
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 ac_c_werror_flag=$ac_save_c_werror_flag
2859 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2860 $as_echo "$ac_cv_prog_cc_g" >&6; }
2861 if test "$ac_test_CFLAGS" = set; then
2862 CFLAGS=$ac_save_CFLAGS
2863 elif test $ac_cv_prog_cc_g = yes; then
2864 if test "$GCC" = yes; then
2870 if test "$GCC" = yes; then
2876 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2877 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2878 if test "${ac_cv_prog_cc_c89+set}" = set; then
2879 $as_echo_n "(cached) " >&6
2881 ac_cv_prog_cc_c89=no
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 #include <sys/types.h>
2892 #include <sys/stat.h>
2893 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2894 struct buf { int x; };
2895 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2896 static char *e (p, i)
2902 static char *f (char * (*g) (char **, int), char **p, ...)
2907 s = g (p, va_arg (v,int));
2912 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2913 function prototypes and stuff, but not '\xHH' hex character constants.
2914 These don't provoke an error unfortunately, instead are silently treated
2915 as 'x'. The following induces an error, until -std is added to get
2916 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2917 array size at least. It's necessary to write '\x00'==0 to get something
2918 that's true only with -std. */
2919 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2921 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2922 inside strings and character constants. */
2924 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2926 int test (int i, double x);
2927 struct s1 {int (*f) (int a);};
2928 struct s2 {int (*f) (double a);};
2929 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2935 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2940 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2941 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2943 CC="$ac_save_CC $ac_arg"
2944 rm -f conftest.$ac_objext
2945 if { (ac_try="$ac_compile"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2951 $as_echo "$ac_try_echo") >&5
2952 (eval "$ac_compile") 2>conftest.er1
2954 grep -v '^ *+' conftest.er1 >conftest.err
2956 cat conftest.err >&5
2957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && {
2959 test -z "$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2961 } && test -s conftest.$ac_objext; then
2962 ac_cv_prog_cc_c89=$ac_arg
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2970 rm -f core conftest.err conftest.$ac_objext
2971 test "x$ac_cv_prog_cc_c89" != "xno" && break
2973 rm -f conftest.$ac_ext
2978 case "x$ac_cv_prog_cc_c89" in
2980 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2981 $as_echo "none needed" >&6; } ;;
2983 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2984 $as_echo "unsupported" >&6; } ;;
2986 CC="$CC $ac_cv_prog_cc_c89"
2987 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2988 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2993 ac_cpp='$CPP $CPPFLAGS'
2994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998 # Find a good install program. We prefer a C program (faster),
2999 # so one script is as good as another. But avoid the broken or
3000 # incompatible versions:
3001 # SysV /etc/install, /usr/sbin/install
3002 # SunOS /usr/etc/install
3003 # IRIX /sbin/install
3005 # AmigaOS /C/install, which installs bootblocks on floppy discs
3006 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3007 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3008 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3009 # OS/2's system install, which has a completely different semantic
3010 # ./install, which can be erroneously created by make from ./install.sh.
3011 # Reject install programs that cannot install multiple files.
3012 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3013 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3014 if test -z "$INSTALL"; then
3015 if test "${ac_cv_path_install+set}" = set; then
3016 $as_echo_n "(cached) " >&6
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 # Account for people who put trailing slashes in PATH elements.
3025 ./ | .// | /cC/* | \
3026 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3027 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3030 # OSF1 and SCO ODT 3.0 have their own names for install.
3031 # Don't use installbsd from OSF since it installs stuff as root
3033 for ac_prog in ginstall scoinst install; do
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3036 if test $ac_prog = install &&
3037 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3038 # AIX install. It has an incompatible calling convention.
3040 elif test $ac_prog = install &&
3041 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3042 # program-specific install script used by HP pwplus--don't use.
3045 rm -rf conftest.one conftest.two conftest.dir
3046 echo one > conftest.one
3047 echo two > conftest.two
3049 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3050 test -s conftest.one && test -s conftest.two &&
3051 test -s conftest.dir/conftest.one &&
3052 test -s conftest.dir/conftest.two
3054 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3067 rm -rf conftest.one conftest.two conftest.dir
3070 if test "${ac_cv_path_install+set}" = set; then
3071 INSTALL=$ac_cv_path_install
3073 # As a last resort, use the slow shell script. Don't cache a
3074 # value for INSTALL within a source directory, because that will
3075 # break other packages using the cache if that directory is
3076 # removed, or if the value is a relative name.
3077 INSTALL=$ac_install_sh
3080 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3081 $as_echo "$INSTALL" >&6; }
3083 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3084 # It thinks the first close brace ends the variable substitution.
3085 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3087 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3089 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3092 if test "$ac_binutils_build_dir" != "NONE"; then
3093 test "$ac_libbfd" = "NONE" && ac_libbfd="$ac_binutils_build_dir/bfd/libbfd.a"
3094 test "$ac_libiberty" = "NONE" && ac_libiberty="$ac_binutils_build_dir/libiberty/libiberty.a"
3095 test "$ac_bfd_include_dir" = "NONE" && ac_bfd_include_dir="$ac_binutils_build_dir/bfd"
3096 test "$ac_binutils_include_dir" = "NONE" && ac_binutils_include_dir="$ac_binutils_build_dir/include"
3099 if test "$ac_libiberty" = "NONE"; then
3102 { $as_echo "$as_me:$LINENO: checking for objalloc_create in -liberty" >&5
3103 $as_echo_n "checking for objalloc_create in -liberty... " >&6; }
3104 if test "${ac_cv_lib_iberty_objalloc_create+set}" = set; then
3105 $as_echo_n "(cached) " >&6
3107 ac_check_lib_save_LIBS=$LIBS
3108 LIBS="-liberty $LIBS"
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3116 /* Override any GCC internal prototype to avoid an error.
3117 Use char because int might match the return type of a GCC
3118 builtin and then its argument prototype would still apply. */
3122 char objalloc_create ();
3126 return objalloc_create ();
3131 rm -f conftest.$ac_objext conftest$ac_exeext
3132 if { (ac_try="$ac_link"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3138 $as_echo "$ac_try_echo") >&5
3139 (eval "$ac_link") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest$ac_exeext && {
3149 test "$cross_compiling" = yes ||
3150 $as_test_x conftest$ac_exeext
3152 ac_cv_lib_iberty_objalloc_create=yes
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3157 ac_cv_lib_iberty_objalloc_create=no
3160 rm -rf conftest.dSYM
3161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3162 conftest$ac_exeext conftest.$ac_ext
3163 LIBS=$ac_check_lib_save_LIBS
3165 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_objalloc_create" >&5
3166 $as_echo "$ac_cv_lib_iberty_objalloc_create" >&6; }
3167 if test "x$ac_cv_lib_iberty_objalloc_create" = x""yes; then
3168 cat >>confdefs.h <<_ACEOF
3169 #define HAVE_LIBIBERTY 1
3172 LIBS="-liberty $LIBS"
3178 LIBS="$ac_libiberty $LIBS"
3180 if test "$ac_libbfd" = "NONE"; then
3182 { $as_echo "$as_me:$LINENO: checking for bfd_openr in -lbfd" >&5
3183 $as_echo_n "checking for bfd_openr in -lbfd... " >&6; }
3184 if test "${ac_cv_lib_bfd_bfd_openr+set}" = set; then
3185 $as_echo_n "(cached) " >&6
3187 ac_check_lib_save_LIBS=$LIBS
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3196 /* Override any GCC internal prototype to avoid an error.
3197 Use char because int might match the return type of a GCC
3198 builtin and then its argument prototype would still apply. */
3206 return bfd_openr ();
3211 rm -f conftest.$ac_objext conftest$ac_exeext
3212 if { (ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3218 $as_echo "$ac_try_echo") >&5
3219 (eval "$ac_link") 2>conftest.er1
3221 grep -v '^ *+' conftest.er1 >conftest.err
3223 cat conftest.err >&5
3224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest$ac_exeext && {
3229 test "$cross_compiling" = yes ||
3230 $as_test_x conftest$ac_exeext
3232 ac_cv_lib_bfd_bfd_openr=yes
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_cv_lib_bfd_bfd_openr=no
3240 rm -rf conftest.dSYM
3241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3242 conftest$ac_exeext conftest.$ac_ext
3243 LIBS=$ac_check_lib_save_LIBS
3245 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_openr" >&5
3246 $as_echo "$ac_cv_lib_bfd_bfd_openr" >&6; }
3247 if test "x$ac_cv_lib_bfd_bfd_openr" = x""yes; then
3248 cat >>confdefs.h <<_ACEOF
3249 #define HAVE_LIBBFD 1
3258 LIBS="$ac_libbfd $LIBS"
3260 if test "$ac_zlib_prefix" = "NONE"; then
3262 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
3263 $as_echo_n "checking for deflate in -lz... " >&6; }
3264 if test "${ac_cv_lib_z_deflate+set}" = set; then
3265 $as_echo_n "(cached) " >&6
3267 ac_check_lib_save_LIBS=$LIBS
3269 cat >conftest.$ac_ext <<_ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3276 /* Override any GCC internal prototype to avoid an error.
3277 Use char because int might match the return type of a GCC
3278 builtin and then its argument prototype would still apply. */
3291 rm -f conftest.$ac_objext conftest$ac_exeext
3292 if { (ac_try="$ac_link"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3298 $as_echo "$ac_try_echo") >&5
3299 (eval "$ac_link") 2>conftest.er1
3301 grep -v '^ *+' conftest.er1 >conftest.err
3303 cat conftest.err >&5
3304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } && {
3306 test -z "$ac_c_werror_flag" ||
3307 test ! -s conftest.err
3308 } && test -s conftest$ac_exeext && {
3309 test "$cross_compiling" = yes ||
3310 $as_test_x conftest$ac_exeext
3312 ac_cv_lib_z_deflate=yes
3314 $as_echo "$as_me: failed program was:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3317 ac_cv_lib_z_deflate=no
3320 rm -rf conftest.dSYM
3321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3322 conftest$ac_exeext conftest.$ac_ext
3323 LIBS=$ac_check_lib_save_LIBS
3325 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
3326 $as_echo "$ac_cv_lib_z_deflate" >&6; }
3327 if test "x$ac_cv_lib_z_deflate" = x""yes; then
3328 cat >>confdefs.h <<_ACEOF
3337 LIBS="-L$ac_zlib_prefix/lib -lz $LIBS"
3341 if test "$ac_bfd_include_dir" != "NONE"; then
3342 bfd_include_dir="-I$ac_bfd_include_dir"
3345 binutils_include_dir=
3346 if test "$ac_binutils_include_dir" != "NONE"; then
3347 binutils_include_dir="-I$ac_binutils_include_dir"
3351 if test "$ac_zlib_prefix" != "NONE"; then
3352 zlib_include_dir="-I$ac_zlib_prefix/include"
3355 binutils_ldscript_dir=
3356 if test "$ac_binutils_ldscript_dir" = "NONE"; then
3357 ac_binutils_ldscript_dir="\${TOOLDIR}/../${target_alias}/lib"
3359 binutils_ldscript_dir="$ac_binutils_ldscript_dir"
3361 if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then
3362 { { $as_echo "$as_me:$LINENO: error:
3364 You need to specify the location of the libfd.a and libiberty.a
3365 host libraries from the binutils package.
3367 Run configure again specifying these options:
3369 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3371 $as_echo "$as_me: error:
3373 You need to specify the location of the libfd.a and libiberty.a
3374 host libraries from the binutils package.
3376 Run configure again specifying these options:
3378 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3380 { (exit 1); exit 1; }; }
3383 if test "$ac_bfd_include_dir" = "NONE" ; then
3384 { { $as_echo "$as_me:$LINENO: error:
3386 You need to specify the location of the bfd.h header from a
3387 configured/compiled version of the binutils package for your target.
3388 Without this your elf2flt may crash as it will try to use the
3389 systems bfd.h which may be from a different binutils package.
3391 Run configure again specifying these options:
3393 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3395 $as_echo "$as_me: error:
3397 You need to specify the location of the bfd.h header from a
3398 configured/compiled version of the binutils package for your target.
3399 Without this your elf2flt may crash as it will try to use the
3400 systems bfd.h which may be from a different binutils package.
3402 Run configure again specifying these options:
3404 ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
3406 { (exit 1); exit 1; }; }
3416 { $as_echo "$as_me:$LINENO: checking for malloc in -lc" >&5
3417 $as_echo_n "checking for malloc in -lc... " >&6; }
3418 if test "${ac_cv_lib_c_malloc+set}" = set; then
3419 $as_echo_n "(cached) " >&6
3421 ac_check_lib_save_LIBS=$LIBS
3423 cat >conftest.$ac_ext <<_ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3430 /* Override any GCC internal prototype to avoid an error.
3431 Use char because int might match the return type of a GCC
3432 builtin and then its argument prototype would still apply. */
3445 rm -f conftest.$ac_objext conftest$ac_exeext
3446 if { (ac_try="$ac_link"
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_link") 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && {
3460 test -z "$ac_c_werror_flag" ||
3461 test ! -s conftest.err
3462 } && test -s conftest$ac_exeext && {
3463 test "$cross_compiling" = yes ||
3464 $as_test_x conftest$ac_exeext
3466 ac_cv_lib_c_malloc=yes
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 ac_cv_lib_c_malloc=no
3474 rm -rf conftest.dSYM
3475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3476 conftest$ac_exeext conftest.$ac_ext
3477 LIBS=$ac_check_lib_save_LIBS
3479 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_malloc" >&5
3480 $as_echo "$ac_cv_lib_c_malloc" >&6; }
3481 if test "x$ac_cv_lib_c_malloc" = x""yes; then
3487 ac_cpp='$CPP $CPPFLAGS'
3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3491 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3492 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3493 # On Suns, sometimes $CPP names a directory.
3494 if test -n "$CPP" && test -d "$CPP"; then
3497 if test -z "$CPP"; then
3498 if test "${ac_cv_prog_CPP+set}" = set; then
3499 $as_echo_n "(cached) " >&6
3501 # Double quotes because CPP needs to be expanded
3502 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3505 for ac_c_preproc_warn_flag in '' yes
3507 # Use a header file that comes with gcc, so configuring glibc
3508 # with a fresh cross-compiler works.
3509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3510 # <limits.h> exists even on freestanding compilers.
3511 # On the NeXT, cc -E runs the code through the compiler's parser,
3512 # not just through cpp. "Syntax error" is here to catch this case.
3513 cat >conftest.$ac_ext <<_ACEOF
3516 cat confdefs.h >>conftest.$ac_ext
3517 cat >>conftest.$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3520 # include <limits.h>
3522 # include <assert.h>
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3532 $as_echo "$ac_try_echo") >&5
3533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev/null && {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3545 $as_echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Broken: fails on valid input.
3552 rm -f conftest.err conftest.$ac_ext
3554 # OK, works on sane cases. Now check whether nonexistent headers
3555 # can be detected and how.
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3562 #include <ac_nonexistent.h>
3564 if { (ac_try="$ac_cpp conftest.$ac_ext"
3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567 *) ac_try_echo=$ac_try;;
3569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3570 $as_echo "$ac_try_echo") >&5
3571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3573 grep -v '^ *+' conftest.er1 >conftest.err
3575 cat conftest.err >&5
3576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); } >/dev/null && {
3578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3579 test ! -s conftest.err
3581 # Broken: success on invalid input.
3584 $as_echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.$ac_ext >&5
3587 # Passes both tests.
3592 rm -f conftest.err conftest.$ac_ext
3595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3596 rm -f conftest.err conftest.$ac_ext
3597 if $ac_preproc_ok; then
3609 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3610 $as_echo "$CPP" >&6; }
3612 for ac_c_preproc_warn_flag in '' yes
3614 # Use a header file that comes with gcc, so configuring glibc
3615 # with a fresh cross-compiler works.
3616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 # <limits.h> exists even on freestanding compilers.
3618 # On the NeXT, cc -E runs the code through the compiler's parser,
3619 # not just through cpp. "Syntax error" is here to catch this case.
3620 cat >conftest.$ac_ext <<_ACEOF
3623 cat confdefs.h >>conftest.$ac_ext
3624 cat >>conftest.$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3627 # include <limits.h>
3629 # include <assert.h>
3633 if { (ac_try="$ac_cpp conftest.$ac_ext"
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3639 $as_echo "$ac_try_echo") >&5
3640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } >/dev/null && {
3647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3648 test ! -s conftest.err
3652 $as_echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Broken: fails on valid input.
3659 rm -f conftest.err conftest.$ac_ext
3661 # OK, works on sane cases. Now check whether nonexistent headers
3662 # can be detected and how.
3663 cat >conftest.$ac_ext <<_ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if { (ac_try="$ac_cpp conftest.$ac_ext"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3677 $as_echo "$ac_try_echo") >&5
3678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3680 grep -v '^ *+' conftest.er1 >conftest.err
3682 cat conftest.err >&5
3683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } >/dev/null && {
3685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3686 test ! -s conftest.err
3688 # Broken: success on invalid input.
3691 $as_echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 # Passes both tests.
3699 rm -f conftest.err conftest.$ac_ext
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3707 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3710 See \`config.log' for more details." >&5
3711 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3712 See \`config.log' for more details." >&2;}
3713 { (exit 1); exit 1; }; }; }
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3724 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3725 if test "${ac_cv_path_GREP+set}" = set; then
3726 $as_echo_n "(cached) " >&6
3728 if test -z "$GREP"; then
3729 ac_path_GREP_found=false
3730 # Loop through the user's path and test for each of PROGNAME-LIST
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3735 test -z "$as_dir" && as_dir=.
3736 for ac_prog in grep ggrep; do
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3739 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3740 # Check for GNU ac_path_GREP and select it if it is found.
3741 # Check for GNU $ac_path_GREP
3742 case `"$ac_path_GREP" --version 2>&1` in
3744 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3747 $as_echo_n 0123456789 >"conftest.in"
3750 cat "conftest.in" "conftest.in" >"conftest.tmp"
3751 mv "conftest.tmp" "conftest.in"
3752 cp "conftest.in" "conftest.nl"
3753 $as_echo 'GREP' >> "conftest.nl"
3754 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3755 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3756 ac_count=`expr $ac_count + 1`
3757 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3758 # Best one so far, save it but keep looking for a better one
3759 ac_cv_path_GREP="$ac_path_GREP"
3760 ac_path_GREP_max=$ac_count
3762 # 10*(2^10) chars as input seems more than enough
3763 test $ac_count -gt 10 && break
3765 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3768 $ac_path_GREP_found && break 3
3773 if test -z "$ac_cv_path_GREP"; then
3774 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3775 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3776 { (exit 1); exit 1; }; }
3779 ac_cv_path_GREP=$GREP
3783 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3784 $as_echo "$ac_cv_path_GREP" >&6; }
3785 GREP="$ac_cv_path_GREP"
3788 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3789 $as_echo_n "checking for egrep... " >&6; }
3790 if test "${ac_cv_path_EGREP+set}" = set; then
3791 $as_echo_n "(cached) " >&6
3793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3794 then ac_cv_path_EGREP="$GREP -E"
3796 if test -z "$EGREP"; then
3797 ac_path_EGREP_found=false
3798 # Loop through the user's path and test for each of PROGNAME-LIST
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3803 test -z "$as_dir" && as_dir=.
3804 for ac_prog in egrep; do
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3807 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3808 # Check for GNU ac_path_EGREP and select it if it is found.
3809 # Check for GNU $ac_path_EGREP
3810 case `"$ac_path_EGREP" --version 2>&1` in
3812 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3815 $as_echo_n 0123456789 >"conftest.in"
3818 cat "conftest.in" "conftest.in" >"conftest.tmp"
3819 mv "conftest.tmp" "conftest.in"
3820 cp "conftest.in" "conftest.nl"
3821 $as_echo 'EGREP' >> "conftest.nl"
3822 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3824 ac_count=`expr $ac_count + 1`
3825 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3826 # Best one so far, save it but keep looking for a better one
3827 ac_cv_path_EGREP="$ac_path_EGREP"
3828 ac_path_EGREP_max=$ac_count
3830 # 10*(2^10) chars as input seems more than enough
3831 test $ac_count -gt 10 && break
3833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3836 $ac_path_EGREP_found && break 3
3841 if test -z "$ac_cv_path_EGREP"; then
3842 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3843 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3844 { (exit 1); exit 1; }; }
3847 ac_cv_path_EGREP=$EGREP
3852 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3853 $as_echo "$ac_cv_path_EGREP" >&6; }
3854 EGREP="$ac_cv_path_EGREP"
3857 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3858 $as_echo_n "checking for ANSI C header files... " >&6; }
3859 if test "${ac_cv_header_stdc+set}" = set; then
3860 $as_echo_n "(cached) " >&6
3862 cat >conftest.$ac_ext <<_ACEOF
3865 cat confdefs.h >>conftest.$ac_ext
3866 cat >>conftest.$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3881 rm -f conftest.$ac_objext
3882 if { (ac_try="$ac_compile"
3884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3888 $as_echo "$ac_try_echo") >&5
3889 (eval "$ac_compile") 2>conftest.er1
3891 grep -v '^ *+' conftest.er1 >conftest.err
3893 cat conftest.err >&5
3894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } && {
3896 test -z "$ac_c_werror_flag" ||
3897 test ! -s conftest.err
3898 } && test -s conftest.$ac_objext; then
3899 ac_cv_header_stdc=yes
3901 $as_echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.$ac_ext >&5
3904 ac_cv_header_stdc=no
3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3909 if test $ac_cv_header_stdc = yes; then
3910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3911 cat >conftest.$ac_ext <<_ACEOF
3914 cat confdefs.h >>conftest.$ac_ext
3915 cat >>conftest.$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3921 $EGREP "memchr" >/dev/null 2>&1; then
3924 ac_cv_header_stdc=no
3930 if test $ac_cv_header_stdc = yes; then
3931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3932 cat >conftest.$ac_ext <<_ACEOF
3935 cat confdefs.h >>conftest.$ac_ext
3936 cat >>conftest.$ac_ext <<_ACEOF
3937 /* end confdefs.h. */
3941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3942 $EGREP "free" >/dev/null 2>&1; then
3945 ac_cv_header_stdc=no
3951 if test $ac_cv_header_stdc = yes; then
3952 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3953 if test "$cross_compiling" = yes; then
3956 cat >conftest.$ac_ext <<_ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3964 #if ((' ' & 0x0FF) == 0x020)
3965 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3966 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3968 # define ISLOWER(c) \
3969 (('a' <= (c) && (c) <= 'i') \
3970 || ('j' <= (c) && (c) <= 'r') \
3971 || ('s' <= (c) && (c) <= 'z'))
3972 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3975 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3980 for (i = 0; i < 256; i++)
3981 if (XOR (islower (i), ISLOWER (i))
3982 || toupper (i) != TOUPPER (i))
3987 rm -f conftest$ac_exeext
3988 if { (ac_try="$ac_link"
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3994 $as_echo "$ac_try_echo") >&5
3995 (eval "$ac_link") 2>&5
3997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3999 { (case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4004 $as_echo "$ac_try_echo") >&5
4005 (eval "$ac_try") 2>&5
4007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); }; }; then
4011 $as_echo "$as_me: program exited with status $ac_status" >&5
4012 $as_echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.$ac_ext >&5
4016 ac_cv_header_stdc=no
4018 rm -rf conftest.dSYM
4019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4025 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4026 $as_echo "$ac_cv_header_stdc" >&6; }
4027 if test $ac_cv_header_stdc = yes; then
4029 cat >>confdefs.h <<\_ACEOF
4030 #define STDC_HEADERS 1
4035 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4045 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4046 inttypes.h stdint.h unistd.h
4048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4049 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4050 $as_echo_n "checking for $ac_header... " >&6; }
4051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4052 $as_echo_n "(cached) " >&6
4054 cat >conftest.$ac_ext <<_ACEOF
4057 cat confdefs.h >>conftest.$ac_ext
4058 cat >>conftest.$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4060 $ac_includes_default
4062 #include <$ac_header>
4064 rm -f conftest.$ac_objext
4065 if { (ac_try="$ac_compile"
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4071 $as_echo "$ac_try_echo") >&5
4072 (eval "$ac_compile") 2>conftest.er1
4074 grep -v '^ *+' conftest.er1 >conftest.err
4076 cat conftest.err >&5
4077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } && {
4079 test -z "$ac_c_werror_flag" ||
4080 test ! -s conftest.err
4081 } && test -s conftest.$ac_objext; then
4082 eval "$as_ac_Header=yes"
4084 $as_echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.$ac_ext >&5
4087 eval "$as_ac_Header=no"
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 ac_res=`eval 'as_val=${'$as_ac_Header'}
4093 $as_echo "$as_val"'`
4094 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4095 $as_echo "$ac_res" >&6; }
4096 as_val=`eval 'as_val=${'$as_ac_Header'}
4097 $as_echo "$as_val"'`
4098 if test "x$as_val" = x""yes; then
4099 cat >>confdefs.h <<_ACEOF
4100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4111 for ac_header in fcntl.h unistd.h bfd.h
4113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4115 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4116 $as_echo_n "checking for $ac_header... " >&6; }
4117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4118 $as_echo_n "(cached) " >&6
4120 ac_res=`eval 'as_val=${'$as_ac_Header'}
4121 $as_echo "$as_val"'`
4122 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4123 $as_echo "$ac_res" >&6; }
4125 # Is the header compilable?
4126 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4127 $as_echo_n "checking $ac_header usability... " >&6; }
4128 cat >conftest.$ac_ext <<_ACEOF
4131 cat confdefs.h >>conftest.$ac_ext
4132 cat >>conftest.$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 $ac_includes_default
4135 #include <$ac_header>
4137 rm -f conftest.$ac_objext
4138 if { (ac_try="$ac_compile"
4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4144 $as_echo "$ac_try_echo") >&5
4145 (eval "$ac_compile") 2>conftest.er1
4147 grep -v '^ *+' conftest.er1 >conftest.err
4149 cat conftest.err >&5
4150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } && {
4152 test -z "$ac_c_werror_flag" ||
4153 test ! -s conftest.err
4154 } && test -s conftest.$ac_objext; then
4155 ac_header_compiler=yes
4157 $as_echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.$ac_ext >&5
4160 ac_header_compiler=no
4163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4165 $as_echo "$ac_header_compiler" >&6; }
4167 # Is the header present?
4168 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4169 $as_echo_n "checking $ac_header presence... " >&6; }
4170 cat >conftest.$ac_ext <<_ACEOF
4173 cat confdefs.h >>conftest.$ac_ext
4174 cat >>conftest.$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4176 #include <$ac_header>
4178 if { (ac_try="$ac_cpp conftest.$ac_ext"
4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4181 *) ac_try_echo=$ac_try;;
4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4184 $as_echo "$ac_try_echo") >&5
4185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4187 grep -v '^ *+' conftest.er1 >conftest.err
4189 cat conftest.err >&5
4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } >/dev/null && {
4192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4193 test ! -s conftest.err
4195 ac_header_preproc=yes
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 ac_header_preproc=no
4203 rm -f conftest.err conftest.$ac_ext
4204 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4205 $as_echo "$ac_header_preproc" >&6; }
4207 # So? What about this header?
4208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4211 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4213 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4214 ac_header_preproc=yes
4217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4218 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4220 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4222 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4224 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4225 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4226 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4227 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4228 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4232 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4233 $as_echo_n "checking for $ac_header... " >&6; }
4234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4235 $as_echo_n "(cached) " >&6
4237 eval "$as_ac_Header=\$ac_header_preproc"
4239 ac_res=`eval 'as_val=${'$as_ac_Header'}
4240 $as_echo "$as_val"'`
4241 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4242 $as_echo "$ac_res" >&6; }
4245 as_val=`eval 'as_val=${'$as_ac_Header'}
4246 $as_echo "$as_val"'`
4247 if test "x$as_val" = x""yes; then
4248 cat >>confdefs.h <<_ACEOF
4249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4257 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4258 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4259 if test "${ac_cv_c_const+set}" = set; then
4260 $as_echo_n "(cached) " >&6
4262 cat >conftest.$ac_ext <<_ACEOF
4265 cat confdefs.h >>conftest.$ac_ext
4266 cat >>conftest.$ac_ext <<_ACEOF
4267 /* end confdefs.h. */
4272 /* FIXME: Include the comments suggested by Paul. */
4274 /* Ultrix mips cc rejects this. */
4275 typedef int charset[2];
4277 /* SunOS 4.1.1 cc rejects this. */
4278 char const *const *pcpcc;
4280 /* NEC SVR4.0.2 mips cc rejects this. */
4281 struct point {int x, y;};
4282 static struct point const zero = {0,0};
4283 /* AIX XL C 1.02.0.0 rejects this.
4284 It does not let you subtract one const X* pointer from another in
4285 an arm of an if-expression whose if-part is not a constant
4287 const char *g = "string";
4288 pcpcc = &g + (g ? g-g : 0);
4289 /* HPUX 7.0 cc rejects these. */
4291 ppc = (char**) pcpcc;
4292 pcpcc = (char const *const *) ppc;
4293 { /* SCO 3.2v4 cc rejects this. */
4295 char const *s = 0 ? (char *) 0 : (char const *) 0;
4300 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4302 const int *foo = &x[0];
4305 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4306 typedef const int *iptr;
4310 { /* AIX XL C 1.02.0.0 rejects this saying
4311 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4312 struct s { int j; const int *ap[3]; };
4313 struct s *b; b->j = 5;
4315 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4319 return !cs[0] && !zero.x;
4326 rm -f conftest.$ac_objext
4327 if { (ac_try="$ac_compile"
4329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4333 $as_echo "$ac_try_echo") >&5
4334 (eval "$ac_compile") 2>conftest.er1
4336 grep -v '^ *+' conftest.er1 >conftest.err
4338 cat conftest.err >&5
4339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } && {
4341 test -z "$ac_c_werror_flag" ||
4342 test ! -s conftest.err
4343 } && test -s conftest.$ac_objext; then
4346 $as_echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4355 $as_echo "$ac_cv_c_const" >&6; }
4356 if test $ac_cv_c_const = no; then
4358 cat >>confdefs.h <<\_ACEOF
4366 for ac_func in vprintf
4368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4369 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4370 $as_echo_n "checking for $ac_func... " >&6; }
4371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4372 $as_echo_n "(cached) " >&6
4374 cat >conftest.$ac_ext <<_ACEOF
4377 cat confdefs.h >>conftest.$ac_ext
4378 cat >>conftest.$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4382 #define $ac_func innocuous_$ac_func
4384 /* System header to define __stub macros and hopefully few prototypes,
4385 which can conflict with char $ac_func (); below.
4386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4387 <limits.h> exists even on freestanding compilers. */
4390 # include <limits.h>
4392 # include <assert.h>
4397 /* Override any GCC internal prototype to avoid an error.
4398 Use char because int might match the return type of a GCC
4399 builtin and then its argument prototype would still apply. */
4404 /* The GNU C library defines this for functions which it implements
4405 to always fail with ENOSYS. Some functions are actually named
4406 something starting with __ and the normal name is an alias. */
4407 #if defined __stub_$ac_func || defined __stub___$ac_func
4419 rm -f conftest.$ac_objext conftest$ac_exeext
4420 if { (ac_try="$ac_link"
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4426 $as_echo "$ac_try_echo") >&5
4427 (eval "$ac_link") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest$ac_exeext && {
4437 test "$cross_compiling" = yes ||
4438 $as_test_x conftest$ac_exeext
4440 eval "$as_ac_var=yes"
4442 $as_echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.$ac_ext >&5
4445 eval "$as_ac_var=no"
4448 rm -rf conftest.dSYM
4449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4450 conftest$ac_exeext conftest.$ac_ext
4452 ac_res=`eval 'as_val=${'$as_ac_var'}
4453 $as_echo "$as_val"'`
4454 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4455 $as_echo "$ac_res" >&6; }
4456 as_val=`eval 'as_val=${'$as_ac_var'}
4457 $as_echo "$as_val"'`
4458 if test "x$as_val" = x""yes; then
4459 cat >>confdefs.h <<_ACEOF
4460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4463 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
4464 $as_echo_n "checking for _doprnt... " >&6; }
4465 if test "${ac_cv_func__doprnt+set}" = set; then
4466 $as_echo_n "(cached) " >&6
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define _doprnt innocuous__doprnt
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char _doprnt (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4484 # include <limits.h>
4486 # include <assert.h>
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub__doprnt || defined __stub____doprnt
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1 >conftest.err
4525 cat conftest.err >&5
4526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest$ac_exeext && {
4531 test "$cross_compiling" = yes ||
4532 $as_test_x conftest$ac_exeext
4534 ac_cv_func__doprnt=yes
4536 $as_echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 ac_cv_func__doprnt=no
4542 rm -rf conftest.dSYM
4543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4544 conftest$ac_exeext conftest.$ac_ext
4546 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4547 $as_echo "$ac_cv_func__doprnt" >&6; }
4548 if test "x$ac_cv_func__doprnt" = x""yes; then
4550 cat >>confdefs.h <<\_ACEOF
4551 #define HAVE_DOPRNT 1
4563 for ac_func in dcgettext libintl_dgettext
4565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4566 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4567 $as_echo_n "checking for $ac_func... " >&6; }
4568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4569 $as_echo_n "(cached) " >&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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4579 #define $ac_func innocuous_$ac_func
4581 /* System header to define __stub macros and hopefully few prototypes,
4582 which can conflict with char $ac_func (); below.
4583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4584 <limits.h> exists even on freestanding compilers. */
4587 # include <limits.h>
4589 # include <assert.h>
4594 /* Override any GCC internal prototype to avoid an error.
4595 Use char because int might match the return type of a GCC
4596 builtin and then its argument prototype would still apply. */
4601 /* The GNU C library defines this for functions which it implements
4602 to always fail with ENOSYS. Some functions are actually named
4603 something starting with __ and the normal name is an alias. */
4604 #if defined __stub_$ac_func || defined __stub___$ac_func
4616 rm -f conftest.$ac_objext conftest$ac_exeext
4617 if { (ac_try="$ac_link"
4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4623 $as_echo "$ac_try_echo") >&5
4624 (eval "$ac_link") 2>conftest.er1
4626 grep -v '^ *+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } && {
4631 test -z "$ac_c_werror_flag" ||
4632 test ! -s conftest.err
4633 } && test -s conftest$ac_exeext && {
4634 test "$cross_compiling" = yes ||
4635 $as_test_x conftest$ac_exeext
4637 eval "$as_ac_var=yes"
4639 $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 eval "$as_ac_var=no"
4645 rm -rf conftest.dSYM
4646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4647 conftest$ac_exeext conftest.$ac_ext
4649 ac_res=`eval 'as_val=${'$as_ac_var'}
4650 $as_echo "$as_val"'`
4651 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4652 $as_echo "$ac_res" >&6; }
4653 as_val=`eval 'as_val=${'$as_ac_var'}
4654 $as_echo "$as_val"'`
4655 if test "x$as_val" = x""yes; then
4656 cat >>confdefs.h <<_ACEOF
4657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4677 ac_config_files="$ac_config_files Makefile ld-elf2flt elf2flt.ld"
4679 cat >confcache <<\_ACEOF
4680 # This file is a shell script that caches the results of configure
4681 # tests run on this system so they can be shared between configure
4682 # scripts and configure runs, see configure's option --config-cache.
4683 # It is not useful on other systems. If it contains results you don't
4684 # want to keep, you may remove or edit it.
4686 # config.status only pays attention to the cache file if you give it
4687 # the --recheck option to rerun configure.
4689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4695 # The following way of writing the cache mishandles newlines in values,
4696 # but we know of no workaround that is simple, portable, and efficient.
4697 # So, we kill variables containing newlines.
4698 # Ultrix sh set writes to stderr and can't be redirected directly,
4699 # and sets the high bit in the cache file unless we assign to the vars.
4701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4702 eval ac_val=\$$ac_var
4706 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4710 _ | IFS | as_nl) ;; #(
4711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4712 *) $as_unset $ac_var ;;
4718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4719 *${as_nl}ac_space=\ *)
4720 # `set' does not quote correctly, so add quotes (double-quote
4721 # substitution turns \\\\ into \\, and sed turns \\ into \).
4724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4727 # `set' quotes correctly as required by POSIX, so do not add quotes.
4728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4742 if test -w "$cache_file"; then
4743 test "x$cache_file" != "x/dev/null" &&
4744 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4745 $as_echo "$as_me: updating cache $cache_file" >&6;}
4746 cat confcache >$cache_file
4748 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4749 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4754 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4755 # Let make expand exec_prefix.
4756 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4758 # Transform confdefs.h into DEFS.
4759 # Protect against shell expansion while executing Makefile rules.
4760 # Protect against Makefile macro expansion.
4762 # If the first sed substitution is executed (which looks for macros that
4763 # take arguments), then branch to the quote section. Otherwise,
4764 # look for a macro that doesn't take arguments.
4774 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4776 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4780 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4793 DEFS=`sed -n "$ac_script" confdefs.h`
4798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4799 # 1. Remove the extension, and $U if already installed.
4800 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4801 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4803 # will be set to the directory where LIBOBJS objects are built.
4804 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4805 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4809 LTLIBOBJS=$ac_ltlibobjs
4813 : ${CONFIG_STATUS=./config.status}
4815 ac_clean_files_save=$ac_clean_files
4816 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4817 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4819 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4821 # Generated by $as_me.
4822 # Run this file to recreate the current configuration.
4823 # Compiler output produced by configure, useful for debugging
4824 # configure, is in config.log if it exists.
4829 SHELL=\${CONFIG_SHELL-$SHELL}
4832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4833 ## --------------------- ##
4834 ## M4sh Initialization. ##
4835 ## --------------------- ##
4837 # Be more Bourne compatible
4838 DUALCASE=1; export DUALCASE # for MKS sh
4839 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4842 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4843 # is contrary to our usage. Disable this feature.
4844 alias -g '${1+"$@"}'='"$@"'
4845 setopt NO_GLOB_SUBST
4847 case `(set -o) 2>/dev/null` in
4848 *posix*) set -o posix ;;
4857 # Avoid depending upon Character Ranges.
4858 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4859 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4860 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4861 as_cr_digits='0123456789'
4862 as_cr_alnum=$as_cr_Letters$as_cr_digits
4867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4868 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4871 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4872 as_echo='printf %s\n'
4873 as_echo_n='printf %s'
4875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4876 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4877 as_echo_n='/usr/ucb/echo -n'
4879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4880 as_echo_n_body='eval
4884 expr "X$arg" : "X\\(.*\\)$as_nl";
4885 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4887 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4889 export as_echo_n_body
4890 as_echo_n='sh -c $as_echo_n_body as_echo'
4893 as_echo='sh -c $as_echo_body as_echo'
4896 # The user is always right.
4897 if test "${PATH_SEPARATOR+set}" != set; then
4899 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4900 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4905 # Support unset when possible.
4906 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4914 # We need space, tab and new line, in precisely that order. Quoting is
4915 # there to prevent editors from complaining about space-tab.
4916 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4917 # splitting by setting IFS to empty value.)
4920 # Find who we are. Look in the path if we contain no directory separator.
4922 *[\\/]* ) as_myself=$0 ;;
4923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4934 # We did not find ourselves, most probably we were run as `sh COMMAND'
4935 # in which case we are not to be found in the path.
4936 if test "x$as_myself" = x; then
4939 if test ! -f "$as_myself"; then
4940 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4941 { (exit 1); exit 1; }
4944 # Work around bugs in pre-3.0 UWIN ksh.
4945 for as_var in ENV MAIL MAILPATH
4946 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4958 # Required to use basename.
4959 if expr a : '\(a\)' >/dev/null 2>&1 &&
4960 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4966 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4967 as_basename=basename
4973 # Name of the executable.
4974 as_me=`$as_basename -- "$0" ||
4975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4976 X"$0" : 'X\(//\)$' \| \
4977 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4979 sed '/^.*\/\([^/][^/]*\)\/*$/{
5000 test "x$as_lineno_1" != "x$as_lineno_2" &&
5001 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5003 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5004 # uniformly replaced by the line number. The first 'sed' inserts a
5005 # line-number line after each line using $LINENO; the second 'sed'
5006 # does the real work. The second script uses 'N' to pair each
5007 # line-number line with the line containing $LINENO, and appends
5008 # trailing '-' during substitution so that $LINENO is not a special
5010 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5011 # scripts with optimization help from Paolo Bonzini. Blame Lee
5012 # E. McMahon (1931-1989) for sed's syntax. :-)
5024 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5028 chmod +x "$as_me.lineno" ||
5029 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5030 { (exit 1); exit 1; }; }
5032 # Don't try to exec as it changes $[0], causing all sort of problems
5033 # (the dirname of $[0] is not the place where we might find the
5034 # original and so on. Autoconf is especially sensitive to this).
5036 # Exit status is that of the last command.
5041 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5047 ECHO_C= ECHO_N= ECHO_T=
5050 case `echo 'x\c'` in
5051 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5057 if expr a : '\(a\)' >/dev/null 2>&1 &&
5058 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5064 rm -f conf$$ conf$$.exe conf$$.file
5065 if test -d conf$$.dir; then
5066 rm -f conf$$.dir/conf$$.file
5069 mkdir conf$$.dir 2>/dev/null
5071 if (echo >conf$$.file) 2>/dev/null; then
5072 if ln -s conf$$.file conf$$ 2>/dev/null; then
5074 # ... but there are two gotchas:
5075 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5076 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5077 # In both cases, we have to default to `cp -p'.
5078 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5080 elif ln conf$$.file conf$$ 2>/dev/null; then
5088 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5089 rmdir conf$$.dir 2>/dev/null
5091 if mkdir -p . 2>/dev/null; then
5094 test -d ./-p && rmdir ./-p
5098 if test -x / >/dev/null 2>&1; then
5101 if ls -dL / >/dev/null 2>&1; then
5108 if test -d "$1"; then
5114 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5115 ???[sx]*):;;*)false;;esac;fi
5119 as_executable_p=$as_test_x
5121 # Sed expression to map a string onto a valid CPP name.
5122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5124 # Sed expression to map a string onto a valid variable name.
5125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5130 # Save the log message, to keep $[0] and so on meaningful, and to
5131 # report actual input values of CONFIG_FILES etc. instead of their
5132 # values after options handling.
5134 This file was extended by $as_me, which was
5135 generated by GNU Autoconf 2.63. Invocation command line was
5137 CONFIG_FILES = $CONFIG_FILES
5138 CONFIG_HEADERS = $CONFIG_HEADERS
5139 CONFIG_LINKS = $CONFIG_LINKS
5140 CONFIG_COMMANDS = $CONFIG_COMMANDS
5143 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5148 case $ac_config_files in *"
5149 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 # Files that config.status was made for.
5156 config_files="$ac_config_files"
5160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5162 \`$as_me' instantiates files from templates according to the
5163 current configuration.
5165 Usage: $0 [OPTION]... [FILE]...
5167 -h, --help print this help, then exit
5168 -V, --version print version number and configuration settings, then exit
5169 -q, --quiet, --silent
5170 do not print progress messages
5171 -d, --debug don't remove temporary files
5172 --recheck update $as_me by reconfiguring in the same conditions
5173 --file=FILE[:TEMPLATE]
5174 instantiate the configuration file FILE
5176 Configuration files:
5179 Report bugs to <bug-autoconf@gnu.org>."
5182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5185 configured by $0, generated by GNU Autoconf 2.63,
5186 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5188 Copyright (C) 2008 Free Software Foundation, Inc.
5189 This config.status script is free software; the Free Software Foundation
5190 gives unlimited permission to copy, distribute and modify it."
5195 test -n "\$AWK" || AWK=awk
5198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5199 # The default lists apply if the user does not specify any file.
5205 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5206 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5217 # Handling of the options.
5218 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5220 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5221 $as_echo "$ac_cs_version"; exit ;;
5222 --debug | --debu | --deb | --de | --d | -d )
5224 --file | --fil | --fi | --f )
5227 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5229 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5230 ac_need_defaults=false;;
5231 --he | --h | --help | --hel | -h )
5232 $as_echo "$ac_cs_usage"; exit ;;
5233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5234 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5238 -*) { $as_echo "$as_me: error: unrecognized option: $1
5239 Try \`$0 --help' for more information." >&2
5240 { (exit 1); exit 1; }; } ;;
5242 *) ac_config_targets="$ac_config_targets $1"
5243 ac_need_defaults=false ;;
5249 ac_configure_extra_args=
5251 if $ac_cs_silent; then
5253 ac_configure_extra_args="$ac_configure_extra_args --silent"
5257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5258 if \$ac_cs_recheck; then
5259 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5261 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5262 CONFIG_SHELL='$SHELL'
5268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5272 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5273 ## Running $as_me. ##
5279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5284 # Handling of arguments.
5285 for ac_config_target in $ac_config_targets
5287 case $ac_config_target in
5288 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5289 "ld-elf2flt") CONFIG_FILES="$CONFIG_FILES ld-elf2flt" ;;
5290 "elf2flt.ld") CONFIG_FILES="$CONFIG_FILES elf2flt.ld" ;;
5292 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5293 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5294 { (exit 1); exit 1; }; };;
5299 # If the user did not use the arguments to specify the items to instantiate,
5300 # then the envvar interface is used. Set only those that are not.
5301 # We use the long form for the default assignment because of an extremely
5302 # bizarre bug on SunOS 4.1.3.
5303 if $ac_need_defaults; then
5304 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5307 # Have a temporary directory for convenience. Make it in the build tree
5308 # simply because there is no reason against having it here, and in addition,
5309 # creating and moving files from /tmp can sometimes cause problems.
5310 # Hook for its removal unless debugging.
5311 # Note that there is a small window in which the directory will not be cleaned:
5312 # after its creation but before its name has been assigned to `$tmp'.
5316 trap 'exit_status=$?
5317 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5319 trap '{ (exit 1); exit 1; }' 1 2 13 15
5321 # Create a (secure) tmp directory for tmp files.
5324 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5325 test -n "$tmp" && test -d "$tmp"
5328 tmp=./conf$$-$RANDOM
5329 (umask 077 && mkdir "$tmp")
5332 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5333 { (exit 1); exit 1; }
5336 # Set up the scripts for CONFIG_FILES section.
5337 # No need to generate them if there are no CONFIG_FILES.
5338 # This happens for instance with `./config.status config.h'.
5339 if test -n "$CONFIG_FILES"; then
5343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5350 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5355 echo "cat >conf$$subs.awk <<_ACEOF" &&
5356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5359 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5360 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5361 { (exit 1); exit 1; }; }
5362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5364 for ac_last_try in false false false false false :; do
5365 . ./conf$$subs.sh ||
5366 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5367 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5368 { (exit 1); exit 1; }; }
5370 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5371 if test $ac_delim_n = $ac_delim_num; then
5373 elif $ac_last_try; then
5374 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5375 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5376 { (exit 1); exit 1; }; }
5378 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5384 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5388 s/^/S["/; s/!.*/"]=/
5398 s/\(.\{148\}\).*/\1/
5400 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5405 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5412 s/\(.\{148\}\).*/\1/
5414 s/["\\]/\\&/g; s/^/"/; s/$/"/
5418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5423 ' <conf$$subs.awk | sed '
5428 ' >>$CONFIG_STATUS || ac_write_fail=1
5429 rm -f conf$$subs.awk
5430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5432 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5433 for (key in S) S_is_set[key] = 1
5439 nfields = split(line, field, "@")
5441 len = length(field[1])
5442 for (i = 2; i < nfields; i++) {
5444 keylen = length(key)
5445 if (S_is_set[key]) {
5447 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5448 len += length(value) + length(field[++i])
5459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5460 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5461 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5464 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5465 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5466 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5467 { (exit 1); exit 1; }; }
5470 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5471 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5472 # trailing colons and then remove the whole line if VPATH becomes empty
5473 # (actually we leave an empty line to preserve line numbers).
5474 if test "x$srcdir" = x.; then
5475 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5479 s/^\([^=]*=[ ]*\):*/\1/
5485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5486 fi # test -n "$CONFIG_FILES"
5489 eval set X " :F $CONFIG_FILES "
5494 :[FHLC]) ac_mode=$ac_tag; continue;;
5496 case $ac_mode$ac_tag in
5498 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5499 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5500 { (exit 1); exit 1; }; };;
5501 :[FH]-) ac_tag=-:-;;
5502 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5519 -) ac_f="$tmp/stdin";;
5520 *) # Look for the file first in the build tree, then in the source tree
5521 # (if the path is not absolute). The absolute path cannot be DOS-style,
5522 # because $ac_f cannot contain `:'.
5526 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5528 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5529 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5530 { (exit 1); exit 1; }; };;
5532 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5533 ac_file_inputs="$ac_file_inputs '$ac_f'"
5536 # Let's still pretend it is `configure' which instantiates (i.e., don't
5537 # use $as_me), people would be surprised to read:
5538 # /* config.h. Generated by config.status. */
5539 configure_input='Generated from '`
5540 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5542 if test x"$ac_file" != x-; then
5543 configure_input="$ac_file. $configure_input"
5544 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5545 $as_echo "$as_me: creating $ac_file" >&6;}
5547 # Neutralize special characters interpreted by sed in replacement strings.
5548 case $configure_input in #(
5549 *\&* | *\|* | *\\* )
5550 ac_sed_conf_input=`$as_echo "$configure_input" |
5551 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5552 *) ac_sed_conf_input=$configure_input;;
5556 *:-:* | *:-) cat >"$tmp/stdin" \
5557 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5558 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5559 { (exit 1); exit 1; }; } ;;
5564 ac_dir=`$as_dirname -- "$ac_file" ||
5565 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5566 X"$ac_file" : 'X\(//\)[^/]' \| \
5567 X"$ac_file" : 'X\(//\)$' \| \
5568 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5569 $as_echo X"$ac_file" |
5570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5589 -*) as_dir=./$as_dir;;
5591 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5595 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5596 *) as_qdir=$as_dir;;
5598 as_dirs="'$as_qdir' $as_dirs"
5599 as_dir=`$as_dirname -- "$as_dir" ||
5600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5601 X"$as_dir" : 'X\(//\)[^/]' \| \
5602 X"$as_dir" : 'X\(//\)$' \| \
5603 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5604 $as_echo X"$as_dir" |
5605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5622 test -d "$as_dir" && break
5624 test -z "$as_dirs" || eval "mkdir $as_dirs"
5625 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5626 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5627 { (exit 1); exit 1; }; }; }
5631 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5633 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5634 # A ".." for each directory in $ac_dir_suffix.
5635 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5636 case $ac_top_builddir_sub in
5637 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5638 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5641 ac_abs_top_builddir=$ac_pwd
5642 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5643 # for backward compatibility:
5644 ac_top_builddir=$ac_top_build_prefix
5647 .) # We are building in place.
5649 ac_top_srcdir=$ac_top_builddir_sub
5650 ac_abs_top_srcdir=$ac_pwd ;;
5651 [\\/]* | ?:[\\/]* ) # Absolute name.
5652 ac_srcdir=$srcdir$ac_dir_suffix;
5653 ac_top_srcdir=$srcdir
5654 ac_abs_top_srcdir=$srcdir ;;
5656 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5657 ac_top_srcdir=$ac_top_build_prefix$srcdir
5658 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5660 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5670 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5671 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5676 # If the template does not know about datarootdir, expand it.
5677 # FIXME: This hack should be removed a few years after 2.60.
5678 ac_datarootdir_hack=; ac_datarootdir_seen=
5691 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5692 *datarootdir*) ac_datarootdir_seen=yes;;
5693 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5694 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5695 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5698 ac_datarootdir_hack='
5699 s&@datadir@&$datadir&g
5700 s&@docdir@&$docdir&g
5701 s&@infodir@&$infodir&g
5702 s&@localedir@&$localedir&g
5703 s&@mandir@&$mandir&g
5704 s&\\\${datarootdir}&$datarootdir&g' ;;
5708 # Neutralize VPATH when `$srcdir' = `.'.
5709 # Shell code in configure.ac might set extrasub.
5710 # FIXME: do we really want to maintain this feature?
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 ac_sed_extra="$ac_vpsub
5715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5718 s|@configure_input@|$ac_sed_conf_input|;t t
5719 s&@top_builddir@&$ac_top_builddir_sub&;t t
5720 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5721 s&@srcdir@&$ac_srcdir&;t t
5722 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5723 s&@top_srcdir@&$ac_top_srcdir&;t t
5724 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5725 s&@builddir@&$ac_builddir&;t t
5726 s&@abs_builddir@&$ac_abs_builddir&;t t
5727 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5728 s&@INSTALL@&$ac_INSTALL&;t t
5729 $ac_datarootdir_hack
5731 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5732 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5733 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5734 { (exit 1); exit 1; }; }
5736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5737 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5739 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5740 which seems to be undefined. Please make sure it is defined." >&5
5741 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5742 which seems to be undefined. Please make sure it is defined." >&2;}
5746 -) cat "$tmp/out" && rm -f "$tmp/out";;
5747 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5751 { (exit 1); exit 1; }; }
5761 { (exit 0); exit 0; }
5763 chmod +x $CONFIG_STATUS
5764 ac_clean_files=$ac_clean_files_save
5766 test $ac_write_fail = 0 ||
5767 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5768 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5769 { (exit 1); exit 1; }; }
5772 # configure is writing to config.log, and then calls config.status.
5773 # config.status does its own redirection, appending to config.log.
5774 # Unfortunately, on DOS this fails, as config.log is still kept open
5775 # by configure, so config.status won't be able to write to it; its
5776 # output is simply discarded. So we exec the FD to /dev/null,
5777 # effectively closing config.log, so it can be properly (re)opened and
5778 # appended to by config.status. When coming back to configure, we
5779 # need to make the FD available again.
5780 if test "$no_create" != yes; then
5782 ac_config_status_args=
5783 test "$silent" = yes &&
5784 ac_config_status_args="$ac_config_status_args --quiet"
5786 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5788 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5789 # would make configure fail if this is the last instruction.
5790 $ac_cs_success || { (exit 1); exit 1; }
5792 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5793 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5794 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}