2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="Makefile.conf.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
703 ac_precious_vars='build_alias
714 # Initialize some variables set by options.
716 ac_init_version=false
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
726 program_transform_name=s,x,x,
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE}'
751 infodir='${datarootdir}/info'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
772 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776 # Accept the important Cygnus configure options, so we can diagnose typos.
778 case $ac_dashdash$ac_option in
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
800 cache_file=config.cache ;;
802 -datadir | --datadir | --datadi | --datad)
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
814 -disable-* | --disable-*)
815 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
819 { (exit 1); exit 1; }; }
820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
821 eval enable_$ac_feature=no ;;
823 -docdir | --docdir | --docdi | --doc | --do)
825 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 -enable-* | --enable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=\$ac_optarg ;;
842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844 | --exec | --exe | --ex)
845 ac_prev=exec_prefix ;;
846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848 | --exec=* | --exe=* | --ex=*)
849 exec_prefix=$ac_optarg ;;
851 -gas | --gas | --ga | --g)
852 # Obsolete; use --with-gas.
855 -help | --help | --hel | --he | -h)
857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858 ac_init_help=recursive ;;
859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860 ac_init_help=short ;;
862 -host | --host | --hos | --ho)
863 ac_prev=host_alias ;;
864 -host=* | --host=* | --hos=* | --ho=*)
865 host_alias=$ac_optarg ;;
867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871 htmldir=$ac_optarg ;;
873 -includedir | --includedir | --includedi | --included | --include \
874 | --includ | --inclu | --incl | --inc)
875 ac_prev=includedir ;;
876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877 | --includ=* | --inclu=* | --incl=* | --inc=*)
878 includedir=$ac_optarg ;;
880 -infodir | --infodir | --infodi | --infod | --info | --inf)
882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883 infodir=$ac_optarg ;;
885 -libdir | --libdir | --libdi | --libd)
887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891 | --libexe | --libex | --libe)
892 ac_prev=libexecdir ;;
893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894 | --libexe=* | --libex=* | --libe=*)
895 libexecdir=$ac_optarg ;;
897 -localedir | --localedir | --localedi | --localed | --locale)
899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900 localedir=$ac_optarg ;;
902 -localstatedir | --localstatedir | --localstatedi | --localstated \
903 | --localstate | --localstat | --localsta | --localst | --locals)
904 ac_prev=localstatedir ;;
905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907 localstatedir=$ac_optarg ;;
909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 # Obsolete; use --without-fp.
918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919 | --no-cr | --no-c | -n)
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928 | --oldin | --oldi | --old | --ol | --o)
929 ac_prev=oldincludedir ;;
930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933 oldincludedir=$ac_optarg ;;
935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
941 | --program-pre | --program-pr | --program-p)
942 ac_prev=program_prefix ;;
943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945 program_prefix=$ac_optarg ;;
947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
948 | --program-suf | --program-su | --program-s)
949 ac_prev=program_suffix ;;
950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952 program_suffix=$ac_optarg ;;
954 -program-transform-name | --program-transform-name \
955 | --program-transform-nam | --program-transform-na \
956 | --program-transform-n | --program-transform- \
957 | --program-transform | --program-transfor \
958 | --program-transfo | --program-transf \
959 | --program-trans | --program-tran \
960 | --progr-tra | --program-tr | --program-t)
961 ac_prev=program_transform_name ;;
962 -program-transform-name=* | --program-transform-name=* \
963 | --program-transform-nam=* | --program-transform-na=* \
964 | --program-transform-n=* | --program-transform-=* \
965 | --program-transform=* | --program-transfor=* \
966 | --program-transfo=* | --program-transf=* \
967 | --program-trans=* | --program-tran=* \
968 | --progr-tra=* | --program-tr=* | --program-t=*)
969 program_transform_name=$ac_optarg ;;
971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
976 -psdir | --psdir | --psdi | --psd | --ps)
978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982 | -silent | --silent | --silen | --sile | --sil)
985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
989 sbindir=$ac_optarg ;;
991 -sharedstatedir | --sharedstatedir | --sharedstatedi \
992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993 | --sharedst | --shareds | --shared | --share | --shar \
995 ac_prev=sharedstatedir ;;
996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1000 sharedstatedir=$ac_optarg ;;
1002 -site | --site | --sit)
1004 -site=* | --site=* | --sit=*)
1007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010 srcdir=$ac_optarg ;;
1012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013 | --syscon | --sysco | --sysc | --sys | --sy)
1014 ac_prev=sysconfdir ;;
1015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017 sysconfdir=$ac_optarg ;;
1019 -target | --target | --targe | --targ | --tar | --ta | --t)
1020 ac_prev=target_alias ;;
1021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022 target_alias=$ac_optarg ;;
1024 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1027 -version | --version | --versio | --versi | --vers | -V)
1028 ac_init_version=: ;;
1031 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 { echo "$as_me: error: invalid package name: $ac_package" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1037 eval with_$ac_package=\$ac_optarg ;;
1039 -without-* | --without-*)
1040 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1043 { echo "$as_me: error: invalid package name: $ac_package" >&2
1044 { (exit 1); exit 1; }; }
1045 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1046 eval with_$ac_package=no ;;
1049 # Obsolete; use --with-x.
1052 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;;
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;;
1066 -*) { echo "$as_me: error: unrecognized option: $ac_option
1067 Try \`$0 --help' for more information." >&2
1068 { (exit 1); exit 1; }; }
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1075 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1076 { (exit 1); exit 1; }; }
1077 eval $ac_envvar=\$ac_optarg
1078 export $ac_envvar ;;
1081 # FIXME: should be removed in autoconf 3.0.
1082 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091 if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093 { echo "$as_me: error: missing argument to $ac_option" >&2
1094 { (exit 1); exit 1; }; }
1097 # Be sure to have absolute directory names.
1098 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099 datadir sysconfdir sharedstatedir localstatedir includedir \
1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101 libdir localedir mandir
1103 eval ac_val=\$$ac_var
1105 [\\/$]* | ?:[\\/]* ) continue;;
1106 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1108 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1109 { (exit 1); exit 1; }; }
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1117 target=$target_alias
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121 if test "x$build_alias" = x; then
1122 cross_compiling=maybe
1123 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1124 If a cross compiler is detected then cross compile mode will be used." >&2
1125 elif test "x$build_alias" != "x$host_alias"; then
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1133 test "$silent" = yes && exec 6>/dev/null
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 { echo "$as_me: error: Working directory cannot be determined" >&2
1140 { (exit 1); exit 1; }; }
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 { echo "$as_me: error: pwd does not report name of working directory" >&2
1143 { (exit 1); exit 1; }; }
1146 # Find the source files, if location was not specified.
1147 if test -z "$srcdir"; then
1148 ac_srcdir_defaulted=yes
1149 # Try the directory containing this script, then the parent directory.
1150 ac_confdir=`$as_dirname -- "$0" ||
1151 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152 X"$0" : 'X\(//\)[^/]' \| \
1153 X"$0" : 'X\(//\)$' \| \
1154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1178 ac_srcdir_defaulted=no
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1183 { (exit 1); exit 1; }; }
1185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1188 { (exit 1); exit 1; }; }
1190 # When building in place, set srcdir=.
1191 if test "$ac_abs_confdir" = "$ac_pwd"; then
1194 # Remove unnecessary trailing slashes from srcdir.
1195 # Double slashes in file names in object file debugging info
1196 # mess up M-x gdb in Emacs.
1198 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200 for ac_var in $ac_precious_vars; do
1201 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_env_${ac_var}_value=\$${ac_var}
1203 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1208 # Report the --help message.
1210 if test "$ac_init_help" = "long"; then
1211 # Omit some internal or obsolete options to make the list less imposing.
1212 # This message is too long to be a string in the A/UX 3.1 sh.
1214 \`configure' configures this package to adapt to many kinds of systems.
1216 Usage: $0 [OPTION]... [VAR=VALUE]...
1218 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1219 VAR=VALUE. See below for descriptions of some of the useful variables.
1221 Defaults for the options are specified in brackets.
1224 -h, --help display this help and exit
1225 --help=short display options specific to this package
1226 --help=recursive display the short help of all the included packages
1227 -V, --version display version information and exit
1228 -q, --quiet, --silent do not print \`checking...' messages
1229 --cache-file=FILE cache test results in FILE [disabled]
1230 -C, --config-cache alias for \`--cache-file=config.cache'
1231 -n, --no-create do not create output files
1232 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1234 Installation directories:
1235 --prefix=PREFIX install architecture-independent files in PREFIX
1236 [$ac_default_prefix]
1237 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1240 By default, \`make install' will install all the files in
1241 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1242 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1243 for instance \`--prefix=\$HOME'.
1245 For better control, use the options below.
1247 Fine tuning of the installation directories:
1248 --bindir=DIR user executables [EPREFIX/bin]
1249 --sbindir=DIR system admin executables [EPREFIX/sbin]
1250 --libexecdir=DIR program executables [EPREFIX/libexec]
1251 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1252 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1253 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1254 --libdir=DIR object code libraries [EPREFIX/lib]
1255 --includedir=DIR C header files [PREFIX/include]
1256 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1259 --infodir=DIR info documentation [DATAROOTDIR/info]
1260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1261 --mandir=DIR man documentation [DATAROOTDIR/man]
1262 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1263 --htmldir=DIR html documentation [DOCDIR]
1264 --dvidir=DIR dvi documentation [DOCDIR]
1265 --pdfdir=DIR pdf documentation [DOCDIR]
1266 --psdir=DIR ps documentation [DOCDIR]
1272 --build=BUILD configure for building on BUILD [guessed]
1273 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1277 if test -n "$ac_init_help"; then
1282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1284 --with-i386 enable building i386 code
1285 --with-ia64 enable building ia64 code
1287 Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
1292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" || continue
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1327 .) # We are building in place.
1329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
1332 ac_srcdir=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1353 cd "$ac_pwd" || { ac_status=$?; break; }
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1361 generated by GNU Autoconf 2.61
1363 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1364 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1365 This configure script is free software; the Free Software Foundation
1366 gives unlimited permission to copy, distribute and modify it.
1370 cat >config.log <<_ACEOF
1371 This file contains any messages produced by compilers while
1372 running configure, to aid debugging if configure makes a mistake.
1374 It was created by $as_me, which was
1375 generated by GNU Autoconf 2.61. Invocation command line was
1387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir=.
1411 echo "PATH: $as_dir"
1427 # Keep a trace of the command line.
1428 # Strip out --no-create and --no-recursion so they do not pile up.
1429 # Strip out --silent because we don't want to record it for future runs.
1430 # Also quote any args containing shell meta-characters.
1431 # Make two passes to allow for proper duplicate-argument suppression.
1435 ac_must_keep_next=false
1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443 | -silent | --silent | --silen | --sile | --sil)
1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1451 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1452 if test $ac_must_keep_next = true; then
1453 ac_must_keep_next=false # Got value, back to normal.
1456 *=* | --config-cache | -C | -disable-* | --disable-* \
1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459 | -with-* | --with-* | -without-* | --without-* | --x)
1460 case "$ac_configure_args0 " in
1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464 -* ) ac_must_keep_next=true ;;
1467 ac_configure_args="$ac_configure_args '$ac_arg'"
1472 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1473 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1475 # When interrupted or exit'd, cleanup temporary files, and complete
1476 # config.log. We remove comments because anyway the quotes in there
1477 # would cause problems or look ugly.
1478 # WARNING: Use '\'' to represent an apostrophe within the trap.
1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1480 trap 'exit_status=$?
1481 # Save into config.log some information that might help in debugging.
1486 ## ---------------- ##
1487 ## Cache variables. ##
1488 ## ---------------- ##
1491 # The following way of writing the cache mishandles newlines in values,
1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494 eval ac_val=\$$ac_var
1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1502 _ | IFS | as_nl) ;; #(
1503 *) $as_unset $ac_var ;;
1508 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1509 *${as_nl}ac_space=\ *)
1511 "s/'\''/'\''\\\\'\'''\''/g;
1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1523 ## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##
1528 for ac_var in $ac_subst_vars
1530 eval ac_val=\$$ac_var
1532 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 echo "$ac_var='\''$ac_val'\''"
1538 if test -n "$ac_subst_files"; then
1540 ## ------------------- ##
1541 ## File substitutions. ##
1542 ## ------------------- ##
1545 for ac_var in $ac_subst_files
1547 eval ac_val=\$$ac_var
1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551 echo "$ac_var='\''$ac_val'\''"
1556 if test -s confdefs.h; then
1566 test "$ac_signal" != 0 &&
1567 echo "$as_me: caught signal $ac_signal"
1568 echo "$as_me: exit $exit_status"
1570 rm -f core *.core core.conftest.* &&
1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1574 for ac_signal in 1 2 13 15; do
1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1580 rm -f -r conftest* confdefs.h
1582 # Predefined preprocessor variables.
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_NAME "$PACKAGE_NAME"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_STRING "$PACKAGE_STRING"
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1609 # Let the site file select an alternate cache file if it wants to.
1610 # Prefer explicitly selected file to automatically selected ones.
1611 if test -n "$CONFIG_SITE"; then
1612 set x "$CONFIG_SITE"
1613 elif test "x$prefix" != xNONE; then
1614 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1616 set x "$ac_default_prefix/share/config.site" \
1617 "$ac_default_prefix/etc/config.site"
1622 if test -r "$ac_site_file"; then
1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624 echo "$as_me: loading site script $ac_site_file" >&6;}
1625 sed 's/^/| /' "$ac_site_file" >&5
1630 if test -r "$cache_file"; then
1631 # Some versions of bash will fail to source /dev/null (special
1632 # files actually), so we avoid doing that.
1633 if test -f "$cache_file"; then
1634 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635 echo "$as_me: loading cache $cache_file" >&6;}
1637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638 *) . "./$cache_file";;
1642 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643 echo "$as_me: creating cache $cache_file" >&6;}
1647 # Check that the precious variables saved in the cache have kept the same
1649 ac_cache_corrupted=false
1650 for ac_var in $ac_precious_vars; do
1651 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652 eval ac_new_set=\$ac_env_${ac_var}_set
1653 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654 eval ac_new_val=\$ac_env_${ac_var}_value
1655 case $ac_old_set,$ac_new_set in
1657 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1658 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1661 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1662 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1663 ac_cache_corrupted=: ;;
1666 if test "x$ac_old_val" != "x$ac_new_val"; then
1667 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1668 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1669 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1670 echo "$as_me: former value: $ac_old_val" >&2;}
1671 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1672 echo "$as_me: current value: $ac_new_val" >&2;}
1673 ac_cache_corrupted=:
1676 # Pass precious variables to config.status.
1677 if test "$ac_new_set" = set; then
1679 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1680 *) ac_arg=$ac_var=$ac_new_val ;;
1682 case " $ac_configure_args " in
1683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1684 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1688 if $ac_cache_corrupted; then
1689 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1690 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1691 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1692 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1693 { (exit 1); exit 1; }; }
1713 ac_cpp='$CPP $CPPFLAGS'
1714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1720 for ac_dir in ./config "$srcdir"/./config; do
1721 if test -f "$ac_dir/install-sh"; then
1723 ac_install_sh="$ac_aux_dir/install-sh -c"
1725 elif test -f "$ac_dir/install.sh"; then
1727 ac_install_sh="$ac_aux_dir/install.sh -c"
1729 elif test -f "$ac_dir/shtool"; then
1731 ac_install_sh="$ac_aux_dir/shtool install -c"
1735 if test -z "$ac_aux_dir"; then
1736 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&5
1737 echo "$as_me: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&2;}
1738 { (exit 1); exit 1; }; }
1741 # These three variables are undocumented and unsupported,
1742 # and are intended to be withdrawn in a future Autoconf release.
1743 # They can cause serious problems if a builder's source tree is in a directory
1744 # whose full name contains unusual characters.
1745 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1746 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1747 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1753 # Make sure we can run config.sub.
1754 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1755 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1756 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1757 { (exit 1); exit 1; }; }
1759 { echo "$as_me:$LINENO: checking build system type" >&5
1760 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1761 if test "${ac_cv_build+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 ac_build_alias=$build_alias
1765 test "x$ac_build_alias" = x &&
1766 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1767 test "x$ac_build_alias" = x &&
1768 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1769 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1770 { (exit 1); exit 1; }; }
1771 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1772 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1773 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1774 { (exit 1); exit 1; }; }
1777 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1778 echo "${ECHO_T}$ac_cv_build" >&6; }
1779 case $ac_cv_build in
1781 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1782 echo "$as_me: error: invalid value of canonical build" >&2;}
1783 { (exit 1); exit 1; }; };;
1786 ac_save_IFS=$IFS; IFS='-'
1792 # Remember, the first character of IFS is used to create $*,
1793 # except with old shells:
1796 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1799 { echo "$as_me:$LINENO: checking host system type" >&5
1800 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1801 if test "${ac_cv_host+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test "x$host_alias" = x; then
1805 ac_cv_host=$ac_cv_build
1807 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1808 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1809 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1810 { (exit 1); exit 1; }; }
1814 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1815 echo "${ECHO_T}$ac_cv_host" >&6; }
1818 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1819 echo "$as_me: error: invalid value of canonical host" >&2;}
1820 { (exit 1); exit 1; }; };;
1823 ac_save_IFS=$IFS; IFS='-'
1829 # Remember, the first character of IFS is used to create $*,
1830 # except with old shells:
1833 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1836 #AC_CANONICAL_TARGET
1844 target_cpu="$host_cpu"
1851 # Check whether --with-i386 was given.
1852 if test "${with_i386+set}" = set; then
1853 withval=$with_i386; if test "withval" = "yes" ; then with_i386="i386"; else with_i386="$withval"; fi
1860 # Check whether --with-ia64 was given.
1861 if test "${with_ia64+set}" = set; then
1862 withval=$with_ia64; if test "withval" = "yes" ; then with_ia64="ia64"; else with_ia64="$withval"; fi
1869 if test "$with_i386" = "no" &&
1870 test "$with_ia64" = "no" ; then
1871 with_default=`echo $target_cpu | tr a-z A-Z`
1874 { echo "$as_me:$LINENO: with_default=$with_default" >&5
1875 echo "$as_me: with_default=$with_default" >&6;}
1876 { echo "$as_me:$LINENO: with_i386=$with_i386" >&5
1877 echo "$as_me: with_i386=$with_i386" >&6;}
1878 { echo "$as_me:$LINENO: with_ia64=$with_ia64" >&5
1879 echo "$as_me: with_ia64=$with_ia64" >&6;}
1883 ac_cpp='$CPP $CPPFLAGS'
1884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1887 if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1892 if test "${ac_cv_prog_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$CC"; then
1896 ac_cv_prog_CC="$CC" # Let the user override the test.
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir=.
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test -n "$CC"; then
1917 { echo "$as_me:$LINENO: result: $CC" >&5
1918 echo "${ECHO_T}$CC" >&6; }
1920 { echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6; }
1926 if test -z "$ac_cv_prog_CC"; then
1928 # Extract the first word of "gcc", so it can be a program name with args.
1929 set dummy gcc; ac_word=$2
1930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 if test -n "$ac_ct_CC"; then
1936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945 ac_cv_prog_ac_ct_CC="gcc"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1956 if test -n "$ac_ct_CC"; then
1957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1958 echo "${ECHO_T}$ac_ct_CC" >&6; }
1960 { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1964 if test "x$ac_ct_CC" = x; then
1967 case $cross_compiling:$ac_tool_warned in
1969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1970 whose name does not start with the host triplet. If you think this
1971 configuration is useful to you, please write to autoconf@gnu.org." >&5
1972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1973 whose name does not start with the host triplet. If you think this
1974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1975 ac_tool_warned=yes ;;
1983 if test -z "$CC"; then
1984 if test -n "$ac_tool_prefix"; then
1985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1986 set dummy ${ac_tool_prefix}cc; ac_word=$2
1987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1989 if test "${ac_cv_prog_CC+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 if test -n "$CC"; then
1993 ac_cv_prog_CC="$CC" # Let the user override the test.
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 for ac_exec_ext in '' $ac_executable_extensions; do
2001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2002 ac_cv_prog_CC="${ac_tool_prefix}cc"
2003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 if test -n "$CC"; then
2014 { echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6; }
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2024 if test -z "$CC"; then
2025 # Extract the first word of "cc", so it can be a program name with args.
2026 set dummy cc; ac_word=$2
2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC="$CC" # Let the user override the test.
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2044 ac_prog_rejected=yes
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 if test $ac_prog_rejected = yes; then
2056 # We found a bogon in the path, so make sure we never use it.
2057 set dummy $ac_cv_prog_CC
2059 if test $# != 0; then
2060 # We chose a different compiler from the bogus one.
2061 # However, it has the same basename, so the bogon will be chosen
2062 # first if we set CC to just the basename; use the full file name.
2064 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2070 if test -n "$CC"; then
2071 { echo "$as_me:$LINENO: result: $CC" >&5
2072 echo "${ECHO_T}$CC" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2080 if test -z "$CC"; then
2081 if test -n "$ac_tool_prefix"; then
2082 for ac_prog in cl.exe
2084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$CC"; then
2092 ac_cv_prog_CC="$CC" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 if test -n "$CC"; then
2113 { echo "$as_me:$LINENO: result: $CC" >&5
2114 echo "${ECHO_T}$CC" >&6; }
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2121 test -n "$CC" && break
2124 if test -z "$CC"; then
2126 for ac_prog in cl.exe
2128 # Extract the first word of "$ac_prog", so it can be a program name with args.
2129 set dummy $ac_prog; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$ac_ct_CC"; then
2136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_ac_ct_CC="$ac_prog"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2156 if test -n "$ac_ct_CC"; then
2157 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158 echo "${ECHO_T}$ac_ct_CC" >&6; }
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2165 test -n "$ac_ct_CC" && break
2168 if test "x$ac_ct_CC" = x; then
2171 case $cross_compiling:$ac_tool_warned in
2173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2174 whose name does not start with the host triplet. If you think this
2175 configuration is useful to you, please write to autoconf@gnu.org." >&5
2176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2177 whose name does not start with the host triplet. If you think this
2178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2179 ac_tool_warned=yes ;;
2188 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2189 See \`config.log' for more details." >&5
2190 echo "$as_me: error: no acceptable C compiler found in \$PATH
2191 See \`config.log' for more details." >&2;}
2192 { (exit 1); exit 1; }; }
2194 # Provide some information about the compiler.
2195 echo "$as_me:$LINENO: checking for C compiler version" >&5
2196 ac_compiler=`set X $ac_compile; echo $2`
2197 { (ac_try="$ac_compiler --version >&5"
2199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2200 *) ac_try_echo=$ac_try;;
2202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2203 (eval "$ac_compiler --version >&5") 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }
2207 { (ac_try="$ac_compiler -v >&5"
2209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210 *) ac_try_echo=$ac_try;;
2212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213 (eval "$ac_compiler -v >&5") 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }
2217 { (ac_try="$ac_compiler -V >&5"
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2223 (eval "$ac_compiler -V >&5") 2>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }
2228 cat >conftest.$ac_ext <<_ACEOF
2231 cat confdefs.h >>conftest.$ac_ext
2232 cat >>conftest.$ac_ext <<_ACEOF
2233 /* end confdefs.h. */
2243 ac_clean_files_save=$ac_clean_files
2244 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2245 # Try to create an executable without -o first, disregard a.out.
2246 # It will help us diagnose broken compilers, and finding out an intuition
2248 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2249 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2250 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2252 # List of possible output files, starting from the most likely.
2253 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2254 # only as a last resort. b.out is created by i960 compilers.
2255 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2257 # The IRIX 6 linker writes into existing files which may not be
2258 # executable, retaining their permissions. Remove them first so a
2259 # subsequent execution test works.
2261 for ac_file in $ac_files
2264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2270 if { (ac_try="$ac_link_default"
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276 (eval "$ac_link_default") 2>&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
2280 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2281 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2282 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2283 # so that the user can short-circuit this test for compilers unknown to
2285 for ac_file in $ac_files ''
2287 test -f "$ac_file" || continue
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2292 # We found the default executable, but exeext='' is most
2296 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2298 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2300 # We set ac_cv_exeext here because the later test for it is not
2301 # safe: cross compilers may not add the suffix if given an `-o'
2302 # argument, so we may need to know it at that point already.
2303 # Even if this section looks crufty: it has the advantage of
2310 test "$ac_cv_exeext" = no && ac_cv_exeext=
2316 { echo "$as_me:$LINENO: result: $ac_file" >&5
2317 echo "${ECHO_T}$ac_file" >&6; }
2318 if test -z "$ac_file"; then
2319 echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2323 See \`config.log' for more details." >&5
2324 echo "$as_me: error: C compiler cannot create executables
2325 See \`config.log' for more details." >&2;}
2326 { (exit 77); exit 77; }; }
2329 ac_exeext=$ac_cv_exeext
2331 # Check that the compiler produces executables we can run. If not, either
2332 # the compiler is broken, or we cross compile.
2333 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2334 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2335 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2336 # If not cross compiling, check that we can run a simple program.
2337 if test "$cross_compiling" != yes; then
2338 if { ac_try='./$ac_file'
2339 { (case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_try") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2350 if test "$cross_compiling" = maybe; then
2353 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2354 If you meant to cross compile, use \`--host'.
2355 See \`config.log' for more details." >&5
2356 echo "$as_me: error: cannot run C compiled programs.
2357 If you meant to cross compile, use \`--host'.
2358 See \`config.log' for more details." >&2;}
2359 { (exit 1); exit 1; }; }
2363 { echo "$as_me:$LINENO: result: yes" >&5
2364 echo "${ECHO_T}yes" >&6; }
2366 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2367 ac_clean_files=$ac_clean_files_save
2368 # Check that the compiler produces executables we can run. If not, either
2369 # the compiler is broken, or we cross compile.
2370 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2371 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2372 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2373 echo "${ECHO_T}$cross_compiling" >&6; }
2375 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2376 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2377 if { (ac_try="$ac_link"
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_link") 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; then
2387 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2388 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2389 # work properly (i.e., refer to `conftest.exe'), while it won't with
2391 for ac_file in conftest.exe conftest conftest.*; do
2392 test -f "$ac_file" || continue
2394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2395 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2401 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2402 See \`config.log' for more details." >&5
2403 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2404 See \`config.log' for more details." >&2;}
2405 { (exit 1); exit 1; }; }
2408 rm -f conftest$ac_cv_exeext
2409 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2410 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2412 rm -f conftest.$ac_ext
2413 EXEEXT=$ac_cv_exeext
2415 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2416 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2417 if test "${ac_cv_objext+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 cat >conftest.$ac_ext <<_ACEOF
2423 cat confdefs.h >>conftest.$ac_ext
2424 cat >>conftest.$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2435 rm -f conftest.o conftest.obj
2436 if { (ac_try="$ac_compile"
2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439 *) ac_try_echo=$ac_try;;
2441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2442 (eval "$ac_compile") 2>&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; then
2446 for ac_file in conftest.o conftest.obj conftest.*; do
2447 test -f "$ac_file" || continue;
2449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2450 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2467 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6; }
2469 OBJEXT=$ac_cv_objext
2471 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 cat >conftest.$ac_ext <<_ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2494 rm -f conftest.$ac_objext
2495 if { (ac_try="$ac_compile"
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_compile") 2>conftest.er1
2503 grep -v '^ *+' conftest.er1 >conftest.err
2505 cat conftest.err >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } && {
2508 test -z "$ac_c_werror_flag" ||
2509 test ! -s conftest.err
2510 } && test -s conftest.$ac_objext; then
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.$ac_ext >&5
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2520 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2523 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2524 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2525 GCC=`test $ac_compiler_gnu = yes && echo yes`
2526 ac_test_CFLAGS=${CFLAGS+set}
2527 ac_save_CFLAGS=$CFLAGS
2528 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2529 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2530 if test "${ac_cv_prog_cc_g+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 ac_save_c_werror_flag=$ac_c_werror_flag
2534 ac_c_werror_flag=yes
2537 cat >conftest.$ac_ext <<_ACEOF
2540 cat confdefs.h >>conftest.$ac_ext
2541 cat >>conftest.$ac_ext <<_ACEOF
2542 /* end confdefs.h. */
2552 rm -f conftest.$ac_objext
2553 if { (ac_try="$ac_compile"
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compile") 2>conftest.er1
2561 grep -v '^ *+' conftest.er1 >conftest.err
2563 cat conftest.err >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } && {
2566 test -z "$ac_c_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.$ac_objext; then
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2575 cat >conftest.$ac_ext <<_ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.$ac_objext
2591 if { (ac_try="$ac_compile"
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2597 (eval "$ac_compile") 2>conftest.er1
2599 grep -v '^ *+' conftest.er1 >conftest.err
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.$ac_objext; then
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 ac_c_werror_flag=$ac_save_c_werror_flag
2614 cat >conftest.$ac_ext <<_ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2629 rm -f conftest.$ac_objext
2630 if { (ac_try="$ac_compile"
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636 (eval "$ac_compile") 2>conftest.er1
2638 grep -v '^ *+' conftest.er1 >conftest.err
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } && {
2643 test -z "$ac_c_werror_flag" ||
2644 test ! -s conftest.err
2645 } && test -s conftest.$ac_objext; then
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2661 ac_c_werror_flag=$ac_save_c_werror_flag
2663 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2664 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2665 if test "$ac_test_CFLAGS" = set; then
2666 CFLAGS=$ac_save_CFLAGS
2667 elif test $ac_cv_prog_cc_g = yes; then
2668 if test "$GCC" = yes; then
2674 if test "$GCC" = yes; then
2680 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2681 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2682 if test "${ac_cv_prog_cc_c89+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 ac_cv_prog_cc_c89=no
2687 cat >conftest.$ac_ext <<_ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2695 #include <sys/types.h>
2696 #include <sys/stat.h>
2697 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2698 struct buf { int x; };
2699 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2700 static char *e (p, i)
2706 static char *f (char * (*g) (char **, int), char **p, ...)
2711 s = g (p, va_arg (v,int));
2716 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2717 function prototypes and stuff, but not '\xHH' hex character constants.
2718 These don't provoke an error unfortunately, instead are silently treated
2719 as 'x'. The following induces an error, until -std is added to get
2720 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2721 array size at least. It's necessary to write '\x00'==0 to get something
2722 that's true only with -std. */
2723 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2725 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2726 inside strings and character constants. */
2728 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2730 int test (int i, double x);
2731 struct s1 {int (*f) (int a);};
2732 struct s2 {int (*f) (double a);};
2733 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2739 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2744 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2745 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2747 CC="$ac_save_CC $ac_arg"
2748 rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
2757 grep -v '^ *+' conftest.er1 >conftest.err
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2765 ac_cv_prog_cc_c89=$ac_arg
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2773 rm -f core conftest.err conftest.$ac_objext
2774 test "x$ac_cv_prog_cc_c89" != "xno" && break
2776 rm -f conftest.$ac_ext
2781 case "x$ac_cv_prog_cc_c89" in
2783 { echo "$as_me:$LINENO: result: none needed" >&5
2784 echo "${ECHO_T}none needed" >&6; } ;;
2786 { echo "$as_me:$LINENO: result: unsupported" >&5
2787 echo "${ECHO_T}unsupported" >&6; } ;;
2789 CC="$CC $ac_cv_prog_cc_c89"
2790 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2791 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2796 ac_cpp='$CPP $CPPFLAGS'
2797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2803 # Extract the first word of "mkdir", so it can be a program name with args.
2804 set dummy mkdir; ac_word=$2
2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807 if test "${ac_cv_prog_MKDIR+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 if test -n "$MKDIR"; then
2811 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_MKDIR="mkdir"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 MKDIR=$ac_cv_prog_MKDIR
2831 if test -n "$MKDIR"; then
2832 { echo "$as_me:$LINENO: result: $MKDIR" >&5
2833 echo "${ECHO_T}$MKDIR" >&6; }
2835 { echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6; }
2840 # Extract the first word of "rm", so it can be a program name with args.
2841 set dummy rm; ac_word=$2
2842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2844 if test "${ac_cv_prog_RM+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if test -n "$RM"; then
2848 ac_cv_prog_RM="$RM" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test -n "$RM"; then
2869 { echo "$as_me:$LINENO: result: $RM" >&5
2870 echo "${ECHO_T}$RM" >&6; }
2872 { echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6; }
2877 # Extract the first word of "cp", so it can be a program name with args.
2878 set dummy cp; ac_word=$2
2879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2881 if test "${ac_cv_prog_CP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -n "$CP"; then
2885 ac_cv_prog_CP="$CP" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CP"; then
2906 { echo "$as_me:$LINENO: result: $CP" >&5
2907 echo "${ECHO_T}$CP" >&6; }
2909 { echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6; }
2914 # Extract the first word of "ln", so it can be a program name with args.
2915 set dummy ln; ac_word=$2
2916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2918 if test "${ac_cv_prog_LN+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 if test -n "$LN"; then
2922 ac_cv_prog_LN="$LN" # Let the user override the test.
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir=.
2929 for ac_exec_ext in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test -n "$LN"; then
2943 { echo "$as_me:$LINENO: result: $LN" >&5
2944 echo "${ECHO_T}$LN" >&6; }
2946 { echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6; }
2951 # Extract the first word of "tar", so it can be a program name with args.
2952 set dummy tar; ac_word=$2
2953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2955 if test "${ac_cv_prog_TAR+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if test -n "$TAR"; then
2959 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968 ac_cv_prog_TAR="tar"
2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$TAR"; then
2980 { echo "$as_me:$LINENO: result: $TAR" >&5
2981 echo "${ECHO_T}$TAR" >&6; }
2983 { echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6; }
2988 # Extract the first word of "rpm", so it can be a program name with args.
2989 set dummy rpm; ac_word=$2
2990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2992 if test "${ac_cv_prog_RPM+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 if test -n "$RPM"; then
2996 ac_cv_prog_RPM="$RPM" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_RPM="rpm"
3006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$RPM"; then
3017 { echo "$as_me:$LINENO: result: $RPM" >&5
3018 echo "${ECHO_T}$RPM" >&6; }
3020 { echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6; }
3025 # Extract the first word of "sed", so it can be a program name with args.
3026 set dummy sed; ac_word=$2
3027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3029 if test "${ac_cv_prog_SED+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 if test -n "$SED"; then
3033 ac_cv_prog_SED="$SED" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_SED="sed"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$SED"; then
3054 { echo "$as_me:$LINENO: result: $SED" >&5
3055 echo "${ECHO_T}$SED" >&6; }
3057 { echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6; }
3062 # Extract the first word of "find", so it can be a program name with args.
3063 set dummy find; ac_word=$2
3064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3066 if test "${ac_cv_prog_FIND+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$FIND"; then
3070 ac_cv_prog_FIND="$FIND" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_FIND="find"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 FIND=$ac_cv_prog_FIND
3090 if test -n "$FIND"; then
3091 { echo "$as_me:$LINENO: result: $FIND" >&5
3092 echo "${ECHO_T}$FIND" >&6; }
3094 { echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6; }
3101 ac_cpp='$CPP $CPPFLAGS'
3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3106 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3107 # On Suns, sometimes $CPP names a directory.
3108 if test -n "$CPP" && test -d "$CPP"; then
3111 if test -z "$CPP"; then
3112 if test "${ac_cv_prog_CPP+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 # Double quotes because CPP needs to be expanded
3116 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3119 for ac_c_preproc_warn_flag in '' yes
3121 # Use a header file that comes with gcc, so configuring glibc
3122 # with a fresh cross-compiler works.
3123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3124 # <limits.h> exists even on freestanding compilers.
3125 # On the NeXT, cc -E runs the code through the compiler's parser,
3126 # not just through cpp. "Syntax error" is here to catch this case.
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3134 # include <limits.h>
3136 # include <assert.h>
3140 if { (ac_try="$ac_cpp conftest.$ac_ext"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3148 grep -v '^ *+' conftest.er1 >conftest.err
3150 cat conftest.err >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } >/dev/null && {
3153 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3154 test ! -s conftest.err
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 # Broken: fails on valid input.
3165 rm -f conftest.err conftest.$ac_ext
3167 # OK, works on sane cases. Now check whether nonexistent headers
3168 # can be detected and how.
3169 cat >conftest.$ac_ext <<_ACEOF
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3175 #include <ac_nonexistent.h>
3177 if { (ac_try="$ac_cpp conftest.$ac_ext"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } >/dev/null && {
3190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3191 test ! -s conftest.err
3193 # Broken: success on invalid input.
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3199 # Passes both tests.
3204 rm -f conftest.err conftest.$ac_ext
3207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3208 rm -f conftest.err conftest.$ac_ext
3209 if $ac_preproc_ok; then
3221 { echo "$as_me:$LINENO: result: $CPP" >&5
3222 echo "${ECHO_T}$CPP" >&6; }
3224 for ac_c_preproc_warn_flag in '' yes
3226 # Use a header file that comes with gcc, so configuring glibc
3227 # with a fresh cross-compiler works.
3228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3229 # <limits.h> exists even on freestanding compilers.
3230 # On the NeXT, cc -E runs the code through the compiler's parser,
3231 # not just through cpp. "Syntax error" is here to catch this case.
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3239 # include <limits.h>
3241 # include <assert.h>
3245 if { (ac_try="$ac_cpp conftest.$ac_ext"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3253 grep -v '^ *+' conftest.er1 >conftest.err
3255 cat conftest.err >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } >/dev/null && {
3258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3259 test ! -s conftest.err
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 # Broken: fails on valid input.
3270 rm -f conftest.err conftest.$ac_ext
3272 # OK, works on sane cases. Now check whether nonexistent headers
3273 # can be detected and how.
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if { (ac_try="$ac_cpp conftest.$ac_ext"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3288 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3290 grep -v '^ *+' conftest.er1 >conftest.err
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } >/dev/null && {
3295 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3296 test ! -s conftest.err
3298 # Broken: success on invalid input.
3301 echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3304 # Passes both tests.
3309 rm -f conftest.err conftest.$ac_ext
3312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3313 rm -f conftest.err conftest.$ac_ext
3314 if $ac_preproc_ok; then
3317 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3318 See \`config.log' for more details." >&5
3319 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3320 See \`config.log' for more details." >&2;}
3321 { (exit 1); exit 1; }; }
3325 ac_cpp='$CPP $CPPFLAGS'
3326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3332 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3333 if test "${ac_cv_path_GREP+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 # Extract the first word of "grep ggrep" to use in msg output
3337 if test -z "$GREP"; then
3338 set dummy grep ggrep; ac_prog_name=$2
3339 if test "${ac_cv_path_GREP+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 ac_path_GREP_found=false
3343 # Loop through the user's path and test for each of PROGNAME-LIST
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3348 test -z "$as_dir" && as_dir=.
3349 for ac_prog in grep ggrep; do
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3352 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3353 # Check for GNU ac_path_GREP and select it if it is found.
3354 # Check for GNU $ac_path_GREP
3355 case `"$ac_path_GREP" --version 2>&1` in
3357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3360 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3363 cat "conftest.in" "conftest.in" >"conftest.tmp"
3364 mv "conftest.tmp" "conftest.in"
3365 cp "conftest.in" "conftest.nl"
3366 echo 'GREP' >> "conftest.nl"
3367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3369 ac_count=`expr $ac_count + 1`
3370 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3371 # Best one so far, save it but keep looking for a better one
3372 ac_cv_path_GREP="$ac_path_GREP"
3373 ac_path_GREP_max=$ac_count
3375 # 10*(2^10) chars as input seems more than enough
3376 test $ac_count -gt 10 && break
3378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3382 $ac_path_GREP_found && break 3
3392 GREP="$ac_cv_path_GREP"
3393 if test -z "$GREP"; then
3394 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3395 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3396 { (exit 1); exit 1; }; }
3400 ac_cv_path_GREP=$GREP
3405 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3406 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3407 GREP="$ac_cv_path_GREP"
3410 { echo "$as_me:$LINENO: checking for egrep" >&5
3411 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3412 if test "${ac_cv_path_EGREP+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3416 then ac_cv_path_EGREP="$GREP -E"
3418 # Extract the first word of "egrep" to use in msg output
3419 if test -z "$EGREP"; then
3420 set dummy egrep; ac_prog_name=$2
3421 if test "${ac_cv_path_EGREP+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 ac_path_EGREP_found=false
3425 # Loop through the user's path and test for each of PROGNAME-LIST
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3430 test -z "$as_dir" && as_dir=.
3431 for ac_prog in egrep; do
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3434 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3435 # Check for GNU ac_path_EGREP and select it if it is found.
3436 # Check for GNU $ac_path_EGREP
3437 case `"$ac_path_EGREP" --version 2>&1` in
3439 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3442 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3445 cat "conftest.in" "conftest.in" >"conftest.tmp"
3446 mv "conftest.tmp" "conftest.in"
3447 cp "conftest.in" "conftest.nl"
3448 echo 'EGREP' >> "conftest.nl"
3449 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3450 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3451 ac_count=`expr $ac_count + 1`
3452 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3453 # Best one so far, save it but keep looking for a better one
3454 ac_cv_path_EGREP="$ac_path_EGREP"
3455 ac_path_EGREP_max=$ac_count
3457 # 10*(2^10) chars as input seems more than enough
3458 test $ac_count -gt 10 && break
3460 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3464 $ac_path_EGREP_found && break 3
3474 EGREP="$ac_cv_path_EGREP"
3475 if test -z "$EGREP"; then
3476 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3477 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3478 { (exit 1); exit 1; }; }
3482 ac_cv_path_EGREP=$EGREP
3488 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3489 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3490 EGREP="$ac_cv_path_EGREP"
3493 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3494 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3495 if test "${ac_cv_header_stdc+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 cat >conftest.$ac_ext <<_ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3517 rm -f conftest.$ac_objext
3518 if { (ac_try="$ac_compile"
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3524 (eval "$ac_compile") 2>conftest.er1
3526 grep -v '^ *+' conftest.er1 >conftest.err
3528 cat conftest.err >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); } && {
3531 test -z "$ac_c_werror_flag" ||
3532 test ! -s conftest.err
3533 } && test -s conftest.$ac_objext; then
3534 ac_cv_header_stdc=yes
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 ac_cv_header_stdc=no
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 if test $ac_cv_header_stdc = yes; then
3545 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3546 cat >conftest.$ac_ext <<_ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556 $EGREP "memchr" >/dev/null 2>&1; then
3559 ac_cv_header_stdc=no
3565 if test $ac_cv_header_stdc = yes; then
3566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3567 cat >conftest.$ac_ext <<_ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577 $EGREP "free" >/dev/null 2>&1; then
3580 ac_cv_header_stdc=no
3586 if test $ac_cv_header_stdc = yes; then
3587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3588 if test "$cross_compiling" = yes; then
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3599 #if ((' ' & 0x0FF) == 0x020)
3600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3603 # define ISLOWER(c) \
3604 (('a' <= (c) && (c) <= 'i') \
3605 || ('j' <= (c) && (c) <= 'r') \
3606 || ('s' <= (c) && (c) <= 'z'))
3607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3615 for (i = 0; i < 256; i++)
3616 if (XOR (islower (i), ISLOWER (i))
3617 || toupper (i) != TOUPPER (i))
3622 rm -f conftest$ac_exeext
3623 if { (ac_try="$ac_link"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3629 (eval "$ac_link") 2>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3633 { (case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_try") 2>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3644 echo "$as_me: program exited with status $ac_status" >&5
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3649 ac_cv_header_stdc=no
3651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3657 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3658 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3659 if test $ac_cv_header_stdc = yes; then
3661 cat >>confdefs.h <<\_ACEOF
3662 #define STDC_HEADERS 1
3667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3678 inttypes.h stdint.h unistd.h
3680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 $ac_includes_default
3694 #include <$ac_header>
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703 (eval "$ac_compile") 2>conftest.er1
3705 grep -v '^ *+' conftest.er1 >conftest.err
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } && {
3710 test -z "$ac_c_werror_flag" ||
3711 test ! -s conftest.err
3712 } && test -s conftest.$ac_objext; then
3713 eval "$as_ac_Header=yes"
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3718 eval "$as_ac_Header=no"
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 ac_res=`eval echo '${'$as_ac_Header'}'`
3724 { echo "$as_me:$LINENO: result: $ac_res" >&5
3725 echo "${ECHO_T}$ac_res" >&6; }
3726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727 cat >>confdefs.h <<_ACEOF
3728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3736 if test "${ac_cv_header_zlib_h+set}" = set; then
3737 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3738 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3739 if test "${ac_cv_header_zlib_h+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3743 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3745 # Is the header compilable?
3746 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
3747 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
3748 cat >conftest.$ac_ext <<_ACEOF
3751 cat confdefs.h >>conftest.$ac_ext
3752 cat >>conftest.$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 $ac_includes_default
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3764 (eval "$ac_compile") 2>conftest.er1
3766 grep -v '^ *+' conftest.er1 >conftest.err
3768 cat conftest.err >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } && {
3771 test -z "$ac_c_werror_flag" ||
3772 test ! -s conftest.err
3773 } && test -s conftest.$ac_objext; then
3774 ac_header_compiler=yes
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 ac_header_compiler=no
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3784 echo "${ECHO_T}$ac_header_compiler" >&6; }
3786 # Is the header present?
3787 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
3788 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
3789 cat >conftest.$ac_ext <<_ACEOF
3792 cat confdefs.h >>conftest.$ac_ext
3793 cat >>conftest.$ac_ext <<_ACEOF
3794 /* end confdefs.h. */
3797 if { (ac_try="$ac_cpp conftest.$ac_ext"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3805 grep -v '^ *+' conftest.er1 >conftest.err
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } >/dev/null && {
3810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3811 test ! -s conftest.err
3813 ac_header_preproc=yes
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 ac_header_preproc=no
3821 rm -f conftest.err conftest.$ac_ext
3822 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3823 echo "${ECHO_T}$ac_header_preproc" >&6; }
3825 # So? What about this header?
3826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3828 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3829 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3831 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3832 ac_header_preproc=yes
3835 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3836 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3837 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3838 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3839 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3840 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3842 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3846 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3850 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3851 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3852 if test "${ac_cv_header_zlib_h+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 ac_cv_header_zlib_h=$ac_header_preproc
3857 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3858 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3861 if test $ac_cv_header_zlib_h = yes; then
3862 { echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
3863 echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6; }
3864 if test "${ac_cv_lib_z_inflateInit_+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 ac_check_lib_save_LIBS=$LIBS
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 /* Override any GCC internal prototype to avoid an error.
3878 Use char because int might match the return type of a GCC
3879 builtin and then its argument prototype would still apply. */
3883 char inflateInit_ ();
3887 return inflateInit_ ();
3892 rm -f conftest.$ac_objext conftest$ac_exeext
3893 if { (ac_try="$ac_link"
3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899 (eval "$ac_link") 2>conftest.er1
3901 grep -v '^ *+' conftest.er1 >conftest.err
3903 cat conftest.err >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } && {
3906 test -z "$ac_c_werror_flag" ||
3907 test ! -s conftest.err
3908 } && test -s conftest$ac_exeext &&
3909 $as_test_x conftest$ac_exeext; then
3910 ac_cv_lib_z_inflateInit_=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_cv_lib_z_inflateInit_=no
3918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3919 conftest$ac_exeext conftest.$ac_ext
3920 LIBS=$ac_check_lib_save_LIBS
3922 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
3923 echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6; }
3924 if test $ac_cv_lib_z_inflateInit_ = yes; then
3925 cat >>confdefs.h <<\_ACEOF
3926 #define HAVE_ZLIB_H 1
3935 if test "with_default" != no ; then
3936 if test "$CC" = no; then
3937 { { echo "$as_me:$LINENO: error: cc not found" >&5
3938 echo "$as_me: error: cc not found" >&2;}
3939 { (exit 1); exit 1; }; }
3941 eval "${with_default}_CC='$CC'"
3943 ac_cpp='$CPP $CPPFLAGS'
3944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3948 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3949 # On Suns, sometimes $CPP names a directory.
3950 if test -n "$CPP" && test -d "$CPP"; then
3953 if test -z "$CPP"; then
3954 if test "${ac_cv_prog_CPP+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 # Double quotes because CPP needs to be expanded
3958 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3961 for ac_c_preproc_warn_flag in '' yes
3963 # Use a header file that comes with gcc, so configuring glibc
3964 # with a fresh cross-compiler works.
3965 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966 # <limits.h> exists even on freestanding compilers.
3967 # On the NeXT, cc -E runs the code through the compiler's parser,
3968 # not just through cpp. "Syntax error" is here to catch this case.
3969 cat >conftest.$ac_ext <<_ACEOF
3972 cat confdefs.h >>conftest.$ac_ext
3973 cat >>conftest.$ac_ext <<_ACEOF
3974 /* end confdefs.h. */
3976 # include <limits.h>
3978 # include <assert.h>
3982 if { (ac_try="$ac_cpp conftest.$ac_ext"
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3990 grep -v '^ *+' conftest.er1 >conftest.err
3992 cat conftest.err >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } >/dev/null && {
3995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3996 test ! -s conftest.err
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4003 # Broken: fails on valid input.
4007 rm -f conftest.err conftest.$ac_ext
4009 # OK, works on sane cases. Now check whether nonexistent headers
4010 # can be detected and how.
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4017 #include <ac_nonexistent.h>
4019 if { (ac_try="$ac_cpp conftest.$ac_ext"
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } >/dev/null && {
4032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4035 # Broken: success on invalid input.
4038 echo "$as_me: failed program was:" >&5
4039 sed 's/^/| /' conftest.$ac_ext >&5
4041 # Passes both tests.
4046 rm -f conftest.err conftest.$ac_ext
4049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4050 rm -f conftest.err conftest.$ac_ext
4051 if $ac_preproc_ok; then
4063 { echo "$as_me:$LINENO: result: $CPP" >&5
4064 echo "${ECHO_T}$CPP" >&6; }
4066 for ac_c_preproc_warn_flag in '' yes
4068 # Use a header file that comes with gcc, so configuring glibc
4069 # with a fresh cross-compiler works.
4070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4071 # <limits.h> exists even on freestanding compilers.
4072 # On the NeXT, cc -E runs the code through the compiler's parser,
4073 # not just through cpp. "Syntax error" is here to catch this case.
4074 cat >conftest.$ac_ext <<_ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4081 # include <limits.h>
4083 # include <assert.h>
4087 if { (ac_try="$ac_cpp conftest.$ac_ext"
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4095 grep -v '^ *+' conftest.er1 >conftest.err
4097 cat conftest.err >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } >/dev/null && {
4100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4101 test ! -s conftest.err
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 # Broken: fails on valid input.
4112 rm -f conftest.err conftest.$ac_ext
4114 # OK, works on sane cases. Now check whether nonexistent headers
4115 # can be detected and how.
4116 cat >conftest.$ac_ext <<_ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h. */
4122 #include <ac_nonexistent.h>
4124 if { (ac_try="$ac_cpp conftest.$ac_ext"
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4132 grep -v '^ *+' conftest.er1 >conftest.err
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } >/dev/null && {
4137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4138 test ! -s conftest.err
4140 # Broken: success on invalid input.
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 # Passes both tests.
4151 rm -f conftest.err conftest.$ac_ext
4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4155 rm -f conftest.err conftest.$ac_ext
4156 if $ac_preproc_ok; then
4159 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4160 See \`config.log' for more details." >&5
4161 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4162 See \`config.log' for more details." >&2;}
4163 { (exit 1); exit 1; }; }
4167 ac_cpp='$CPP $CPPFLAGS'
4168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4172 if test "$CPP" = no; then
4173 { { echo "$as_me:$LINENO: error: cpp not found" >&5
4174 echo "$as_me: error: cpp not found" >&2;}
4175 { (exit 1); exit 1; }; }
4177 eval "${with_default}_CPP='$CPP'"
4178 if test -n "$ac_tool_prefix"; then
4179 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4180 set dummy ${ac_tool_prefix}ld; ac_word=$2
4181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4183 if test "${ac_cv_prog_LD+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 if test -n "$LD"; then
4187 ac_cv_prog_LD="$LD" # Let the user override the test.
4189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir=.
4194 for ac_exec_ext in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_prog_LD="${ac_tool_prefix}ld"
4197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 if test -n "$LD"; then
4208 { echo "$as_me:$LINENO: result: $LD" >&5
4209 echo "${ECHO_T}$LD" >&6; }
4211 { echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6; }
4217 if test -z "$ac_cv_prog_LD"; then
4219 # Extract the first word of "ld", so it can be a program name with args.
4220 set dummy ld; ac_word=$2
4221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4223 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 if test -n "$ac_ct_LD"; then
4227 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir=.
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236 ac_cv_prog_ac_ct_LD="ld"
4237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4247 if test -n "$ac_ct_LD"; then
4248 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4249 echo "${ECHO_T}$ac_ct_LD" >&6; }
4251 { echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6; }
4255 if test "x$ac_ct_LD" = x; then
4258 case $cross_compiling:$ac_tool_warned in
4260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4261 whose name does not start with the host triplet. If you think this
4262 configuration is useful to you, please write to autoconf@gnu.org." >&5
4263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4264 whose name does not start with the host triplet. If you think this
4265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4266 ac_tool_warned=yes ;;
4274 if test "$LD" = no; then
4275 { { echo "$as_me:$LINENO: error: ld not found" >&5
4276 echo "$as_me: error: ld not found" >&2;}
4277 { (exit 1); exit 1; }; }
4279 eval "${with_default}_LD='$LD'"
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}as; ac_word=$2
4283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4285 if test "${ac_cv_prog_AS+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 if test -n "$AS"; then
4289 ac_cv_prog_AS="$AS" # Let the user override the test.
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 ac_cv_prog_AS="${ac_tool_prefix}as"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$AS"; then
4310 { echo "$as_me:$LINENO: result: $AS" >&5
4311 echo "${ECHO_T}$AS" >&6; }
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4319 if test -z "$ac_cv_prog_AS"; then
4321 # Extract the first word of "as", so it can be a program name with args.
4322 set dummy as; ac_word=$2
4323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4325 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 if test -n "$ac_ct_AS"; then
4329 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4338 ac_cv_prog_ac_ct_AS="as"
4339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4349 if test -n "$ac_ct_AS"; then
4350 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4351 echo "${ECHO_T}$ac_ct_AS" >&6; }
4353 { echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6; }
4357 if test "x$ac_ct_AS" = x; then
4360 case $cross_compiling:$ac_tool_warned in
4362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4363 whose name does not start with the host triplet. If you think this
4364 configuration is useful to you, please write to autoconf@gnu.org." >&5
4365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4366 whose name does not start with the host triplet. If you think this
4367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4368 ac_tool_warned=yes ;;
4376 if test "$AS" = no; then
4377 { { echo "$as_me:$LINENO: error: as not found" >&5
4378 echo "$as_me: error: as not found" >&2;}
4379 { (exit 1); exit 1; }; }
4381 eval "${with_default}_AS='$AS'"
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 if test -n "$OBJCOPY"; then
4391 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 OBJCOPY=$ac_cv_prog_OBJCOPY
4411 if test -n "$OBJCOPY"; then
4412 { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
4413 echo "${ECHO_T}$OBJCOPY" >&6; }
4415 { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4421 if test -z "$ac_cv_prog_OBJCOPY"; then
4422 ac_ct_OBJCOPY=$OBJCOPY
4423 # Extract the first word of "objcopy", so it can be a program name with args.
4424 set dummy objcopy; ac_word=$2
4425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4427 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$ac_ct_OBJCOPY"; then
4431 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4451 if test -n "$ac_ct_OBJCOPY"; then
4452 { echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
4453 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6; }
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4459 if test "x$ac_ct_OBJCOPY" = x; then
4462 case $cross_compiling:$ac_tool_warned in
4464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4465 whose name does not start with the host triplet. If you think this
4466 configuration is useful to you, please write to autoconf@gnu.org." >&5
4467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4468 whose name does not start with the host triplet. If you think this
4469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4470 ac_tool_warned=yes ;;
4472 OBJCOPY=$ac_ct_OBJCOPY
4475 OBJCOPY="$ac_cv_prog_OBJCOPY"
4478 if test "$OBJCOPY" = no; then
4479 { { echo "$as_me:$LINENO: error: objcopy not found" >&5
4480 echo "$as_me: error: objcopy not found" >&2;}
4481 { (exit 1); exit 1; }; }
4483 eval "${with_default}_OBJCOPY='$OBJCOPY'"
4484 if test "$with_default" = "X86_64" ; then
4489 if test "$with_i386" != "no" ; then
4495 if test "$with_i386" != "" -a "$with_i386" != "yes" ; then
4497 cpp="$with_i386-$cpp"
4500 objcopy="$with_i386-$objcopy"
4502 # Extract the first word of "$cc", so it can be a program name with args.
4503 set dummy $cc; ac_word=$2
4504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4506 if test "${ac_cv_prog_I386_CC+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 if test -n "$I386_CC"; then
4510 ac_cv_prog_I386_CC="$I386_CC" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_I386_CC="$cc"
4520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 test -z "$ac_cv_prog_I386_CC" && ac_cv_prog_I386_CC=""""
4530 I386_CC=$ac_cv_prog_I386_CC
4531 if test -n "$I386_CC"; then
4532 { echo "$as_me:$LINENO: result: $I386_CC" >&5
4533 echo "${ECHO_T}$I386_CC" >&6; }
4535 { echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; }
4540 if test "$I386_CC" = no; then
4542 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4543 echo "$as_me: error: $cc not found" >&2;}
4544 { (exit 1); exit 1; }; }
4546 # Extract the first word of "$cpp", so it can be a program name with args.
4547 set dummy $cpp; ac_word=$2
4548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4550 if test "${ac_cv_prog_I386_CPP+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test -n "$I386_CPP"; then
4554 ac_cv_prog_I386_CPP="$I386_CPP" # Let the user override the test.
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_I386_CPP="$cpp"
4564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 test -z "$ac_cv_prog_I386_CPP" && ac_cv_prog_I386_CPP=""""
4574 I386_CPP=$ac_cv_prog_I386_CPP
4575 if test -n "$I386_CPP"; then
4576 { echo "$as_me:$LINENO: result: $I386_CPP" >&5
4577 echo "${ECHO_T}$I386_CPP" >&6; }
4579 { echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6; }
4584 if test "$I386_CPP" = no; then
4585 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4586 echo "$as_me: error: $cpp not found" >&2;}
4587 { (exit 1); exit 1; }; }
4589 # Extract the first word of "$ld", so it can be a program name with args.
4590 set dummy $ld; ac_word=$2
4591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4593 if test "${ac_cv_prog_I386_LD+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 if test -n "$I386_LD"; then
4597 ac_cv_prog_I386_LD="$I386_LD" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_I386_LD="$ld"
4607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 test -z "$ac_cv_prog_I386_LD" && ac_cv_prog_I386_LD=""""
4617 I386_LD=$ac_cv_prog_I386_LD
4618 if test -n "$I386_LD"; then
4619 { echo "$as_me:$LINENO: result: $I386_LD" >&5
4620 echo "${ECHO_T}$I386_LD" >&6; }
4622 { echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6; }
4627 if test "$I386_AS" = no; then
4628 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4629 echo "$as_me: error: $ld not found" >&2;}
4630 { (exit 1); exit 1; }; }
4632 # Extract the first word of "$as", so it can be a program name with args.
4633 set dummy $as; ac_word=$2
4634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4636 if test "${ac_cv_prog_I386_AS+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 if test -n "$I386_AS"; then
4640 ac_cv_prog_I386_AS="$I386_AS" # Let the user override the test.
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 ac_cv_prog_I386_AS="$as"
4650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 test -z "$ac_cv_prog_I386_AS" && ac_cv_prog_I386_AS=""""
4660 I386_AS=$ac_cv_prog_I386_AS
4661 if test -n "$I386_AS"; then
4662 { echo "$as_me:$LINENO: result: $I386_AS" >&5
4663 echo "${ECHO_T}$I386_AS" >&6; }
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4670 if test "$I386_AS" = no; then
4671 { { echo "$as_me:$LINENO: error: $as not found" >&5
4672 echo "$as_me: error: $as not found" >&2;}
4673 { (exit 1); exit 1; }; }
4675 # Extract the first word of "$objcopy", so it can be a program name with args.
4676 set dummy $objcopy; ac_word=$2
4677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4679 if test "${ac_cv_prog_I386_OBJCOPY+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 if test -n "$I386_OBJCOPY"; then
4683 ac_cv_prog_I386_OBJCOPY="$I386_OBJCOPY" # Let the user override the test.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692 ac_cv_prog_I386_OBJCOPY="$objcopy"
4693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 test -z "$ac_cv_prog_I386_OBJCOPY" && ac_cv_prog_I386_OBJCOPY=""""
4703 I386_OBJCOPY=$ac_cv_prog_I386_OBJCOPY
4704 if test -n "$I386_OBJCOPY"; then
4705 { echo "$as_me:$LINENO: result: $I386_OBJCOPY" >&5
4706 echo "${ECHO_T}$I386_OBJCOPY" >&6; }
4708 { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4713 if test "$I386_OBJCOPY" = no; then
4714 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4715 echo "$as_me: error: $objcopy not found" >&2;}
4716 { (exit 1); exit 1; }; }
4720 if test "$with_ia64" != "no" ; then
4726 if test "$with_ia64" != "" -a "$with_ia64" != "yes" ; then
4728 cpp="$with_ia64-$cpp"
4731 objcopy="$with_ia64-$objcopy"
4733 # Extract the first word of "$cc", so it can be a program name with args.
4734 set dummy $cc; ac_word=$2
4735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4737 if test "${ac_cv_prog_IA64_CC+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 if test -n "$IA64_CC"; then
4741 ac_cv_prog_IA64_CC="$IA64_CC" # Let the user override the test.
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir=.
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750 ac_cv_prog_IA64_CC="$cc"
4751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 test -z "$ac_cv_prog_IA64_CC" && ac_cv_prog_IA64_CC=""""
4761 IA64_CC=$ac_cv_prog_IA64_CC
4762 if test -n "$IA64_CC"; then
4763 { echo "$as_me:$LINENO: result: $IA64_CC" >&5
4764 echo "${ECHO_T}$IA64_CC" >&6; }
4766 { echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6; }
4771 if test "$IA64_CC" = no; then
4773 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4774 echo "$as_me: error: $cc not found" >&2;}
4775 { (exit 1); exit 1; }; }
4777 # Extract the first word of "$cpp", so it can be a program name with args.
4778 set dummy $cpp; ac_word=$2
4779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4781 if test "${ac_cv_prog_IA64_CPP+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$IA64_CPP"; then
4785 ac_cv_prog_IA64_CPP="$IA64_CPP" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_IA64_CPP="$cpp"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 test -z "$ac_cv_prog_IA64_CPP" && ac_cv_prog_IA64_CPP=""""
4805 IA64_CPP=$ac_cv_prog_IA64_CPP
4806 if test -n "$IA64_CPP"; then
4807 { echo "$as_me:$LINENO: result: $IA64_CPP" >&5
4808 echo "${ECHO_T}$IA64_CPP" >&6; }
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4815 if test "$IA64_CPP" = no; then
4816 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4817 echo "$as_me: error: $cpp not found" >&2;}
4818 { (exit 1); exit 1; }; }
4820 # Extract the first word of "$ld", so it can be a program name with args.
4821 set dummy $ld; ac_word=$2
4822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4824 if test "${ac_cv_prog_IA64_LD+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 if test -n "$IA64_LD"; then
4828 ac_cv_prog_IA64_LD="$IA64_LD" # Let the user override the test.
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_IA64_LD="$ld"
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 test -z "$ac_cv_prog_IA64_LD" && ac_cv_prog_IA64_LD=""""
4848 IA64_LD=$ac_cv_prog_IA64_LD
4849 if test -n "$IA64_LD"; then
4850 { echo "$as_me:$LINENO: result: $IA64_LD" >&5
4851 echo "${ECHO_T}$IA64_LD" >&6; }
4853 { echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6; }
4858 if test "$IA64_AS" = no; then
4859 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4860 echo "$as_me: error: $ld not found" >&2;}
4861 { (exit 1); exit 1; }; }
4863 # Extract the first word of "$as", so it can be a program name with args.
4864 set dummy $as; ac_word=$2
4865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4867 if test "${ac_cv_prog_IA64_AS+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 if test -n "$IA64_AS"; then
4871 ac_cv_prog_IA64_AS="$IA64_AS" # Let the user override the test.
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_IA64_AS="$as"
4881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 test -z "$ac_cv_prog_IA64_AS" && ac_cv_prog_IA64_AS=""""
4891 IA64_AS=$ac_cv_prog_IA64_AS
4892 if test -n "$IA64_AS"; then
4893 { echo "$as_me:$LINENO: result: $IA64_AS" >&5
4894 echo "${ECHO_T}$IA64_AS" >&6; }
4896 { echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6; }
4901 if test "$IA64_AS" = no; then
4902 { { echo "$as_me:$LINENO: error: $as not found" >&5
4903 echo "$as_me: error: $as not found" >&2;}
4904 { (exit 1); exit 1; }; }
4906 # Extract the first word of "$objcopy", so it can be a program name with args.
4907 set dummy $objcopy; ac_word=$2
4908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4910 if test "${ac_cv_prog_IA64_OBJCOPY+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 if test -n "$IA64_OBJCOPY"; then
4914 ac_cv_prog_IA64_OBJCOPY="$IA64_OBJCOPY" # Let the user override the test.
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923 ac_cv_prog_IA64_OBJCOPY="$objcopy"
4924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 test -z "$ac_cv_prog_IA64_OBJCOPY" && ac_cv_prog_IA64_OBJCOPY=""""
4934 IA64_OBJCOPY=$ac_cv_prog_IA64_OBJCOPY
4935 if test -n "$IA64_OBJCOPY"; then
4936 { echo "$as_me:$LINENO: result: $IA64_OBJCOPY" >&5
4937 echo "${ECHO_T}$IA64_OBJCOPY" >&6; }
4939 { echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6; }
4944 if test "$IA64_OBJCOPY" = no; then
4945 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4946 echo "$as_me: error: $objcopy not found" >&2;}
4947 { (exit 1); exit 1; }; }
4954 HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
4956 I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)"
4958 I386_LDFLAGS='-static --warn-multiple-gp --warn-common'
4960 IA64_CFLAGS="$IA64_CFLAGS -Os -ffreestanding -Wall -W -Wno-format -fpic -mconstant-gp -mauto-pic -fno-unwind-tables \$(IA64_CPPFLAGS)"
4961 IA64_ASFLAGS='-mconstant-gp -mauto-pic'
4962 IA64_LDFLAGS='-static --warn-multiple-gp --warn-common'
4985 ac_config_files="$ac_config_files Makefile.conf"
4987 cat >confcache <<\_ACEOF
4988 # This file is a shell script that caches the results of configure
4989 # tests run on this system so they can be shared between configure
4990 # scripts and configure runs, see configure's option --config-cache.
4991 # It is not useful on other systems. If it contains results you don't
4992 # want to keep, you may remove or edit it.
4994 # config.status only pays attention to the cache file if you give it
4995 # the --recheck option to rerun configure.
4997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5003 # The following way of writing the cache mishandles newlines in values,
5004 # but we know of no workaround that is simple, portable, and efficient.
5005 # So, we kill variables containing newlines.
5006 # Ultrix sh set writes to stderr and can't be redirected directly,
5007 # and sets the high bit in the cache file unless we assign to the vars.
5009 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5010 eval ac_val=\$$ac_var
5014 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5015 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5018 _ | IFS | as_nl) ;; #(
5019 *) $as_unset $ac_var ;;
5025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5026 *${as_nl}ac_space=\ *)
5027 # `set' does not quote correctly, so add quotes (double-quote
5028 # substitution turns \\\\ into \\, and sed turns \\ into \).
5031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5034 # `set' quotes correctly as required by POSIX, so do not add quotes.
5035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5049 if test -w "$cache_file"; then
5050 test "x$cache_file" != "x/dev/null" &&
5051 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5052 echo "$as_me: updating cache $cache_file" >&6;}
5053 cat confcache >$cache_file
5055 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5056 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5062 # Let make expand exec_prefix.
5063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5065 # Transform confdefs.h into DEFS.
5066 # Protect against shell expansion while executing Makefile rules.
5067 # Protect against Makefile macro expansion.
5069 # If the first sed substitution is executed (which looks for macros that
5070 # take arguments), then branch to the quote section. Otherwise,
5071 # look for a macro that doesn't take arguments.
5075 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5077 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5081 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5094 DEFS=`sed -n "$ac_script" confdefs.h`
5099 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5100 # 1. Remove the extension, and $U if already installed.
5101 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5102 ac_i=`echo "$ac_i" | sed "$ac_script"`
5103 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5104 # will be set to the directory where LIBOBJS objects are built.
5105 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5106 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5110 LTLIBOBJS=$ac_ltlibobjs
5114 : ${CONFIG_STATUS=./config.status}
5115 ac_clean_files_save=$ac_clean_files
5116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5119 cat >$CONFIG_STATUS <<_ACEOF
5121 # Generated by $as_me.
5122 # Run this file to recreate the current configuration.
5123 # Compiler output produced by configure, useful for debugging
5124 # configure, is in config.log if it exists.
5129 SHELL=\${CONFIG_SHELL-$SHELL}
5132 cat >>$CONFIG_STATUS <<\_ACEOF
5133 ## --------------------- ##
5134 ## M4sh Initialization. ##
5135 ## --------------------- ##
5137 # Be more Bourne compatible
5138 DUALCASE=1; export DUALCASE # for MKS sh
5139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5142 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5143 # is contrary to our usage. Disable this feature.
5144 alias -g '${1+"$@"}'='"$@"'
5145 setopt NO_GLOB_SUBST
5147 case `(set -o) 2>/dev/null` in
5148 *posix*) set -o posix ;;
5157 # Avoid depending upon Character Ranges.
5158 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5159 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5160 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5161 as_cr_digits='0123456789'
5162 as_cr_alnum=$as_cr_Letters$as_cr_digits
5164 # The user is always right.
5165 if test "${PATH_SEPARATOR+set}" != set; then
5166 echo "#! /bin/sh" >conf$$.sh
5167 echo "exit 0" >>conf$$.sh
5169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5177 # Support unset when possible.
5178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5186 # We need space, tab and new line, in precisely that order. Quoting is
5187 # there to prevent editors from complaining about space-tab.
5188 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5189 # splitting by setting IFS to empty value.)
5194 # Find who we are. Look in the path if we contain no directory separator.
5196 *[\\/]* ) as_myself=$0 ;;
5197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir=.
5202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5208 # We did not find ourselves, most probably we were run as `sh COMMAND'
5209 # in which case we are not to be found in the path.
5210 if test "x$as_myself" = x; then
5213 if test ! -f "$as_myself"; then
5214 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5215 { (exit 1); exit 1; }
5218 # Work around bugs in pre-3.0 UWIN ksh.
5219 for as_var in ENV MAIL MAILPATH
5220 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5228 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5229 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5230 LC_TELEPHONE LC_TIME
5232 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5233 eval $as_var=C; export $as_var
5235 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5239 # Required to use basename.
5240 if expr a : '\(a\)' >/dev/null 2>&1 &&
5241 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5247 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5248 as_basename=basename
5254 # Name of the executable.
5255 as_me=`$as_basename -- "$0" ||
5256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5257 X"$0" : 'X\(//\)$' \| \
5258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5260 sed '/^.*\/\([^/][^/]*\)\/*$/{
5281 test "x$as_lineno_1" != "x$as_lineno_2" &&
5282 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5284 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5285 # uniformly replaced by the line number. The first 'sed' inserts a
5286 # line-number line after each line using $LINENO; the second 'sed'
5287 # does the real work. The second script uses 'N' to pair each
5288 # line-number line with the line containing $LINENO, and appends
5289 # trailing '-' during substitution so that $LINENO is not a special
5291 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5292 # scripts with optimization help from Paolo Bonzini. Blame Lee
5293 # E. McMahon (1931-1989) for sed's syntax. :-)
5305 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5309 chmod +x "$as_me.lineno" ||
5310 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5311 { (exit 1); exit 1; }; }
5313 # Don't try to exec as it changes $[0], causing all sort of problems
5314 # (the dirname of $[0] is not the place where we might find the
5315 # original and so on. Autoconf is especially sensitive to this).
5317 # Exit status is that of the last command.
5322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5328 ECHO_C= ECHO_N= ECHO_T=
5331 case `echo 'x\c'` in
5332 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5339 if expr a : '\(a\)' >/dev/null 2>&1 &&
5340 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5346 rm -f conf$$ conf$$.exe conf$$.file
5347 if test -d conf$$.dir; then
5348 rm -f conf$$.dir/conf$$.file
5354 if ln -s conf$$.file conf$$ 2>/dev/null; then
5356 # ... but there are two gotchas:
5357 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5358 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5359 # In both cases, we have to default to `cp -p'.
5360 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5362 elif ln conf$$.file conf$$ 2>/dev/null; then
5367 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5368 rmdir conf$$.dir 2>/dev/null
5370 if mkdir -p . 2>/dev/null; then
5373 test -d ./-p && rmdir ./-p
5377 if test -x / >/dev/null 2>&1; then
5380 if ls -dL / >/dev/null 2>&1; then
5387 if test -d "$1"; then
5393 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5394 ???[sx]*):;;*)false;;esac;fi
5398 as_executable_p=$as_test_x
5400 # Sed expression to map a string onto a valid CPP name.
5401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5403 # Sed expression to map a string onto a valid variable name.
5404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5409 # Save the log message, to keep $[0] and so on meaningful, and to
5410 # report actual input values of CONFIG_FILES etc. instead of their
5411 # values after options handling.
5413 This file was extended by $as_me, which was
5414 generated by GNU Autoconf 2.61. Invocation command line was
5416 CONFIG_FILES = $CONFIG_FILES
5417 CONFIG_HEADERS = $CONFIG_HEADERS
5418 CONFIG_LINKS = $CONFIG_LINKS
5419 CONFIG_COMMANDS = $CONFIG_COMMANDS
5422 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5427 cat >>$CONFIG_STATUS <<_ACEOF
5428 # Files that config.status was made for.
5429 config_files="$ac_config_files"
5433 cat >>$CONFIG_STATUS <<\_ACEOF
5435 \`$as_me' instantiates files from templates according to the
5436 current configuration.
5438 Usage: $0 [OPTIONS] [FILE]...
5440 -h, --help print this help, then exit
5441 -V, --version print version number and configuration settings, then exit
5442 -q, --quiet do not print progress messages
5443 -d, --debug don't remove temporary files
5444 --recheck update $as_me by reconfiguring in the same conditions
5445 --file=FILE[:TEMPLATE]
5446 instantiate the configuration file FILE
5448 Configuration files:
5451 Report bugs to <bug-autoconf@gnu.org>."
5454 cat >>$CONFIG_STATUS <<_ACEOF
5457 configured by $0, generated by GNU Autoconf 2.61,
5458 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5460 Copyright (C) 2006 Free Software Foundation, Inc.
5461 This config.status script is free software; the Free Software Foundation
5462 gives unlimited permission to copy, distribute and modify it."
5468 cat >>$CONFIG_STATUS <<\_ACEOF
5469 # If no file are specified by the user, then we need to provide default
5470 # value. By we need to know if files were specified by the user.
5476 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5477 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5488 # Handling of the options.
5489 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5491 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5492 echo "$ac_cs_version"; exit ;;
5493 --debug | --debu | --deb | --de | --d | -d )
5495 --file | --fil | --fi | --f )
5497 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5498 ac_need_defaults=false;;
5499 --he | --h | --help | --hel | -h )
5500 echo "$ac_cs_usage"; exit ;;
5501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5502 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5506 -*) { echo "$as_me: error: unrecognized option: $1
5507 Try \`$0 --help' for more information." >&2
5508 { (exit 1); exit 1; }; } ;;
5510 *) ac_config_targets="$ac_config_targets $1"
5511 ac_need_defaults=false ;;
5517 ac_configure_extra_args=
5519 if $ac_cs_silent; then
5521 ac_configure_extra_args="$ac_configure_extra_args --silent"
5525 cat >>$CONFIG_STATUS <<_ACEOF
5526 if \$ac_cs_recheck; then
5527 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5530 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5534 cat >>$CONFIG_STATUS <<\_ACEOF
5538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5539 ## Running $as_me. ##
5545 cat >>$CONFIG_STATUS <<_ACEOF
5548 cat >>$CONFIG_STATUS <<\_ACEOF
5550 # Handling of arguments.
5551 for ac_config_target in $ac_config_targets
5553 case $ac_config_target in
5554 "Makefile.conf") CONFIG_FILES="$CONFIG_FILES Makefile.conf" ;;
5556 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5557 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5558 { (exit 1); exit 1; }; };;
5563 # If the user did not use the arguments to specify the items to instantiate,
5564 # then the envvar interface is used. Set only those that are not.
5565 # We use the long form for the default assignment because of an extremely
5566 # bizarre bug on SunOS 4.1.3.
5567 if $ac_need_defaults; then
5568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5571 # Have a temporary directory for convenience. Make it in the build tree
5572 # simply because there is no reason against having it here, and in addition,
5573 # creating and moving files from /tmp can sometimes cause problems.
5574 # Hook for its removal unless debugging.
5575 # Note that there is a small window in which the directory will not be cleaned:
5576 # after its creation but before its name has been assigned to `$tmp'.
5580 trap 'exit_status=$?
5581 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5583 trap '{ (exit 1); exit 1; }' 1 2 13 15
5585 # Create a (secure) tmp directory for tmp files.
5588 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5589 test -n "$tmp" && test -d "$tmp"
5592 tmp=./conf$$-$RANDOM
5593 (umask 077 && mkdir "$tmp")
5596 echo "$me: cannot create a temporary directory in ." >&2
5597 { (exit 1); exit 1; }
5601 # Set up the sed scripts for CONFIG_FILES section.
5604 # No need to generate the scripts if there are no CONFIG_FILES.
5605 # This happens for instance when ./config.status config.h
5606 if test -n "$CONFIG_FILES"; then
5613 for ac_last_try in false false false false false :; do
5614 cat >conf$$subs.sed <<_ACEOF
5615 SHELL!$SHELL$ac_delim
5616 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5617 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5618 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5619 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5620 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5621 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5622 exec_prefix!$exec_prefix$ac_delim
5623 prefix!$prefix$ac_delim
5624 program_transform_name!$program_transform_name$ac_delim
5625 bindir!$bindir$ac_delim
5626 sbindir!$sbindir$ac_delim
5627 libexecdir!$libexecdir$ac_delim
5628 datarootdir!$datarootdir$ac_delim
5629 datadir!$datadir$ac_delim
5630 sysconfdir!$sysconfdir$ac_delim
5631 sharedstatedir!$sharedstatedir$ac_delim
5632 localstatedir!$localstatedir$ac_delim
5633 includedir!$includedir$ac_delim
5634 oldincludedir!$oldincludedir$ac_delim
5635 docdir!$docdir$ac_delim
5636 infodir!$infodir$ac_delim
5637 htmldir!$htmldir$ac_delim
5638 dvidir!$dvidir$ac_delim
5639 pdfdir!$pdfdir$ac_delim
5640 psdir!$psdir$ac_delim
5641 libdir!$libdir$ac_delim
5642 localedir!$localedir$ac_delim
5643 mandir!$mandir$ac_delim
5645 ECHO_C!$ECHO_C$ac_delim
5646 ECHO_N!$ECHO_N$ac_delim
5647 ECHO_T!$ECHO_T$ac_delim
5649 build_alias!$build_alias$ac_delim
5650 host_alias!$host_alias$ac_delim
5651 target_alias!$target_alias$ac_delim
5652 build!$build$ac_delim
5653 build_cpu!$build_cpu$ac_delim
5654 build_vendor!$build_vendor$ac_delim
5655 build_os!$build_os$ac_delim
5657 host_cpu!$host_cpu$ac_delim
5658 host_vendor!$host_vendor$ac_delim
5659 host_os!$host_os$ac_delim
5661 CFLAGS!$CFLAGS$ac_delim
5662 LDFLAGS!$LDFLAGS$ac_delim
5663 CPPFLAGS!$CPPFLAGS$ac_delim
5664 ac_ct_CC!$ac_ct_CC$ac_delim
5665 EXEEXT!$EXEEXT$ac_delim
5666 OBJEXT!$OBJEXT$ac_delim
5667 MKDIR!$MKDIR$ac_delim
5677 EGREP!$EGREP$ac_delim
5680 OBJCOPY!$OBJCOPY$ac_delim
5681 I386_CC!$I386_CC$ac_delim
5682 I386_CPP!$I386_CPP$ac_delim
5683 I386_LD!$I386_LD$ac_delim
5684 I386_AS!$I386_AS$ac_delim
5685 I386_OBJCOPY!$I386_OBJCOPY$ac_delim
5686 IA64_CC!$IA64_CC$ac_delim
5687 IA64_CPP!$IA64_CPP$ac_delim
5688 IA64_LD!$IA64_LD$ac_delim
5689 IA64_AS!$IA64_AS$ac_delim
5690 IA64_OBJCOPY!$IA64_OBJCOPY$ac_delim
5691 HOST_CC!$HOST_CC$ac_delim
5692 HOST_CFLAGS!$HOST_CFLAGS$ac_delim
5693 I386_CFLAGS!$I386_CFLAGS$ac_delim
5694 I386_ASFLAGS!$I386_ASFLAGS$ac_delim
5695 I386_LDFLAGS!$I386_LDFLAGS$ac_delim
5696 IA64_CFLAGS!$IA64_CFLAGS$ac_delim
5697 IA64_ASFLAGS!$IA64_ASFLAGS$ac_delim
5698 IA64_LDFLAGS!$IA64_LDFLAGS$ac_delim
5699 LIBOBJS!$LIBOBJS$ac_delim
5700 LTLIBOBJS!$LTLIBOBJS$ac_delim
5703 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
5705 elif $ac_last_try; then
5706 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5707 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5708 { (exit 1); exit 1; }; }
5710 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5714 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5715 if test -n "$ac_eof"; then
5716 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5717 ac_eof=`expr $ac_eof + 1`
5720 cat >>$CONFIG_STATUS <<_ACEOF
5721 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5725 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5726 s/^/s,@/; s/!/@,|#_!!_#|/
5729 s/'"$ac_delim"'$/,g/; t
5731 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5732 ' >>$CONFIG_STATUS <conf$$subs.sed
5733 rm -f conf$$subs.sed
5734 cat >>$CONFIG_STATUS <<_ACEOF
5741 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5742 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5743 # trailing colons and then remove the whole line if VPATH becomes empty
5744 # (actually we leave an empty line to preserve line numbers).
5745 if test "x$srcdir" = x.; then
5746 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5750 s/^\([^=]*=[ ]*\):*/\1/
5756 cat >>$CONFIG_STATUS <<\_ACEOF
5757 fi # test -n "$CONFIG_FILES"
5760 for ac_tag in :F $CONFIG_FILES
5763 :[FHLC]) ac_mode=$ac_tag; continue;;
5765 case $ac_mode$ac_tag in
5767 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5768 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5769 { (exit 1); exit 1; }; };;
5770 :[FH]-) ac_tag=-:-;;
5771 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5788 -) ac_f="$tmp/stdin";;
5789 *) # Look for the file first in the build tree, then in the source tree
5790 # (if the path is not absolute). The absolute path cannot be DOS-style,
5791 # because $ac_f cannot contain `:'.
5795 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5797 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5798 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5799 { (exit 1); exit 1; }; };;
5801 ac_file_inputs="$ac_file_inputs $ac_f"
5804 # Let's still pretend it is `configure' which instantiates (i.e., don't
5805 # use $as_me), people would be surprised to read:
5806 # /* config.h. Generated by config.status. */
5807 configure_input="Generated from "`IFS=:
5808 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5809 if test x"$ac_file" != x-; then
5810 configure_input="$ac_file. $configure_input"
5811 { echo "$as_me:$LINENO: creating $ac_file" >&5
5812 echo "$as_me: creating $ac_file" >&6;}
5816 *:-:* | *:-) cat >"$tmp/stdin";;
5821 ac_dir=`$as_dirname -- "$ac_file" ||
5822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5823 X"$ac_file" : 'X\(//\)[^/]' \| \
5824 X"$ac_file" : 'X\(//\)$' \| \
5825 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5846 -*) as_dir=./$as_dir;;
5848 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5852 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5853 *) as_qdir=$as_dir;;
5855 as_dirs="'$as_qdir' $as_dirs"
5856 as_dir=`$as_dirname -- "$as_dir" ||
5857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858 X"$as_dir" : 'X\(//\)[^/]' \| \
5859 X"$as_dir" : 'X\(//\)$' \| \
5860 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5879 test -d "$as_dir" && break
5881 test -z "$as_dirs" || eval "mkdir $as_dirs"
5882 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5883 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5884 { (exit 1); exit 1; }; }; }
5888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5891 # A ".." for each directory in $ac_dir_suffix.
5892 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5893 case $ac_top_builddir_sub in
5894 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5895 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5898 ac_abs_top_builddir=$ac_pwd
5899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5900 # for backward compatibility:
5901 ac_top_builddir=$ac_top_build_prefix
5904 .) # We are building in place.
5906 ac_top_srcdir=$ac_top_builddir_sub
5907 ac_abs_top_srcdir=$ac_pwd ;;
5908 [\\/]* | ?:[\\/]* ) # Absolute name.
5909 ac_srcdir=$srcdir$ac_dir_suffix;
5910 ac_top_srcdir=$srcdir
5911 ac_abs_top_srcdir=$srcdir ;;
5913 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5914 ac_top_srcdir=$ac_top_build_prefix$srcdir
5915 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5928 cat >>$CONFIG_STATUS <<\_ACEOF
5929 # If the template does not know about datarootdir, expand it.
5930 # FIXME: This hack should be removed a few years after 2.60.
5931 ac_datarootdir_hack=; ac_datarootdir_seen=
5933 case `sed -n '/datarootdir/ {
5942 ' $ac_file_inputs` in
5943 *datarootdir*) ac_datarootdir_seen=yes;;
5944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5945 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5946 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5948 cat >>$CONFIG_STATUS <<_ACEOF
5949 ac_datarootdir_hack='
5950 s&@datadir@&$datadir&g
5951 s&@docdir@&$docdir&g
5952 s&@infodir@&$infodir&g
5953 s&@localedir@&$localedir&g
5954 s&@mandir@&$mandir&g
5955 s&\\\${datarootdir}&$datarootdir&g' ;;
5959 # Neutralize VPATH when `$srcdir' = `.'.
5960 # Shell code in configure.ac might set extrasub.
5961 # FIXME: do we really want to maintain this feature?
5962 cat >>$CONFIG_STATUS <<_ACEOF
5966 cat >>$CONFIG_STATUS <<\_ACEOF
5968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5969 s&@configure_input@&$configure_input&;t t
5970 s&@top_builddir@&$ac_top_builddir_sub&;t t
5971 s&@srcdir@&$ac_srcdir&;t t
5972 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5973 s&@top_srcdir@&$ac_top_srcdir&;t t
5974 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5975 s&@builddir@&$ac_builddir&;t t
5976 s&@abs_builddir@&$ac_abs_builddir&;t t
5977 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5978 $ac_datarootdir_hack
5979 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5981 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5982 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5983 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5984 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5985 which seems to be undefined. Please make sure it is defined." >&5
5986 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5987 which seems to be undefined. Please make sure it is defined." >&2;}
5991 -) cat "$tmp/out"; rm -f "$tmp/out";;
5992 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6003 { (exit 0); exit 0; }
6005 chmod +x $CONFIG_STATUS
6006 ac_clean_files=$ac_clean_files_save
6009 # configure is writing to config.log, and then calls config.status.
6010 # config.status does its own redirection, appending to config.log.
6011 # Unfortunately, on DOS this fails, as config.log is still kept open
6012 # by configure, so config.status won't be able to write to it; its
6013 # output is simply discarded. So we exec the FD to /dev/null,
6014 # effectively closing config.log, so it can be properly (re)opened and
6015 # appended to by config.status. When coming back to configure, we
6016 # need to make the FD available again.
6017 if test "$no_create" != yes; then
6019 ac_config_status_args=
6020 test "$silent" = yes &&
6021 ac_config_status_args="$ac_config_status_args --quiet"
6023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6026 # would make configure fail if this is the last instruction.
6027 $ac_cs_success || { (exit 1); exit 1; }