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
693 libc_cv_fno_stack_protector
704 ac_precious_vars='build_alias
715 # Initialize some variables set by options.
717 ac_init_version=false
718 # The variables have the same names as the options, with
719 # dashes changed to underlines.
727 program_transform_name=s,x,x,
735 # Installation directory options.
736 # These are left unexpanded so users can "make install exec_prefix=/foo"
737 # and all the variables that are supposed to be based on exec_prefix
738 # by default will actually change.
739 # Use braces instead of parens because sh, perl, etc. also accept them.
740 # (The list follows the same order as the GNU Coding Standards.)
741 bindir='${exec_prefix}/bin'
742 sbindir='${exec_prefix}/sbin'
743 libexecdir='${exec_prefix}/libexec'
744 datarootdir='${prefix}/share'
745 datadir='${datarootdir}'
746 sysconfdir='${prefix}/etc'
747 sharedstatedir='${prefix}/com'
748 localstatedir='${prefix}/var'
749 includedir='${prefix}/include'
750 oldincludedir='/usr/include'
751 docdir='${datarootdir}/doc/${PACKAGE}'
752 infodir='${datarootdir}/info'
757 libdir='${exec_prefix}/lib'
758 localedir='${datarootdir}/locale'
759 mandir='${datarootdir}/man'
765 # If the previous option needs an argument, assign it.
766 if test -n "$ac_prev"; then
767 eval $ac_prev=\$ac_option
773 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777 # Accept the important Cygnus configure options, so we can diagnose typos.
779 case $ac_dashdash$ac_option in
783 -bindir | --bindir | --bindi | --bind | --bin | --bi)
785 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
788 -build | --build | --buil | --bui | --bu)
789 ac_prev=build_alias ;;
790 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791 build_alias=$ac_optarg ;;
793 -cache-file | --cache-file | --cache-fil | --cache-fi \
794 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795 ac_prev=cache_file ;;
796 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798 cache_file=$ac_optarg ;;
801 cache_file=config.cache ;;
803 -datadir | --datadir | --datadi | --datad)
805 -datadir=* | --datadir=* | --datadi=* | --datad=*)
806 datadir=$ac_optarg ;;
808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809 | --dataroo | --dataro | --datar)
810 ac_prev=datarootdir ;;
811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813 datarootdir=$ac_optarg ;;
815 -disable-* | --disable-*)
816 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
820 { (exit 1); exit 1; }; }
821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
822 eval enable_$ac_feature=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 -enable-* | --enable-*)
835 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
839 { (exit 1); exit 1; }; }
840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
841 eval enable_$ac_feature=\$ac_optarg ;;
843 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
844 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
845 | --exec | --exe | --ex)
846 ac_prev=exec_prefix ;;
847 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
848 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
849 | --exec=* | --exe=* | --ex=*)
850 exec_prefix=$ac_optarg ;;
852 -gas | --gas | --ga | --g)
853 # Obsolete; use --with-gas.
856 -help | --help | --hel | --he | -h)
858 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
859 ac_init_help=recursive ;;
860 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
861 ac_init_help=short ;;
863 -host | --host | --hos | --ho)
864 ac_prev=host_alias ;;
865 -host=* | --host=* | --hos=* | --ho=*)
866 host_alias=$ac_optarg ;;
868 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
870 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
872 htmldir=$ac_optarg ;;
874 -includedir | --includedir | --includedi | --included | --include \
875 | --includ | --inclu | --incl | --inc)
876 ac_prev=includedir ;;
877 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
878 | --includ=* | --inclu=* | --incl=* | --inc=*)
879 includedir=$ac_optarg ;;
881 -infodir | --infodir | --infodi | --infod | --info | --inf)
883 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
884 infodir=$ac_optarg ;;
886 -libdir | --libdir | --libdi | --libd)
888 -libdir=* | --libdir=* | --libdi=* | --libd=*)
891 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
892 | --libexe | --libex | --libe)
893 ac_prev=libexecdir ;;
894 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
895 | --libexe=* | --libex=* | --libe=*)
896 libexecdir=$ac_optarg ;;
898 -localedir | --localedir | --localedi | --localed | --locale)
900 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
901 localedir=$ac_optarg ;;
903 -localstatedir | --localstatedir | --localstatedi | --localstated \
904 | --localstate | --localstat | --localsta | --localst | --locals)
905 ac_prev=localstatedir ;;
906 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
907 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
908 localstatedir=$ac_optarg ;;
910 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
912 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 # Obsolete; use --without-fp.
919 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
920 | --no-cr | --no-c | -n)
923 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
924 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
927 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
928 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
929 | --oldin | --oldi | --old | --ol | --o)
930 ac_prev=oldincludedir ;;
931 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
932 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
933 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
934 oldincludedir=$ac_optarg ;;
936 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
938 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
941 -program-prefix | --program-prefix | --program-prefi | --program-pref \
942 | --program-pre | --program-pr | --program-p)
943 ac_prev=program_prefix ;;
944 -program-prefix=* | --program-prefix=* | --program-prefi=* \
945 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
946 program_prefix=$ac_optarg ;;
948 -program-suffix | --program-suffix | --program-suffi | --program-suff \
949 | --program-suf | --program-su | --program-s)
950 ac_prev=program_suffix ;;
951 -program-suffix=* | --program-suffix=* | --program-suffi=* \
952 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
953 program_suffix=$ac_optarg ;;
955 -program-transform-name | --program-transform-name \
956 | --program-transform-nam | --program-transform-na \
957 | --program-transform-n | --program-transform- \
958 | --program-transform | --program-transfor \
959 | --program-transfo | --program-transf \
960 | --program-trans | --program-tran \
961 | --progr-tra | --program-tr | --program-t)
962 ac_prev=program_transform_name ;;
963 -program-transform-name=* | --program-transform-name=* \
964 | --program-transform-nam=* | --program-transform-na=* \
965 | --program-transform-n=* | --program-transform-=* \
966 | --program-transform=* | --program-transfor=* \
967 | --program-transfo=* | --program-transf=* \
968 | --program-trans=* | --program-tran=* \
969 | --progr-tra=* | --program-tr=* | --program-t=*)
970 program_transform_name=$ac_optarg ;;
972 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
974 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
977 -psdir | --psdir | --psdi | --psd | --ps)
979 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983 | -silent | --silent | --silen | --sile | --sil)
986 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
988 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
990 sbindir=$ac_optarg ;;
992 -sharedstatedir | --sharedstatedir | --sharedstatedi \
993 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
994 | --sharedst | --shareds | --shared | --share | --shar \
996 ac_prev=sharedstatedir ;;
997 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
998 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
999 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1001 sharedstatedir=$ac_optarg ;;
1003 -site | --site | --sit)
1005 -site=* | --site=* | --sit=*)
1008 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1010 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1011 srcdir=$ac_optarg ;;
1013 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1014 | --syscon | --sysco | --sysc | --sys | --sy)
1015 ac_prev=sysconfdir ;;
1016 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1017 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1018 sysconfdir=$ac_optarg ;;
1020 -target | --target | --targe | --targ | --tar | --ta | --t)
1021 ac_prev=target_alias ;;
1022 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1023 target_alias=$ac_optarg ;;
1025 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028 -version | --version | --versio | --versi | --vers | -V)
1029 ac_init_version=: ;;
1032 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035 { echo "$as_me: error: invalid package name: $ac_package" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1038 eval with_$ac_package=\$ac_optarg ;;
1040 -without-* | --without-*)
1041 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 { echo "$as_me: error: invalid package name: $ac_package" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1047 eval with_$ac_package=no ;;
1050 # Obsolete; use --with-x.
1053 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054 | --x-incl | --x-inc | --x-in | --x-i)
1055 ac_prev=x_includes ;;
1056 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058 x_includes=$ac_optarg ;;
1060 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062 ac_prev=x_libraries ;;
1063 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065 x_libraries=$ac_optarg ;;
1067 -*) { echo "$as_me: error: unrecognized option: $ac_option
1068 Try \`$0 --help' for more information." >&2
1069 { (exit 1); exit 1; }; }
1073 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1076 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1077 { (exit 1); exit 1; }; }
1078 eval $ac_envvar=\$ac_optarg
1079 export $ac_envvar ;;
1082 # FIXME: should be removed in autoconf 3.0.
1083 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092 if test -n "$ac_prev"; then
1093 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094 { echo "$as_me: error: missing argument to $ac_option" >&2
1095 { (exit 1); exit 1; }; }
1098 # Be sure to have absolute directory names.
1099 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1100 datadir sysconfdir sharedstatedir localstatedir includedir \
1101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1102 libdir localedir mandir
1104 eval ac_val=\$$ac_var
1106 [\\/$]* | ?:[\\/]* ) continue;;
1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1110 { (exit 1); exit 1; }; }
1113 # There might be people who depend on the old broken behavior: `$host'
1114 # used to hold the argument of --host etc.
1115 # FIXME: To remove some day.
1118 target=$target_alias
1120 # FIXME: To remove some day.
1121 if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1125 If a cross compiler is detected then cross compile mode will be used." >&2
1126 elif test "x$build_alias" != "x$host_alias"; then
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 { echo "$as_me: error: Working directory cannot be determined" >&2
1141 { (exit 1); exit 1; }; }
1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143 { echo "$as_me: error: pwd does not report name of working directory" >&2
1144 { (exit 1); exit 1; }; }
1147 # Find the source files, if location was not specified.
1148 if test -z "$srcdir"; then
1149 ac_srcdir_defaulted=yes
1150 # Try the directory containing this script, then the parent directory.
1151 ac_confdir=`$as_dirname -- "$0" ||
1152 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1153 X"$0" : 'X\(//\)[^/]' \| \
1154 X"$0" : 'X\(//\)$' \| \
1155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1175 if test ! -r "$srcdir/$ac_unique_file"; then
1179 ac_srcdir_defaulted=no
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1183 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1184 { (exit 1); exit 1; }; }
1186 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1188 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1189 { (exit 1); exit 1; }; }
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1209 # Report the --help message.
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1215 \`configure' configures this package to adapt to many kinds of systems.
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1222 Defaults for the options are specified in brackets.
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1246 For better control, use the options below.
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1273 --build=BUILD configure for building on BUILD [guessed]
1274 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1278 if test -n "$ac_init_help"; then
1283 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1284 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1285 --with-i386 enable building i386 code
1286 --with-ia64 enable building ia64 code
1288 Some influential environment variables:
1289 CC C compiler command
1290 CFLAGS C compiler flags
1291 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1292 nonstandard directory <lib dir>
1293 LIBS libraries to pass to the linker, e.g. -l<library>
1294 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1295 you have headers in a nonstandard directory <include dir>
1298 Use these variables to override the choices made by `configure' or to help
1299 it to find libraries and programs with nonstandard names/locations.
1305 if test "$ac_init_help" = "recursive"; then
1306 # If there are subdirs, report their specific --help.
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308 test -d "$ac_dir" || continue
1312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1315 # A ".." for each directory in $ac_dir_suffix.
1316 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1317 case $ac_top_builddir_sub in
1318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322 ac_abs_top_builddir=$ac_pwd
1323 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1324 # for backward compatibility:
1325 ac_top_builddir=$ac_top_build_prefix
1328 .) # We are building in place.
1330 ac_top_srcdir=$ac_top_builddir_sub
1331 ac_abs_top_srcdir=$ac_pwd ;;
1332 [\\/]* | ?:[\\/]* ) # Absolute name.
1333 ac_srcdir=$srcdir$ac_dir_suffix;
1334 ac_top_srcdir=$srcdir
1335 ac_abs_top_srcdir=$srcdir ;;
1337 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1338 ac_top_srcdir=$ac_top_build_prefix$srcdir
1339 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1341 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1343 cd "$ac_dir" || { ac_status=$?; continue; }
1344 # Check for guested configure.
1345 if test -f "$ac_srcdir/configure.gnu"; then
1347 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1348 elif test -f "$ac_srcdir/configure"; then
1350 $SHELL "$ac_srcdir/configure" --help=recursive
1352 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1354 cd "$ac_pwd" || { ac_status=$?; break; }
1358 test -n "$ac_init_help" && exit $ac_status
1359 if $ac_init_version; then
1362 generated by GNU Autoconf 2.61
1364 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1365 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1371 cat >config.log <<_ACEOF
1372 This file contains any messages produced by compilers while
1373 running configure, to aid debugging if configure makes a mistake.
1375 It was created by $as_me, which was
1376 generated by GNU Autoconf 2.61. Invocation command line was
1388 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1389 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1390 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1391 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1392 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1395 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1397 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1398 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1399 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1400 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1401 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1402 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1403 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 echo "PATH: $as_dir"
1428 # Keep a trace of the command line.
1429 # Strip out --no-create and --no-recursion so they do not pile up.
1430 # Strip out --silent because we don't want to record it for future runs.
1431 # Also quote any args containing shell meta-characters.
1432 # Make two passes to allow for proper duplicate-argument suppression.
1436 ac_must_keep_next=false
1442 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1444 | -silent | --silent | --silen | --sile | --sil)
1447 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1452 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1453 if test $ac_must_keep_next = true; then
1454 ac_must_keep_next=false # Got value, back to normal.
1457 *=* | --config-cache | -C | -disable-* | --disable-* \
1458 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1459 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1460 | -with-* | --with-* | -without-* | --without-* | --x)
1461 case "$ac_configure_args0 " in
1462 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1465 -* ) ac_must_keep_next=true ;;
1468 ac_configure_args="$ac_configure_args '$ac_arg'"
1473 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1474 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1476 # When interrupted or exit'd, cleanup temporary files, and complete
1477 # config.log. We remove comments because anyway the quotes in there
1478 # would cause problems or look ugly.
1479 # WARNING: Use '\'' to represent an apostrophe within the trap.
1480 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1481 trap 'exit_status=$?
1482 # Save into config.log some information that might help in debugging.
1487 ## ---------------- ##
1488 ## Cache variables. ##
1489 ## ---------------- ##
1492 # The following way of writing the cache mishandles newlines in values,
1494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1495 eval ac_val=\$$ac_var
1499 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1500 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1503 _ | IFS | as_nl) ;; #(
1504 *) $as_unset $ac_var ;;
1509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510 *${as_nl}ac_space=\ *)
1512 "s/'\''/'\''\\\\'\'''\''/g;
1513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1524 ## ----------------- ##
1525 ## Output variables. ##
1526 ## ----------------- ##
1529 for ac_var in $ac_subst_vars
1531 eval ac_val=\$$ac_var
1533 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1535 echo "$ac_var='\''$ac_val'\''"
1539 if test -n "$ac_subst_files"; then
1541 ## ------------------- ##
1542 ## File substitutions. ##
1543 ## ------------------- ##
1546 for ac_var in $ac_subst_files
1548 eval ac_val=\$$ac_var
1550 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552 echo "$ac_var='\''$ac_val'\''"
1557 if test -s confdefs.h; then
1567 test "$ac_signal" != 0 &&
1568 echo "$as_me: caught signal $ac_signal"
1569 echo "$as_me: exit $exit_status"
1571 rm -f core *.core core.conftest.* &&
1572 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1575 for ac_signal in 1 2 13 15; do
1576 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1580 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1581 rm -f -r conftest* confdefs.h
1583 # Predefined preprocessor variables.
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_NAME "$PACKAGE_NAME"
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_STRING "$PACKAGE_STRING"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610 # Let the site file select an alternate cache file if it wants to.
1611 # Prefer explicitly selected file to automatically selected ones.
1612 if test -n "$CONFIG_SITE"; then
1613 set x "$CONFIG_SITE"
1614 elif test "x$prefix" != xNONE; then
1615 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1617 set x "$ac_default_prefix/share/config.site" \
1618 "$ac_default_prefix/etc/config.site"
1623 if test -r "$ac_site_file"; then
1624 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1625 echo "$as_me: loading site script $ac_site_file" >&6;}
1626 sed 's/^/| /' "$ac_site_file" >&5
1631 if test -r "$cache_file"; then
1632 # Some versions of bash will fail to source /dev/null (special
1633 # files actually), so we avoid doing that.
1634 if test -f "$cache_file"; then
1635 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1636 echo "$as_me: loading cache $cache_file" >&6;}
1638 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1639 *) . "./$cache_file";;
1643 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1644 echo "$as_me: creating cache $cache_file" >&6;}
1648 # Check that the precious variables saved in the cache have kept the same
1650 ac_cache_corrupted=false
1651 for ac_var in $ac_precious_vars; do
1652 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1653 eval ac_new_set=\$ac_env_${ac_var}_set
1654 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1655 eval ac_new_val=\$ac_env_${ac_var}_value
1656 case $ac_old_set,$ac_new_set in
1658 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1659 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1660 ac_cache_corrupted=: ;;
1662 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1663 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1664 ac_cache_corrupted=: ;;
1667 if test "x$ac_old_val" != "x$ac_new_val"; then
1668 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1669 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1670 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1671 echo "$as_me: former value: $ac_old_val" >&2;}
1672 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1673 echo "$as_me: current value: $ac_new_val" >&2;}
1674 ac_cache_corrupted=:
1677 # Pass precious variables to config.status.
1678 if test "$ac_new_set" = set; then
1680 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1681 *) ac_arg=$ac_var=$ac_new_val ;;
1683 case " $ac_configure_args " in
1684 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1685 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1689 if $ac_cache_corrupted; then
1690 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1691 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1693 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1694 { (exit 1); exit 1; }; }
1714 ac_cpp='$CPP $CPPFLAGS'
1715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1721 for ac_dir in ./config "$srcdir"/./config; do
1722 if test -f "$ac_dir/install-sh"; then
1724 ac_install_sh="$ac_aux_dir/install-sh -c"
1726 elif test -f "$ac_dir/install.sh"; then
1728 ac_install_sh="$ac_aux_dir/install.sh -c"
1730 elif test -f "$ac_dir/shtool"; then
1732 ac_install_sh="$ac_aux_dir/shtool install -c"
1736 if test -z "$ac_aux_dir"; then
1737 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&5
1738 echo "$as_me: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&2;}
1739 { (exit 1); exit 1; }; }
1742 # These three variables are undocumented and unsupported,
1743 # and are intended to be withdrawn in a future Autoconf release.
1744 # They can cause serious problems if a builder's source tree is in a directory
1745 # whose full name contains unusual characters.
1746 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1747 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1748 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1754 # Make sure we can run config.sub.
1755 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1756 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1757 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1758 { (exit 1); exit 1; }; }
1760 { echo "$as_me:$LINENO: checking build system type" >&5
1761 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1762 if test "${ac_cv_build+set}" = set; then
1763 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 ac_build_alias=$build_alias
1766 test "x$ac_build_alias" = x &&
1767 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1768 test "x$ac_build_alias" = x &&
1769 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1770 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1771 { (exit 1); exit 1; }; }
1772 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1773 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1774 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1775 { (exit 1); exit 1; }; }
1778 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1779 echo "${ECHO_T}$ac_cv_build" >&6; }
1780 case $ac_cv_build in
1782 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1783 echo "$as_me: error: invalid value of canonical build" >&2;}
1784 { (exit 1); exit 1; }; };;
1787 ac_save_IFS=$IFS; IFS='-'
1793 # Remember, the first character of IFS is used to create $*,
1794 # except with old shells:
1797 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1800 { echo "$as_me:$LINENO: checking host system type" >&5
1801 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1802 if test "${ac_cv_host+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test "x$host_alias" = x; then
1806 ac_cv_host=$ac_cv_build
1808 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1809 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1810 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1811 { (exit 1); exit 1; }; }
1815 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1816 echo "${ECHO_T}$ac_cv_host" >&6; }
1819 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1820 echo "$as_me: error: invalid value of canonical host" >&2;}
1821 { (exit 1); exit 1; }; };;
1824 ac_save_IFS=$IFS; IFS='-'
1830 # Remember, the first character of IFS is used to create $*,
1831 # except with old shells:
1834 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1837 #AC_CANONICAL_TARGET
1845 target_cpu="$host_cpu"
1852 # Check whether --with-i386 was given.
1853 if test "${with_i386+set}" = set; then
1854 withval=$with_i386; if test "withval" = "yes" ; then with_i386="i386"; else with_i386="$withval"; fi
1861 # Check whether --with-ia64 was given.
1862 if test "${with_ia64+set}" = set; then
1863 withval=$with_ia64; if test "withval" = "yes" ; then with_ia64="ia64"; else with_ia64="$withval"; fi
1870 if test "$with_i386" = "no" &&
1871 test "$with_ia64" = "no" ; then
1872 with_default=`echo $target_cpu | tr a-z A-Z`
1875 { echo "$as_me:$LINENO: with_default=$with_default" >&5
1876 echo "$as_me: with_default=$with_default" >&6;}
1877 { echo "$as_me:$LINENO: with_i386=$with_i386" >&5
1878 echo "$as_me: with_i386=$with_i386" >&6;}
1879 { echo "$as_me:$LINENO: with_ia64=$with_ia64" >&5
1880 echo "$as_me: with_ia64=$with_ia64" >&6;}
1884 ac_cpp='$CPP $CPPFLAGS'
1885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 if test -n "$CC"; then
1918 { echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6; }
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1927 if test -z "$ac_cv_prog_CC"; then
1929 # Extract the first word of "gcc", so it can be a program name with args.
1930 set dummy gcc; ac_word=$2
1931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$ac_ct_CC"; then
1937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946 ac_cv_prog_ac_ct_CC="gcc"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1957 if test -n "$ac_ct_CC"; then
1958 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1959 echo "${ECHO_T}$ac_ct_CC" >&6; }
1961 { echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6; }
1965 if test "x$ac_ct_CC" = x; then
1968 case $cross_compiling:$ac_tool_warned in
1970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1971 whose name does not start with the host triplet. If you think this
1972 configuration is useful to you, please write to autoconf@gnu.org." >&5
1973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1974 whose name does not start with the host triplet. If you think this
1975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1976 ac_tool_warned=yes ;;
1984 if test -z "$CC"; then
1985 if test -n "$ac_tool_prefix"; then
1986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1987 set dummy ${ac_tool_prefix}cc; ac_word=$2
1988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1990 if test "${ac_cv_prog_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$CC"; then
1994 ac_cv_prog_CC="$CC" # Let the user override the test.
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2003 ac_cv_prog_CC="${ac_tool_prefix}cc"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 if test -n "$CC"; then
2015 { echo "$as_me:$LINENO: result: $CC" >&5
2016 echo "${ECHO_T}$CC" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2025 if test -z "$CC"; then
2026 # Extract the first word of "cc", so it can be a program name with args.
2027 set dummy cc; ac_word=$2
2028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 test -z "$as_dir" && as_dir=.
2042 for ac_exec_ext in '' $ac_executable_extensions; do
2043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2045 ac_prog_rejected=yes
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test $ac_prog_rejected = yes; then
2057 # We found a bogon in the path, so make sure we never use it.
2058 set dummy $ac_cv_prog_CC
2060 if test $# != 0; then
2061 # We chose a different compiler from the bogus one.
2062 # However, it has the same basename, so the bogon will be chosen
2063 # first if we set CC to just the basename; use the full file name.
2065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2071 if test -n "$CC"; then
2072 { echo "$as_me:$LINENO: result: $CC" >&5
2073 echo "${ECHO_T}$CC" >&6; }
2075 { echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6; }
2081 if test -z "$CC"; then
2082 if test -n "$ac_tool_prefix"; then
2083 for ac_prog in cl.exe
2085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$CC"; then
2093 ac_cv_prog_CC="$CC" # Let the user override the test.
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 if test -n "$CC"; then
2114 { echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6; }
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2122 test -n "$CC" && break
2125 if test -z "$CC"; then
2127 for ac_prog in cl.exe
2129 # Extract the first word of "$ac_prog", so it can be a program name with args.
2130 set dummy $ac_prog; ac_word=$2
2131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_CC"; then
2137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146 ac_cv_prog_ac_ct_CC="$ac_prog"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2157 if test -n "$ac_ct_CC"; then
2158 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2159 echo "${ECHO_T}$ac_ct_CC" >&6; }
2161 { echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6; }
2166 test -n "$ac_ct_CC" && break
2169 if test "x$ac_ct_CC" = x; then
2172 case $cross_compiling:$ac_tool_warned in
2174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&5
2177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2180 ac_tool_warned=yes ;;
2189 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: no acceptable C compiler found in \$PATH
2192 See \`config.log' for more details." >&2;}
2193 { (exit 1); exit 1; }; }
2195 # Provide some information about the compiler.
2196 echo "$as_me:$LINENO: checking for C compiler version" >&5
2197 ac_compiler=`set X $ac_compile; echo $2`
2198 { (ac_try="$ac_compiler --version >&5"
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2204 (eval "$ac_compiler --version >&5") 2>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }
2208 { (ac_try="$ac_compiler -v >&5"
2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211 *) ac_try_echo=$ac_try;;
2213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2214 (eval "$ac_compiler -v >&5") 2>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }
2218 { (ac_try="$ac_compiler -V >&5"
2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2221 *) ac_try_echo=$ac_try;;
2223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2224 (eval "$ac_compiler -V >&5") 2>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }
2229 cat >conftest.$ac_ext <<_ACEOF
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h. */
2244 ac_clean_files_save=$ac_clean_files
2245 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2246 # Try to create an executable without -o first, disregard a.out.
2247 # It will help us diagnose broken compilers, and finding out an intuition
2249 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2250 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2251 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2253 # List of possible output files, starting from the most likely.
2254 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2255 # only as a last resort. b.out is created by i960 compilers.
2256 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2258 # The IRIX 6 linker writes into existing files which may not be
2259 # executable, retaining their permissions. Remove them first so a
2260 # subsequent execution test works.
2262 for ac_file in $ac_files
2265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2271 if { (ac_try="$ac_link_default"
2273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2274 *) ac_try_echo=$ac_try;;
2276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2277 (eval "$ac_link_default") 2>&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; then
2281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2284 # so that the user can short-circuit this test for compilers unknown to
2286 for ac_file in $ac_files ''
2288 test -f "$ac_file" || continue
2290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2293 # We found the default executable, but exeext='' is most
2297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2301 # We set ac_cv_exeext here because the later test for it is not
2302 # safe: cross compilers may not add the suffix if given an `-o'
2303 # argument, so we may need to know it at that point already.
2304 # Even if this section looks crufty: it has the advantage of
2311 test "$ac_cv_exeext" = no && ac_cv_exeext=
2317 { echo "$as_me:$LINENO: result: $ac_file" >&5
2318 echo "${ECHO_T}$ac_file" >&6; }
2319 if test -z "$ac_file"; then
2320 echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2324 See \`config.log' for more details." >&5
2325 echo "$as_me: error: C compiler cannot create executables
2326 See \`config.log' for more details." >&2;}
2327 { (exit 77); exit 77; }; }
2330 ac_exeext=$ac_cv_exeext
2332 # Check that the compiler produces executables we can run. If not, either
2333 # the compiler is broken, or we cross compile.
2334 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2337 # If not cross compiling, check that we can run a simple program.
2338 if test "$cross_compiling" != yes; then
2339 if { ac_try='./$ac_file'
2340 { (case "(($ac_try" in
2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2345 (eval "$ac_try") 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2351 if test "$cross_compiling" = maybe; then
2354 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2355 If you meant to cross compile, use \`--host'.
2356 See \`config.log' for more details." >&5
2357 echo "$as_me: error: cannot run C compiled programs.
2358 If you meant to cross compile, use \`--host'.
2359 See \`config.log' for more details." >&2;}
2360 { (exit 1); exit 1; }; }
2364 { echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6; }
2367 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2368 ac_clean_files=$ac_clean_files_save
2369 # Check that the compiler produces executables we can run. If not, either
2370 # the compiler is broken, or we cross compile.
2371 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2372 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2373 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2374 echo "${ECHO_T}$cross_compiling" >&6; }
2376 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2377 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2378 if { (ac_try="$ac_link"
2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2384 (eval "$ac_link") 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2390 # work properly (i.e., refer to `conftest.exe'), while it won't with
2392 for ac_file in conftest.exe conftest conftest.*; do
2393 test -f "$ac_file" || continue
2395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2402 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2405 See \`config.log' for more details." >&2;}
2406 { (exit 1); exit 1; }; }
2409 rm -f conftest$ac_cv_exeext
2410 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2411 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2413 rm -f conftest.$ac_ext
2414 EXEEXT=$ac_cv_exeext
2416 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2417 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2418 if test "${ac_cv_objext+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 cat >conftest.$ac_ext <<_ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2436 rm -f conftest.o conftest.obj
2437 if { (ac_try="$ac_compile"
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2443 (eval "$ac_compile") 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 for ac_file in conftest.o conftest.obj conftest.*; do
2448 test -f "$ac_file" || continue;
2450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2456 echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.$ac_ext >&5
2459 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2460 See \`config.log' for more details." >&5
2461 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2462 See \`config.log' for more details." >&2;}
2463 { (exit 1); exit 1; }; }
2466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2468 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2469 echo "${ECHO_T}$ac_cv_objext" >&6; }
2470 OBJEXT=$ac_cv_objext
2472 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2473 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 cat >conftest.$ac_ext <<_ACEOF
2480 cat confdefs.h >>conftest.$ac_ext
2481 cat >>conftest.$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2495 rm -f conftest.$ac_objext
2496 if { (ac_try="$ac_compile"
2498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2502 (eval "$ac_compile") 2>conftest.er1
2504 grep -v '^ *+' conftest.er1 >conftest.err
2506 cat conftest.err >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } && {
2509 test -z "$ac_c_werror_flag" ||
2510 test ! -s conftest.err
2511 } && test -s conftest.$ac_objext; then
2514 echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2524 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2525 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2526 GCC=`test $ac_compiler_gnu = yes && echo yes`
2527 ac_test_CFLAGS=${CFLAGS+set}
2528 ac_save_CFLAGS=$CFLAGS
2529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2531 if test "${ac_cv_prog_cc_g+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 ac_save_c_werror_flag=$ac_c_werror_flag
2535 ac_c_werror_flag=yes
2538 cat >conftest.$ac_ext <<_ACEOF
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 rm -f conftest.$ac_objext
2554 if { (ac_try="$ac_compile"
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_compile") 2>conftest.er1
2562 grep -v '^ *+' conftest.er1 >conftest.err
2564 cat conftest.err >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } && {
2567 test -z "$ac_c_werror_flag" ||
2568 test ! -s conftest.err
2569 } && test -s conftest.$ac_objext; then
2572 echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2576 cat >conftest.$ac_ext <<_ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2591 rm -f conftest.$ac_objext
2592 if { (ac_try="$ac_compile"
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>conftest.er1
2600 grep -v '^ *+' conftest.er1 >conftest.err
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } && {
2605 test -z "$ac_c_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest.$ac_objext; then
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2613 ac_c_werror_flag=$ac_save_c_werror_flag
2615 cat >conftest.$ac_ext <<_ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2639 grep -v '^ *+' conftest.er1 >conftest.err
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest.$ac_objext; then
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2662 ac_c_werror_flag=$ac_save_c_werror_flag
2664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2666 if test "$ac_test_CFLAGS" = set; then
2667 CFLAGS=$ac_save_CFLAGS
2668 elif test $ac_cv_prog_cc_g = yes; then
2669 if test "$GCC" = yes; then
2675 if test "$GCC" = yes; then
2681 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2682 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_c89+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 ac_cv_prog_cc_c89=no
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2696 #include <sys/types.h>
2697 #include <sys/stat.h>
2698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2699 struct buf { int x; };
2700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2701 static char *e (p, i)
2707 static char *f (char * (*g) (char **, int), char **p, ...)
2712 s = g (p, va_arg (v,int));
2717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2718 function prototypes and stuff, but not '\xHH' hex character constants.
2719 These don't provoke an error unfortunately, instead are silently treated
2720 as 'x'. The following induces an error, until -std is added to get
2721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2722 array size at least. It's necessary to write '\x00'==0 to get something
2723 that's true only with -std. */
2724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2727 inside strings and character constants. */
2729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2731 int test (int i, double x);
2732 struct s1 {int (*f) (int a);};
2733 struct s2 {int (*f) (double a);};
2734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2748 CC="$ac_save_CC $ac_arg"
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2766 ac_cv_prog_cc_c89=$ac_arg
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2774 rm -f core conftest.err conftest.$ac_objext
2775 test "x$ac_cv_prog_cc_c89" != "xno" && break
2777 rm -f conftest.$ac_ext
2782 case "x$ac_cv_prog_cc_c89" in
2784 { echo "$as_me:$LINENO: result: none needed" >&5
2785 echo "${ECHO_T}none needed" >&6; } ;;
2787 { echo "$as_me:$LINENO: result: unsupported" >&5
2788 echo "${ECHO_T}unsupported" >&6; } ;;
2790 CC="$CC $ac_cv_prog_cc_c89"
2791 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2792 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2797 ac_cpp='$CPP $CPPFLAGS'
2798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2804 # Extract the first word of "mkdir", so it can be a program name with args.
2805 set dummy mkdir; ac_word=$2
2806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2808 if test "${ac_cv_prog_MKDIR+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 if test -n "$MKDIR"; then
2812 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_MKDIR="mkdir"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 MKDIR=$ac_cv_prog_MKDIR
2832 if test -n "$MKDIR"; then
2833 { echo "$as_me:$LINENO: result: $MKDIR" >&5
2834 echo "${ECHO_T}$MKDIR" >&6; }
2836 { echo "$as_me:$LINENO: result: no" >&5
2837 echo "${ECHO_T}no" >&6; }
2841 # Extract the first word of "rm", so it can be a program name with args.
2842 set dummy rm; ac_word=$2
2843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_RM+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 if test -n "$RM"; then
2849 ac_cv_prog_RM="$RM" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$RM"; then
2870 { echo "$as_me:$LINENO: result: $RM" >&5
2871 echo "${ECHO_T}$RM" >&6; }
2873 { echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6; }
2878 # Extract the first word of "cp", so it can be a program name with args.
2879 set dummy cp; ac_word=$2
2880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2882 if test "${ac_cv_prog_CP+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -n "$CP"; then
2886 ac_cv_prog_CP="$CP" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CP"; then
2907 { echo "$as_me:$LINENO: result: $CP" >&5
2908 echo "${ECHO_T}$CP" >&6; }
2910 { echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6; }
2915 # Extract the first word of "ln", so it can be a program name with args.
2916 set dummy ln; ac_word=$2
2917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2919 if test "${ac_cv_prog_LN+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 if test -n "$LN"; then
2923 ac_cv_prog_LN="$LN" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 if test -n "$LN"; then
2944 { echo "$as_me:$LINENO: result: $LN" >&5
2945 echo "${ECHO_T}$LN" >&6; }
2947 { echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6; }
2952 # Extract the first word of "tar", so it can be a program name with args.
2953 set dummy tar; ac_word=$2
2954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2956 if test "${ac_cv_prog_TAR+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 if test -n "$TAR"; then
2960 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 ac_cv_prog_TAR="tar"
2970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test -n "$TAR"; then
2981 { echo "$as_me:$LINENO: result: $TAR" >&5
2982 echo "${ECHO_T}$TAR" >&6; }
2984 { echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6; }
2989 # Extract the first word of "rpm", so it can be a program name with args.
2990 set dummy rpm; ac_word=$2
2991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2993 if test "${ac_cv_prog_RPM+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 if test -n "$RPM"; then
2997 ac_cv_prog_RPM="$RPM" # Let the user override the test.
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 ac_cv_prog_RPM="rpm"
3007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test -n "$RPM"; then
3018 { echo "$as_me:$LINENO: result: $RPM" >&5
3019 echo "${ECHO_T}$RPM" >&6; }
3021 { echo "$as_me:$LINENO: result: no" >&5
3022 echo "${ECHO_T}no" >&6; }
3026 # Extract the first word of "sed", so it can be a program name with args.
3027 set dummy sed; ac_word=$2
3028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3030 if test "${ac_cv_prog_SED+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 if test -n "$SED"; then
3034 ac_cv_prog_SED="$SED" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_SED="sed"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$SED"; then
3055 { echo "$as_me:$LINENO: result: $SED" >&5
3056 echo "${ECHO_T}$SED" >&6; }
3058 { echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6; }
3063 # Extract the first word of "find", so it can be a program name with args.
3064 set dummy find; ac_word=$2
3065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3067 if test "${ac_cv_prog_FIND+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 if test -n "$FIND"; then
3071 ac_cv_prog_FIND="$FIND" # Let the user override the test.
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080 ac_cv_prog_FIND="find"
3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 FIND=$ac_cv_prog_FIND
3091 if test -n "$FIND"; then
3092 { echo "$as_me:$LINENO: result: $FIND" >&5
3093 echo "${ECHO_T}$FIND" >&6; }
3095 { echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6; }
3102 ac_cpp='$CPP $CPPFLAGS'
3103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3107 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3108 # On Suns, sometimes $CPP names a directory.
3109 if test -n "$CPP" && test -d "$CPP"; then
3112 if test -z "$CPP"; then
3113 if test "${ac_cv_prog_CPP+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 # Double quotes because CPP needs to be expanded
3117 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3120 for ac_c_preproc_warn_flag in '' yes
3122 # Use a header file that comes with gcc, so configuring glibc
3123 # with a fresh cross-compiler works.
3124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3125 # <limits.h> exists even on freestanding compilers.
3126 # On the NeXT, cc -E runs the code through the compiler's parser,
3127 # not just through cpp. "Syntax error" is here to catch this case.
3128 cat >conftest.$ac_ext <<_ACEOF
3131 cat confdefs.h >>conftest.$ac_ext
3132 cat >>conftest.$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3135 # include <limits.h>
3137 # include <assert.h>
3141 if { (ac_try="$ac_cpp conftest.$ac_ext"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3149 grep -v '^ *+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } >/dev/null && {
3154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3155 test ! -s conftest.err
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 # Broken: fails on valid input.
3166 rm -f conftest.err conftest.$ac_ext
3168 # OK, works on sane cases. Now check whether nonexistent headers
3169 # can be detected and how.
3170 cat >conftest.$ac_ext <<_ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 #include <ac_nonexistent.h>
3178 if { (ac_try="$ac_cpp conftest.$ac_ext"
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3186 grep -v '^ *+' conftest.er1 >conftest.err
3188 cat conftest.err >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } >/dev/null && {
3191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3192 test ! -s conftest.err
3194 # Broken: success on invalid input.
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 # Passes both tests.
3205 rm -f conftest.err conftest.$ac_ext
3208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3209 rm -f conftest.err conftest.$ac_ext
3210 if $ac_preproc_ok; then
3222 { echo "$as_me:$LINENO: result: $CPP" >&5
3223 echo "${ECHO_T}$CPP" >&6; }
3225 for ac_c_preproc_warn_flag in '' yes
3227 # Use a header file that comes with gcc, so configuring glibc
3228 # with a fresh cross-compiler works.
3229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3230 # <limits.h> exists even on freestanding compilers.
3231 # On the NeXT, cc -E runs the code through the compiler's parser,
3232 # not just through cpp. "Syntax error" is here to catch this case.
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3240 # include <limits.h>
3242 # include <assert.h>
3246 if { (ac_try="$ac_cpp conftest.$ac_ext"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev/null && {
3259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 # Broken: fails on valid input.
3271 rm -f conftest.err conftest.$ac_ext
3273 # OK, works on sane cases. Now check whether nonexistent headers
3274 # can be detected and how.
3275 cat >conftest.$ac_ext <<_ACEOF
3278 cat confdefs.h >>conftest.$ac_ext
3279 cat >>conftest.$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3281 #include <ac_nonexistent.h>
3283 if { (ac_try="$ac_cpp conftest.$ac_ext"
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3291 grep -v '^ *+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } >/dev/null && {
3296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3297 test ! -s conftest.err
3299 # Broken: success on invalid input.
3302 echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3305 # Passes both tests.
3310 rm -f conftest.err conftest.$ac_ext
3313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3314 rm -f conftest.err conftest.$ac_ext
3315 if $ac_preproc_ok; then
3318 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3326 ac_cpp='$CPP $CPPFLAGS'
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3332 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3333 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3334 if test "${ac_cv_path_GREP+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 # Extract the first word of "grep ggrep" to use in msg output
3338 if test -z "$GREP"; then
3339 set dummy grep ggrep; ac_prog_name=$2
3340 if test "${ac_cv_path_GREP+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 ac_path_GREP_found=false
3344 # Loop through the user's path and test for each of PROGNAME-LIST
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3349 test -z "$as_dir" && as_dir=.
3350 for ac_prog in grep ggrep; do
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3353 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3354 # Check for GNU ac_path_GREP and select it if it is found.
3355 # Check for GNU $ac_path_GREP
3356 case `"$ac_path_GREP" --version 2>&1` in
3358 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3361 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3364 cat "conftest.in" "conftest.in" >"conftest.tmp"
3365 mv "conftest.tmp" "conftest.in"
3366 cp "conftest.in" "conftest.nl"
3367 echo 'GREP' >> "conftest.nl"
3368 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3369 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3370 ac_count=`expr $ac_count + 1`
3371 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3372 # Best one so far, save it but keep looking for a better one
3373 ac_cv_path_GREP="$ac_path_GREP"
3374 ac_path_GREP_max=$ac_count
3376 # 10*(2^10) chars as input seems more than enough
3377 test $ac_count -gt 10 && break
3379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3383 $ac_path_GREP_found && break 3
3393 GREP="$ac_cv_path_GREP"
3394 if test -z "$GREP"; then
3395 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3396 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3397 { (exit 1); exit 1; }; }
3401 ac_cv_path_GREP=$GREP
3406 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3407 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3408 GREP="$ac_cv_path_GREP"
3411 { echo "$as_me:$LINENO: checking for egrep" >&5
3412 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3413 if test "${ac_cv_path_EGREP+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3417 then ac_cv_path_EGREP="$GREP -E"
3419 # Extract the first word of "egrep" to use in msg output
3420 if test -z "$EGREP"; then
3421 set dummy egrep; ac_prog_name=$2
3422 if test "${ac_cv_path_EGREP+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 ac_path_EGREP_found=false
3426 # Loop through the user's path and test for each of PROGNAME-LIST
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3431 test -z "$as_dir" && as_dir=.
3432 for ac_prog in egrep; do
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3435 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3436 # Check for GNU ac_path_EGREP and select it if it is found.
3437 # Check for GNU $ac_path_EGREP
3438 case `"$ac_path_EGREP" --version 2>&1` in
3440 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3443 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3446 cat "conftest.in" "conftest.in" >"conftest.tmp"
3447 mv "conftest.tmp" "conftest.in"
3448 cp "conftest.in" "conftest.nl"
3449 echo 'EGREP' >> "conftest.nl"
3450 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3452 ac_count=`expr $ac_count + 1`
3453 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3454 # Best one so far, save it but keep looking for a better one
3455 ac_cv_path_EGREP="$ac_path_EGREP"
3456 ac_path_EGREP_max=$ac_count
3458 # 10*(2^10) chars as input seems more than enough
3459 test $ac_count -gt 10 && break
3461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3465 $ac_path_EGREP_found && break 3
3475 EGREP="$ac_cv_path_EGREP"
3476 if test -z "$EGREP"; then
3477 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3478 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3479 { (exit 1); exit 1; }; }
3483 ac_cv_path_EGREP=$EGREP
3489 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3490 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3491 EGREP="$ac_cv_path_EGREP"
3494 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3495 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3496 if test "${ac_cv_header_stdc+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 cat >conftest.$ac_ext <<_ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3518 rm -f conftest.$ac_objext
3519 if { (ac_try="$ac_compile"
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_compile") 2>conftest.er1
3527 grep -v '^ *+' conftest.er1 >conftest.err
3529 cat conftest.err >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } && {
3532 test -z "$ac_c_werror_flag" ||
3533 test ! -s conftest.err
3534 } && test -s conftest.$ac_objext; then
3535 ac_cv_header_stdc=yes
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3540 ac_cv_header_stdc=no
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545 if test $ac_cv_header_stdc = yes; then
3546 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3547 cat >conftest.$ac_ext <<_ACEOF
3550 cat confdefs.h >>conftest.$ac_ext
3551 cat >>conftest.$ac_ext <<_ACEOF
3552 /* end confdefs.h. */
3556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3557 $EGREP "memchr" >/dev/null 2>&1; then
3560 ac_cv_header_stdc=no
3566 if test $ac_cv_header_stdc = yes; then
3567 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "free" >/dev/null 2>&1; then
3581 ac_cv_header_stdc=no
3587 if test $ac_cv_header_stdc = yes; then
3588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3589 if test "$cross_compiling" = yes; then
3592 cat >conftest.$ac_ext <<_ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3600 #if ((' ' & 0x0FF) == 0x020)
3601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3604 # define ISLOWER(c) \
3605 (('a' <= (c) && (c) <= 'i') \
3606 || ('j' <= (c) && (c) <= 'r') \
3607 || ('s' <= (c) && (c) <= 'z'))
3608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3616 for (i = 0; i < 256; i++)
3617 if (XOR (islower (i), ISLOWER (i))
3618 || toupper (i) != TOUPPER (i))
3623 rm -f conftest$ac_exeext
3624 if { (ac_try="$ac_link"
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630 (eval "$ac_link") 2>&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3634 { (case "(($ac_try" in
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_try") 2>&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3645 echo "$as_me: program exited with status $ac_status" >&5
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_cv_header_stdc=no
3652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3658 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3659 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3660 if test $ac_cv_header_stdc = yes; then
3662 cat >>confdefs.h <<\_ACEOF
3663 #define STDC_HEADERS 1
3668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3679 inttypes.h stdint.h unistd.h
3681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 cat >conftest.$ac_ext <<_ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3693 $ac_includes_default
3695 #include <$ac_header>
3697 rm -f conftest.$ac_objext
3698 if { (ac_try="$ac_compile"
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3704 (eval "$ac_compile") 2>conftest.er1
3706 grep -v '^ *+' conftest.er1 >conftest.err
3708 cat conftest.err >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } && {
3711 test -z "$ac_c_werror_flag" ||
3712 test ! -s conftest.err
3713 } && test -s conftest.$ac_objext; then
3714 eval "$as_ac_Header=yes"
3716 echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3719 eval "$as_ac_Header=no"
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 ac_res=`eval echo '${'$as_ac_Header'}'`
3725 { echo "$as_me:$LINENO: result: $ac_res" >&5
3726 echo "${ECHO_T}$ac_res" >&6; }
3727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3728 cat >>confdefs.h <<_ACEOF
3729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3737 if test "${ac_cv_header_zlib_h+set}" = set; then
3738 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3739 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3740 if test "${ac_cv_header_zlib_h+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3746 # Is the header compilable?
3747 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
3748 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3758 rm -f conftest.$ac_objext
3759 if { (ac_try="$ac_compile"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_compile") 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } && {
3772 test -z "$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 } && test -s conftest.$ac_objext; then
3775 ac_header_compiler=yes
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.$ac_ext >&5
3780 ac_header_compiler=no
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3785 echo "${ECHO_T}$ac_header_compiler" >&6; }
3787 # Is the header present?
3788 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
3789 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3798 if { (ac_try="$ac_cpp conftest.$ac_ext"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3806 grep -v '^ *+' conftest.er1 >conftest.err
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } >/dev/null && {
3811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3812 test ! -s conftest.err
3814 ac_header_preproc=yes
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 ac_header_preproc=no
3822 rm -f conftest.err conftest.$ac_ext
3823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3824 echo "${ECHO_T}$ac_header_preproc" >&6; }
3826 # So? What about this header?
3827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3829 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3830 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3831 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3832 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3833 ac_header_preproc=yes
3836 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3837 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3838 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3839 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3840 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3841 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3842 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3843 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3844 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3845 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3846 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3847 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3851 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3852 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3853 if test "${ac_cv_header_zlib_h+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 ac_cv_header_zlib_h=$ac_header_preproc
3858 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3859 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3862 if test $ac_cv_header_zlib_h = yes; then
3863 { echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
3864 echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6; }
3865 if test "${ac_cv_lib_z_inflateInit_+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_check_lib_save_LIBS=$LIBS
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3878 /* Override any GCC internal prototype to avoid an error.
3879 Use char because int might match the return type of a GCC
3880 builtin and then its argument prototype would still apply. */
3884 char inflateInit_ ();
3888 return inflateInit_ ();
3893 rm -f conftest.$ac_objext conftest$ac_exeext
3894 if { (ac_try="$ac_link"
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900 (eval "$ac_link") 2>conftest.er1
3902 grep -v '^ *+' conftest.er1 >conftest.err
3904 cat conftest.err >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } && {
3907 test -z "$ac_c_werror_flag" ||
3908 test ! -s conftest.err
3909 } && test -s conftest$ac_exeext &&
3910 $as_test_x conftest$ac_exeext; then
3911 ac_cv_lib_z_inflateInit_=yes
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3916 ac_cv_lib_z_inflateInit_=no
3919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3920 conftest$ac_exeext conftest.$ac_ext
3921 LIBS=$ac_check_lib_save_LIBS
3923 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
3924 echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6; }
3925 if test $ac_cv_lib_z_inflateInit_ = yes; then
3926 cat >>confdefs.h <<\_ACEOF
3927 #define HAVE_ZLIB_H 1
3936 if test "with_default" != no ; then
3937 if test "$CC" = no; then
3938 { { echo "$as_me:$LINENO: error: cc not found" >&5
3939 echo "$as_me: error: cc not found" >&2;}
3940 { (exit 1); exit 1; }; }
3942 eval "${with_default}_CC='$CC'"
3944 ac_cpp='$CPP $CPPFLAGS'
3945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3948 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3949 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3950 # On Suns, sometimes $CPP names a directory.
3951 if test -n "$CPP" && test -d "$CPP"; then
3954 if test -z "$CPP"; then
3955 if test "${ac_cv_prog_CPP+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 # Double quotes because CPP needs to be expanded
3959 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3962 for ac_c_preproc_warn_flag in '' yes
3964 # Use a header file that comes with gcc, so configuring glibc
3965 # with a fresh cross-compiler works.
3966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3967 # <limits.h> exists even on freestanding compilers.
3968 # On the NeXT, cc -E runs the code through the compiler's parser,
3969 # not just through cpp. "Syntax error" is here to catch this case.
3970 cat >conftest.$ac_ext <<_ACEOF
3973 cat confdefs.h >>conftest.$ac_ext
3974 cat >>conftest.$ac_ext <<_ACEOF
3975 /* end confdefs.h. */
3977 # include <limits.h>
3979 # include <assert.h>
3983 if { (ac_try="$ac_cpp conftest.$ac_ext"
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3991 grep -v '^ *+' conftest.er1 >conftest.err
3993 cat conftest.err >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); } >/dev/null && {
3996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3997 test ! -s conftest.err
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 # Broken: fails on valid input.
4008 rm -f conftest.err conftest.$ac_ext
4010 # OK, works on sane cases. Now check whether nonexistent headers
4011 # can be detected and how.
4012 cat >conftest.$ac_ext <<_ACEOF
4015 cat confdefs.h >>conftest.$ac_ext
4016 cat >>conftest.$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 #include <ac_nonexistent.h>
4020 if { (ac_try="$ac_cpp conftest.$ac_ext"
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } >/dev/null && {
4033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4036 # Broken: success on invalid input.
4039 echo "$as_me: failed program was:" >&5
4040 sed 's/^/| /' conftest.$ac_ext >&5
4042 # Passes both tests.
4047 rm -f conftest.err conftest.$ac_ext
4050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4051 rm -f conftest.err conftest.$ac_ext
4052 if $ac_preproc_ok; then
4064 { echo "$as_me:$LINENO: result: $CPP" >&5
4065 echo "${ECHO_T}$CPP" >&6; }
4067 for ac_c_preproc_warn_flag in '' yes
4069 # Use a header file that comes with gcc, so configuring glibc
4070 # with a fresh cross-compiler works.
4071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4072 # <limits.h> exists even on freestanding compilers.
4073 # On the NeXT, cc -E runs the code through the compiler's parser,
4074 # not just through cpp. "Syntax error" is here to catch this case.
4075 cat >conftest.$ac_ext <<_ACEOF
4078 cat confdefs.h >>conftest.$ac_ext
4079 cat >>conftest.$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4082 # include <limits.h>
4084 # include <assert.h>
4088 if { (ac_try="$ac_cpp conftest.$ac_ext"
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4096 grep -v '^ *+' conftest.er1 >conftest.err
4098 cat conftest.err >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); } >/dev/null && {
4101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4102 test ! -s conftest.err
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 # Broken: fails on valid input.
4113 rm -f conftest.err conftest.$ac_ext
4115 # OK, works on sane cases. Now check whether nonexistent headers
4116 # can be detected and how.
4117 cat >conftest.$ac_ext <<_ACEOF
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 #include <ac_nonexistent.h>
4125 if { (ac_try="$ac_cpp conftest.$ac_ext"
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } >/dev/null && {
4138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4141 # Broken: success on invalid input.
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 # Passes both tests.
4152 rm -f conftest.err conftest.$ac_ext
4155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4156 rm -f conftest.err conftest.$ac_ext
4157 if $ac_preproc_ok; then
4160 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4161 See \`config.log' for more details." >&5
4162 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4163 See \`config.log' for more details." >&2;}
4164 { (exit 1); exit 1; }; }
4168 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 if test "$CPP" = no; then
4174 { { echo "$as_me:$LINENO: error: cpp not found" >&5
4175 echo "$as_me: error: cpp not found" >&2;}
4176 { (exit 1); exit 1; }; }
4178 eval "${with_default}_CPP='$CPP'"
4179 if test -n "$ac_tool_prefix"; then
4180 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4181 set dummy ${ac_tool_prefix}ld; ac_word=$2
4182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4184 if test "${ac_cv_prog_LD+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test -n "$LD"; then
4188 ac_cv_prog_LD="$LD" # Let the user override the test.
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir=.
4195 for ac_exec_ext in '' $ac_executable_extensions; do
4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4197 ac_cv_prog_LD="${ac_tool_prefix}ld"
4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test -n "$LD"; then
4209 { echo "$as_me:$LINENO: result: $LD" >&5
4210 echo "${ECHO_T}$LD" >&6; }
4212 { echo "$as_me:$LINENO: result: no" >&5
4213 echo "${ECHO_T}no" >&6; }
4218 if test -z "$ac_cv_prog_LD"; then
4220 # Extract the first word of "ld", so it can be a program name with args.
4221 set dummy ld; ac_word=$2
4222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4224 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 if test -n "$ac_ct_LD"; then
4228 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4237 ac_cv_prog_ac_ct_LD="ld"
4238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4248 if test -n "$ac_ct_LD"; then
4249 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4250 echo "${ECHO_T}$ac_ct_LD" >&6; }
4252 { echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6; }
4256 if test "x$ac_ct_LD" = x; then
4259 case $cross_compiling:$ac_tool_warned in
4261 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4262 whose name does not start with the host triplet. If you think this
4263 configuration is useful to you, please write to autoconf@gnu.org." >&5
4264 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4265 whose name does not start with the host triplet. If you think this
4266 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4267 ac_tool_warned=yes ;;
4275 if test "$LD" = no; then
4276 { { echo "$as_me:$LINENO: error: ld not found" >&5
4277 echo "$as_me: error: ld not found" >&2;}
4278 { (exit 1); exit 1; }; }
4280 eval "${with_default}_LD='$LD'"
4281 if test -n "$ac_tool_prefix"; then
4282 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4283 set dummy ${ac_tool_prefix}as; ac_word=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_AS+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$AS"; then
4290 ac_cv_prog_AS="$AS" # Let the user override the test.
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4299 ac_cv_prog_AS="${ac_tool_prefix}as"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test -n "$AS"; then
4311 { echo "$as_me:$LINENO: result: $AS" >&5
4312 echo "${ECHO_T}$AS" >&6; }
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4320 if test -z "$ac_cv_prog_AS"; then
4322 # Extract the first word of "as", so it can be a program name with args.
4323 set dummy as; ac_word=$2
4324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4326 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$ac_ct_AS"; then
4330 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_ac_ct_AS="as"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4350 if test -n "$ac_ct_AS"; then
4351 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4352 echo "${ECHO_T}$ac_ct_AS" >&6; }
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4358 if test "x$ac_ct_AS" = x; then
4361 case $cross_compiling:$ac_tool_warned in
4363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4364 whose name does not start with the host triplet. If you think this
4365 configuration is useful to you, please write to autoconf@gnu.org." >&5
4366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4367 whose name does not start with the host triplet. If you think this
4368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4369 ac_tool_warned=yes ;;
4377 if test "$AS" = no; then
4378 { { echo "$as_me:$LINENO: error: as not found" >&5
4379 echo "$as_me: error: as not found" >&2;}
4380 { (exit 1); exit 1; }; }
4382 eval "${with_default}_AS='$AS'"
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4385 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$OBJCOPY"; then
4392 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 OBJCOPY=$ac_cv_prog_OBJCOPY
4412 if test -n "$OBJCOPY"; then
4413 { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
4414 echo "${ECHO_T}$OBJCOPY" >&6; }
4416 { echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6; }
4422 if test -z "$ac_cv_prog_OBJCOPY"; then
4423 ac_ct_OBJCOPY=$OBJCOPY
4424 # Extract the first word of "objcopy", so it can be a program name with args.
4425 set dummy objcopy; ac_word=$2
4426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4428 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$ac_ct_OBJCOPY"; then
4432 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4441 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4452 if test -n "$ac_ct_OBJCOPY"; then
4453 { echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
4454 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6; }
4456 { echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6; }
4460 if test "x$ac_ct_OBJCOPY" = x; then
4463 case $cross_compiling:$ac_tool_warned in
4465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4466 whose name does not start with the host triplet. If you think this
4467 configuration is useful to you, please write to autoconf@gnu.org." >&5
4468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4469 whose name does not start with the host triplet. If you think this
4470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4471 ac_tool_warned=yes ;;
4473 OBJCOPY=$ac_ct_OBJCOPY
4476 OBJCOPY="$ac_cv_prog_OBJCOPY"
4479 if test "$OBJCOPY" = no; then
4480 { { echo "$as_me:$LINENO: error: objcopy not found" >&5
4481 echo "$as_me: error: objcopy not found" >&2;}
4482 { (exit 1); exit 1; }; }
4484 eval "${with_default}_OBJCOPY='$OBJCOPY'"
4485 if test "$with_default" = "X86_64" ; then
4490 if test "$with_i386" != "no" ; then
4496 if test "$with_i386" != "" -a "$with_i386" != "yes" ; then
4498 cpp="$with_i386-$cpp"
4501 objcopy="$with_i386-$objcopy"
4503 # Extract the first word of "$cc", so it can be a program name with args.
4504 set dummy $cc; ac_word=$2
4505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4507 if test "${ac_cv_prog_I386_CC+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 if test -n "$I386_CC"; then
4511 ac_cv_prog_I386_CC="$I386_CC" # Let the user override the test.
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4520 ac_cv_prog_I386_CC="$cc"
4521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 test -z "$ac_cv_prog_I386_CC" && ac_cv_prog_I386_CC=""""
4531 I386_CC=$ac_cv_prog_I386_CC
4532 if test -n "$I386_CC"; then
4533 { echo "$as_me:$LINENO: result: $I386_CC" >&5
4534 echo "${ECHO_T}$I386_CC" >&6; }
4536 { echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6; }
4541 if test "$I386_CC" = no; then
4543 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4544 echo "$as_me: error: $cc not found" >&2;}
4545 { (exit 1); exit 1; }; }
4547 # Extract the first word of "$cpp", so it can be a program name with args.
4548 set dummy $cpp; ac_word=$2
4549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4551 if test "${ac_cv_prog_I386_CPP+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 if test -n "$I386_CPP"; then
4555 ac_cv_prog_I386_CPP="$I386_CPP" # Let the user override the test.
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564 ac_cv_prog_I386_CPP="$cpp"
4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 test -z "$ac_cv_prog_I386_CPP" && ac_cv_prog_I386_CPP=""""
4575 I386_CPP=$ac_cv_prog_I386_CPP
4576 if test -n "$I386_CPP"; then
4577 { echo "$as_me:$LINENO: result: $I386_CPP" >&5
4578 echo "${ECHO_T}$I386_CPP" >&6; }
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4585 if test "$I386_CPP" = no; then
4586 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4587 echo "$as_me: error: $cpp not found" >&2;}
4588 { (exit 1); exit 1; }; }
4590 # Extract the first word of "$ld", so it can be a program name with args.
4591 set dummy $ld; ac_word=$2
4592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4594 if test "${ac_cv_prog_I386_LD+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 if test -n "$I386_LD"; then
4598 ac_cv_prog_I386_LD="$I386_LD" # Let the user override the test.
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_prog_I386_LD="$ld"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 test -z "$ac_cv_prog_I386_LD" && ac_cv_prog_I386_LD=""""
4618 I386_LD=$ac_cv_prog_I386_LD
4619 if test -n "$I386_LD"; then
4620 { echo "$as_me:$LINENO: result: $I386_LD" >&5
4621 echo "${ECHO_T}$I386_LD" >&6; }
4623 { echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6; }
4628 if test "$I386_AS" = no; then
4629 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4630 echo "$as_me: error: $ld not found" >&2;}
4631 { (exit 1); exit 1; }; }
4633 # Extract the first word of "$as", so it can be a program name with args.
4634 set dummy $as; ac_word=$2
4635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4637 if test "${ac_cv_prog_I386_AS+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$I386_AS"; then
4641 ac_cv_prog_I386_AS="$I386_AS" # Let the user override the test.
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_I386_AS="$as"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 test -z "$ac_cv_prog_I386_AS" && ac_cv_prog_I386_AS=""""
4661 I386_AS=$ac_cv_prog_I386_AS
4662 if test -n "$I386_AS"; then
4663 { echo "$as_me:$LINENO: result: $I386_AS" >&5
4664 echo "${ECHO_T}$I386_AS" >&6; }
4666 { echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6; }
4671 if test "$I386_AS" = no; then
4672 { { echo "$as_me:$LINENO: error: $as not found" >&5
4673 echo "$as_me: error: $as not found" >&2;}
4674 { (exit 1); exit 1; }; }
4676 # Extract the first word of "$objcopy", so it can be a program name with args.
4677 set dummy $objcopy; ac_word=$2
4678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4680 if test "${ac_cv_prog_I386_OBJCOPY+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$I386_OBJCOPY"; then
4684 ac_cv_prog_I386_OBJCOPY="$I386_OBJCOPY" # Let the user override the test.
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_I386_OBJCOPY="$objcopy"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 test -z "$ac_cv_prog_I386_OBJCOPY" && ac_cv_prog_I386_OBJCOPY=""""
4704 I386_OBJCOPY=$ac_cv_prog_I386_OBJCOPY
4705 if test -n "$I386_OBJCOPY"; then
4706 { echo "$as_me:$LINENO: result: $I386_OBJCOPY" >&5
4707 echo "${ECHO_T}$I386_OBJCOPY" >&6; }
4709 { echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6; }
4714 if test "$I386_OBJCOPY" = no; then
4715 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4716 echo "$as_me: error: $objcopy not found" >&2;}
4717 { (exit 1); exit 1; }; }
4721 if test "$with_ia64" != "no" ; then
4727 if test "$with_ia64" != "" -a "$with_ia64" != "yes" ; then
4729 cpp="$with_ia64-$cpp"
4732 objcopy="$with_ia64-$objcopy"
4734 # Extract the first word of "$cc", so it can be a program name with args.
4735 set dummy $cc; ac_word=$2
4736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4738 if test "${ac_cv_prog_IA64_CC+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 if test -n "$IA64_CC"; then
4742 ac_cv_prog_IA64_CC="$IA64_CC" # Let the user override the test.
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751 ac_cv_prog_IA64_CC="$cc"
4752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 test -z "$ac_cv_prog_IA64_CC" && ac_cv_prog_IA64_CC=""""
4762 IA64_CC=$ac_cv_prog_IA64_CC
4763 if test -n "$IA64_CC"; then
4764 { echo "$as_me:$LINENO: result: $IA64_CC" >&5
4765 echo "${ECHO_T}$IA64_CC" >&6; }
4767 { echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6; }
4772 if test "$IA64_CC" = no; then
4774 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4775 echo "$as_me: error: $cc not found" >&2;}
4776 { (exit 1); exit 1; }; }
4778 # Extract the first word of "$cpp", so it can be a program name with args.
4779 set dummy $cpp; ac_word=$2
4780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4782 if test "${ac_cv_prog_IA64_CPP+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$IA64_CPP"; then
4786 ac_cv_prog_IA64_CPP="$IA64_CPP" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_IA64_CPP="$cpp"
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 test -z "$ac_cv_prog_IA64_CPP" && ac_cv_prog_IA64_CPP=""""
4806 IA64_CPP=$ac_cv_prog_IA64_CPP
4807 if test -n "$IA64_CPP"; then
4808 { echo "$as_me:$LINENO: result: $IA64_CPP" >&5
4809 echo "${ECHO_T}$IA64_CPP" >&6; }
4811 { echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6; }
4816 if test "$IA64_CPP" = no; then
4817 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4818 echo "$as_me: error: $cpp not found" >&2;}
4819 { (exit 1); exit 1; }; }
4821 # Extract the first word of "$ld", so it can be a program name with args.
4822 set dummy $ld; ac_word=$2
4823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4825 if test "${ac_cv_prog_IA64_LD+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 if test -n "$IA64_LD"; then
4829 ac_cv_prog_IA64_LD="$IA64_LD" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838 ac_cv_prog_IA64_LD="$ld"
4839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 test -z "$ac_cv_prog_IA64_LD" && ac_cv_prog_IA64_LD=""""
4849 IA64_LD=$ac_cv_prog_IA64_LD
4850 if test -n "$IA64_LD"; then
4851 { echo "$as_me:$LINENO: result: $IA64_LD" >&5
4852 echo "${ECHO_T}$IA64_LD" >&6; }
4854 { echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6; }
4859 if test "$IA64_AS" = no; then
4860 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4861 echo "$as_me: error: $ld not found" >&2;}
4862 { (exit 1); exit 1; }; }
4864 # Extract the first word of "$as", so it can be a program name with args.
4865 set dummy $as; ac_word=$2
4866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4868 if test "${ac_cv_prog_IA64_AS+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4871 if test -n "$IA64_AS"; then
4872 ac_cv_prog_IA64_AS="$IA64_AS" # Let the user override the test.
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4881 ac_cv_prog_IA64_AS="$as"
4882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 test -z "$ac_cv_prog_IA64_AS" && ac_cv_prog_IA64_AS=""""
4892 IA64_AS=$ac_cv_prog_IA64_AS
4893 if test -n "$IA64_AS"; then
4894 { echo "$as_me:$LINENO: result: $IA64_AS" >&5
4895 echo "${ECHO_T}$IA64_AS" >&6; }
4897 { echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6; }
4902 if test "$IA64_AS" = no; then
4903 { { echo "$as_me:$LINENO: error: $as not found" >&5
4904 echo "$as_me: error: $as not found" >&2;}
4905 { (exit 1); exit 1; }; }
4907 # Extract the first word of "$objcopy", so it can be a program name with args.
4908 set dummy $objcopy; ac_word=$2
4909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4911 if test "${ac_cv_prog_IA64_OBJCOPY+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 if test -n "$IA64_OBJCOPY"; then
4915 ac_cv_prog_IA64_OBJCOPY="$IA64_OBJCOPY" # Let the user override the test.
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir=.
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924 ac_cv_prog_IA64_OBJCOPY="$objcopy"
4925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 test -z "$ac_cv_prog_IA64_OBJCOPY" && ac_cv_prog_IA64_OBJCOPY=""""
4935 IA64_OBJCOPY=$ac_cv_prog_IA64_OBJCOPY
4936 if test -n "$IA64_OBJCOPY"; then
4937 { echo "$as_me:$LINENO: result: $IA64_OBJCOPY" >&5
4938 echo "${ECHO_T}$IA64_OBJCOPY" >&6; }
4940 { echo "$as_me:$LINENO: result: no" >&5
4941 echo "${ECHO_T}no" >&6; }
4945 if test "$IA64_OBJCOPY" = no; then
4946 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4947 echo "$as_me: error: $objcopy not found" >&2;}
4948 { (exit 1); exit 1; }; }
4955 HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
4957 I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)"
4959 I386_LDFLAGS='-static --warn-multiple-gp --warn-common'
4961 IA64_CFLAGS="$IA64_CFLAGS -Os -ffreestanding -Wall -W -Wno-format -fpic -mconstant-gp -mauto-pic -fno-unwind-tables \$(IA64_CPPFLAGS)"
4962 IA64_ASFLAGS='-mconstant-gp -mauto-pic'
4963 IA64_LDFLAGS='-static --warn-multiple-gp --warn-common'
4967 { echo "$as_me:$LINENO: checking for -fno-stack-protector" >&5
4968 echo $ECHO_N "checking for -fno-stack-protector... $ECHO_C" >&6; }
4969 if test "${libc_cv_fno_stack_protector+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 cat > conftest.c <<EOF
4975 main () { return 0;}
4977 if { ac_try='$I386_CC -fno-stack-protector
4978 -o conftest conftest.c 1>&5'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }
4985 libc_cv_fno_stack_protector=yes
4987 libc_cv_fno_stack_protector=no
4991 { echo "$as_me:$LINENO: result: $libc_cv_fno_stack_protector" >&5
4992 echo "${ECHO_T}$libc_cv_fno_stack_protector" >&6; }
4993 if test $libc_cv_fno_stack_protector = yes; then
4994 I386_CFLAGS="$I386_CFLAGS -fno-stack-protector"
4995 IA64_CFLAGS="$IA64_CFLAGS -fno-stack-protector"
5020 ac_config_files="$ac_config_files Makefile.conf"
5022 cat >confcache <<\_ACEOF
5023 # This file is a shell script that caches the results of configure
5024 # tests run on this system so they can be shared between configure
5025 # scripts and configure runs, see configure's option --config-cache.
5026 # It is not useful on other systems. If it contains results you don't
5027 # want to keep, you may remove or edit it.
5029 # config.status only pays attention to the cache file if you give it
5030 # the --recheck option to rerun configure.
5032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5038 # The following way of writing the cache mishandles newlines in values,
5039 # but we know of no workaround that is simple, portable, and efficient.
5040 # So, we kill variables containing newlines.
5041 # Ultrix sh set writes to stderr and can't be redirected directly,
5042 # and sets the high bit in the cache file unless we assign to the vars.
5044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5045 eval ac_val=\$$ac_var
5049 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5053 _ | IFS | as_nl) ;; #(
5054 *) $as_unset $ac_var ;;
5060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5061 *${as_nl}ac_space=\ *)
5062 # `set' does not quote correctly, so add quotes (double-quote
5063 # substitution turns \\\\ into \\, and sed turns \\ into \).
5066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5069 # `set' quotes correctly as required by POSIX, so do not add quotes.
5070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5084 if test -w "$cache_file"; then
5085 test "x$cache_file" != "x/dev/null" &&
5086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5087 echo "$as_me: updating cache $cache_file" >&6;}
5088 cat confcache >$cache_file
5090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5096 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5097 # Let make expand exec_prefix.
5098 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5100 # Transform confdefs.h into DEFS.
5101 # Protect against shell expansion while executing Makefile rules.
5102 # Protect against Makefile macro expansion.
5104 # If the first sed substitution is executed (which looks for macros that
5105 # take arguments), then branch to the quote section. Otherwise,
5106 # look for a macro that doesn't take arguments.
5110 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5112 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5116 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5129 DEFS=`sed -n "$ac_script" confdefs.h`
5134 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5135 # 1. Remove the extension, and $U if already installed.
5136 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5137 ac_i=`echo "$ac_i" | sed "$ac_script"`
5138 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5139 # will be set to the directory where LIBOBJS objects are built.
5140 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5141 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5145 LTLIBOBJS=$ac_ltlibobjs
5149 : ${CONFIG_STATUS=./config.status}
5150 ac_clean_files_save=$ac_clean_files
5151 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5154 cat >$CONFIG_STATUS <<_ACEOF
5156 # Generated by $as_me.
5157 # Run this file to recreate the current configuration.
5158 # Compiler output produced by configure, useful for debugging
5159 # configure, is in config.log if it exists.
5164 SHELL=\${CONFIG_SHELL-$SHELL}
5167 cat >>$CONFIG_STATUS <<\_ACEOF
5168 ## --------------------- ##
5169 ## M4sh Initialization. ##
5170 ## --------------------- ##
5172 # Be more Bourne compatible
5173 DUALCASE=1; export DUALCASE # for MKS sh
5174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5177 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5178 # is contrary to our usage. Disable this feature.
5179 alias -g '${1+"$@"}'='"$@"'
5180 setopt NO_GLOB_SUBST
5182 case `(set -o) 2>/dev/null` in
5183 *posix*) set -o posix ;;
5192 # Avoid depending upon Character Ranges.
5193 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5194 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5195 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5196 as_cr_digits='0123456789'
5197 as_cr_alnum=$as_cr_Letters$as_cr_digits
5199 # The user is always right.
5200 if test "${PATH_SEPARATOR+set}" != set; then
5201 echo "#! /bin/sh" >conf$$.sh
5202 echo "exit 0" >>conf$$.sh
5204 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5212 # Support unset when possible.
5213 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5221 # We need space, tab and new line, in precisely that order. Quoting is
5222 # there to prevent editors from complaining about space-tab.
5223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5224 # splitting by setting IFS to empty value.)
5229 # Find who we are. Look in the path if we contain no directory separator.
5231 *[\\/]* ) as_myself=$0 ;;
5232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5243 # We did not find ourselves, most probably we were run as `sh COMMAND'
5244 # in which case we are not to be found in the path.
5245 if test "x$as_myself" = x; then
5248 if test ! -f "$as_myself"; then
5249 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5250 { (exit 1); exit 1; }
5253 # Work around bugs in pre-3.0 UWIN ksh.
5254 for as_var in ENV MAIL MAILPATH
5255 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5265 LC_TELEPHONE LC_TIME
5267 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5268 eval $as_var=C; export $as_var
5270 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5274 # Required to use basename.
5275 if expr a : '\(a\)' >/dev/null 2>&1 &&
5276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5282 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5283 as_basename=basename
5289 # Name of the executable.
5290 as_me=`$as_basename -- "$0" ||
5291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5292 X"$0" : 'X\(//\)$' \| \
5293 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5295 sed '/^.*\/\([^/][^/]*\)\/*$/{
5316 test "x$as_lineno_1" != "x$as_lineno_2" &&
5317 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5319 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5320 # uniformly replaced by the line number. The first 'sed' inserts a
5321 # line-number line after each line using $LINENO; the second 'sed'
5322 # does the real work. The second script uses 'N' to pair each
5323 # line-number line with the line containing $LINENO, and appends
5324 # trailing '-' during substitution so that $LINENO is not a special
5326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5327 # scripts with optimization help from Paolo Bonzini. Blame Lee
5328 # E. McMahon (1931-1989) for sed's syntax. :-)
5340 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5344 chmod +x "$as_me.lineno" ||
5345 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5346 { (exit 1); exit 1; }; }
5348 # Don't try to exec as it changes $[0], causing all sort of problems
5349 # (the dirname of $[0] is not the place where we might find the
5350 # original and so on. Autoconf is especially sensitive to this).
5352 # Exit status is that of the last command.
5357 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5363 ECHO_C= ECHO_N= ECHO_T=
5366 case `echo 'x\c'` in
5367 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5374 if expr a : '\(a\)' >/dev/null 2>&1 &&
5375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5381 rm -f conf$$ conf$$.exe conf$$.file
5382 if test -d conf$$.dir; then
5383 rm -f conf$$.dir/conf$$.file
5389 if ln -s conf$$.file conf$$ 2>/dev/null; then
5391 # ... but there are two gotchas:
5392 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5393 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5394 # In both cases, we have to default to `cp -p'.
5395 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5397 elif ln conf$$.file conf$$ 2>/dev/null; then
5402 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5403 rmdir conf$$.dir 2>/dev/null
5405 if mkdir -p . 2>/dev/null; then
5408 test -d ./-p && rmdir ./-p
5412 if test -x / >/dev/null 2>&1; then
5415 if ls -dL / >/dev/null 2>&1; then
5422 if test -d "$1"; then
5428 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5429 ???[sx]*):;;*)false;;esac;fi
5433 as_executable_p=$as_test_x
5435 # Sed expression to map a string onto a valid CPP name.
5436 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5438 # Sed expression to map a string onto a valid variable name.
5439 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5444 # Save the log message, to keep $[0] and so on meaningful, and to
5445 # report actual input values of CONFIG_FILES etc. instead of their
5446 # values after options handling.
5448 This file was extended by $as_me, which was
5449 generated by GNU Autoconf 2.61. Invocation command line was
5451 CONFIG_FILES = $CONFIG_FILES
5452 CONFIG_HEADERS = $CONFIG_HEADERS
5453 CONFIG_LINKS = $CONFIG_LINKS
5454 CONFIG_COMMANDS = $CONFIG_COMMANDS
5457 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5462 cat >>$CONFIG_STATUS <<_ACEOF
5463 # Files that config.status was made for.
5464 config_files="$ac_config_files"
5468 cat >>$CONFIG_STATUS <<\_ACEOF
5470 \`$as_me' instantiates files from templates according to the
5471 current configuration.
5473 Usage: $0 [OPTIONS] [FILE]...
5475 -h, --help print this help, then exit
5476 -V, --version print version number and configuration settings, then exit
5477 -q, --quiet do not print progress messages
5478 -d, --debug don't remove temporary files
5479 --recheck update $as_me by reconfiguring in the same conditions
5480 --file=FILE[:TEMPLATE]
5481 instantiate the configuration file FILE
5483 Configuration files:
5486 Report bugs to <bug-autoconf@gnu.org>."
5489 cat >>$CONFIG_STATUS <<_ACEOF
5492 configured by $0, generated by GNU Autoconf 2.61,
5493 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5495 Copyright (C) 2006 Free Software Foundation, Inc.
5496 This config.status script is free software; the Free Software Foundation
5497 gives unlimited permission to copy, distribute and modify it."
5503 cat >>$CONFIG_STATUS <<\_ACEOF
5504 # If no file are specified by the user, then we need to provide default
5505 # value. By we need to know if files were specified by the user.
5511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5512 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5523 # Handling of the options.
5524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5526 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5527 echo "$ac_cs_version"; exit ;;
5528 --debug | --debu | --deb | --de | --d | -d )
5530 --file | --fil | --fi | --f )
5532 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5533 ac_need_defaults=false;;
5534 --he | --h | --help | --hel | -h )
5535 echo "$ac_cs_usage"; exit ;;
5536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5541 -*) { echo "$as_me: error: unrecognized option: $1
5542 Try \`$0 --help' for more information." >&2
5543 { (exit 1); exit 1; }; } ;;
5545 *) ac_config_targets="$ac_config_targets $1"
5546 ac_need_defaults=false ;;
5552 ac_configure_extra_args=
5554 if $ac_cs_silent; then
5556 ac_configure_extra_args="$ac_configure_extra_args --silent"
5560 cat >>$CONFIG_STATUS <<_ACEOF
5561 if \$ac_cs_recheck; then
5562 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5565 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5569 cat >>$CONFIG_STATUS <<\_ACEOF
5573 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5574 ## Running $as_me. ##
5580 cat >>$CONFIG_STATUS <<_ACEOF
5583 cat >>$CONFIG_STATUS <<\_ACEOF
5585 # Handling of arguments.
5586 for ac_config_target in $ac_config_targets
5588 case $ac_config_target in
5589 "Makefile.conf") CONFIG_FILES="$CONFIG_FILES Makefile.conf" ;;
5591 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5592 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5593 { (exit 1); exit 1; }; };;
5598 # If the user did not use the arguments to specify the items to instantiate,
5599 # then the envvar interface is used. Set only those that are not.
5600 # We use the long form for the default assignment because of an extremely
5601 # bizarre bug on SunOS 4.1.3.
5602 if $ac_need_defaults; then
5603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5606 # Have a temporary directory for convenience. Make it in the build tree
5607 # simply because there is no reason against having it here, and in addition,
5608 # creating and moving files from /tmp can sometimes cause problems.
5609 # Hook for its removal unless debugging.
5610 # Note that there is a small window in which the directory will not be cleaned:
5611 # after its creation but before its name has been assigned to `$tmp'.
5615 trap 'exit_status=$?
5616 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5618 trap '{ (exit 1); exit 1; }' 1 2 13 15
5620 # Create a (secure) tmp directory for tmp files.
5623 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5624 test -n "$tmp" && test -d "$tmp"
5627 tmp=./conf$$-$RANDOM
5628 (umask 077 && mkdir "$tmp")
5631 echo "$me: cannot create a temporary directory in ." >&2
5632 { (exit 1); exit 1; }
5636 # Set up the sed scripts for CONFIG_FILES section.
5639 # No need to generate the scripts if there are no CONFIG_FILES.
5640 # This happens for instance when ./config.status config.h
5641 if test -n "$CONFIG_FILES"; then
5648 for ac_last_try in false false false false false :; do
5649 cat >conf$$subs.sed <<_ACEOF
5650 SHELL!$SHELL$ac_delim
5651 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5652 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5653 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5654 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5655 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5656 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5657 exec_prefix!$exec_prefix$ac_delim
5658 prefix!$prefix$ac_delim
5659 program_transform_name!$program_transform_name$ac_delim
5660 bindir!$bindir$ac_delim
5661 sbindir!$sbindir$ac_delim
5662 libexecdir!$libexecdir$ac_delim
5663 datarootdir!$datarootdir$ac_delim
5664 datadir!$datadir$ac_delim
5665 sysconfdir!$sysconfdir$ac_delim
5666 sharedstatedir!$sharedstatedir$ac_delim
5667 localstatedir!$localstatedir$ac_delim
5668 includedir!$includedir$ac_delim
5669 oldincludedir!$oldincludedir$ac_delim
5670 docdir!$docdir$ac_delim
5671 infodir!$infodir$ac_delim
5672 htmldir!$htmldir$ac_delim
5673 dvidir!$dvidir$ac_delim
5674 pdfdir!$pdfdir$ac_delim
5675 psdir!$psdir$ac_delim
5676 libdir!$libdir$ac_delim
5677 localedir!$localedir$ac_delim
5678 mandir!$mandir$ac_delim
5680 ECHO_C!$ECHO_C$ac_delim
5681 ECHO_N!$ECHO_N$ac_delim
5682 ECHO_T!$ECHO_T$ac_delim
5684 build_alias!$build_alias$ac_delim
5685 host_alias!$host_alias$ac_delim
5686 target_alias!$target_alias$ac_delim
5687 build!$build$ac_delim
5688 build_cpu!$build_cpu$ac_delim
5689 build_vendor!$build_vendor$ac_delim
5690 build_os!$build_os$ac_delim
5692 host_cpu!$host_cpu$ac_delim
5693 host_vendor!$host_vendor$ac_delim
5694 host_os!$host_os$ac_delim
5696 CFLAGS!$CFLAGS$ac_delim
5697 LDFLAGS!$LDFLAGS$ac_delim
5698 CPPFLAGS!$CPPFLAGS$ac_delim
5699 ac_ct_CC!$ac_ct_CC$ac_delim
5700 EXEEXT!$EXEEXT$ac_delim
5701 OBJEXT!$OBJEXT$ac_delim
5702 MKDIR!$MKDIR$ac_delim
5712 EGREP!$EGREP$ac_delim
5715 OBJCOPY!$OBJCOPY$ac_delim
5716 I386_CC!$I386_CC$ac_delim
5717 I386_CPP!$I386_CPP$ac_delim
5718 I386_LD!$I386_LD$ac_delim
5719 I386_AS!$I386_AS$ac_delim
5720 I386_OBJCOPY!$I386_OBJCOPY$ac_delim
5721 IA64_CC!$IA64_CC$ac_delim
5722 IA64_CPP!$IA64_CPP$ac_delim
5723 IA64_LD!$IA64_LD$ac_delim
5724 IA64_AS!$IA64_AS$ac_delim
5725 IA64_OBJCOPY!$IA64_OBJCOPY$ac_delim
5726 HOST_CC!$HOST_CC$ac_delim
5727 libc_cv_fno_stack_protector!$libc_cv_fno_stack_protector$ac_delim
5728 HOST_CFLAGS!$HOST_CFLAGS$ac_delim
5729 I386_CFLAGS!$I386_CFLAGS$ac_delim
5730 I386_ASFLAGS!$I386_ASFLAGS$ac_delim
5731 I386_LDFLAGS!$I386_LDFLAGS$ac_delim
5732 IA64_CFLAGS!$IA64_CFLAGS$ac_delim
5733 IA64_ASFLAGS!$IA64_ASFLAGS$ac_delim
5734 IA64_LDFLAGS!$IA64_LDFLAGS$ac_delim
5735 LIBOBJS!$LIBOBJS$ac_delim
5736 LTLIBOBJS!$LTLIBOBJS$ac_delim
5739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
5741 elif $ac_last_try; then
5742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5744 { (exit 1); exit 1; }; }
5746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5750 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5751 if test -n "$ac_eof"; then
5752 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5753 ac_eof=`expr $ac_eof + 1`
5756 cat >>$CONFIG_STATUS <<_ACEOF
5757 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5762 s/^/s,@/; s/!/@,|#_!!_#|/
5765 s/'"$ac_delim"'$/,g/; t
5767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5768 ' >>$CONFIG_STATUS <conf$$subs.sed
5769 rm -f conf$$subs.sed
5770 cat >>$CONFIG_STATUS <<_ACEOF
5777 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5778 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5779 # trailing colons and then remove the whole line if VPATH becomes empty
5780 # (actually we leave an empty line to preserve line numbers).
5781 if test "x$srcdir" = x.; then
5782 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5786 s/^\([^=]*=[ ]*\):*/\1/
5792 cat >>$CONFIG_STATUS <<\_ACEOF
5793 fi # test -n "$CONFIG_FILES"
5796 for ac_tag in :F $CONFIG_FILES
5799 :[FHLC]) ac_mode=$ac_tag; continue;;
5801 case $ac_mode$ac_tag in
5803 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5804 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5805 { (exit 1); exit 1; }; };;
5806 :[FH]-) ac_tag=-:-;;
5807 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5824 -) ac_f="$tmp/stdin";;
5825 *) # Look for the file first in the build tree, then in the source tree
5826 # (if the path is not absolute). The absolute path cannot be DOS-style,
5827 # because $ac_f cannot contain `:'.
5831 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5833 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5834 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5835 { (exit 1); exit 1; }; };;
5837 ac_file_inputs="$ac_file_inputs $ac_f"
5840 # Let's still pretend it is `configure' which instantiates (i.e., don't
5841 # use $as_me), people would be surprised to read:
5842 # /* config.h. Generated by config.status. */
5843 configure_input="Generated from "`IFS=:
5844 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5845 if test x"$ac_file" != x-; then
5846 configure_input="$ac_file. $configure_input"
5847 { echo "$as_me:$LINENO: creating $ac_file" >&5
5848 echo "$as_me: creating $ac_file" >&6;}
5852 *:-:* | *:-) cat >"$tmp/stdin";;
5857 ac_dir=`$as_dirname -- "$ac_file" ||
5858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5859 X"$ac_file" : 'X\(//\)[^/]' \| \
5860 X"$ac_file" : 'X\(//\)$' \| \
5861 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5882 -*) as_dir=./$as_dir;;
5884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5888 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5889 *) as_qdir=$as_dir;;
5891 as_dirs="'$as_qdir' $as_dirs"
5892 as_dir=`$as_dirname -- "$as_dir" ||
5893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5894 X"$as_dir" : 'X\(//\)[^/]' \| \
5895 X"$as_dir" : 'X\(//\)$' \| \
5896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5915 test -d "$as_dir" && break
5917 test -z "$as_dirs" || eval "mkdir $as_dirs"
5918 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5919 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5920 { (exit 1); exit 1; }; }; }
5924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5927 # A ".." for each directory in $ac_dir_suffix.
5928 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5929 case $ac_top_builddir_sub in
5930 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5931 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5934 ac_abs_top_builddir=$ac_pwd
5935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5936 # for backward compatibility:
5937 ac_top_builddir=$ac_top_build_prefix
5940 .) # We are building in place.
5942 ac_top_srcdir=$ac_top_builddir_sub
5943 ac_abs_top_srcdir=$ac_pwd ;;
5944 [\\/]* | ?:[\\/]* ) # Absolute name.
5945 ac_srcdir=$srcdir$ac_dir_suffix;
5946 ac_top_srcdir=$srcdir
5947 ac_abs_top_srcdir=$srcdir ;;
5949 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5950 ac_top_srcdir=$ac_top_build_prefix$srcdir
5951 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5964 cat >>$CONFIG_STATUS <<\_ACEOF
5965 # If the template does not know about datarootdir, expand it.
5966 # FIXME: This hack should be removed a few years after 2.60.
5967 ac_datarootdir_hack=; ac_datarootdir_seen=
5969 case `sed -n '/datarootdir/ {
5978 ' $ac_file_inputs` in
5979 *datarootdir*) ac_datarootdir_seen=yes;;
5980 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5981 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5982 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5984 cat >>$CONFIG_STATUS <<_ACEOF
5985 ac_datarootdir_hack='
5986 s&@datadir@&$datadir&g
5987 s&@docdir@&$docdir&g
5988 s&@infodir@&$infodir&g
5989 s&@localedir@&$localedir&g
5990 s&@mandir@&$mandir&g
5991 s&\\\${datarootdir}&$datarootdir&g' ;;
5995 # Neutralize VPATH when `$srcdir' = `.'.
5996 # Shell code in configure.ac might set extrasub.
5997 # FIXME: do we really want to maintain this feature?
5998 cat >>$CONFIG_STATUS <<_ACEOF
6002 cat >>$CONFIG_STATUS <<\_ACEOF
6004 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6005 s&@configure_input@&$configure_input&;t t
6006 s&@top_builddir@&$ac_top_builddir_sub&;t t
6007 s&@srcdir@&$ac_srcdir&;t t
6008 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6009 s&@top_srcdir@&$ac_top_srcdir&;t t
6010 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6011 s&@builddir@&$ac_builddir&;t t
6012 s&@abs_builddir@&$ac_abs_builddir&;t t
6013 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6014 $ac_datarootdir_hack
6015 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6017 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6018 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6019 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6020 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6021 which seems to be undefined. Please make sure it is defined." >&5
6022 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6023 which seems to be undefined. Please make sure it is defined." >&2;}
6027 -) cat "$tmp/out"; rm -f "$tmp/out";;
6028 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6039 { (exit 0); exit 0; }
6041 chmod +x $CONFIG_STATUS
6042 ac_clean_files=$ac_clean_files_save
6045 # configure is writing to config.log, and then calls config.status.
6046 # config.status does its own redirection, appending to config.log.
6047 # Unfortunately, on DOS this fails, as config.log is still kept open
6048 # by configure, so config.status won't be able to write to it; its
6049 # output is simply discarded. So we exec the FD to /dev/null,
6050 # effectively closing config.log, so it can be properly (re)opened and
6051 # appended to by config.status. When coming back to configure, we
6052 # need to make the FD available again.
6053 if test "$no_create" != yes; then
6055 ac_config_status_args=
6056 test "$silent" = yes &&
6057 ac_config_status_args="$ac_config_status_args --quiet"
6059 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6061 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6062 # would make configure fail if this is the last instruction.
6063 $ac_cs_success || { (exit 1); exit 1; }