2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="Makefile.in"
602 enable_option_checking=no
603 ac_subst_vars='LTLIBOBJS
660 program_transform_name
672 enable_option_checking
674 ac_precious_vars='build_alias
685 ac_subdirs_all='cygwin
691 # Initialize some variables set by options.
693 ac_init_version=false
694 ac_unrecognized_opts=
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
705 program_transform_name=s,x,x,
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE}'
730 infodir='${datarootdir}/info'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
798 { (exit 1); exit 1; }; }
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
808 eval enable_$ac_useropt=no ;;
810 -docdir | --docdir | --docdi | --doc | --do)
812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820 -enable-* | --enable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
825 { (exit 1); exit 1; }; }
826 ac_useropt_orig=$ac_useropt
827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833 ac_unrecognized_sep=', ';;
835 eval enable_$ac_useropt=\$ac_optarg ;;
837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
839 | --exec | --exe | --ex)
840 ac_prev=exec_prefix ;;
841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
843 | --exec=* | --exe=* | --ex=*)
844 exec_prefix=$ac_optarg ;;
846 -gas | --gas | --ga | --g)
847 # Obsolete; use --with-gas.
850 -help | --help | --hel | --he | -h)
852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
853 ac_init_help=recursive ;;
854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855 ac_init_help=short ;;
857 -host | --host | --hos | --ho)
858 ac_prev=host_alias ;;
859 -host=* | --host=* | --hos=* | --ho=*)
860 host_alias=$ac_optarg ;;
862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
866 htmldir=$ac_optarg ;;
868 -includedir | --includedir | --includedi | --included | --include \
869 | --includ | --inclu | --incl | --inc)
870 ac_prev=includedir ;;
871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
872 | --includ=* | --inclu=* | --incl=* | --inc=*)
873 includedir=$ac_optarg ;;
875 -infodir | --infodir | --infodi | --infod | --info | --inf)
877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878 infodir=$ac_optarg ;;
880 -libdir | --libdir | --libdi | --libd)
882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
886 | --libexe | --libex | --libe)
887 ac_prev=libexecdir ;;
888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
889 | --libexe=* | --libex=* | --libe=*)
890 libexecdir=$ac_optarg ;;
892 -localedir | --localedir | --localedi | --localed | --locale)
894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895 localedir=$ac_optarg ;;
897 -localstatedir | --localstatedir | --localstatedi | --localstated \
898 | --localstate | --localstat | --localsta | --localst | --locals)
899 ac_prev=localstatedir ;;
900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902 localstatedir=$ac_optarg ;;
904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910 # Obsolete; use --without-fp.
913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
914 | --no-cr | --no-c | -n)
917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
923 | --oldin | --oldi | --old | --ol | --o)
924 ac_prev=oldincludedir ;;
925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928 oldincludedir=$ac_optarg ;;
930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
936 | --program-pre | --program-pr | --program-p)
937 ac_prev=program_prefix ;;
938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940 program_prefix=$ac_optarg ;;
942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
943 | --program-suf | --program-su | --program-s)
944 ac_prev=program_suffix ;;
945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947 program_suffix=$ac_optarg ;;
949 -program-transform-name | --program-transform-name \
950 | --program-transform-nam | --program-transform-na \
951 | --program-transform-n | --program-transform- \
952 | --program-transform | --program-transfor \
953 | --program-transfo | --program-transf \
954 | --program-trans | --program-tran \
955 | --progr-tra | --program-tr | --program-t)
956 ac_prev=program_transform_name ;;
957 -program-transform-name=* | --program-transform-name=* \
958 | --program-transform-nam=* | --program-transform-na=* \
959 | --program-transform-n=* | --program-transform-=* \
960 | --program-transform=* | --program-transfor=* \
961 | --program-transfo=* | --program-transf=* \
962 | --program-trans=* | --program-tran=* \
963 | --progr-tra=* | --program-tr=* | --program-t=*)
964 program_transform_name=$ac_optarg ;;
966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
971 -psdir | --psdir | --psdi | --psd | --ps)
973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
977 | -silent | --silent | --silen | --sile | --sil)
980 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
982 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
984 sbindir=$ac_optarg ;;
986 -sharedstatedir | --sharedstatedir | --sharedstatedi \
987 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
988 | --sharedst | --shareds | --shared | --share | --shar \
990 ac_prev=sharedstatedir ;;
991 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
992 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
993 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
995 sharedstatedir=$ac_optarg ;;
997 -site | --site | --sit)
999 -site=* | --site=* | --sit=*)
1002 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1004 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1005 srcdir=$ac_optarg ;;
1007 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1008 | --syscon | --sysco | --sysc | --sys | --sy)
1009 ac_prev=sysconfdir ;;
1010 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1011 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1012 sysconfdir=$ac_optarg ;;
1014 -target | --target | --targe | --targ | --tar | --ta | --t)
1015 ac_prev=target_alias ;;
1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1017 target_alias=$ac_optarg ;;
1019 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1022 -version | --version | --versio | --versi | --vers | -V)
1023 ac_init_version=: ;;
1026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1040 eval with_$ac_useropt=\$ac_optarg ;;
1042 -without-* | --without-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1057 eval with_$ac_useropt=no ;;
1060 # Obsolete; use --with-x.
1063 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1064 | --x-incl | --x-inc | --x-in | --x-i)
1065 ac_prev=x_includes ;;
1066 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1067 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1068 x_includes=$ac_optarg ;;
1070 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1071 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1072 ac_prev=x_libraries ;;
1073 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1074 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1075 x_libraries=$ac_optarg ;;
1077 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1078 Try \`$0 --help' for more information." >&2
1079 { (exit 1); exit 1; }; }
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1086 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1087 { (exit 1); exit 1; }; }
1088 eval $ac_envvar=\$ac_optarg
1089 export $ac_envvar ;;
1092 # FIXME: should be removed in autoconf 3.0.
1093 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1094 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1096 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1102 if test -n "$ac_prev"; then
1103 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1104 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1105 { (exit 1); exit 1; }; }
1108 if test -n "$ac_unrecognized_opts"; then
1109 case $enable_option_checking in
1111 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1112 { (exit 1); exit 1; }; } ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 # Check all directory arguments for consistency.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1124 # Remove trailing slashes.
1127 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\$ac_val;;
1130 # Be sure to have absolute directory names.
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; }
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1144 target=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x; then
1148 if test "x$build_alias" = x; then
1149 cross_compiling=maybe
1150 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160 test "$silent" = yes && exec 6>/dev/null
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; }
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; }
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1205 ac_srcdir_defaulted=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; }
1212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; }
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1241 \`configure' configures this package to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1299 --build=BUILD configure for building on BUILD [guessed]
1300 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1301 --target=TARGET configure for building compilers for TARGET [HOST]
1305 if test -n "$ac_init_help"; then
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1317 CXX C++ compiler command
1318 CXXFLAGS C++ compiler flags
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" ||
1331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1352 .) # We are building in place.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1386 generated by GNU Autoconf 2.63
1388 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1395 cat >config.log <<_ACEOF
1396 This file contains any messages produced by compilers while
1397 running configure, to aid debugging if configure makes a mistake.
1399 It was created by $as_me, which was
1400 generated by GNU Autoconf 2.63. Invocation command line was
1412 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1418 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1421 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1422 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1423 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1425 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1426 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1427 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1435 test -z "$as_dir" && as_dir=.
1436 $as_echo "PATH: $as_dir"
1452 # Keep a trace of the command line.
1453 # Strip out --no-create and --no-recursion so they do not pile up.
1454 # Strip out --silent because we don't want to record it for future runs.
1455 # Also quote any args containing shell meta-characters.
1456 # Make two passes to allow for proper duplicate-argument suppression.
1460 ac_must_keep_next=false
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1471 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1489 -* ) ac_must_keep_next=true ;;
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1497 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1500 # When interrupted or exit'd, cleanup temporary files, and complete
1501 # config.log. We remove comments because anyway the quotes in there
1502 # would cause problems or look ugly.
1503 # WARNING: Use '\'' to represent an apostrophe within the trap.
1504 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505 trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1511 ## ---------------- ##
1512 ## Cache variables. ##
1513 ## ---------------- ##
1516 # The following way of writing the cache mishandles newlines in values,
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var
1523 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1524 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1527 _ | IFS | as_nl) ;; #(
1528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1529 *) $as_unset $ac_var ;;
1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1535 *${as_nl}ac_space=\ *)
1537 "s/'\''/'\''\\\\'\'''\''/g;
1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1549 ## ----------------- ##
1550 ## Output variables. ##
1551 ## ----------------- ##
1554 for ac_var in $ac_subst_vars
1556 eval ac_val=\$$ac_var
1558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 $as_echo "$ac_var='\''$ac_val'\''"
1564 if test -n "$ac_subst_files"; then
1566 ## ------------------- ##
1567 ## File substitutions. ##
1568 ## ------------------- ##
1571 for ac_var in $ac_subst_files
1573 eval ac_val=\$$ac_var
1575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1577 $as_echo "$ac_var='\''$ac_val'\''"
1582 if test -s confdefs.h; then
1592 test "$ac_signal" != 0 &&
1593 $as_echo "$as_me: caught signal $ac_signal"
1594 $as_echo "$as_me: exit $exit_status"
1596 rm -f core *.core core.conftest.* &&
1597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1600 for ac_signal in 1 2 13 15; do
1601 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1606 rm -f -r conftest* confdefs.h
1608 # Predefined preprocessor variables.
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_NAME "$PACKAGE_NAME"
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_STRING "$PACKAGE_STRING"
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer an explicitly selected file to automatically selected ones.
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1650 test "x$ac_site_file" = xNONE && continue
1651 if test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1659 if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special
1661 # files actually), so we avoid doing that.
1662 if test -f "$cache_file"; then
1663 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1664 $as_echo "$as_me: loading cache $cache_file" >&6;}
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1671 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1672 $as_echo "$as_me: creating cache $cache_file" >&6;}
1676 # Check that the precious variables saved in the cache have kept the same
1678 ac_cache_corrupted=false
1679 for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1686 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 # differences in whitespace do not lead to failure.
1697 ac_old_val_w=`echo x $ac_old_val`
1698 ac_new_val_w=`echo x $ac_new_val`
1699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 ac_cache_corrupted=:
1704 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706 eval $ac_var=\$ac_old_val
1708 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1709 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1710 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1711 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1714 # Pass precious variables to config.status.
1715 if test "$ac_new_set" = set; then
1717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 *) ac_arg=$ac_var=$ac_new_val ;;
1720 case " $ac_configure_args " in
1721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1726 if $ac_cache_corrupted; then
1727 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1753 ac_cpp='$CPP $CPPFLAGS'
1754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760 INSTALL=`cd $srcdir/..; echo $(pwd)/install-sh -c`
1763 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1764 if test -f "$ac_dir/install-sh"; then
1766 ac_install_sh="$ac_aux_dir/install-sh -c"
1768 elif test -f "$ac_dir/install.sh"; then
1770 ac_install_sh="$ac_aux_dir/install.sh -c"
1772 elif test -f "$ac_dir/shtool"; then
1774 ac_install_sh="$ac_aux_dir/shtool install -c"
1778 if test -z "$ac_aux_dir"; then
1779 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1780 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1781 { (exit 1); exit 1; }; }
1784 # These three variables are undocumented and unsupported,
1785 # and are intended to be withdrawn in a future Autoconf release.
1786 # They can cause serious problems if a builder's source tree is in a directory
1787 # whose full name contains unusual characters.
1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1793 # Find a good install program. We prefer a C program (faster),
1794 # so one script is as good as another. But avoid the broken or
1795 # incompatible versions:
1796 # SysV /etc/install, /usr/sbin/install
1797 # SunOS /usr/etc/install
1798 # IRIX /sbin/install
1800 # AmigaOS /C/install, which installs bootblocks on floppy discs
1801 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1802 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1803 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1804 # OS/2's system install, which has a completely different semantic
1805 # ./install, which can be erroneously created by make from ./install.sh.
1806 # Reject install programs that cannot install multiple files.
1807 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1808 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1809 if test -z "$INSTALL"; then
1810 if test "${ac_cv_path_install+set}" = set; then
1811 $as_echo_n "(cached) " >&6
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 test -z "$as_dir" && as_dir=.
1818 # Account for people who put trailing slashes in PATH elements.
1820 ./ | .// | /cC/* | \
1821 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1822 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1825 # OSF1 and SCO ODT 3.0 have their own names for install.
1826 # Don't use installbsd from OSF since it installs stuff as root
1828 for ac_prog in ginstall scoinst install; do
1829 for ac_exec_ext in '' $ac_executable_extensions; do
1830 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1831 if test $ac_prog = install &&
1832 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1833 # AIX install. It has an incompatible calling convention.
1835 elif test $ac_prog = install &&
1836 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1837 # program-specific install script used by HP pwplus--don't use.
1840 rm -rf conftest.one conftest.two conftest.dir
1841 echo one > conftest.one
1842 echo two > conftest.two
1844 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1845 test -s conftest.one && test -s conftest.two &&
1846 test -s conftest.dir/conftest.one &&
1847 test -s conftest.dir/conftest.two
1849 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1862 rm -rf conftest.one conftest.two conftest.dir
1865 if test "${ac_cv_path_install+set}" = set; then
1866 INSTALL=$ac_cv_path_install
1868 # As a last resort, use the slow shell script. Don't cache a
1869 # value for INSTALL within a source directory, because that will
1870 # break other packages using the cache if that directory is
1871 # removed, or if the value is a relative name.
1872 INSTALL=$ac_install_sh
1875 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1876 $as_echo "$INSTALL" >&6; }
1878 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1879 # It thinks the first close brace ends the variable substitution.
1880 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1882 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1884 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1886 # Make sure we can run config.sub.
1887 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1888 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1889 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1890 { (exit 1); exit 1; }; }
1892 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1893 $as_echo_n "checking build system type... " >&6; }
1894 if test "${ac_cv_build+set}" = set; then
1895 $as_echo_n "(cached) " >&6
1897 ac_build_alias=$build_alias
1898 test "x$ac_build_alias" = x &&
1899 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1900 test "x$ac_build_alias" = x &&
1901 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1902 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1903 { (exit 1); exit 1; }; }
1904 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1905 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1906 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1907 { (exit 1); exit 1; }; }
1910 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1911 $as_echo "$ac_cv_build" >&6; }
1912 case $ac_cv_build in
1914 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1915 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1916 { (exit 1); exit 1; }; };;
1919 ac_save_IFS=$IFS; IFS='-'
1925 # Remember, the first character of IFS is used to create $*,
1926 # except with old shells:
1929 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1932 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1933 $as_echo_n "checking host system type... " >&6; }
1934 if test "${ac_cv_host+set}" = set; then
1935 $as_echo_n "(cached) " >&6
1937 if test "x$host_alias" = x; then
1938 ac_cv_host=$ac_cv_build
1940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1941 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1942 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1943 { (exit 1); exit 1; }; }
1947 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1948 $as_echo "$ac_cv_host" >&6; }
1951 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1952 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1953 { (exit 1); exit 1; }; };;
1956 ac_save_IFS=$IFS; IFS='-'
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1966 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1969 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1970 $as_echo_n "checking target system type... " >&6; }
1971 if test "${ac_cv_target+set}" = set; then
1972 $as_echo_n "(cached) " >&6
1974 if test "x$target_alias" = x; then
1975 ac_cv_target=$ac_cv_host
1977 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1978 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1979 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1980 { (exit 1); exit 1; }; }
1984 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1985 $as_echo "$ac_cv_target" >&6; }
1986 case $ac_cv_target in
1988 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1989 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1990 { (exit 1); exit 1; }; };;
1992 target=$ac_cv_target
1993 ac_save_IFS=$IFS; IFS='-'
1999 # Remember, the first character of IFS is used to create $*,
2000 # except with old shells:
2003 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2006 # The aliases save the names the user supplied, while $host etc.
2007 # will get canonicalized.
2008 test -n "$target_alias" &&
2009 test "$program_prefix$program_suffix$program_transform_name" = \
2011 program_prefix=${target_alias}-
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2017 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 $as_echo_n "checking for $ac_word... " >&6; }
2020 if test "${ac_cv_prog_CC+set}" = set; then
2021 $as_echo_n "(cached) " >&6
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2033 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2034 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 if test -n "$CC"; then
2045 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2046 $as_echo "$CC" >&6; }
2048 { $as_echo "$as_me:$LINENO: result: no" >&5
2049 $as_echo "no" >&6; }
2054 if test -z "$ac_cv_prog_CC"; then
2056 # Extract the first word of "gcc", so it can be a program name with args.
2057 set dummy gcc; ac_word=$2
2058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2059 $as_echo_n "checking for $ac_word... " >&6; }
2060 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2061 $as_echo_n "(cached) " >&6
2063 if test -n "$ac_ct_CC"; then
2064 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir=.
2071 for ac_exec_ext in '' $ac_executable_extensions; do
2072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2073 ac_cv_prog_ac_ct_CC="gcc"
2074 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2084 if test -n "$ac_ct_CC"; then
2085 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2086 $as_echo "$ac_ct_CC" >&6; }
2088 { $as_echo "$as_me:$LINENO: result: no" >&5
2089 $as_echo "no" >&6; }
2092 if test "x$ac_ct_CC" = x; then
2095 case $cross_compiling:$ac_tool_warned in
2097 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2099 ac_tool_warned=yes ;;
2109 ac_cpp='$CPP $CPPFLAGS'
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2115 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2116 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 $as_echo_n "checking for $ac_word... " >&6; }
2118 if test "${ac_cv_prog_CC+set}" = set; then
2119 $as_echo_n "(cached) " >&6
2121 if test -n "$CC"; then
2122 ac_cv_prog_CC="$CC" # Let the user override the test.
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 for ac_exec_ext in '' $ac_executable_extensions; do
2130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2131 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2132 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test -n "$CC"; then
2143 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2144 $as_echo "$CC" >&6; }
2146 { $as_echo "$as_me:$LINENO: result: no" >&5
2147 $as_echo "no" >&6; }
2152 if test -z "$ac_cv_prog_CC"; then
2154 # Extract the first word of "gcc", so it can be a program name with args.
2155 set dummy gcc; ac_word=$2
2156 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2157 $as_echo_n "checking for $ac_word... " >&6; }
2158 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2159 $as_echo_n "(cached) " >&6
2161 if test -n "$ac_ct_CC"; then
2162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2171 ac_cv_prog_ac_ct_CC="gcc"
2172 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2182 if test -n "$ac_ct_CC"; then
2183 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2184 $as_echo "$ac_ct_CC" >&6; }
2186 { $as_echo "$as_me:$LINENO: result: no" >&5
2187 $as_echo "no" >&6; }
2190 if test "x$ac_ct_CC" = x; then
2193 case $cross_compiling:$ac_tool_warned in
2195 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2197 ac_tool_warned=yes ;;
2205 if test -z "$CC"; then
2206 if test -n "$ac_tool_prefix"; then
2207 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2208 set dummy ${ac_tool_prefix}cc; ac_word=$2
2209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2210 $as_echo_n "checking for $ac_word... " >&6; }
2211 if test "${ac_cv_prog_CC+set}" = set; then
2212 $as_echo_n "(cached) " >&6
2214 if test -n "$CC"; then
2215 ac_cv_prog_CC="$CC" # Let the user override the test.
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir=.
2222 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_CC="${ac_tool_prefix}cc"
2225 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 if test -n "$CC"; then
2236 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2237 $as_echo "$CC" >&6; }
2239 { $as_echo "$as_me:$LINENO: result: no" >&5
2240 $as_echo "no" >&6; }
2246 if test -z "$CC"; then
2247 # Extract the first word of "cc", so it can be a program name with args.
2248 set dummy cc; ac_word=$2
2249 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if test "${ac_cv_prog_CC+set}" = set; then
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2265 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2266 ac_prog_rejected=yes
2270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 if test $ac_prog_rejected = yes; then
2278 # We found a bogon in the path, so make sure we never use it.
2279 set dummy $ac_cv_prog_CC
2281 if test $# != 0; then
2282 # We chose a different compiler from the bogus one.
2283 # However, it has the same basename, so the bogon will be chosen
2284 # first if we set CC to just the basename; use the full file name.
2286 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2292 if test -n "$CC"; then
2293 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2294 $as_echo "$CC" >&6; }
2296 { $as_echo "$as_me:$LINENO: result: no" >&5
2297 $as_echo "no" >&6; }
2302 if test -z "$CC"; then
2303 if test -n "$ac_tool_prefix"; then
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2308 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 $as_echo_n "checking for $ac_word... " >&6; }
2310 if test "${ac_cv_prog_CC+set}" = set; then
2311 $as_echo_n "(cached) " >&6
2313 if test -n "$CC"; then
2314 ac_cv_prog_CC="$CC" # Let the user override the test.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2324 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 if test -n "$CC"; then
2335 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2336 $as_echo "$CC" >&6; }
2338 { $as_echo "$as_me:$LINENO: result: no" >&5
2339 $as_echo "no" >&6; }
2343 test -n "$CC" && break
2346 if test -z "$CC"; then
2348 for ac_prog in cl.exe
2350 # Extract the first word of "$ac_prog", so it can be a program name with args.
2351 set dummy $ac_prog; ac_word=$2
2352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_ac_ct_CC="$ac_prog"
2368 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2378 if test -n "$ac_ct_CC"; then
2379 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2380 $as_echo "$ac_ct_CC" >&6; }
2382 { $as_echo "$as_me:$LINENO: result: no" >&5
2383 $as_echo "no" >&6; }
2387 test -n "$ac_ct_CC" && break
2390 if test "x$ac_ct_CC" = x; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2397 ac_tool_warned=yes ;;
2406 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2408 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2409 See \`config.log' for more details." >&5
2410 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2411 See \`config.log' for more details." >&2;}
2412 { (exit 1); exit 1; }; }; }
2414 # Provide some information about the compiler.
2415 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2418 { (ac_try="$ac_compiler --version >&5"
2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2424 $as_echo "$ac_try_echo") >&5
2425 (eval "$ac_compiler --version >&5") 2>&5
2427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }
2429 { (ac_try="$ac_compiler -v >&5"
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2435 $as_echo "$ac_try_echo") >&5
2436 (eval "$ac_compiler -v >&5") 2>&5
2438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }
2440 { (ac_try="$ac_compiler -V >&5"
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2446 $as_echo "$ac_try_echo") >&5
2447 (eval "$ac_compiler -V >&5") 2>&5
2449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }
2452 cat >conftest.$ac_ext <<_ACEOF
2455 cat confdefs.h >>conftest.$ac_ext
2456 cat >>conftest.$ac_ext <<_ACEOF
2457 /* end confdefs.h. */
2468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2469 (eval $ac_link) 2>&5
2471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; then
2478 if test x$gcc_no_link = xyes; then
2479 # Setting cross_compile will disable run tests; it will
2480 # also disable AC_CHECK_FILE but that's generally
2481 # correct if we can't link.
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2500 ac_clean_files_save=$ac_clean_files
2501 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2502 # Try to create an executable without -o first, disregard a.out.
2503 # It will help us diagnose broken compilers, and finding out an intuition
2505 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2506 $as_echo_n "checking for C compiler default output file name... " >&6; }
2507 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509 # The possible output files:
2510 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2513 for ac_file in $ac_files
2516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2517 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2522 if { (ac_try="$ac_link_default"
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2528 $as_echo "$ac_try_echo") >&5
2529 (eval "$ac_link_default") 2>&5
2531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; then
2533 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2534 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2535 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2536 # so that the user can short-circuit this test for compilers unknown to
2538 for ac_file in $ac_files ''
2540 test -f "$ac_file" || continue
2542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2545 # We found the default executable, but exeext='' is most
2549 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2551 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 # We set ac_cv_exeext here because the later test for it is not
2554 # safe: cross compilers may not add the suffix if given an `-o'
2555 # argument, so we may need to know it at that point already.
2556 # Even if this section looks crufty: it has the advantage of
2563 test "$ac_cv_exeext" = no && ac_cv_exeext=
2569 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2570 $as_echo "$ac_file" >&6; }
2571 if test -z "$ac_file"; then
2572 $as_echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2575 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2578 See \`config.log' for more details." >&5
2579 $as_echo "$as_me: error: C compiler cannot create executables
2580 See \`config.log' for more details." >&2;}
2581 { (exit 77); exit 77; }; }; }
2584 ac_exeext=$ac_cv_exeext
2586 # Check that the compiler produces executables we can run. If not, either
2587 # the compiler is broken, or we cross compile.
2588 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2589 $as_echo_n "checking whether the C compiler works... " >&6; }
2590 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2591 # If not cross compiling, check that we can run a simple program.
2592 if test "$cross_compiling" != yes; then
2593 if { ac_try='./$ac_file'
2594 { (case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2599 $as_echo "$ac_try_echo") >&5
2600 (eval "$ac_try") 2>&5
2602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 if test "$cross_compiling" = maybe; then
2609 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2612 If you meant to cross compile, use \`--host'.
2613 See \`config.log' for more details." >&5
2614 $as_echo "$as_me: error: cannot run C compiled programs.
2615 If you meant to cross compile, use \`--host'.
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }; }
2621 { $as_echo "$as_me:$LINENO: result: yes" >&5
2622 $as_echo "yes" >&6; }
2624 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2625 ac_clean_files=$ac_clean_files_save
2626 # Check that the compiler produces executables we can run. If not, either
2627 # the compiler is broken, or we cross compile.
2628 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2629 $as_echo_n "checking whether we are cross compiling... " >&6; }
2630 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2631 $as_echo "$cross_compiling" >&6; }
2633 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2634 $as_echo_n "checking for suffix of executables... " >&6; }
2635 if { (ac_try="$ac_link"
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2641 $as_echo "$ac_try_echo") >&5
2642 (eval "$ac_link") 2>&5
2644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; then
2646 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2647 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2648 # work properly (i.e., refer to `conftest.exe'), while it won't with
2650 for ac_file in conftest.exe conftest conftest.*; do
2651 test -f "$ac_file" || continue
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2654 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2660 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2663 See \`config.log' for more details." >&5
2664 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2665 See \`config.log' for more details." >&2;}
2666 { (exit 1); exit 1; }; }; }
2669 rm -f conftest$ac_cv_exeext
2670 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2671 $as_echo "$ac_cv_exeext" >&6; }
2673 rm -f conftest.$ac_ext
2674 EXEEXT=$ac_cv_exeext
2677 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2678 $as_echo_n "checking for suffix of object files... " >&6; }
2679 if test "${ac_cv_objext+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2682 cat >conftest.$ac_ext <<_ACEOF
2685 cat confdefs.h >>conftest.$ac_ext
2686 cat >>conftest.$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2697 rm -f conftest.o conftest.obj
2698 if { (ac_try="$ac_compile"
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704 $as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compile") 2>&5
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file in conftest.o conftest.obj conftest.*; do
2710 test -f "$ac_file" || continue;
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2721 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2724 See \`config.log' for more details." >&5
2725 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }; }
2730 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2732 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2733 $as_echo "$ac_cv_objext" >&6; }
2734 OBJEXT=$ac_cv_objext
2736 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2737 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2738 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2739 $as_echo_n "(cached) " >&6
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2759 rm -f conftest.$ac_objext
2760 if { (ac_try="$ac_compile"
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2766 $as_echo "$ac_try_echo") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2789 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2790 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2791 if test $ac_compiler_gnu = yes; then
2796 ac_test_CFLAGS=${CFLAGS+set}
2797 ac_save_CFLAGS=$CFLAGS
2798 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2799 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2800 if test "${ac_cv_prog_cc_g+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2803 ac_save_c_werror_flag=$ac_c_werror_flag
2804 ac_c_werror_flag=yes
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829 $as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1 >conftest.err
2834 cat conftest.err >&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_c_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.$ac_objext
2862 if { (ac_try="$ac_compile"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868 $as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_c_werror_flag=$ac_save_c_werror_flag
2886 cat >conftest.$ac_ext <<_ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2901 rm -f conftest.$ac_objext
2902 if { (ac_try="$ac_compile"
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908 $as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2911 grep -v '^ *+' conftest.er1 >conftest.err
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2921 $as_echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_c_werror_flag=$ac_save_c_werror_flag
2936 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2937 $as_echo "$ac_cv_prog_cc_g" >&6; }
2938 if test "$ac_test_CFLAGS" = set; then
2939 CFLAGS=$ac_save_CFLAGS
2940 elif test $ac_cv_prog_cc_g = yes; then
2941 if test "$GCC" = yes; then
2947 if test "$GCC" = yes; then
2953 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2955 if test "${ac_cv_prog_cc_c89+set}" = set; then
2956 $as_echo_n "(cached) " >&6
2958 ac_cv_prog_cc_c89=no
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2968 #include <sys/types.h>
2969 #include <sys/stat.h>
2970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2971 struct buf { int x; };
2972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2973 static char *e (p, i)
2979 static char *f (char * (*g) (char **, int), char **p, ...)
2984 s = g (p, va_arg (v,int));
2989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2990 function prototypes and stuff, but not '\xHH' hex character constants.
2991 These don't provoke an error unfortunately, instead are silently treated
2992 as 'x'. The following induces an error, until -std is added to get
2993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2994 array size at least. It's necessary to write '\x00'==0 to get something
2995 that's true only with -std. */
2996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2999 inside strings and character constants. */
3001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3003 int test (int i, double x);
3004 struct s1 {int (*f) (int a);};
3005 struct s2 {int (*f) (double a);};
3006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3020 CC="$ac_save_CC $ac_arg"
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3028 $as_echo "$ac_try_echo") >&5
3029 (eval "$ac_compile") 2>conftest.er1
3031 grep -v '^ *+' conftest.er1 >conftest.err
3033 cat conftest.err >&5
3034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } && {
3036 test -z "$ac_c_werror_flag" ||
3037 test ! -s conftest.err
3038 } && test -s conftest.$ac_objext; then
3039 ac_cv_prog_cc_c89=$ac_arg
3041 $as_echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3047 rm -f core conftest.err conftest.$ac_objext
3048 test "x$ac_cv_prog_cc_c89" != "xno" && break
3050 rm -f conftest.$ac_ext
3055 case "x$ac_cv_prog_cc_c89" in
3057 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3058 $as_echo "none needed" >&6; } ;;
3060 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3061 $as_echo "unsupported" >&6; } ;;
3063 CC="$CC $ac_cv_prog_cc_c89"
3064 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3065 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3070 ac_cpp='$CPP $CPPFLAGS'
3071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3075 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3076 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3077 { (exit 1); exit 1; }; }
3079 if test -n "$ac_tool_prefix"; then
3080 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
3081 set dummy ${ac_tool_prefix}g++; ac_word=$2
3082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if test "${ac_cv_prog_CXX+set}" = set; then
3085 $as_echo_n "(cached) " >&6
3087 if test -n "$CXX"; then
3088 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097 ac_cv_prog_CXX="${ac_tool_prefix}g++"
3098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test -n "$CXX"; then
3109 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3110 $as_echo "$CXX" >&6; }
3112 { $as_echo "$as_me:$LINENO: result: no" >&5
3113 $as_echo "no" >&6; }
3118 if test -z "$ac_cv_prog_CXX"; then
3120 # Extract the first word of "g++", so it can be a program name with args.
3121 set dummy g++; ac_word=$2
3122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$ac_ct_CXX"; then
3128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_ac_ct_CXX="g++"
3138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3148 if test -n "$ac_ct_CXX"; then
3149 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3150 $as_echo "$ac_ct_CXX" >&6; }
3152 { $as_echo "$as_me:$LINENO: result: no" >&5
3153 $as_echo "no" >&6; }
3156 if test "x$ac_ct_CXX" = x; then
3159 case $cross_compiling:$ac_tool_warned in
3161 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3163 ac_tool_warned=yes ;;
3168 CXX="$ac_cv_prog_CXX"
3171 if test -z "$CXX"; then
3172 if test -n "$ac_tool_prefix"; then
3173 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
3174 set dummy ${ac_tool_prefix}g++; ac_word=$2
3175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_CXX+set}" = set; then
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$CXX"; then
3181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 ac_cv_prog_CXX="${ac_tool_prefix}g++"
3191 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test -n "$CXX"; then
3202 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3203 $as_echo "$CXX" >&6; }
3205 { $as_echo "$as_me:$LINENO: result: no" >&5
3206 $as_echo "no" >&6; }
3211 if test -z "$ac_cv_prog_CXX"; then
3213 # Extract the first word of "g++", so it can be a program name with args.
3214 set dummy g++; ac_word=$2
3215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$ac_ct_CXX"; then
3221 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_ac_ct_CXX="g++"
3231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3241 if test -n "$ac_ct_CXX"; then
3242 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3243 $as_echo "$ac_ct_CXX" >&6; }
3245 { $as_echo "$as_me:$LINENO: result: no" >&5
3246 $as_echo "no" >&6; }
3249 if test "x$ac_ct_CXX" = x; then
3252 case $cross_compiling:$ac_tool_warned in
3254 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256 ac_tool_warned=yes ;;
3261 CXX="$ac_cv_prog_CXX"
3266 ac_cpp='$CXXCPP $CPPFLAGS'
3267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3270 if test -z "$CXX"; then
3271 if test -n "$CCC"; then
3274 if test -n "$ac_tool_prefix"; then
3275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3278 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3279 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if test "${ac_cv_prog_CXX+set}" = set; then
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CXX"; then
3285 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test -n "$CXX"; then
3306 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3307 $as_echo "$CXX" >&6; }
3309 { $as_echo "$as_me:$LINENO: result: no" >&5
3310 $as_echo "no" >&6; }
3314 test -n "$CXX" && break
3317 if test -z "$CXX"; then
3319 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3321 # Extract the first word of "$ac_prog", so it can be a program name with args.
3322 set dummy $ac_prog; ac_word=$2
3323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3326 $as_echo_n "(cached) " >&6
3328 if test -n "$ac_ct_CXX"; then
3329 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3338 ac_cv_prog_ac_ct_CXX="$ac_prog"
3339 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3349 if test -n "$ac_ct_CXX"; then
3350 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3351 $as_echo "$ac_ct_CXX" >&6; }
3353 { $as_echo "$as_me:$LINENO: result: no" >&5
3354 $as_echo "no" >&6; }
3358 test -n "$ac_ct_CXX" && break
3361 if test "x$ac_ct_CXX" = x; then
3364 case $cross_compiling:$ac_tool_warned in
3366 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368 ac_tool_warned=yes ;;
3376 # Provide some information about the compiler.
3377 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3380 { (ac_try="$ac_compiler --version >&5"
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3386 $as_echo "$ac_try_echo") >&5
3387 (eval "$ac_compiler --version >&5") 2>&5
3389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }
3391 { (ac_try="$ac_compiler -v >&5"
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3397 $as_echo "$ac_try_echo") >&5
3398 (eval "$ac_compiler -v >&5") 2>&5
3400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }
3402 { (ac_try="$ac_compiler -V >&5"
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3408 $as_echo "$ac_try_echo") >&5
3409 (eval "$ac_compiler -V >&5") 2>&5
3411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }
3414 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3415 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3416 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3417 $as_echo_n "(cached) " >&6
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3444 $as_echo "$ac_try_echo") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_cxx_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3457 $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3467 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3468 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3469 if test $ac_compiler_gnu = yes; then
3474 ac_test_CXXFLAGS=${CXXFLAGS+set}
3475 ac_save_CXXFLAGS=$CXXFLAGS
3476 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3477 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3478 if test "${ac_cv_prog_cxx_g+set}" = set; then
3479 $as_echo_n "(cached) " >&6
3481 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3482 ac_cxx_werror_flag=yes
3485 cat >conftest.$ac_ext <<_ACEOF
3488 cat confdefs.h >>conftest.$ac_ext
3489 cat >>conftest.$ac_ext <<_ACEOF
3490 /* end confdefs.h. */
3500 rm -f conftest.$ac_objext
3501 if { (ac_try="$ac_compile"
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507 $as_echo "$ac_try_echo") >&5
3508 (eval "$ac_compile") 2>conftest.er1
3510 grep -v '^ *+' conftest.er1 >conftest.err
3512 cat conftest.err >&5
3513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && {
3515 test -z "$ac_cxx_werror_flag" ||
3516 test ! -s conftest.err
3517 } && test -s conftest.$ac_objext; then
3518 ac_cv_prog_cxx_g=yes
3520 $as_echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3539 rm -f conftest.$ac_objext
3540 if { (ac_try="$ac_compile"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3546 $as_echo "$ac_try_echo") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3549 grep -v '^ *+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_cxx_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.$ac_objext; then
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3564 cat >conftest.$ac_ext <<_ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3579 rm -f conftest.$ac_objext
3580 if { (ac_try="$ac_compile"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3586 $as_echo "$ac_try_echo") >&5
3587 (eval "$ac_compile") 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } && {
3594 test -z "$ac_cxx_werror_flag" ||
3595 test ! -s conftest.err
3596 } && test -s conftest.$ac_objext; then
3597 ac_cv_prog_cxx_g=yes
3599 $as_echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3614 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3615 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3616 if test "$ac_test_CXXFLAGS" = set; then
3617 CXXFLAGS=$ac_save_CXXFLAGS
3618 elif test $ac_cv_prog_cxx_g = yes; then
3619 if test "$GXX" = yes; then
3625 if test "$GXX" = yes; then
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3638 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3639 { (exit 1); exit 1; }; }
3642 CXXFLAGS='$(CFLAGS)'
3646 ac_cpp='$CPP $CPPFLAGS'
3647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656 if ! test -d $srcdir/cygwin; then
3657 { { $as_echo "$as_me:$LINENO: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&5
3658 $as_echo "$as_me: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&2;}
3659 { (exit 1); exit 1; }; }
3663 subdirs="$subdirs cygwin"
3665 INSTALL_LICENSE="install-license"
3668 if ! test -d $srcdir/mingw; then
3669 { { $as_echo "$as_me:$LINENO: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&5
3670 $as_echo "$as_me: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&2;}
3671 { (exit 1); exit 1; }; }
3676 if test -d $srcdir/mingw; then
3677 subdirs="$subdirs mingw"
3680 subdirs="$subdirs w32api"
3683 case "$with_cross_host" in
3685 # if test -d $srcdir/bz2lib; then
3686 # AC_CONFIG_SUBDIRS(bz2lib)
3688 # if test -d $srcdir/zlib; then
3689 # AC_CONFIG_SUBDIRS(zlib)
3691 if test -d $srcdir/lsaauth; then
3692 subdirs="$subdirs lsaauth"
3695 subdirs="$subdirs cygserver utils doc"
3702 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3703 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3705 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3706 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3707 $as_echo_n "(cached) " >&6
3709 cat >conftest.make <<\_ACEOF
3712 @echo '@@@%%%=$(MAKE)=@@@%%%'
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3717 eval ac_cv_prog_make_${ac_make}_set=yes;;
3719 eval ac_cv_prog_make_${ac_make}_set=no;;
3723 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3724 { $as_echo "$as_me:$LINENO: result: yes" >&5
3725 $as_echo "yes" >&6; }
3728 { $as_echo "$as_me:$LINENO: result: no" >&5
3729 $as_echo "no" >&6; }
3730 SET_MAKE="MAKE=${MAKE-make}"
3734 ac_config_files="$ac_config_files Makefile"
3736 cat >confcache <<\_ACEOF
3737 # This file is a shell script that caches the results of configure
3738 # tests run on this system so they can be shared between configure
3739 # scripts and configure runs, see configure's option --config-cache.
3740 # It is not useful on other systems. If it contains results you don't
3741 # want to keep, you may remove or edit it.
3743 # config.status only pays attention to the cache file if you give it
3744 # the --recheck option to rerun configure.
3746 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3747 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3752 # The following way of writing the cache mishandles newlines in values,
3753 # but we know of no workaround that is simple, portable, and efficient.
3754 # So, we kill variables containing newlines.
3755 # Ultrix sh set writes to stderr and can't be redirected directly,
3756 # and sets the high bit in the cache file unless we assign to the vars.
3758 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3759 eval ac_val=\$$ac_var
3763 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3764 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3767 _ | IFS | as_nl) ;; #(
3768 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3769 *) $as_unset $ac_var ;;
3775 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3776 *${as_nl}ac_space=\ *)
3777 # `set' does not quote correctly, so add quotes (double-quote
3778 # substitution turns \\\\ into \\, and sed turns \\ into \).
3781 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3784 # `set' quotes correctly as required by POSIX, so do not add quotes.
3785 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3794 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3796 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3798 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3799 if test -w "$cache_file"; then
3800 test "x$cache_file" != "x/dev/null" &&
3801 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3802 $as_echo "$as_me: updating cache $cache_file" >&6;}
3803 cat confcache >$cache_file
3805 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3806 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3811 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3812 # Let make expand exec_prefix.
3813 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3815 # Transform confdefs.h into DEFS.
3816 # Protect against shell expansion while executing Makefile rules.
3817 # Protect against Makefile macro expansion.
3819 # If the first sed substitution is executed (which looks for macros that
3820 # take arguments), then branch to the quote section. Otherwise,
3821 # look for a macro that doesn't take arguments.
3831 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3833 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3837 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3850 DEFS=`sed -n "$ac_script" confdefs.h`
3855 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3856 # 1. Remove the extension, and $U if already installed.
3857 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3858 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3859 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3860 # will be set to the directory where LIBOBJS objects are built.
3861 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3862 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3866 LTLIBOBJS=$ac_ltlibobjs
3870 : ${CONFIG_STATUS=./config.status}
3872 ac_clean_files_save=$ac_clean_files
3873 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3874 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3875 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3876 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3878 # Generated by $as_me.
3879 # Run this file to recreate the current configuration.
3880 # Compiler output produced by configure, useful for debugging
3881 # configure, is in config.log if it exists.
3886 SHELL=\${CONFIG_SHELL-$SHELL}
3889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3890 ## --------------------- ##
3891 ## M4sh Initialization. ##
3892 ## --------------------- ##
3894 # Be more Bourne compatible
3895 DUALCASE=1; export DUALCASE # for MKS sh
3896 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3899 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3900 # is contrary to our usage. Disable this feature.
3901 alias -g '${1+"$@"}'='"$@"'
3902 setopt NO_GLOB_SUBST
3904 case `(set -o) 2>/dev/null` in
3905 *posix*) set -o posix ;;
3914 # Avoid depending upon Character Ranges.
3915 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3916 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3917 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3918 as_cr_digits='0123456789'
3919 as_cr_alnum=$as_cr_Letters$as_cr_digits
3924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3925 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3928 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3929 as_echo='printf %s\n'
3930 as_echo_n='printf %s'
3932 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3933 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3934 as_echo_n='/usr/ucb/echo -n'
3936 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3937 as_echo_n_body='eval
3941 expr "X$arg" : "X\\(.*\\)$as_nl";
3942 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3944 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3946 export as_echo_n_body
3947 as_echo_n='sh -c $as_echo_n_body as_echo'
3950 as_echo='sh -c $as_echo_body as_echo'
3953 # The user is always right.
3954 if test "${PATH_SEPARATOR+set}" != set; then
3956 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3957 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3962 # Support unset when possible.
3963 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3971 # We need space, tab and new line, in precisely that order. Quoting is
3972 # there to prevent editors from complaining about space-tab.
3973 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3974 # splitting by setting IFS to empty value.)
3977 # Find who we are. Look in the path if we contain no directory separator.
3979 *[\\/]* ) as_myself=$0 ;;
3980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir=.
3985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3991 # We did not find ourselves, most probably we were run as `sh COMMAND'
3992 # in which case we are not to be found in the path.
3993 if test "x$as_myself" = x; then
3996 if test ! -f "$as_myself"; then
3997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3998 { (exit 1); exit 1; }
4001 # Work around bugs in pre-3.0 UWIN ksh.
4002 for as_var in ENV MAIL MAILPATH
4003 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4015 # Required to use basename.
4016 if expr a : '\(a\)' >/dev/null 2>&1 &&
4017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4024 as_basename=basename
4030 # Name of the executable.
4031 as_me=`$as_basename -- "$0" ||
4032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4033 X"$0" : 'X\(//\)$' \| \
4034 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4036 sed '/^.*\/\([^/][^/]*\)\/*$/{
4057 test "x$as_lineno_1" != "x$as_lineno_2" &&
4058 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4060 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4061 # uniformly replaced by the line number. The first 'sed' inserts a
4062 # line-number line after each line using $LINENO; the second 'sed'
4063 # does the real work. The second script uses 'N' to pair each
4064 # line-number line with the line containing $LINENO, and appends
4065 # trailing '-' during substitution so that $LINENO is not a special
4067 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4068 # scripts with optimization help from Paolo Bonzini. Blame Lee
4069 # E. McMahon (1931-1989) for sed's syntax. :-)
4081 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4085 chmod +x "$as_me.lineno" ||
4086 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4087 { (exit 1); exit 1; }; }
4089 # Don't try to exec as it changes $[0], causing all sort of problems
4090 # (the dirname of $[0] is not the place where we might find the
4091 # original and so on. Autoconf is especially sensitive to this).
4093 # Exit status is that of the last command.
4098 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4104 ECHO_C= ECHO_N= ECHO_T=
4107 case `echo 'x\c'` in
4108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4114 if expr a : '\(a\)' >/dev/null 2>&1 &&
4115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4121 rm -f conf$$ conf$$.exe conf$$.file
4122 if test -d conf$$.dir; then
4123 rm -f conf$$.dir/conf$$.file
4126 mkdir conf$$.dir 2>/dev/null
4128 if (echo >conf$$.file) 2>/dev/null; then
4129 if ln -s conf$$.file conf$$ 2>/dev/null; then
4131 # ... but there are two gotchas:
4132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4134 # In both cases, we have to default to `cp -p'.
4135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4137 elif ln conf$$.file conf$$ 2>/dev/null; then
4145 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4146 rmdir conf$$.dir 2>/dev/null
4148 if mkdir -p . 2>/dev/null; then
4151 test -d ./-p && rmdir ./-p
4155 if test -x / >/dev/null 2>&1; then
4158 if ls -dL / >/dev/null 2>&1; then
4165 if test -d "$1"; then
4171 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4172 ???[sx]*):;;*)false;;esac;fi
4176 as_executable_p=$as_test_x
4178 # Sed expression to map a string onto a valid CPP name.
4179 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4181 # Sed expression to map a string onto a valid variable name.
4182 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4187 # Save the log message, to keep $[0] and so on meaningful, and to
4188 # report actual input values of CONFIG_FILES etc. instead of their
4189 # values after options handling.
4191 This file was extended by $as_me, which was
4192 generated by GNU Autoconf 2.63. Invocation command line was
4194 CONFIG_FILES = $CONFIG_FILES
4195 CONFIG_HEADERS = $CONFIG_HEADERS
4196 CONFIG_LINKS = $CONFIG_LINKS
4197 CONFIG_COMMANDS = $CONFIG_COMMANDS
4200 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4205 case $ac_config_files in *"
4206 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4212 # Files that config.status was made for.
4213 config_files="$ac_config_files"
4217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4219 \`$as_me' instantiates files from templates according to the
4220 current configuration.
4222 Usage: $0 [OPTION]... [FILE]...
4224 -h, --help print this help, then exit
4225 -V, --version print version number and configuration settings, then exit
4226 -q, --quiet, --silent
4227 do not print progress messages
4228 -d, --debug don't remove temporary files
4229 --recheck update $as_me by reconfiguring in the same conditions
4230 --file=FILE[:TEMPLATE]
4231 instantiate the configuration file FILE
4233 Configuration files:
4236 Report bugs to <bug-autoconf@gnu.org>."
4239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4242 configured by $0, generated by GNU Autoconf 2.63,
4243 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4245 Copyright (C) 2008 Free Software Foundation, Inc.
4246 This config.status script is free software; the Free Software Foundation
4247 gives unlimited permission to copy, distribute and modify it."
4252 test -n "\$AWK" || AWK=awk
4255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4256 # The default lists apply if the user does not specify any file.
4262 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4263 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4274 # Handling of the options.
4275 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4277 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4278 $as_echo "$ac_cs_version"; exit ;;
4279 --debug | --debu | --deb | --de | --d | -d )
4281 --file | --fil | --fi | --f )
4284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4286 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4287 ac_need_defaults=false;;
4288 --he | --h | --help | --hel | -h )
4289 $as_echo "$ac_cs_usage"; exit ;;
4290 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4291 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4295 -*) { $as_echo "$as_me: error: unrecognized option: $1
4296 Try \`$0 --help' for more information." >&2
4297 { (exit 1); exit 1; }; } ;;
4299 *) ac_config_targets="$ac_config_targets $1"
4300 ac_need_defaults=false ;;
4306 ac_configure_extra_args=
4308 if $ac_cs_silent; then
4310 ac_configure_extra_args="$ac_configure_extra_args --silent"
4314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4315 if \$ac_cs_recheck; then
4316 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4319 CONFIG_SHELL='$SHELL'
4325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4330 ## Running $as_me. ##
4336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4341 # Handling of arguments.
4342 for ac_config_target in $ac_config_targets
4344 case $ac_config_target in
4345 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4347 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4348 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4349 { (exit 1); exit 1; }; };;
4354 # If the user did not use the arguments to specify the items to instantiate,
4355 # then the envvar interface is used. Set only those that are not.
4356 # We use the long form for the default assignment because of an extremely
4357 # bizarre bug on SunOS 4.1.3.
4358 if $ac_need_defaults; then
4359 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4362 # Have a temporary directory for convenience. Make it in the build tree
4363 # simply because there is no reason against having it here, and in addition,
4364 # creating and moving files from /tmp can sometimes cause problems.
4365 # Hook for its removal unless debugging.
4366 # Note that there is a small window in which the directory will not be cleaned:
4367 # after its creation but before its name has been assigned to `$tmp'.
4371 trap 'exit_status=$?
4372 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4374 trap '{ (exit 1); exit 1; }' 1 2 13 15
4376 # Create a (secure) tmp directory for tmp files.
4379 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4380 test -n "$tmp" && test -d "$tmp"
4383 tmp=./conf$$-$RANDOM
4384 (umask 077 && mkdir "$tmp")
4387 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4388 { (exit 1); exit 1; }
4391 # Set up the scripts for CONFIG_FILES section.
4392 # No need to generate them if there are no CONFIG_FILES.
4393 # This happens for instance with `./config.status config.h'.
4394 if test -n "$CONFIG_FILES"; then
4398 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4399 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4405 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4410 echo "cat >conf$$subs.awk <<_ACEOF" &&
4411 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4414 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4415 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4416 { (exit 1); exit 1; }; }
4417 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4419 for ac_last_try in false false false false false :; do
4420 . ./conf$$subs.sh ||
4421 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4422 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4423 { (exit 1); exit 1; }; }
4425 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4426 if test $ac_delim_n = $ac_delim_num; then
4428 elif $ac_last_try; then
4429 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4430 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4431 { (exit 1); exit 1; }; }
4433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4439 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4443 s/^/S["/; s/!.*/"]=/
4453 s/\(.\{148\}\).*/\1/
4455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4467 s/\(.\{148\}\).*/\1/
4469 s/["\\]/\\&/g; s/^/"/; s/$/"/
4473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4478 ' <conf$$subs.awk | sed '
4483 ' >>$CONFIG_STATUS || ac_write_fail=1
4484 rm -f conf$$subs.awk
4485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4487 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4488 for (key in S) S_is_set[key] = 1
4494 nfields = split(line, field, "@")
4496 len = length(field[1])
4497 for (i = 2; i < nfields; i++) {
4499 keylen = length(key)
4500 if (S_is_set[key]) {
4502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4503 len += length(value) + length(field[++i])
4514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4515 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4516 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4519 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4520 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4521 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4522 { (exit 1); exit 1; }; }
4525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4527 # trailing colons and then remove the whole line if VPATH becomes empty
4528 # (actually we leave an empty line to preserve line numbers).
4529 if test "x$srcdir" = x.; then
4530 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4534 s/^\([^=]*=[ ]*\):*/\1/
4540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4541 fi # test -n "$CONFIG_FILES"
4544 eval set X " :F $CONFIG_FILES "
4549 :[FHLC]) ac_mode=$ac_tag; continue;;
4551 case $ac_mode$ac_tag in
4553 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4554 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4555 { (exit 1); exit 1; }; };;
4556 :[FH]-) ac_tag=-:-;;
4557 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4574 -) ac_f="$tmp/stdin";;
4575 *) # Look for the file first in the build tree, then in the source tree
4576 # (if the path is not absolute). The absolute path cannot be DOS-style,
4577 # because $ac_f cannot contain `:'.
4581 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4583 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4584 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4585 { (exit 1); exit 1; }; };;
4587 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4588 ac_file_inputs="$ac_file_inputs '$ac_f'"
4591 # Let's still pretend it is `configure' which instantiates (i.e., don't
4592 # use $as_me), people would be surprised to read:
4593 # /* config.h. Generated by config.status. */
4594 configure_input='Generated from '`
4595 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4597 if test x"$ac_file" != x-; then
4598 configure_input="$ac_file. $configure_input"
4599 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4600 $as_echo "$as_me: creating $ac_file" >&6;}
4602 # Neutralize special characters interpreted by sed in replacement strings.
4603 case $configure_input in #(
4604 *\&* | *\|* | *\\* )
4605 ac_sed_conf_input=`$as_echo "$configure_input" |
4606 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4607 *) ac_sed_conf_input=$configure_input;;
4611 *:-:* | *:-) cat >"$tmp/stdin" \
4612 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4613 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4614 { (exit 1); exit 1; }; } ;;
4619 ac_dir=`$as_dirname -- "$ac_file" ||
4620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4621 X"$ac_file" : 'X\(//\)[^/]' \| \
4622 X"$ac_file" : 'X\(//\)$' \| \
4623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4624 $as_echo X"$ac_file" |
4625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4644 -*) as_dir=./$as_dir;;
4646 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4650 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4651 *) as_qdir=$as_dir;;
4653 as_dirs="'$as_qdir' $as_dirs"
4654 as_dir=`$as_dirname -- "$as_dir" ||
4655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4656 X"$as_dir" : 'X\(//\)[^/]' \| \
4657 X"$as_dir" : 'X\(//\)$' \| \
4658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4659 $as_echo X"$as_dir" |
4660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4677 test -d "$as_dir" && break
4679 test -z "$as_dirs" || eval "mkdir $as_dirs"
4680 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4681 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4682 { (exit 1); exit 1; }; }; }
4686 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4688 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4689 # A ".." for each directory in $ac_dir_suffix.
4690 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4691 case $ac_top_builddir_sub in
4692 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4693 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4696 ac_abs_top_builddir=$ac_pwd
4697 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4698 # for backward compatibility:
4699 ac_top_builddir=$ac_top_build_prefix
4702 .) # We are building in place.
4704 ac_top_srcdir=$ac_top_builddir_sub
4705 ac_abs_top_srcdir=$ac_pwd ;;
4706 [\\/]* | ?:[\\/]* ) # Absolute name.
4707 ac_srcdir=$srcdir$ac_dir_suffix;
4708 ac_top_srcdir=$srcdir
4709 ac_abs_top_srcdir=$srcdir ;;
4711 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4712 ac_top_srcdir=$ac_top_build_prefix$srcdir
4713 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4715 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4725 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4726 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4731 # If the template does not know about datarootdir, expand it.
4732 # FIXME: This hack should be removed a few years after 2.60.
4733 ac_datarootdir_hack=; ac_datarootdir_seen=
4746 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4747 *datarootdir*) ac_datarootdir_seen=yes;;
4748 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4749 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4750 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4753 ac_datarootdir_hack='
4754 s&@datadir@&$datadir&g
4755 s&@docdir@&$docdir&g
4756 s&@infodir@&$infodir&g
4757 s&@localedir@&$localedir&g
4758 s&@mandir@&$mandir&g
4759 s&\\\${datarootdir}&$datarootdir&g' ;;
4763 # Neutralize VPATH when `$srcdir' = `.'.
4764 # Shell code in configure.ac might set extrasub.
4765 # FIXME: do we really want to maintain this feature?
4766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4767 ac_sed_extra="$ac_vpsub
4770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4773 s|@configure_input@|$ac_sed_conf_input|;t t
4774 s&@top_builddir@&$ac_top_builddir_sub&;t t
4775 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4776 s&@srcdir@&$ac_srcdir&;t t
4777 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4778 s&@top_srcdir@&$ac_top_srcdir&;t t
4779 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4780 s&@builddir@&$ac_builddir&;t t
4781 s&@abs_builddir@&$ac_abs_builddir&;t t
4782 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4783 s&@INSTALL@&$ac_INSTALL&;t t
4784 $ac_datarootdir_hack
4786 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4787 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4788 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4789 { (exit 1); exit 1; }; }
4791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4792 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4794 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4795 which seems to be undefined. Please make sure it is defined." >&5
4796 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4797 which seems to be undefined. Please make sure it is defined." >&2;}
4801 -) cat "$tmp/out" && rm -f "$tmp/out";;
4802 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4804 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4805 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4806 { (exit 1); exit 1; }; }
4816 { (exit 0); exit 0; }
4818 chmod +x $CONFIG_STATUS
4819 ac_clean_files=$ac_clean_files_save
4821 test $ac_write_fail = 0 ||
4822 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4823 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4824 { (exit 1); exit 1; }; }
4827 # configure is writing to config.log, and then calls config.status.
4828 # config.status does its own redirection, appending to config.log.
4829 # Unfortunately, on DOS this fails, as config.log is still kept open
4830 # by configure, so config.status won't be able to write to it; its
4831 # output is simply discarded. So we exec the FD to /dev/null,
4832 # effectively closing config.log, so it can be properly (re)opened and
4833 # appended to by config.status. When coming back to configure, we
4834 # need to make the FD available again.
4835 if test "$no_create" != yes; then
4837 ac_config_status_args=
4838 test "$silent" = yes &&
4839 ac_config_status_args="$ac_config_status_args --quiet"
4841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4844 # would make configure fail if this is the last instruction.
4845 $ac_cs_success || { (exit 1); exit 1; }
4849 # CONFIG_SUBDIRS section.
4851 if test "$no_recursion" != yes; then
4853 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4854 # so they do not pile up.
4855 ac_sub_configure_args=
4857 eval "set x $ac_configure_args"
4861 if test -n "$ac_prev"; then
4866 -cache-file | --cache-file | --cache-fil | --cache-fi \
4867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4868 ac_prev=cache_file ;;
4869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4873 --config-cache | -C)
4875 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4877 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4879 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4881 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4883 --disable-option-checking)
4887 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4889 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
4893 # Always prepend --prefix to ensure using the same prefix
4894 # in subdir configurations.
4895 ac_arg="--prefix=$prefix"
4897 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4899 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4902 if test "$silent" = yes; then
4903 ac_sub_configure_args="--silent $ac_sub_configure_args"
4906 # Always prepend --disable-option-checking to silence warnings, since
4907 # different subdirs can have different --enable and --with options.
4908 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4911 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4913 # Do not complain, so a configure script can configure whichever
4914 # parts of a large source tree are present.
4915 test -d "$srcdir/$ac_dir" || continue
4917 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4918 $as_echo "$as_me:$LINENO: $ac_msg" >&5
4919 $as_echo "$ac_msg" >&6
4922 -*) as_dir=./$as_dir;;
4924 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4928 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4929 *) as_qdir=$as_dir;;
4931 as_dirs="'$as_qdir' $as_dirs"
4932 as_dir=`$as_dirname -- "$as_dir" ||
4933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4934 X"$as_dir" : 'X\(//\)[^/]' \| \
4935 X"$as_dir" : 'X\(//\)$' \| \
4936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4937 $as_echo X"$as_dir" |
4938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4955 test -d "$as_dir" && break
4957 test -z "$as_dirs" || eval "mkdir $as_dirs"
4958 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4959 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4960 { (exit 1); exit 1; }; }; }
4964 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4966 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4967 # A ".." for each directory in $ac_dir_suffix.
4968 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4969 case $ac_top_builddir_sub in
4970 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4971 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4974 ac_abs_top_builddir=$ac_pwd
4975 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4976 # for backward compatibility:
4977 ac_top_builddir=$ac_top_build_prefix
4980 .) # We are building in place.
4982 ac_top_srcdir=$ac_top_builddir_sub
4983 ac_abs_top_srcdir=$ac_pwd ;;
4984 [\\/]* | ?:[\\/]* ) # Absolute name.
4985 ac_srcdir=$srcdir$ac_dir_suffix;
4986 ac_top_srcdir=$srcdir
4987 ac_abs_top_srcdir=$srcdir ;;
4989 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4990 ac_top_srcdir=$ac_top_build_prefix$srcdir
4991 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4993 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4998 # Check for guested configure; otherwise get Cygnus style configure.
4999 if test -f "$ac_srcdir/configure.gnu"; then
5000 ac_sub_configure=$ac_srcdir/configure.gnu
5001 elif test -f "$ac_srcdir/configure"; then
5002 ac_sub_configure=$ac_srcdir/configure
5003 elif test -f "$ac_srcdir/configure.in"; then
5004 # This should be Cygnus configure.
5005 ac_sub_configure=$ac_aux_dir/configure
5007 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5008 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5012 # The recursion is here.
5013 if test -n "$ac_sub_configure"; then
5014 # Make the cache file name correct relative to the subdirectory.
5016 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5018 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5021 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5022 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5023 # The eval makes quoting arguments work.
5024 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5025 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5026 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5027 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5028 { (exit 1); exit 1; }; }
5034 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5035 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5036 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}