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.in"
589 program_transform_name
648 ac_precious_vars='build_alias
679 # Initialize some variables set by options.
681 ac_init_version=false
682 # The variables have the same names as the options, with
683 # dashes changed to underlines.
691 program_transform_name=s,x,x,
699 # Installation directory options.
700 # These are left unexpanded so users can "make install exec_prefix=/foo"
701 # and all the variables that are supposed to be based on exec_prefix
702 # by default will actually change.
703 # Use braces instead of parens because sh, perl, etc. also accept them.
704 # (The list follows the same order as the GNU Coding Standards.)
705 bindir='${exec_prefix}/bin'
706 sbindir='${exec_prefix}/sbin'
707 libexecdir='${exec_prefix}/libexec'
708 datarootdir='${prefix}/share'
709 datadir='${datarootdir}'
710 sysconfdir='${prefix}/etc'
711 sharedstatedir='${prefix}/com'
712 localstatedir='${prefix}/var'
713 includedir='${prefix}/include'
714 oldincludedir='/usr/include'
715 docdir='${datarootdir}/doc/${PACKAGE}'
716 infodir='${datarootdir}/info'
721 libdir='${exec_prefix}/lib'
722 localedir='${datarootdir}/locale'
723 mandir='${datarootdir}/man'
729 # If the previous option needs an argument, assign it.
730 if test -n "$ac_prev"; then
731 eval $ac_prev=\$ac_option
737 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
741 # Accept the important Cygnus configure options, so we can diagnose typos.
743 case $ac_dashdash$ac_option in
747 -bindir | --bindir | --bindi | --bind | --bin | --bi)
749 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
752 -build | --build | --buil | --bui | --bu)
753 ac_prev=build_alias ;;
754 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
755 build_alias=$ac_optarg ;;
757 -cache-file | --cache-file | --cache-fil | --cache-fi \
758 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
759 ac_prev=cache_file ;;
760 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
761 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
762 cache_file=$ac_optarg ;;
765 cache_file=config.cache ;;
767 -datadir | --datadir | --datadi | --datad)
769 -datadir=* | --datadir=* | --datadi=* | --datad=*)
770 datadir=$ac_optarg ;;
772 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
773 | --dataroo | --dataro | --datar)
774 ac_prev=datarootdir ;;
775 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
776 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
777 datarootdir=$ac_optarg ;;
779 -disable-* | --disable-*)
780 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
783 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
784 { (exit 1); exit 1; }; }
785 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
786 eval enable_$ac_feature=no ;;
788 -docdir | --docdir | --docdi | --doc | --do)
790 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
793 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
795 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
798 -enable-* | --enable-*)
799 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
803 { (exit 1); exit 1; }; }
804 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
805 eval enable_$ac_feature=\$ac_optarg ;;
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
820 -help | --help | --hel | --he | -h)
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
836 htmldir=$ac_optarg ;;
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
850 -libdir | --libdir | --libdi | --libd)
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
862 -localedir | --localedir | --localedi | --localed | --locale)
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880 # Obsolete; use --without-fp.
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
941 -psdir | --psdir | --psdi | --psd | --ps)
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
950 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
952 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
954 sbindir=$ac_optarg ;;
956 -sharedstatedir | --sharedstatedir | --sharedstatedi \
957 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
958 | --sharedst | --shareds | --shared | --share | --shar \
960 ac_prev=sharedstatedir ;;
961 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
962 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
963 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
965 sharedstatedir=$ac_optarg ;;
967 -site | --site | --sit)
969 -site=* | --site=* | --sit=*)
972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
977 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
978 | --syscon | --sysco | --sysc | --sys | --sy)
979 ac_prev=sysconfdir ;;
980 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
981 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
982 sysconfdir=$ac_optarg ;;
984 -target | --target | --targe | --targ | --tar | --ta | --t)
985 ac_prev=target_alias ;;
986 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
987 target_alias=$ac_optarg ;;
989 -v | -verbose | --verbose | --verbos | --verbo | --verb)
992 -version | --version | --versio | --versi | --vers | -V)
996 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999 { echo "$as_me: error: invalid package name: $ac_package" >&2
1000 { (exit 1); exit 1; }; }
1001 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1002 eval with_$ac_package=\$ac_optarg ;;
1004 -without-* | --without-*)
1005 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid package name: $ac_package" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1011 eval with_$ac_package=no ;;
1014 # Obsolete; use --with-x.
1017 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1018 | --x-incl | --x-inc | --x-in | --x-i)
1019 ac_prev=x_includes ;;
1020 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1021 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1022 x_includes=$ac_optarg ;;
1024 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1025 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1026 ac_prev=x_libraries ;;
1027 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1028 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1029 x_libraries=$ac_optarg ;;
1031 -*) { echo "$as_me: error: unrecognized option: $ac_option
1032 Try \`$0 --help' for more information." >&2
1033 { (exit 1); exit 1; }; }
1037 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1040 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1041 { (exit 1); exit 1; }; }
1042 eval $ac_envvar=\$ac_optarg
1043 export $ac_envvar ;;
1046 # FIXME: should be removed in autoconf 3.0.
1047 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1048 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1050 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1056 if test -n "$ac_prev"; then
1057 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1058 { echo "$as_me: error: missing argument to $ac_option" >&2
1059 { (exit 1); exit 1; }; }
1062 # Be sure to have absolute directory names.
1063 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1064 datadir sysconfdir sharedstatedir localstatedir includedir \
1065 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1066 libdir localedir mandir
1068 eval ac_val=\$$ac_var
1070 [\\/$]* | ?:[\\/]* ) continue;;
1071 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1073 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1074 { (exit 1); exit 1; }; }
1077 # There might be people who depend on the old broken behavior: `$host'
1078 # used to hold the argument of --host etc.
1079 # FIXME: To remove some day.
1082 target=$target_alias
1084 # FIXME: To remove some day.
1085 if test "x$host_alias" != x; then
1086 if test "x$build_alias" = x; then
1087 cross_compiling=maybe
1088 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1089 If a cross compiler is detected then cross compile mode will be used." >&2
1090 elif test "x$build_alias" != "x$host_alias"; then
1096 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1098 test "$silent" = yes && exec 6>/dev/null
1101 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1102 ac_ls_di=`ls -di .` &&
1103 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1104 { echo "$as_me: error: Working directory cannot be determined" >&2
1105 { (exit 1); exit 1; }; }
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107 { echo "$as_me: error: pwd does not report name of working directory" >&2
1108 { (exit 1); exit 1; }; }
1111 # Find the source files, if location was not specified.
1112 if test -z "$srcdir"; then
1113 ac_srcdir_defaulted=yes
1114 # Try the directory containing this script, then the parent directory.
1115 ac_confdir=`$as_dirname -- "$0" ||
1116 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1117 X"$0" : 'X\(//\)[^/]' \| \
1118 X"$0" : 'X\(//\)$' \| \
1119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1139 if test ! -r "$srcdir/$ac_unique_file"; then
1143 ac_srcdir_defaulted=no
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1146 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1147 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1148 { (exit 1); exit 1; }; }
1150 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1152 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1153 { (exit 1); exit 1; }; }
1155 # When building in place, set srcdir=.
1156 if test "$ac_abs_confdir" = "$ac_pwd"; then
1159 # Remove unnecessary trailing slashes from srcdir.
1160 # Double slashes in file names in object file debugging info
1161 # mess up M-x gdb in Emacs.
1163 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1165 for ac_var in $ac_precious_vars; do
1166 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1167 eval ac_env_${ac_var}_value=\$${ac_var}
1168 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1169 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1173 # Report the --help message.
1175 if test "$ac_init_help" = "long"; then
1176 # Omit some internal or obsolete options to make the list less imposing.
1177 # This message is too long to be a string in the A/UX 3.1 sh.
1179 \`configure' configures this package to adapt to many kinds of systems.
1181 Usage: $0 [OPTION]... [VAR=VALUE]...
1183 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1184 VAR=VALUE. See below for descriptions of some of the useful variables.
1186 Defaults for the options are specified in brackets.
1189 -h, --help display this help and exit
1190 --help=short display options specific to this package
1191 --help=recursive display the short help of all the included packages
1192 -V, --version display version information and exit
1193 -q, --quiet, --silent do not print \`checking...' messages
1194 --cache-file=FILE cache test results in FILE [disabled]
1195 -C, --config-cache alias for \`--cache-file=config.cache'
1196 -n, --no-create do not create output files
1197 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1199 Installation directories:
1200 --prefix=PREFIX install architecture-independent files in PREFIX
1201 [$ac_default_prefix]
1202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1205 By default, \`make install' will install all the files in
1206 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1207 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1208 for instance \`--prefix=\$HOME'.
1210 For better control, use the options below.
1212 Fine tuning of the installation directories:
1213 --bindir=DIR user executables [EPREFIX/bin]
1214 --sbindir=DIR system admin executables [EPREFIX/sbin]
1215 --libexecdir=DIR program executables [EPREFIX/libexec]
1216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1219 --libdir=DIR object code libraries [EPREFIX/lib]
1220 --includedir=DIR C header files [PREFIX/include]
1221 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1222 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1223 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1224 --infodir=DIR info documentation [DATAROOTDIR/info]
1225 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1226 --mandir=DIR man documentation [DATAROOTDIR/man]
1227 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1228 --htmldir=DIR html documentation [DOCDIR]
1229 --dvidir=DIR dvi documentation [DOCDIR]
1230 --pdfdir=DIR pdf documentation [DOCDIR]
1231 --psdir=DIR ps documentation [DOCDIR]
1237 --program-prefix=PREFIX prepend PREFIX to installed program names
1238 --program-suffix=SUFFIX append SUFFIX to installed program names
1239 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1242 --build=BUILD configure for building on BUILD [guessed]
1243 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1244 --target=TARGET configure for building compilers for TARGET [HOST]
1248 if test -n "$ac_init_help"; then
1253 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1254 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1257 Some influential environment variables:
1258 CC C compiler command
1259 CFLAGS C compiler flags
1260 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1261 nonstandard directory <lib dir>
1262 LIBS libraries to pass to the linker, e.g. -l<library>
1263 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1264 you have headers in a nonstandard directory <include dir>
1266 Use these variables to override the choices made by `configure' or to help
1267 it to find libraries and programs with nonstandard names/locations.
1273 if test "$ac_init_help" = "recursive"; then
1274 # If there are subdirs, report their specific --help.
1275 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276 test -d "$ac_dir" || continue
1280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1283 # A ".." for each directory in $ac_dir_suffix.
1284 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1285 case $ac_top_builddir_sub in
1286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290 ac_abs_top_builddir=$ac_pwd
1291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1292 # for backward compatibility:
1293 ac_top_builddir=$ac_top_build_prefix
1296 .) # We are building in place.
1298 ac_top_srcdir=$ac_top_builddir_sub
1299 ac_abs_top_srcdir=$ac_pwd ;;
1300 [\\/]* | ?:[\\/]* ) # Absolute name.
1301 ac_srcdir=$srcdir$ac_dir_suffix;
1302 ac_top_srcdir=$srcdir
1303 ac_abs_top_srcdir=$srcdir ;;
1305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1306 ac_top_srcdir=$ac_top_build_prefix$srcdir
1307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311 cd "$ac_dir" || { ac_status=$?; continue; }
1312 # Check for guested configure.
1313 if test -f "$ac_srcdir/configure.gnu"; then
1315 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1316 elif test -f "$ac_srcdir/configure"; then
1318 $SHELL "$ac_srcdir/configure" --help=recursive
1320 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322 cd "$ac_pwd" || { ac_status=$?; break; }
1326 test -n "$ac_init_help" && exit $ac_status
1327 if $ac_init_version; then
1330 generated by GNU Autoconf 2.61
1332 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1333 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1334 This configure script is free software; the Free Software Foundation
1335 gives unlimited permission to copy, distribute and modify it.
1339 cat >config.log <<_ACEOF
1340 This file contains any messages produced by compilers while
1341 running configure, to aid debugging if configure makes a mistake.
1343 It was created by $as_me, which was
1344 generated by GNU Autoconf 2.61. Invocation command line was
1356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 test -z "$as_dir" && as_dir=.
1380 echo "PATH: $as_dir"
1396 # Keep a trace of the command line.
1397 # Strip out --no-create and --no-recursion so they do not pile up.
1398 # Strip out --silent because we don't want to record it for future runs.
1399 # Also quote any args containing shell meta-characters.
1400 # Make two passes to allow for proper duplicate-argument suppression.
1404 ac_must_keep_next=false
1410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1412 | -silent | --silent | --silen | --sile | --sil)
1415 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1420 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1421 if test $ac_must_keep_next = true; then
1422 ac_must_keep_next=false # Got value, back to normal.
1425 *=* | --config-cache | -C | -disable-* | --disable-* \
1426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1428 | -with-* | --with-* | -without-* | --without-* | --x)
1429 case "$ac_configure_args0 " in
1430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433 -* ) ac_must_keep_next=true ;;
1436 ac_configure_args="$ac_configure_args '$ac_arg'"
1441 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1442 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1444 # When interrupted or exit'd, cleanup temporary files, and complete
1445 # config.log. We remove comments because anyway the quotes in there
1446 # would cause problems or look ugly.
1447 # WARNING: Use '\'' to represent an apostrophe within the trap.
1448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1449 trap 'exit_status=$?
1450 # Save into config.log some information that might help in debugging.
1455 ## ---------------- ##
1456 ## Cache variables. ##
1457 ## ---------------- ##
1460 # The following way of writing the cache mishandles newlines in values,
1462 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1463 eval ac_val=\$$ac_var
1467 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1468 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1471 _ | IFS | as_nl) ;; #(
1472 *) $as_unset $ac_var ;;
1477 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1478 *${as_nl}ac_space=\ *)
1480 "s/'\''/'\''\\\\'\'''\''/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1497 for ac_var in $ac_subst_vars
1499 eval ac_val=\$$ac_var
1501 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503 echo "$ac_var='\''$ac_val'\''"
1507 if test -n "$ac_subst_files"; then
1509 ## ------------------- ##
1510 ## File substitutions. ##
1511 ## ------------------- ##
1514 for ac_var in $ac_subst_files
1516 eval ac_val=\$$ac_var
1518 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520 echo "$ac_var='\''$ac_val'\''"
1525 if test -s confdefs.h; then
1535 test "$ac_signal" != 0 &&
1536 echo "$as_me: caught signal $ac_signal"
1537 echo "$as_me: exit $exit_status"
1539 rm -f core *.core core.conftest.* &&
1540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1543 for ac_signal in 1 2 13 15; do
1544 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1549 rm -f -r conftest* confdefs.h
1551 # Predefined preprocessor variables.
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_NAME "$PACKAGE_NAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_STRING "$PACKAGE_STRING"
1573 cat >>confdefs.h <<_ACEOF
1574 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1578 # Let the site file select an alternate cache file if it wants to.
1579 # Prefer explicitly selected file to automatically selected ones.
1580 if test -n "$CONFIG_SITE"; then
1581 set x "$CONFIG_SITE"
1582 elif test "x$prefix" != xNONE; then
1583 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1585 set x "$ac_default_prefix/share/config.site" \
1586 "$ac_default_prefix/etc/config.site"
1591 if test -r "$ac_site_file"; then
1592 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1593 echo "$as_me: loading site script $ac_site_file" >&6;}
1594 sed 's/^/| /' "$ac_site_file" >&5
1599 if test -r "$cache_file"; then
1600 # Some versions of bash will fail to source /dev/null (special
1601 # files actually), so we avoid doing that.
1602 if test -f "$cache_file"; then
1603 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1604 echo "$as_me: loading cache $cache_file" >&6;}
1606 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1607 *) . "./$cache_file";;
1611 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1612 echo "$as_me: creating cache $cache_file" >&6;}
1616 # Check that the precious variables saved in the cache have kept the same
1618 ac_cache_corrupted=false
1619 for ac_var in $ac_precious_vars; do
1620 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1621 eval ac_new_set=\$ac_env_${ac_var}_set
1622 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1623 eval ac_new_val=\$ac_env_${ac_var}_value
1624 case $ac_old_set,$ac_new_set in
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1630 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1631 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1632 ac_cache_corrupted=: ;;
1635 if test "x$ac_old_val" != "x$ac_new_val"; then
1636 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1637 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1639 echo "$as_me: former value: $ac_old_val" >&2;}
1640 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1641 echo "$as_me: current value: $ac_new_val" >&2;}
1642 ac_cache_corrupted=:
1645 # Pass precious variables to config.status.
1646 if test "$ac_new_set" = set; then
1648 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 *) ac_arg=$ac_var=$ac_new_val ;;
1651 case " $ac_configure_args " in
1652 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1653 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1657 if $ac_cache_corrupted; then
1658 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1659 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1661 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1662 { (exit 1); exit 1; }; }
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1690 ac_cpp='$CPP $CPPFLAGS'
1691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694 if test -n "$ac_tool_prefix"; then
1695 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1696 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1699 if test "${ac_cv_prog_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$CC"; then
1703 ac_cv_prog_CC="$CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1712 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 if test -n "$CC"; then
1724 { echo "$as_me:$LINENO: result: $CC" >&5
1725 echo "${ECHO_T}$CC" >&6; }
1727 { echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6; }
1733 if test -z "$ac_cv_prog_CC"; then
1735 # Extract the first word of "gcc", so it can be a program name with args.
1736 set dummy gcc; ac_word=$2
1737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1740 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 if test -n "$ac_ct_CC"; then
1743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 test -z "$as_dir" && as_dir=.
1750 for ac_exec_ext in '' $ac_executable_extensions; do
1751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1752 ac_cv_prog_ac_ct_CC="gcc"
1753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1763 if test -n "$ac_ct_CC"; then
1764 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1765 echo "${ECHO_T}$ac_ct_CC" >&6; }
1767 { echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6; }
1771 if test "x$ac_ct_CC" = x; then
1774 case $cross_compiling:$ac_tool_warned in
1776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1777 whose name does not start with the host triplet. If you think this
1778 configuration is useful to you, please write to autoconf@gnu.org." >&5
1779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1780 whose name does not start with the host triplet. If you think this
1781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1782 ac_tool_warned=yes ;;
1790 if test -z "$CC"; then
1791 if test -n "$ac_tool_prefix"; then
1792 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1793 set dummy ${ac_tool_prefix}cc; ac_word=$2
1794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1796 if test "${ac_cv_prog_CC+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 if test -n "$CC"; then
1800 ac_cv_prog_CC="$CC" # Let the user override the test.
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 test -z "$as_dir" && as_dir=.
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1809 ac_cv_prog_CC="${ac_tool_prefix}cc"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1820 if test -n "$CC"; then
1821 { echo "$as_me:$LINENO: result: $CC" >&5
1822 echo "${ECHO_T}$CC" >&6; }
1824 { echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6; }
1831 if test -z "$CC"; then
1832 # Extract the first word of "cc", so it can be a program name with args.
1833 set dummy cc; ac_word=$2
1834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1836 if test "${ac_cv_prog_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$CC"; then
1840 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1850 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1851 ac_prog_rejected=yes
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 if test $ac_prog_rejected = yes; then
1863 # We found a bogon in the path, so make sure we never use it.
1864 set dummy $ac_cv_prog_CC
1866 if test $# != 0; then
1867 # We chose a different compiler from the bogus one.
1868 # However, it has the same basename, so the bogon will be chosen
1869 # first if we set CC to just the basename; use the full file name.
1871 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1877 if test -n "$CC"; then
1878 { echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6; }
1881 { echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6; }
1887 if test -z "$CC"; then
1888 if test -n "$ac_tool_prefix"; then
1889 for ac_prog in cl.exe
1891 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1895 if test "${ac_cv_prog_CC+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 if test -n "$CC"; then
1899 ac_cv_prog_CC="$CC" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 if test -n "$CC"; then
1920 { echo "$as_me:$LINENO: result: $CC" >&5
1921 echo "${ECHO_T}$CC" >&6; }
1923 { echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6; }
1928 test -n "$CC" && break
1931 if test -z "$CC"; then
1933 for ac_prog in cl.exe
1935 # Extract the first word of "$ac_prog", so it can be a program name with args.
1936 set dummy $ac_prog; ac_word=$2
1937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 if test -n "$ac_ct_CC"; then
1943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1952 ac_cv_prog_ac_ct_CC="$ac_prog"
1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1963 if test -n "$ac_ct_CC"; then
1964 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1965 echo "${ECHO_T}$ac_ct_CC" >&6; }
1967 { echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6; }
1972 test -n "$ac_ct_CC" && break
1975 if test "x$ac_ct_CC" = x; then
1978 case $cross_compiling:$ac_tool_warned in
1980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1981 whose name does not start with the host triplet. If you think this
1982 configuration is useful to you, please write to autoconf@gnu.org." >&5
1983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1984 whose name does not start with the host triplet. If you think this
1985 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1986 ac_tool_warned=yes ;;
1995 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: no acceptable C compiler found in \$PATH
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2001 # Provide some information about the compiler.
2002 echo "$as_me:$LINENO: checking for C compiler version" >&5
2003 ac_compiler=`set X $ac_compile; echo $2`
2004 { (ac_try="$ac_compiler --version >&5"
2006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2007 *) ac_try_echo=$ac_try;;
2009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2010 (eval "$ac_compiler --version >&5") 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }
2014 { (ac_try="$ac_compiler -v >&5"
2016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2020 (eval "$ac_compiler -v >&5") 2>&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); }
2024 { (ac_try="$ac_compiler -V >&5"
2026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2030 (eval "$ac_compiler -V >&5") 2>&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); }
2035 cat >conftest.$ac_ext <<_ACEOF
2038 cat confdefs.h >>conftest.$ac_ext
2039 cat >>conftest.$ac_ext <<_ACEOF
2040 /* end confdefs.h. */
2050 ac_clean_files_save=$ac_clean_files
2051 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2052 # Try to create an executable without -o first, disregard a.out.
2053 # It will help us diagnose broken compilers, and finding out an intuition
2055 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2057 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2059 # List of possible output files, starting from the most likely.
2060 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2061 # only as a last resort. b.out is created by i960 compilers.
2062 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2064 # The IRIX 6 linker writes into existing files which may not be
2065 # executable, retaining their permissions. Remove them first so a
2066 # subsequent execution test works.
2068 for ac_file in $ac_files
2071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2072 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2077 if { (ac_try="$ac_link_default"
2079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2080 *) ac_try_echo=$ac_try;;
2082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2083 (eval "$ac_link_default") 2>&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }; then
2087 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2088 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2089 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2090 # so that the user can short-circuit this test for compilers unknown to
2092 for ac_file in $ac_files ''
2094 test -f "$ac_file" || continue
2096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2099 # We found the default executable, but exeext='' is most
2103 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2105 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2107 # We set ac_cv_exeext here because the later test for it is not
2108 # safe: cross compilers may not add the suffix if given an `-o'
2109 # argument, so we may need to know it at that point already.
2110 # Even if this section looks crufty: it has the advantage of
2117 test "$ac_cv_exeext" = no && ac_cv_exeext=
2123 { echo "$as_me:$LINENO: result: $ac_file" >&5
2124 echo "${ECHO_T}$ac_file" >&6; }
2125 if test -z "$ac_file"; then
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.$ac_ext >&5
2129 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2130 See \`config.log' for more details." >&5
2131 echo "$as_me: error: C compiler cannot create executables
2132 See \`config.log' for more details." >&2;}
2133 { (exit 77); exit 77; }; }
2136 ac_exeext=$ac_cv_exeext
2138 # Check that the compiler produces executables we can run. If not, either
2139 # the compiler is broken, or we cross compile.
2140 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2141 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2142 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2143 # If not cross compiling, check that we can run a simple program.
2144 if test "$cross_compiling" != yes; then
2145 if { ac_try='./$ac_file'
2146 { (case "(($ac_try" in
2147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2148 *) ac_try_echo=$ac_try;;
2150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2151 (eval "$ac_try") 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; }; then
2157 if test "$cross_compiling" = maybe; then
2160 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2161 If you meant to cross compile, use \`--host'.
2162 See \`config.log' for more details." >&5
2163 echo "$as_me: error: cannot run C compiled programs.
2164 If you meant to cross compile, use \`--host'.
2165 See \`config.log' for more details." >&2;}
2166 { (exit 1); exit 1; }; }
2170 { echo "$as_me:$LINENO: result: yes" >&5
2171 echo "${ECHO_T}yes" >&6; }
2173 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2174 ac_clean_files=$ac_clean_files_save
2175 # Check that the compiler produces executables we can run. If not, either
2176 # the compiler is broken, or we cross compile.
2177 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2178 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2179 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2180 echo "${ECHO_T}$cross_compiling" >&6; }
2182 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2183 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2184 if { (ac_try="$ac_link"
2186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2187 *) ac_try_echo=$ac_try;;
2189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2190 (eval "$ac_link") 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; then
2194 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2195 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2196 # work properly (i.e., refer to `conftest.exe'), while it won't with
2198 for ac_file in conftest.exe conftest conftest.*; do
2199 test -f "$ac_file" || continue
2201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2202 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2208 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2209 See \`config.log' for more details." >&5
2210 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2211 See \`config.log' for more details." >&2;}
2212 { (exit 1); exit 1; }; }
2215 rm -f conftest$ac_cv_exeext
2216 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2217 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2219 rm -f conftest.$ac_ext
2220 EXEEXT=$ac_cv_exeext
2222 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2223 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2224 if test "${ac_cv_objext+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.$ac_ext <<_ACEOF
2230 cat confdefs.h >>conftest.$ac_ext
2231 cat >>conftest.$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2242 rm -f conftest.o conftest.obj
2243 if { (ac_try="$ac_compile"
2245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2246 *) ac_try_echo=$ac_try;;
2248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2249 (eval "$ac_compile") 2>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; then
2253 for ac_file in conftest.o conftest.obj conftest.*; do
2254 test -f "$ac_file" || continue;
2256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2257 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2262 echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.$ac_ext >&5
2265 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2266 See \`config.log' for more details." >&5
2267 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2268 See \`config.log' for more details." >&2;}
2269 { (exit 1); exit 1; }; }
2272 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2274 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2275 echo "${ECHO_T}$ac_cv_objext" >&6; }
2276 OBJEXT=$ac_cv_objext
2278 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2279 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2280 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 cat >conftest.$ac_ext <<_ACEOF
2286 cat confdefs.h >>conftest.$ac_ext
2287 cat >>conftest.$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2301 rm -f conftest.$ac_objext
2302 if { (ac_try="$ac_compile"
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2308 (eval "$ac_compile") 2>conftest.er1
2310 grep -v '^ *+' conftest.er1 >conftest.err
2312 cat conftest.err >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } && {
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then
2320 echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2330 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2331 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2332 GCC=`test $ac_compiler_gnu = yes && echo yes`
2333 ac_test_CFLAGS=${CFLAGS+set}
2334 ac_save_CFLAGS=$CFLAGS
2335 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2336 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2337 if test "${ac_cv_prog_cc_g+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 ac_save_c_werror_flag=$ac_c_werror_flag
2341 ac_c_werror_flag=yes
2344 cat >conftest.$ac_ext <<_ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2359 rm -f conftest.$ac_objext
2360 if { (ac_try="$ac_compile"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compile") 2>conftest.er1
2368 grep -v '^ *+' conftest.er1 >conftest.err
2370 cat conftest.err >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); } && {
2373 test -z "$ac_c_werror_flag" ||
2374 test ! -s conftest.err
2375 } && test -s conftest.$ac_objext; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2382 cat >conftest.$ac_ext <<_ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2397 rm -f conftest.$ac_objext
2398 if { (ac_try="$ac_compile"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2404 (eval "$ac_compile") 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } && {
2411 test -z "$ac_c_werror_flag" ||
2412 test ! -s conftest.err
2413 } && test -s conftest.$ac_objext; then
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2419 ac_c_werror_flag=$ac_save_c_werror_flag
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.$ac_objext
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>conftest.er1
2445 grep -v '^ *+' conftest.er1 >conftest.err
2447 cat conftest.err >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); } && {
2450 test -z "$ac_c_werror_flag" ||
2451 test ! -s conftest.err
2452 } && test -s conftest.$ac_objext; then
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 ac_c_werror_flag=$ac_save_c_werror_flag
2470 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2471 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2472 if test "$ac_test_CFLAGS" = set; then
2473 CFLAGS=$ac_save_CFLAGS
2474 elif test $ac_cv_prog_cc_g = yes; then
2475 if test "$GCC" = yes; then
2481 if test "$GCC" = yes; then
2487 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2488 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2489 if test "${ac_cv_prog_cc_c89+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 ac_cv_prog_cc_c89=no
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2502 #include <sys/types.h>
2503 #include <sys/stat.h>
2504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2505 struct buf { int x; };
2506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2507 static char *e (p, i)
2513 static char *f (char * (*g) (char **, int), char **p, ...)
2518 s = g (p, va_arg (v,int));
2523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2524 function prototypes and stuff, but not '\xHH' hex character constants.
2525 These don't provoke an error unfortunately, instead are silently treated
2526 as 'x'. The following induces an error, until -std is added to get
2527 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2528 array size at least. It's necessary to write '\x00'==0 to get something
2529 that's true only with -std. */
2530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2533 inside strings and character constants. */
2535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2537 int test (int i, double x);
2538 struct s1 {int (*f) (int a);};
2539 struct s2 {int (*f) (double a);};
2540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2546 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2552 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2554 CC="$ac_save_CC $ac_arg"
2555 rm -f conftest.$ac_objext
2556 if { (ac_try="$ac_compile"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_compile") 2>conftest.er1
2564 grep -v '^ *+' conftest.er1 >conftest.err
2566 cat conftest.err >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); } && {
2569 test -z "$ac_c_werror_flag" ||
2570 test ! -s conftest.err
2571 } && test -s conftest.$ac_objext; then
2572 ac_cv_prog_cc_c89=$ac_arg
2574 echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2580 rm -f core conftest.err conftest.$ac_objext
2581 test "x$ac_cv_prog_cc_c89" != "xno" && break
2583 rm -f conftest.$ac_ext
2588 case "x$ac_cv_prog_cc_c89" in
2590 { echo "$as_me:$LINENO: result: none needed" >&5
2591 echo "${ECHO_T}none needed" >&6; } ;;
2593 { echo "$as_me:$LINENO: result: unsupported" >&5
2594 echo "${ECHO_T}unsupported" >&6; } ;;
2596 CC="$CC $ac_cv_prog_cc_c89"
2597 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2598 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2603 ac_cpp='$CPP $CPPFLAGS'
2604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2609 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2610 if test -f "$ac_dir/install-sh"; then
2612 ac_install_sh="$ac_aux_dir/install-sh -c"
2614 elif test -f "$ac_dir/install.sh"; then
2616 ac_install_sh="$ac_aux_dir/install.sh -c"
2618 elif test -f "$ac_dir/shtool"; then
2620 ac_install_sh="$ac_aux_dir/shtool install -c"
2624 if test -z "$ac_aux_dir"; then
2625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2626 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2627 { (exit 1); exit 1; }; }
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2639 # Find a good install program. We prefer a C program (faster),
2640 # so one script is as good as another. But avoid the broken or
2641 # incompatible versions:
2642 # SysV /etc/install, /usr/sbin/install
2643 # SunOS /usr/etc/install
2644 # IRIX /sbin/install
2646 # AmigaOS /C/install, which installs bootblocks on floppy discs
2647 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2648 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2649 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2650 # OS/2's system install, which has a completely different semantic
2651 # ./install, which can be erroneously created by make from ./install.sh.
2652 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2653 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2654 if test -z "$INSTALL"; then
2655 if test "${ac_cv_path_install+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 # Account for people who put trailing slashes in PATH elements.
2665 ./ | .// | /cC/* | \
2666 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2667 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2670 # OSF1 and SCO ODT 3.0 have their own names for install.
2671 # Don't use installbsd from OSF since it installs stuff as root
2673 for ac_prog in ginstall scoinst install; do
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2676 if test $ac_prog = install &&
2677 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2678 # AIX install. It has an incompatible calling convention.
2680 elif test $ac_prog = install &&
2681 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2682 # program-specific install script used by HP pwplus--don't use.
2685 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2698 if test "${ac_cv_path_install+set}" = set; then
2699 INSTALL=$ac_cv_path_install
2701 # As a last resort, use the slow shell script. Don't cache a
2702 # value for INSTALL within a source directory, because that will
2703 # break other packages using the cache if that directory is
2704 # removed, or if the value is a relative name.
2705 INSTALL=$ac_install_sh
2708 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2709 echo "${ECHO_T}$INSTALL" >&6; }
2711 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2712 # It thinks the first close brace ends the variable substitution.
2713 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2715 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2717 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2719 if test -n "$ac_tool_prefix"; then
2720 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2721 set dummy ${ac_tool_prefix}ar; ac_word=$2
2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2724 if test "${ac_cv_prog_AR+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 if test -n "$AR"; then
2728 ac_cv_prog_AR="$AR" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_AR="${ac_tool_prefix}ar"
2738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$AR"; then
2749 { echo "$as_me:$LINENO: result: $AR" >&5
2750 echo "${ECHO_T}$AR" >&6; }
2752 { echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6; }
2758 if test -z "$ac_cv_prog_AR"; then
2760 # Extract the first word of "ar", so it can be a program name with args.
2761 set dummy ar; ac_word=$2
2762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2764 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 if test -n "$ac_ct_AR"; then
2768 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_ac_ct_AR="ar"
2778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2788 if test -n "$ac_ct_AR"; then
2789 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2790 echo "${ECHO_T}$ac_ct_AR" >&6; }
2792 { echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6; }
2796 if test "x$ac_ct_AR" = x; then
2799 case $cross_compiling:$ac_tool_warned in
2801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2802 whose name does not start with the host triplet. If you think this
2803 configuration is useful to you, please write to autoconf@gnu.org." >&5
2804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2805 whose name does not start with the host triplet. If you think this
2806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2807 ac_tool_warned=yes ;;
2815 if test -n "$ac_tool_prefix"; then
2816 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2820 if test "${ac_cv_prog_RANLIB+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$RANLIB"; then
2824 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 RANLIB=$ac_cv_prog_RANLIB
2844 if test -n "$RANLIB"; then
2845 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2846 echo "${ECHO_T}$RANLIB" >&6; }
2848 { echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6; }
2854 if test -z "$ac_cv_prog_RANLIB"; then
2855 ac_ct_RANLIB=$RANLIB
2856 # Extract the first word of "ranlib", so it can be a program name with args.
2857 set dummy ranlib; ac_word=$2
2858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 if test -n "$ac_ct_RANLIB"; then
2864 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873 ac_cv_prog_ac_ct_RANLIB="ranlib"
2874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2884 if test -n "$ac_ct_RANLIB"; then
2885 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2886 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2888 { echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6; }
2892 if test "x$ac_ct_RANLIB" = x; then
2895 case $cross_compiling:$ac_tool_warned in
2897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2898 whose name does not start with the host triplet. If you think this
2899 configuration is useful to you, please write to autoconf@gnu.org." >&5
2900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2901 whose name does not start with the host triplet. If you think this
2902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2903 ac_tool_warned=yes ;;
2905 RANLIB=$ac_ct_RANLIB
2908 RANLIB="$ac_cv_prog_RANLIB"
2912 # Make sure we can run config.sub.
2913 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2914 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2915 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2916 { (exit 1); exit 1; }; }
2918 { echo "$as_me:$LINENO: checking build system type" >&5
2919 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2920 if test "${ac_cv_build+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2928 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2929 { (exit 1); exit 1; }; }
2930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2931 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2932 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2933 { (exit 1); exit 1; }; }
2936 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2937 echo "${ECHO_T}$ac_cv_build" >&6; }
2938 case $ac_cv_build in
2940 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2941 echo "$as_me: error: invalid value of canonical build" >&2;}
2942 { (exit 1); exit 1; }; };;
2945 ac_save_IFS=$IFS; IFS='-'
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2958 { echo "$as_me:$LINENO: checking host system type" >&5
2959 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2960 if test "${ac_cv_host+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test "x$host_alias" = x; then
2964 ac_cv_host=$ac_cv_build
2966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2967 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2968 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2969 { (exit 1); exit 1; }; }
2973 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2974 echo "${ECHO_T}$ac_cv_host" >&6; }
2977 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2978 echo "$as_me: error: invalid value of canonical host" >&2;}
2979 { (exit 1); exit 1; }; };;
2982 ac_save_IFS=$IFS; IFS='-'
2988 # Remember, the first character of IFS is used to create $*,
2989 # except with old shells:
2992 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2995 { echo "$as_me:$LINENO: checking target system type" >&5
2996 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2997 if test "${ac_cv_target+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 if test "x$target_alias" = x; then
3001 ac_cv_target=$ac_cv_host
3003 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3004 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3005 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3006 { (exit 1); exit 1; }; }
3010 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3011 echo "${ECHO_T}$ac_cv_target" >&6; }
3012 case $ac_cv_target in
3014 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3015 echo "$as_me: error: invalid value of canonical target" >&2;}
3016 { (exit 1); exit 1; }; };;
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3037 program_prefix=${target_alias}-
3038 test "$program_prefix" != NONE &&
3039 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3040 # Use a double $ so make ignores it.
3041 test "$program_suffix" != NONE &&
3042 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3043 # Double any \ or $. echo might interpret backslashes.
3044 # By default was `s,x,x', remove it if useless.
3045 cat <<\_ACEOF >conftest.sed
3046 s/[\\$]/&&/g;s/;s,x,x,$//
3048 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3061 if test "${ac_cv_prog_CC+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { echo "$as_me:$LINENO: result: $CC" >&5
3087 echo "${ECHO_T}$CC" >&6; }
3089 { echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6; }
3095 if test -z "$ac_cv_prog_CC"; then
3097 # Extract the first word of "gcc", so it can be a program name with args.
3098 set dummy gcc; ac_word=$2
3099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 if test -n "$ac_ct_CC"; then
3105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114 ac_cv_prog_ac_ct_CC="gcc"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125 if test -n "$ac_ct_CC"; then
3126 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3127 echo "${ECHO_T}$ac_ct_CC" >&6; }
3129 { echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6; }
3133 if test "x$ac_ct_CC" = x; then
3136 case $cross_compiling:$ac_tool_warned in
3138 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3139 whose name does not start with the host triplet. If you think this
3140 configuration is useful to you, please write to autoconf@gnu.org." >&5
3141 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3142 whose name does not start with the host triplet. If you think this
3143 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3144 ac_tool_warned=yes ;;
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3155 set dummy ${ac_tool_prefix}cc; ac_word=$2
3156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3158 if test "${ac_cv_prog_CC+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC="$CC" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_CC="${ac_tool_prefix}cc"
3172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$CC"; then
3183 { echo "$as_me:$LINENO: result: $CC" >&5
3184 echo "${ECHO_T}$CC" >&6; }
3186 { echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6; }
3193 if test -z "$CC"; then
3194 # Extract the first word of "cc", so it can be a program name with args.
3195 set dummy cc; ac_word=$2
3196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3198 if test "${ac_cv_prog_CC+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3201 if test -n "$CC"; then
3202 ac_cv_prog_CC="$CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3213 ac_prog_rejected=yes
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test $ac_prog_rejected = yes; then
3225 # We found a bogon in the path, so make sure we never use it.
3226 set dummy $ac_cv_prog_CC
3228 if test $# != 0; then
3229 # We chose a different compiler from the bogus one.
3230 # However, it has the same basename, so the bogon will be chosen
3231 # first if we set CC to just the basename; use the full file name.
3233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3239 if test -n "$CC"; then
3240 { echo "$as_me:$LINENO: result: $CC" >&5
3241 echo "${ECHO_T}$CC" >&6; }
3243 { echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6; }
3249 if test -z "$CC"; then
3250 if test -n "$ac_tool_prefix"; then
3251 for ac_prog in cl.exe
3253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC="$CC" # Let the user override the test.
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { echo "$as_me:$LINENO: result: $CC" >&5
3283 echo "${ECHO_T}$CC" >&6; }
3285 { echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6; }
3290 test -n "$CC" && break
3293 if test -z "$CC"; then
3295 for ac_prog in cl.exe
3297 # Extract the first word of "$ac_prog", so it can be a program name with args.
3298 set dummy $ac_prog; ac_word=$2
3299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 if test -n "$ac_ct_CC"; then
3305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3314 ac_cv_prog_ac_ct_CC="$ac_prog"
3315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3325 if test -n "$ac_ct_CC"; then
3326 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3327 echo "${ECHO_T}$ac_ct_CC" >&6; }
3329 { echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6; }
3334 test -n "$ac_ct_CC" && break
3337 if test "x$ac_ct_CC" = x; then
3340 case $cross_compiling:$ac_tool_warned in
3342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3343 whose name does not start with the host triplet. If you think this
3344 configuration is useful to you, please write to autoconf@gnu.org." >&5
3345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3346 whose name does not start with the host triplet. If you think this
3347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3348 ac_tool_warned=yes ;;
3357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3358 See \`config.log' for more details." >&5
3359 echo "$as_me: error: no acceptable C compiler found in \$PATH
3360 See \`config.log' for more details." >&2;}
3361 { (exit 1); exit 1; }; }
3363 # Provide some information about the compiler.
3364 echo "$as_me:$LINENO: checking for C compiler version" >&5
3365 ac_compiler=`set X $ac_compile; echo $2`
3366 { (ac_try="$ac_compiler --version >&5"
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372 (eval "$ac_compiler --version >&5") 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }
3376 { (ac_try="$ac_compiler -v >&5"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compiler -v >&5") 2>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }
3386 { (ac_try="$ac_compiler -V >&5"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compiler -V >&5") 2>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }
3397 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3398 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3399 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3420 rm -f conftest.$ac_objext
3421 if { (ac_try="$ac_compile"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427 (eval "$ac_compile") 2>conftest.er1
3429 grep -v '^ *+' conftest.er1 >conftest.err
3431 cat conftest.err >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } && {
3434 test -z "$ac_c_werror_flag" ||
3435 test ! -s conftest.err
3436 } && test -s conftest.$ac_objext; then
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.$ac_ext >&5
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3449 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3450 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3451 GCC=`test $ac_compiler_gnu = yes && echo yes`
3452 ac_test_CFLAGS=${CFLAGS+set}
3453 ac_save_CFLAGS=$CFLAGS
3454 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3455 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3456 if test "${ac_cv_prog_cc_g+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 ac_save_c_werror_flag=$ac_c_werror_flag
3460 ac_c_werror_flag=yes
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (ac_try="$ac_compile"
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_compile") 2>conftest.er1
3487 grep -v '^ *+' conftest.er1 >conftest.err
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } && {
3492 test -z "$ac_c_werror_flag" ||
3493 test ! -s conftest.err
3494 } && test -s conftest.$ac_objext; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3501 cat >conftest.$ac_ext <<_ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3516 rm -f conftest.$ac_objext
3517 if { (ac_try="$ac_compile"
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523 (eval "$ac_compile") 2>conftest.er1
3525 grep -v '^ *+' conftest.er1 >conftest.err
3527 cat conftest.err >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && {
3530 test -z "$ac_c_werror_flag" ||
3531 test ! -s conftest.err
3532 } && test -s conftest.$ac_objext; then
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3538 ac_c_werror_flag=$ac_save_c_werror_flag
3540 cat >conftest.$ac_ext <<_ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3555 rm -f conftest.$ac_objext
3556 if { (ac_try="$ac_compile"
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3562 (eval "$ac_compile") 2>conftest.er1
3564 grep -v '^ *+' conftest.er1 >conftest.err
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } && {
3569 test -z "$ac_c_werror_flag" ||
3570 test ! -s conftest.err
3571 } && test -s conftest.$ac_objext; then
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 ac_c_werror_flag=$ac_save_c_werror_flag
3589 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3590 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3591 if test "$ac_test_CFLAGS" = set; then
3592 CFLAGS=$ac_save_CFLAGS
3593 elif test $ac_cv_prog_cc_g = yes; then
3594 if test "$GCC" = yes; then
3600 if test "$GCC" = yes; then
3606 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3607 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3608 if test "${ac_cv_prog_cc_c89+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 ac_cv_prog_cc_c89=no
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3621 #include <sys/types.h>
3622 #include <sys/stat.h>
3623 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3624 struct buf { int x; };
3625 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3626 static char *e (p, i)
3632 static char *f (char * (*g) (char **, int), char **p, ...)
3637 s = g (p, va_arg (v,int));
3642 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3643 function prototypes and stuff, but not '\xHH' hex character constants.
3644 These don't provoke an error unfortunately, instead are silently treated
3645 as 'x'. The following induces an error, until -std is added to get
3646 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3647 array size at least. It's necessary to write '\x00'==0 to get something
3648 that's true only with -std. */
3649 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3651 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3652 inside strings and character constants. */
3654 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3656 int test (int i, double x);
3657 struct s1 {int (*f) (int a);};
3658 struct s2 {int (*f) (double a);};
3659 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3665 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3670 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3671 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3673 CC="$ac_save_CC $ac_arg"
3674 rm -f conftest.$ac_objext
3675 if { (ac_try="$ac_compile"
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3681 (eval "$ac_compile") 2>conftest.er1
3683 grep -v '^ *+' conftest.er1 >conftest.err
3685 cat conftest.err >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); } && {
3688 test -z "$ac_c_werror_flag" ||
3689 test ! -s conftest.err
3690 } && test -s conftest.$ac_objext; then
3691 ac_cv_prog_cc_c89=$ac_arg
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.$ac_ext >&5
3699 rm -f core conftest.err conftest.$ac_objext
3700 test "x$ac_cv_prog_cc_c89" != "xno" && break
3702 rm -f conftest.$ac_ext
3707 case "x$ac_cv_prog_cc_c89" in
3709 { echo "$as_me:$LINENO: result: none needed" >&5
3710 echo "${ECHO_T}none needed" >&6; } ;;
3712 { echo "$as_me:$LINENO: result: unsupported" >&5
3713 echo "${ECHO_T}unsupported" >&6; } ;;
3715 CC="$CC $ac_cv_prog_cc_c89"
3716 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3736 if test "${ac_cv_prog_RANLIB+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$RANLIB"; then
3740 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 RANLIB=$ac_cv_prog_RANLIB
3760 if test -n "$RANLIB"; then
3761 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3762 echo "${ECHO_T}$RANLIB" >&6; }
3764 { echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6; }
3770 if test -z "$ac_cv_prog_RANLIB"; then
3771 ac_ct_RANLIB=$RANLIB
3772 # Extract the first word of "ranlib", so it can be a program name with args.
3773 set dummy ranlib; ac_word=$2
3774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3776 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 if test -n "$ac_ct_RANLIB"; then
3780 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3789 ac_cv_prog_ac_ct_RANLIB="ranlib"
3790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3800 if test -n "$ac_ct_RANLIB"; then
3801 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3802 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3804 { echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6; }
3808 if test "x$ac_ct_RANLIB" = x; then
3811 case $cross_compiling:$ac_tool_warned in
3813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3814 whose name does not start with the host triplet. If you think this
3815 configuration is useful to you, please write to autoconf@gnu.org." >&5
3816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3817 whose name does not start with the host triplet. If you think this
3818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3819 ac_tool_warned=yes ;;
3821 RANLIB=$ac_ct_RANLIB
3824 RANLIB="$ac_cv_prog_RANLIB"
3828 # Put a plausible default for CC_FOR_BUILD in Makefile.
3829 if test "x$cross_compiling" = "xno"; then
3830 CC_FOR_BUILD='$(CC)'
3835 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3838 # If a cpu ever has more than one simulator to choose from, use
3839 # --enable-sim=... to choose.
3840 # Check whether --enable-sim was given.
3841 if test "${enable_sim+set}" = set; then
3842 enableval=$enable_sim; case "${enableval}" in
3844 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for --enable-sim option" >&5
3845 echo "$as_me: error: bad value ${enableval} given for --enable-sim option" >&2;}
3846 { (exit 1); exit 1; }; } ;;
3851 # WHEN ADDING ENTRIES TO THIS MATRIX:
3853 # Make sure that the left side always has two dashes. Otherwise you
3854 # can get spurious matches. Even for unambiguous cases, do this as a
3855 # convention, else the table becomes a real mess to understand and
3858 echo enable_sim: $enable_sim target $target
3860 if test "${enable_sim}" != no; then
3865 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3866 subdirs="$subdirs arm"
3871 subdirs="$subdirs avr"
3875 subdirs="$subdirs cr16"
3879 cris-*-* | crisv32-*-*)
3880 subdirs="$subdirs cris"
3885 subdirs="$subdirs d10v"
3889 subdirs="$subdirs frv"
3894 subdirs="$subdirs h8300"
3899 subdirs="$subdirs iq2000"
3904 subdirs="$subdirs m32c"
3908 subdirs="$subdirs m32r"
3912 m68hc11-*-*|m6811-*-*)
3913 subdirs="$subdirs m68hc11"
3918 subdirs="$subdirs mcore"
3923 subdirs="$subdirs mips"
3929 subdirs="$subdirs mn10300"
3934 subdirs="$subdirs sh64"
3939 subdirs="$subdirs sh"
3943 sparc-*-rtems*|sparc-*-elf*)
3944 subdirs="$subdirs erc32"
3949 subdirs="$subdirs ppc"
3953 subdirs="$subdirs v850"
3959 # No simulator subdir, so the subdir "common" isn't needed.
3963 if test "$testsuite" = yes; then
3964 subdirs="$subdirs testsuite"
3967 if test "$common" = yes; then
3968 subdirs="$subdirs common"
3971 if test "$igen" = yes; then
3972 subdirs="$subdirs igen"
3977 ac_config_files="$ac_config_files Makefile"
3979 cat >confcache <<\_ACEOF
3980 # This file is a shell script that caches the results of configure
3981 # tests run on this system so they can be shared between configure
3982 # scripts and configure runs, see configure's option --config-cache.
3983 # It is not useful on other systems. If it contains results you don't
3984 # want to keep, you may remove or edit it.
3986 # config.status only pays attention to the cache file if you give it
3987 # the --recheck option to rerun configure.
3989 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3990 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3995 # The following way of writing the cache mishandles newlines in values,
3996 # but we know of no workaround that is simple, portable, and efficient.
3997 # So, we kill variables containing newlines.
3998 # Ultrix sh set writes to stderr and can't be redirected directly,
3999 # and sets the high bit in the cache file unless we assign to the vars.
4001 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4002 eval ac_val=\$$ac_var
4006 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4007 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4010 _ | IFS | as_nl) ;; #(
4011 *) $as_unset $ac_var ;;
4017 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4018 *${as_nl}ac_space=\ *)
4019 # `set' does not quote correctly, so add quotes (double-quote
4020 # substitution turns \\\\ into \\, and sed turns \\ into \).
4023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4026 # `set' quotes correctly as required by POSIX, so do not add quotes.
4027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4038 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4040 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4041 if test -w "$cache_file"; then
4042 test "x$cache_file" != "x/dev/null" &&
4043 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4044 echo "$as_me: updating cache $cache_file" >&6;}
4045 cat confcache >$cache_file
4047 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4048 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4053 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4054 # Let make expand exec_prefix.
4055 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4057 # Transform confdefs.h into DEFS.
4058 # Protect against shell expansion while executing Makefile rules.
4059 # Protect against Makefile macro expansion.
4061 # If the first sed substitution is executed (which looks for macros that
4062 # take arguments), then branch to the quote section. Otherwise,
4063 # look for a macro that doesn't take arguments.
4067 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4069 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4073 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4086 DEFS=`sed -n "$ac_script" confdefs.h`
4091 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4092 # 1. Remove the extension, and $U if already installed.
4093 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4094 ac_i=`echo "$ac_i" | sed "$ac_script"`
4095 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4096 # will be set to the directory where LIBOBJS objects are built.
4097 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4098 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4102 LTLIBOBJS=$ac_ltlibobjs
4106 : ${CONFIG_STATUS=./config.status}
4107 ac_clean_files_save=$ac_clean_files
4108 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4109 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4110 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4111 cat >$CONFIG_STATUS <<_ACEOF
4113 # Generated by $as_me.
4114 # Run this file to recreate the current configuration.
4115 # Compiler output produced by configure, useful for debugging
4116 # configure, is in config.log if it exists.
4121 SHELL=\${CONFIG_SHELL-$SHELL}
4124 cat >>$CONFIG_STATUS <<\_ACEOF
4125 ## --------------------- ##
4126 ## M4sh Initialization. ##
4127 ## --------------------- ##
4129 # Be more Bourne compatible
4130 DUALCASE=1; export DUALCASE # for MKS sh
4131 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4134 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4135 # is contrary to our usage. Disable this feature.
4136 alias -g '${1+"$@"}'='"$@"'
4137 setopt NO_GLOB_SUBST
4139 case `(set -o) 2>/dev/null` in
4140 *posix*) set -o posix ;;
4149 # Avoid depending upon Character Ranges.
4150 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4151 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4152 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4153 as_cr_digits='0123456789'
4154 as_cr_alnum=$as_cr_Letters$as_cr_digits
4156 # The user is always right.
4157 if test "${PATH_SEPARATOR+set}" != set; then
4158 echo "#! /bin/sh" >conf$$.sh
4159 echo "exit 0" >>conf$$.sh
4161 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4169 # Support unset when possible.
4170 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4178 # We need space, tab and new line, in precisely that order. Quoting is
4179 # there to prevent editors from complaining about space-tab.
4180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4181 # splitting by setting IFS to empty value.)
4186 # Find who we are. Look in the path if we contain no directory separator.
4188 *[\\/]* ) as_myself=$0 ;;
4189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir=.
4194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4200 # We did not find ourselves, most probably we were run as `sh COMMAND'
4201 # in which case we are not to be found in the path.
4202 if test "x$as_myself" = x; then
4205 if test ! -f "$as_myself"; then
4206 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4207 { (exit 1); exit 1; }
4210 # Work around bugs in pre-3.0 UWIN ksh.
4211 for as_var in ENV MAIL MAILPATH
4212 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4220 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4221 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4222 LC_TELEPHONE LC_TIME
4224 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4225 eval $as_var=C; export $as_var
4227 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4231 # Required to use basename.
4232 if expr a : '\(a\)' >/dev/null 2>&1 &&
4233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4240 as_basename=basename
4246 # Name of the executable.
4247 as_me=`$as_basename -- "$0" ||
4248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4249 X"$0" : 'X\(//\)$' \| \
4250 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4252 sed '/^.*\/\([^/][^/]*\)\/*$/{
4273 test "x$as_lineno_1" != "x$as_lineno_2" &&
4274 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4276 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4277 # uniformly replaced by the line number. The first 'sed' inserts a
4278 # line-number line after each line using $LINENO; the second 'sed'
4279 # does the real work. The second script uses 'N' to pair each
4280 # line-number line with the line containing $LINENO, and appends
4281 # trailing '-' during substitution so that $LINENO is not a special
4283 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4284 # scripts with optimization help from Paolo Bonzini. Blame Lee
4285 # E. McMahon (1931-1989) for sed's syntax. :-)
4297 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4301 chmod +x "$as_me.lineno" ||
4302 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4303 { (exit 1); exit 1; }; }
4305 # Don't try to exec as it changes $[0], causing all sort of problems
4306 # (the dirname of $[0] is not the place where we might find the
4307 # original and so on. Autoconf is especially sensitive to this).
4309 # Exit status is that of the last command.
4314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4320 ECHO_C= ECHO_N= ECHO_T=
4323 case `echo 'x\c'` in
4324 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4331 if expr a : '\(a\)' >/dev/null 2>&1 &&
4332 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4338 rm -f conf$$ conf$$.exe conf$$.file
4339 if test -d conf$$.dir; then
4340 rm -f conf$$.dir/conf$$.file
4346 if ln -s conf$$.file conf$$ 2>/dev/null; then
4348 # ... but there are two gotchas:
4349 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4350 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4351 # In both cases, we have to default to `cp -p'.
4352 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4354 elif ln conf$$.file conf$$ 2>/dev/null; then
4359 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4360 rmdir conf$$.dir 2>/dev/null
4362 if mkdir -p . 2>/dev/null; then
4365 test -d ./-p && rmdir ./-p
4369 if test -x / >/dev/null 2>&1; then
4372 if ls -dL / >/dev/null 2>&1; then
4379 if test -d "$1"; then
4385 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4386 ???[sx]*):;;*)false;;esac;fi
4390 as_executable_p=$as_test_x
4392 # Sed expression to map a string onto a valid CPP name.
4393 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4395 # Sed expression to map a string onto a valid variable name.
4396 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4401 # Save the log message, to keep $[0] and so on meaningful, and to
4402 # report actual input values of CONFIG_FILES etc. instead of their
4403 # values after options handling.
4405 This file was extended by $as_me, which was
4406 generated by GNU Autoconf 2.61. Invocation command line was
4408 CONFIG_FILES = $CONFIG_FILES
4409 CONFIG_HEADERS = $CONFIG_HEADERS
4410 CONFIG_LINKS = $CONFIG_LINKS
4411 CONFIG_COMMANDS = $CONFIG_COMMANDS
4414 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4419 cat >>$CONFIG_STATUS <<_ACEOF
4420 # Files that config.status was made for.
4421 config_files="$ac_config_files"
4425 cat >>$CONFIG_STATUS <<\_ACEOF
4427 \`$as_me' instantiates files from templates according to the
4428 current configuration.
4430 Usage: $0 [OPTIONS] [FILE]...
4432 -h, --help print this help, then exit
4433 -V, --version print version number and configuration settings, then exit
4434 -q, --quiet do not print progress messages
4435 -d, --debug don't remove temporary files
4436 --recheck update $as_me by reconfiguring in the same conditions
4437 --file=FILE[:TEMPLATE]
4438 instantiate the configuration file FILE
4440 Configuration files:
4443 Report bugs to <bug-autoconf@gnu.org>."
4446 cat >>$CONFIG_STATUS <<_ACEOF
4449 configured by $0, generated by GNU Autoconf 2.61,
4450 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4452 Copyright (C) 2006 Free Software Foundation, Inc.
4453 This config.status script is free software; the Free Software Foundation
4454 gives unlimited permission to copy, distribute and modify it."
4461 cat >>$CONFIG_STATUS <<\_ACEOF
4462 # If no file are specified by the user, then we need to provide default
4463 # value. By we need to know if files were specified by the user.
4469 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4470 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4481 # Handling of the options.
4482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4484 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4485 echo "$ac_cs_version"; exit ;;
4486 --debug | --debu | --deb | --de | --d | -d )
4488 --file | --fil | --fi | --f )
4490 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4491 ac_need_defaults=false;;
4492 --he | --h | --help | --hel | -h )
4493 echo "$ac_cs_usage"; exit ;;
4494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4495 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4499 -*) { echo "$as_me: error: unrecognized option: $1
4500 Try \`$0 --help' for more information." >&2
4501 { (exit 1); exit 1; }; } ;;
4503 *) ac_config_targets="$ac_config_targets $1"
4504 ac_need_defaults=false ;;
4510 ac_configure_extra_args=
4512 if $ac_cs_silent; then
4514 ac_configure_extra_args="$ac_configure_extra_args --silent"
4518 cat >>$CONFIG_STATUS <<_ACEOF
4519 if \$ac_cs_recheck; then
4520 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4523 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4527 cat >>$CONFIG_STATUS <<\_ACEOF
4531 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4532 ## Running $as_me. ##
4538 cat >>$CONFIG_STATUS <<_ACEOF
4541 cat >>$CONFIG_STATUS <<\_ACEOF
4543 # Handling of arguments.
4544 for ac_config_target in $ac_config_targets
4546 case $ac_config_target in
4547 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4551 { (exit 1); exit 1; }; };;
4556 # If the user did not use the arguments to specify the items to instantiate,
4557 # then the envvar interface is used. Set only those that are not.
4558 # We use the long form for the default assignment because of an extremely
4559 # bizarre bug on SunOS 4.1.3.
4560 if $ac_need_defaults; then
4561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4564 # Have a temporary directory for convenience. Make it in the build tree
4565 # simply because there is no reason against having it here, and in addition,
4566 # creating and moving files from /tmp can sometimes cause problems.
4567 # Hook for its removal unless debugging.
4568 # Note that there is a small window in which the directory will not be cleaned:
4569 # after its creation but before its name has been assigned to `$tmp'.
4573 trap 'exit_status=$?
4574 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4576 trap '{ (exit 1); exit 1; }' 1 2 13 15
4578 # Create a (secure) tmp directory for tmp files.
4581 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4582 test -n "$tmp" && test -d "$tmp"
4585 tmp=./conf$$-$RANDOM
4586 (umask 077 && mkdir "$tmp")
4589 echo "$me: cannot create a temporary directory in ." >&2
4590 { (exit 1); exit 1; }
4594 # Set up the sed scripts for CONFIG_FILES section.
4597 # No need to generate the scripts if there are no CONFIG_FILES.
4598 # This happens for instance when ./config.status config.h
4599 if test -n "$CONFIG_FILES"; then
4606 for ac_last_try in false false false false false :; do
4607 cat >conf$$subs.sed <<_ACEOF
4608 SHELL!$SHELL$ac_delim
4609 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4610 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4611 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4612 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4613 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4614 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4615 exec_prefix!$exec_prefix$ac_delim
4616 prefix!$prefix$ac_delim
4617 program_transform_name!$program_transform_name$ac_delim
4618 bindir!$bindir$ac_delim
4619 sbindir!$sbindir$ac_delim
4620 libexecdir!$libexecdir$ac_delim
4621 datarootdir!$datarootdir$ac_delim
4622 datadir!$datadir$ac_delim
4623 sysconfdir!$sysconfdir$ac_delim
4624 sharedstatedir!$sharedstatedir$ac_delim
4625 localstatedir!$localstatedir$ac_delim
4626 includedir!$includedir$ac_delim
4627 oldincludedir!$oldincludedir$ac_delim
4628 docdir!$docdir$ac_delim
4629 infodir!$infodir$ac_delim
4630 htmldir!$htmldir$ac_delim
4631 dvidir!$dvidir$ac_delim
4632 pdfdir!$pdfdir$ac_delim
4633 psdir!$psdir$ac_delim
4634 libdir!$libdir$ac_delim
4635 localedir!$localedir$ac_delim
4636 mandir!$mandir$ac_delim
4638 ECHO_C!$ECHO_C$ac_delim
4639 ECHO_N!$ECHO_N$ac_delim
4640 ECHO_T!$ECHO_T$ac_delim
4642 build_alias!$build_alias$ac_delim
4643 host_alias!$host_alias$ac_delim
4644 target_alias!$target_alias$ac_delim
4646 CFLAGS!$CFLAGS$ac_delim
4647 LDFLAGS!$LDFLAGS$ac_delim
4648 CPPFLAGS!$CPPFLAGS$ac_delim
4649 ac_ct_CC!$ac_ct_CC$ac_delim
4650 EXEEXT!$EXEEXT$ac_delim
4651 OBJEXT!$OBJEXT$ac_delim
4652 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4653 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4654 INSTALL_DATA!$INSTALL_DATA$ac_delim
4656 RANLIB!$RANLIB$ac_delim
4657 build!$build$ac_delim
4658 build_cpu!$build_cpu$ac_delim
4659 build_vendor!$build_vendor$ac_delim
4660 build_os!$build_os$ac_delim
4662 host_cpu!$host_cpu$ac_delim
4663 host_vendor!$host_vendor$ac_delim
4664 host_os!$host_os$ac_delim
4665 target!$target$ac_delim
4666 target_cpu!$target_cpu$ac_delim
4667 target_vendor!$target_vendor$ac_delim
4668 target_os!$target_os$ac_delim
4669 HDEFINES!$HDEFINES$ac_delim
4670 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
4671 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
4672 subdirs!$subdirs$ac_delim
4673 LIBOBJS!$LIBOBJS$ac_delim
4674 LTLIBOBJS!$LTLIBOBJS$ac_delim
4677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
4679 elif $ac_last_try; then
4680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4682 { (exit 1); exit 1; }; }
4684 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4688 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4689 if test -n "$ac_eof"; then
4690 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4691 ac_eof=`expr $ac_eof + 1`
4694 cat >>$CONFIG_STATUS <<_ACEOF
4695 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4699 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4700 s/^/s,@/; s/!/@,|#_!!_#|/
4703 s/'"$ac_delim"'$/,g/; t
4705 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4706 ' >>$CONFIG_STATUS <conf$$subs.sed
4707 rm -f conf$$subs.sed
4708 cat >>$CONFIG_STATUS <<_ACEOF
4715 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4716 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4717 # trailing colons and then remove the whole line if VPATH becomes empty
4718 # (actually we leave an empty line to preserve line numbers).
4719 if test "x$srcdir" = x.; then
4720 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4724 s/^\([^=]*=[ ]*\):*/\1/
4730 cat >>$CONFIG_STATUS <<\_ACEOF
4731 fi # test -n "$CONFIG_FILES"
4734 for ac_tag in :F $CONFIG_FILES
4737 :[FHLC]) ac_mode=$ac_tag; continue;;
4739 case $ac_mode$ac_tag in
4741 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4742 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4743 { (exit 1); exit 1; }; };;
4744 :[FH]-) ac_tag=-:-;;
4745 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4762 -) ac_f="$tmp/stdin";;
4763 *) # Look for the file first in the build tree, then in the source tree
4764 # (if the path is not absolute). The absolute path cannot be DOS-style,
4765 # because $ac_f cannot contain `:'.
4769 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4771 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4772 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4773 { (exit 1); exit 1; }; };;
4775 ac_file_inputs="$ac_file_inputs $ac_f"
4778 # Let's still pretend it is `configure' which instantiates (i.e., don't
4779 # use $as_me), people would be surprised to read:
4780 # /* config.h. Generated by config.status. */
4781 configure_input="Generated from "`IFS=:
4782 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4783 if test x"$ac_file" != x-; then
4784 configure_input="$ac_file. $configure_input"
4785 { echo "$as_me:$LINENO: creating $ac_file" >&5
4786 echo "$as_me: creating $ac_file" >&6;}
4790 *:-:* | *:-) cat >"$tmp/stdin";;
4795 ac_dir=`$as_dirname -- "$ac_file" ||
4796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4797 X"$ac_file" : 'X\(//\)[^/]' \| \
4798 X"$ac_file" : 'X\(//\)$' \| \
4799 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4820 -*) as_dir=./$as_dir;;
4822 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4826 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4827 *) as_qdir=$as_dir;;
4829 as_dirs="'$as_qdir' $as_dirs"
4830 as_dir=`$as_dirname -- "$as_dir" ||
4831 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4832 X"$as_dir" : 'X\(//\)[^/]' \| \
4833 X"$as_dir" : 'X\(//\)$' \| \
4834 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4853 test -d "$as_dir" && break
4855 test -z "$as_dirs" || eval "mkdir $as_dirs"
4856 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4857 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4858 { (exit 1); exit 1; }; }; }
4862 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4865 # A ".." for each directory in $ac_dir_suffix.
4866 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4867 case $ac_top_builddir_sub in
4868 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4869 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4872 ac_abs_top_builddir=$ac_pwd
4873 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4874 # for backward compatibility:
4875 ac_top_builddir=$ac_top_build_prefix
4878 .) # We are building in place.
4880 ac_top_srcdir=$ac_top_builddir_sub
4881 ac_abs_top_srcdir=$ac_pwd ;;
4882 [\\/]* | ?:[\\/]* ) # Absolute name.
4883 ac_srcdir=$srcdir$ac_dir_suffix;
4884 ac_top_srcdir=$srcdir
4885 ac_abs_top_srcdir=$srcdir ;;
4887 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4888 ac_top_srcdir=$ac_top_build_prefix$srcdir
4889 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4891 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4901 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4902 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4906 cat >>$CONFIG_STATUS <<\_ACEOF
4907 # If the template does not know about datarootdir, expand it.
4908 # FIXME: This hack should be removed a few years after 2.60.
4909 ac_datarootdir_hack=; ac_datarootdir_seen=
4911 case `sed -n '/datarootdir/ {
4920 ' $ac_file_inputs` in
4921 *datarootdir*) ac_datarootdir_seen=yes;;
4922 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4923 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4924 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4926 cat >>$CONFIG_STATUS <<_ACEOF
4927 ac_datarootdir_hack='
4928 s&@datadir@&$datadir&g
4929 s&@docdir@&$docdir&g
4930 s&@infodir@&$infodir&g
4931 s&@localedir@&$localedir&g
4932 s&@mandir@&$mandir&g
4933 s&\\\${datarootdir}&$datarootdir&g' ;;
4937 # Neutralize VPATH when `$srcdir' = `.'.
4938 # Shell code in configure.ac might set extrasub.
4939 # FIXME: do we really want to maintain this feature?
4940 cat >>$CONFIG_STATUS <<_ACEOF
4944 cat >>$CONFIG_STATUS <<\_ACEOF
4946 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4947 s&@configure_input@&$configure_input&;t t
4948 s&@top_builddir@&$ac_top_builddir_sub&;t t
4949 s&@srcdir@&$ac_srcdir&;t t
4950 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4951 s&@top_srcdir@&$ac_top_srcdir&;t t
4952 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4953 s&@builddir@&$ac_builddir&;t t
4954 s&@abs_builddir@&$ac_abs_builddir&;t t
4955 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4956 s&@INSTALL@&$ac_INSTALL&;t t
4957 $ac_datarootdir_hack
4958 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4961 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4963 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4964 which seems to be undefined. Please make sure it is defined." >&5
4965 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4966 which seems to be undefined. Please make sure it is defined." >&2;}
4970 -) cat "$tmp/out"; rm -f "$tmp/out";;
4971 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4982 { (exit 0); exit 0; }
4984 chmod +x $CONFIG_STATUS
4985 ac_clean_files=$ac_clean_files_save
4988 # configure is writing to config.log, and then calls config.status.
4989 # config.status does its own redirection, appending to config.log.
4990 # Unfortunately, on DOS this fails, as config.log is still kept open
4991 # by configure, so config.status won't be able to write to it; its
4992 # output is simply discarded. So we exec the FD to /dev/null,
4993 # effectively closing config.log, so it can be properly (re)opened and
4994 # appended to by config.status. When coming back to configure, we
4995 # need to make the FD available again.
4996 if test "$no_create" != yes; then
4998 ac_config_status_args=
4999 test "$silent" = yes &&
5000 ac_config_status_args="$ac_config_status_args --quiet"
5002 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5004 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5005 # would make configure fail if this is the last instruction.
5006 $ac_cs_success || { (exit 1); exit 1; }
5010 # CONFIG_SUBDIRS section.
5012 if test "$no_recursion" != yes; then
5014 # Remove --cache-file and --srcdir arguments so they do not pile up.
5015 ac_sub_configure_args=
5017 eval "set x $ac_configure_args"
5021 if test -n "$ac_prev"; then
5026 -cache-file | --cache-file | --cache-fil | --cache-fi \
5027 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5028 ac_prev=cache_file ;;
5029 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5030 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5033 --config-cache | -C)
5035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5039 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5041 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5045 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5047 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
5051 # Always prepend --prefix to ensure using the same prefix
5052 # in subdir configurations.
5053 ac_arg="--prefix=$prefix"
5055 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5057 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5060 if test "$silent" = yes; then
5061 ac_sub_configure_args="--silent $ac_sub_configure_args"
5065 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5067 # Do not complain, so a configure script can configure whichever
5068 # parts of a large source tree are present.
5069 test -d "$srcdir/$ac_dir" || continue
5071 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5072 echo "$as_me:$LINENO: $ac_msg" >&5
5076 -*) as_dir=./$as_dir;;
5078 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5082 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5083 *) as_qdir=$as_dir;;
5085 as_dirs="'$as_qdir' $as_dirs"
5086 as_dir=`$as_dirname -- "$as_dir" ||
5087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5088 X"$as_dir" : 'X\(//\)[^/]' \| \
5089 X"$as_dir" : 'X\(//\)$' \| \
5090 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5109 test -d "$as_dir" && break
5111 test -z "$as_dirs" || eval "mkdir $as_dirs"
5112 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5113 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5114 { (exit 1); exit 1; }; }; }
5118 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5120 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5121 # A ".." for each directory in $ac_dir_suffix.
5122 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5123 case $ac_top_builddir_sub in
5124 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5125 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5128 ac_abs_top_builddir=$ac_pwd
5129 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5130 # for backward compatibility:
5131 ac_top_builddir=$ac_top_build_prefix
5134 .) # We are building in place.
5136 ac_top_srcdir=$ac_top_builddir_sub
5137 ac_abs_top_srcdir=$ac_pwd ;;
5138 [\\/]* | ?:[\\/]* ) # Absolute name.
5139 ac_srcdir=$srcdir$ac_dir_suffix;
5140 ac_top_srcdir=$srcdir
5141 ac_abs_top_srcdir=$srcdir ;;
5143 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5144 ac_top_srcdir=$ac_top_build_prefix$srcdir
5145 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5147 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5152 # Check for guested configure; otherwise get Cygnus style configure.
5153 if test -f "$ac_srcdir/configure.gnu"; then
5154 ac_sub_configure=$ac_srcdir/configure.gnu
5155 elif test -f "$ac_srcdir/configure"; then
5156 ac_sub_configure=$ac_srcdir/configure
5157 elif test -f "$ac_srcdir/configure.in"; then
5158 # This should be Cygnus configure.
5159 ac_sub_configure=$ac_aux_dir/configure
5161 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5162 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5166 # The recursion is here.
5167 if test -n "$ac_sub_configure"; then
5168 # Make the cache file name correct relative to the subdirectory.
5170 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5172 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5175 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5176 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5177 # The eval makes quoting arguments work.
5178 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5179 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5180 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5181 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5182 { (exit 1); exit 1; }; }