2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
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="mount.cc"
611 program_transform_name
669 enable_option_checking
671 ac_precious_vars='build_alias
684 # Initialize some variables set by options.
686 ac_init_version=false
687 ac_unrecognized_opts=
689 # The variables have the same names as the options, with
690 # dashes changed to underlines.
698 program_transform_name=s,x,x,
706 # Installation directory options.
707 # These are left unexpanded so users can "make install exec_prefix=/foo"
708 # and all the variables that are supposed to be based on exec_prefix
709 # by default will actually change.
710 # Use braces instead of parens because sh, perl, etc. also accept them.
711 # (The list follows the same order as the GNU Coding Standards.)
712 bindir='${exec_prefix}/bin'
713 sbindir='${exec_prefix}/sbin'
714 libexecdir='${exec_prefix}/libexec'
715 datarootdir='${prefix}/share'
716 datadir='${datarootdir}'
717 sysconfdir='${prefix}/etc'
718 sharedstatedir='${prefix}/com'
719 localstatedir='${prefix}/var'
720 includedir='${prefix}/include'
721 oldincludedir='/usr/include'
722 docdir='${datarootdir}/doc/${PACKAGE}'
723 infodir='${datarootdir}/info'
728 libdir='${exec_prefix}/lib'
729 localedir='${datarootdir}/locale'
730 mandir='${datarootdir}/man'
736 # If the previous option needs an argument, assign it.
737 if test -n "$ac_prev"; then
738 eval $ac_prev=\$ac_option
744 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748 # Accept the important Cygnus configure options, so we can diagnose typos.
750 case $ac_dashdash$ac_option in
754 -bindir | --bindir | --bindi | --bind | --bin | --bi)
756 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759 -build | --build | --buil | --bui | --bu)
760 ac_prev=build_alias ;;
761 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
762 build_alias=$ac_optarg ;;
764 -cache-file | --cache-file | --cache-fil | --cache-fi \
765 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
766 ac_prev=cache_file ;;
767 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
768 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
769 cache_file=$ac_optarg ;;
772 cache_file=config.cache ;;
774 -datadir | --datadir | --datadi | --datad)
776 -datadir=* | --datadir=* | --datadi=* | --datad=*)
777 datadir=$ac_optarg ;;
779 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
780 | --dataroo | --dataro | --datar)
781 ac_prev=datarootdir ;;
782 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
783 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
784 datarootdir=$ac_optarg ;;
786 -disable-* | --disable-*)
787 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
790 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
791 { (exit 1); exit 1; }; }
792 ac_useropt_orig=$ac_useropt
793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794 case $ac_user_opts in
798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799 ac_unrecognized_sep=', ';;
801 eval enable_$ac_useropt=no ;;
803 -docdir | --docdir | --docdi | --doc | --do)
805 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 -enable-* | --enable-*)
814 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
818 { (exit 1); exit 1; }; }
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
828 eval enable_$ac_useropt=\$ac_optarg ;;
830 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832 | --exec | --exe | --ex)
833 ac_prev=exec_prefix ;;
834 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836 | --exec=* | --exe=* | --ex=*)
837 exec_prefix=$ac_optarg ;;
839 -gas | --gas | --ga | --g)
840 # Obsolete; use --with-gas.
843 -help | --help | --hel | --he | -h)
845 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846 ac_init_help=recursive ;;
847 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848 ac_init_help=short ;;
850 -host | --host | --hos | --ho)
851 ac_prev=host_alias ;;
852 -host=* | --host=* | --hos=* | --ho=*)
853 host_alias=$ac_optarg ;;
855 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859 htmldir=$ac_optarg ;;
861 -includedir | --includedir | --includedi | --included | --include \
862 | --includ | --inclu | --incl | --inc)
863 ac_prev=includedir ;;
864 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865 | --includ=* | --inclu=* | --incl=* | --inc=*)
866 includedir=$ac_optarg ;;
868 -infodir | --infodir | --infodi | --infod | --info | --inf)
870 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871 infodir=$ac_optarg ;;
873 -libdir | --libdir | --libdi | --libd)
875 -libdir=* | --libdir=* | --libdi=* | --libd=*)
878 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879 | --libexe | --libex | --libe)
880 ac_prev=libexecdir ;;
881 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882 | --libexe=* | --libex=* | --libe=*)
883 libexecdir=$ac_optarg ;;
885 -localedir | --localedir | --localedi | --localed | --locale)
887 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888 localedir=$ac_optarg ;;
890 -localstatedir | --localstatedir | --localstatedi | --localstated \
891 | --localstate | --localstat | --localsta | --localst | --locals)
892 ac_prev=localstatedir ;;
893 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895 localstatedir=$ac_optarg ;;
897 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
903 # Obsolete; use --without-fp.
906 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
907 | --no-cr | --no-c | -n)
910 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
911 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916 | --oldin | --oldi | --old | --ol | --o)
917 ac_prev=oldincludedir ;;
918 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921 oldincludedir=$ac_optarg ;;
923 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
928 -program-prefix | --program-prefix | --program-prefi | --program-pref \
929 | --program-pre | --program-pr | --program-p)
930 ac_prev=program_prefix ;;
931 -program-prefix=* | --program-prefix=* | --program-prefi=* \
932 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933 program_prefix=$ac_optarg ;;
935 -program-suffix | --program-suffix | --program-suffi | --program-suff \
936 | --program-suf | --program-su | --program-s)
937 ac_prev=program_suffix ;;
938 -program-suffix=* | --program-suffix=* | --program-suffi=* \
939 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940 program_suffix=$ac_optarg ;;
942 -program-transform-name | --program-transform-name \
943 | --program-transform-nam | --program-transform-na \
944 | --program-transform-n | --program-transform- \
945 | --program-transform | --program-transfor \
946 | --program-transfo | --program-transf \
947 | --program-trans | --program-tran \
948 | --progr-tra | --program-tr | --program-t)
949 ac_prev=program_transform_name ;;
950 -program-transform-name=* | --program-transform-name=* \
951 | --program-transform-nam=* | --program-transform-na=* \
952 | --program-transform-n=* | --program-transform-=* \
953 | --program-transform=* | --program-transfor=* \
954 | --program-transfo=* | --program-transf=* \
955 | --program-trans=* | --program-tran=* \
956 | --progr-tra=* | --program-tr=* | --program-t=*)
957 program_transform_name=$ac_optarg ;;
959 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
964 -psdir | --psdir | --psdi | --psd | --ps)
966 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
973 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977 sbindir=$ac_optarg ;;
979 -sharedstatedir | --sharedstatedir | --sharedstatedi \
980 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981 | --sharedst | --shareds | --shared | --share | --shar \
983 ac_prev=sharedstatedir ;;
984 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988 sharedstatedir=$ac_optarg ;;
990 -site | --site | --sit)
992 -site=* | --site=* | --sit=*)
995 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1000 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001 | --syscon | --sysco | --sysc | --sys | --sy)
1002 ac_prev=sysconfdir ;;
1003 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005 sysconfdir=$ac_optarg ;;
1007 -target | --target | --targe | --targ | --tar | --ta | --t)
1008 ac_prev=target_alias ;;
1009 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010 target_alias=$ac_optarg ;;
1012 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1015 -version | --version | --versio | --versi | --vers | -V)
1016 ac_init_version=: ;;
1019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval with_$ac_useropt=\$ac_optarg ;;
1035 -without-* | --without-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval with_$ac_useropt=no ;;
1053 # Obsolete; use --with-x.
1056 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1057 | --x-incl | --x-inc | --x-in | --x-i)
1058 ac_prev=x_includes ;;
1059 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1060 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1061 x_includes=$ac_optarg ;;
1063 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1064 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1065 ac_prev=x_libraries ;;
1066 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1067 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1068 x_libraries=$ac_optarg ;;
1070 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1071 Try \`$0 --help' for more information." >&2
1072 { (exit 1); exit 1; }; }
1076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1079 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1080 { (exit 1); exit 1; }; }
1081 eval $ac_envvar=\$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1095 if test -n "$ac_prev"; then
1096 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1097 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1098 { (exit 1); exit 1; }; }
1101 if test -n "$ac_unrecognized_opts"; then
1102 case $enable_option_checking in
1104 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1105 { (exit 1); exit 1; }; } ;;
1106 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1110 # Check all directory arguments for consistency.
1111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir
1116 eval ac_val=\$$ac_var
1117 # Remove trailing slashes.
1120 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121 eval $ac_var=\$ac_val;;
1123 # Be sure to have absolute directory names.
1125 [\\/$]* | ?:[\\/]* ) continue;;
1126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1129 { (exit 1); exit 1; }; }
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1144 If a cross compiler is detected then cross compile mode will be used." >&2
1145 elif test "x$build_alias" != "x$host_alias"; then
1151 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153 test "$silent" = yes && exec 6>/dev/null
1156 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1157 ac_ls_di=`ls -di .` &&
1158 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1159 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1160 { (exit 1); exit 1; }; }
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1163 { (exit 1); exit 1; }; }
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir=`$as_dirname -- "$as_myself" ||
1171 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$as_myself" : 'X\(//\)[^/]' \| \
1173 X"$as_myself" : 'X\(//\)$' \| \
1174 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1175 $as_echo X"$as_myself" |
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1202 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1203 { (exit 1); exit 1; }; }
1205 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1208 { (exit 1); exit 1; }; }
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var in $ac_precious_vars; do
1221 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_${ac_var}_value=\$${ac_var}
1223 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures this package to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1292 --program-prefix=PREFIX prepend PREFIX to installed program names
1293 --program-suffix=SUFFIX append SUFFIX to installed program names
1294 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297 --build=BUILD configure for building on BUILD [guessed]
1298 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1299 --target=TARGET configure for building compilers for TARGET [HOST]
1303 if test -n "$ac_init_help"; then
1307 Some influential environment variables:
1308 CC C compiler command
1309 CFLAGS C compiler flags
1310 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1311 nonstandard directory <lib dir>
1312 LIBS libraries to pass to the linker, e.g. -l<library>
1313 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1314 you have headers in a nonstandard directory <include dir>
1315 CXX C++ compiler command
1316 CXXFLAGS C++ compiler flags
1318 Use these variables to override the choices made by `configure' or to help
1319 it to find libraries and programs with nonstandard names/locations.
1325 if test "$ac_init_help" = "recursive"; then
1326 # If there are subdirs, report their specific --help.
1327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328 test -d "$ac_dir" ||
1329 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1350 .) # We are building in place.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1374 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1384 generated by GNU Autoconf 2.62
1386 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by $as_me, which was
1398 generated by GNU Autoconf 2.62. Invocation command line was
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 $as_echo "PATH: $as_dir"
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1458 ac_must_keep_next=false
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1469 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1474 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 -* ) ac_must_keep_next=true ;;
1490 ac_configure_args="$ac_configure_args '$ac_arg'"
1495 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1496 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1521 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1522 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525 _ | IFS | as_nl) ;; #(
1526 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1527 *) $as_unset $ac_var ;;
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 $as_echo "$ac_var='\''$ac_val'\''"
1562 if test -n "$ac_subst_files"; then
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1569 for ac_var in $ac_subst_files
1571 eval ac_val=\$$ac_var
1573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 $as_echo "$ac_var='\''$ac_val'\''"
1580 if test -s confdefs.h; then
1590 test "$ac_signal" != 0 &&
1591 $as_echo "$as_me: caught signal $ac_signal"
1592 $as_echo "$as_me: exit $exit_status"
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1606 # Predefined preprocessor variables.
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_STRING "$PACKAGE_STRING"
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633 # Let the site file select an alternate cache file if it wants to.
1634 # Prefer an explicitly selected file to automatically selected ones.
1637 if test -n "$CONFIG_SITE"; then
1638 ac_site_file1=$CONFIG_SITE
1639 elif test "x$prefix" != xNONE; then
1640 ac_site_file1=$prefix/share/config.site
1641 ac_site_file2=$prefix/etc/config.site
1643 ac_site_file1=$ac_default_prefix/share/config.site
1644 ac_site_file2=$ac_default_prefix/etc/config.site
1646 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1648 test "x$ac_site_file" = xNONE && continue
1649 if test -r "$ac_site_file"; then
1650 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1651 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1652 sed 's/^/| /' "$ac_site_file" >&5
1657 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special
1659 # files actually), so we avoid doing that.
1660 if test -f "$cache_file"; then
1661 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1662 $as_echo "$as_me: loading cache $cache_file" >&6;}
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1669 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1670 $as_echo "$as_me: creating cache $cache_file" >&6;}
1674 # Check that the precious variables saved in the cache have kept the same
1676 ac_cache_corrupted=false
1677 for ac_var in $ac_precious_vars; do
1678 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1679 eval ac_new_set=\$ac_env_${ac_var}_set
1680 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1681 eval ac_new_val=\$ac_env_${ac_var}_value
1682 case $ac_old_set,$ac_new_set in
1684 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1685 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1688 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1689 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1693 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 # differences in whitespace do not lead to failure.
1695 ac_old_val_w=`echo x $ac_old_val`
1696 ac_new_val_w=`echo x $ac_new_val`
1697 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1698 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1699 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1700 ac_cache_corrupted=:
1702 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1703 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1704 eval $ac_var=\$ac_old_val
1706 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1707 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1708 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1709 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1715 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
1718 case " $ac_configure_args " in
1719 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1720 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1724 if $ac_cache_corrupted; then
1725 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1726 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1727 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1728 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1729 { (exit 1); exit 1; }; }
1749 ac_cpp='$CPP $CPPFLAGS'
1750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 for ac_dir in ../.. "$srcdir"/../..; do
1757 if test -f "$ac_dir/install-sh"; then
1759 ac_install_sh="$ac_aux_dir/install-sh -c"
1761 elif test -f "$ac_dir/install.sh"; then
1763 ac_install_sh="$ac_aux_dir/install.sh -c"
1765 elif test -f "$ac_dir/shtool"; then
1767 ac_install_sh="$ac_aux_dir/shtool install -c"
1771 if test -z "$ac_aux_dir"; then
1772 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&5
1773 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&2;}
1774 { (exit 1); exit 1; }; }
1777 # These three variables are undocumented and unsupported,
1778 # and are intended to be withdrawn in a future Autoconf release.
1779 # They can cause serious problems if a builder's source tree is in a directory
1780 # whose full name contains unusual characters.
1781 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1787 # Make sure we can run config.sub.
1788 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1789 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1790 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1791 { (exit 1); exit 1; }; }
1793 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1794 $as_echo_n "checking build system type... " >&6; }
1795 if test "${ac_cv_build+set}" = set; then
1796 $as_echo_n "(cached) " >&6
1798 ac_build_alias=$build_alias
1799 test "x$ac_build_alias" = x &&
1800 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1801 test "x$ac_build_alias" = x &&
1802 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1803 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1804 { (exit 1); exit 1; }; }
1805 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1806 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1807 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1808 { (exit 1); exit 1; }; }
1811 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1812 $as_echo "$ac_cv_build" >&6; }
1813 case $ac_cv_build in
1815 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1816 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1817 { (exit 1); exit 1; }; };;
1820 ac_save_IFS=$IFS; IFS='-'
1826 # Remember, the first character of IFS is used to create $*,
1827 # except with old shells:
1830 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1833 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1834 $as_echo_n "checking host system type... " >&6; }
1835 if test "${ac_cv_host+set}" = set; then
1836 $as_echo_n "(cached) " >&6
1838 if test "x$host_alias" = x; then
1839 ac_cv_host=$ac_cv_build
1841 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1842 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1843 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1844 { (exit 1); exit 1; }; }
1848 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1849 $as_echo "$ac_cv_host" >&6; }
1852 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1853 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1854 { (exit 1); exit 1; }; };;
1857 ac_save_IFS=$IFS; IFS='-'
1863 # Remember, the first character of IFS is used to create $*,
1864 # except with old shells:
1867 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1870 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1871 $as_echo_n "checking target system type... " >&6; }
1872 if test "${ac_cv_target+set}" = set; then
1873 $as_echo_n "(cached) " >&6
1875 if test "x$target_alias" = x; then
1876 ac_cv_target=$ac_cv_host
1878 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1879 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1880 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1881 { (exit 1); exit 1; }; }
1885 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1886 $as_echo "$ac_cv_target" >&6; }
1887 case $ac_cv_target in
1889 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1890 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1891 { (exit 1); exit 1; }; };;
1893 target=$ac_cv_target
1894 ac_save_IFS=$IFS; IFS='-'
1900 # Remember, the first character of IFS is used to create $*,
1901 # except with old shells:
1904 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1907 # The aliases save the names the user supplied, while $host etc.
1908 # will get canonicalized.
1909 test -n "$target_alias" &&
1910 test "$program_prefix$program_suffix$program_transform_name" = \
1912 program_prefix=${target_alias}-
1914 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 $as_echo_n "checking for $ac_word... " >&6; }
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 $as_echo_n "(cached) " >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC="$CC" # Let the user override the test.
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1932 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1933 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 if test -n "$CC"; then
1944 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1945 $as_echo "$CC" >&6; }
1947 { $as_echo "$as_me:$LINENO: result: no" >&5
1948 $as_echo "no" >&6; }
1953 if test -z "$ac_cv_prog_CC"; then
1955 # Extract the first word of "gcc", so it can be a program name with args.
1956 set dummy gcc; ac_word=$2
1957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1958 $as_echo_n "checking for $ac_word... " >&6; }
1959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1960 $as_echo_n "(cached) " >&6
1962 if test -n "$ac_ct_CC"; then
1963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1972 ac_cv_prog_ac_ct_CC="gcc"
1973 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1983 if test -n "$ac_ct_CC"; then
1984 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1985 $as_echo "$ac_ct_CC" >&6; }
1987 { $as_echo "$as_me:$LINENO: result: no" >&5
1988 $as_echo "no" >&6; }
1991 if test "x$ac_ct_CC" = x; then
1994 case $cross_compiling:$ac_tool_warned in
1996 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1997 whose name does not start with the host triplet. If you think this
1998 configuration is useful to you, please write to autoconf@gnu.org." >&5
1999 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2000 whose name does not start with the host triplet. If you think this
2001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2002 ac_tool_warned=yes ;;
2012 ac_cpp='$CPP $CPPFLAGS'
2013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2016 if test -n "$ac_tool_prefix"; then
2017 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2018 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2019 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2020 $as_echo_n "checking for $ac_word... " >&6; }
2021 if test "${ac_cv_prog_CC+set}" = set; then
2022 $as_echo_n "(cached) " >&6
2024 if test -n "$CC"; then
2025 ac_cv_prog_CC="$CC" # Let the user override the test.
2027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 test -z "$as_dir" && as_dir=.
2032 for ac_exec_ext in '' $ac_executable_extensions; do
2033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2034 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2035 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 if test -n "$CC"; then
2046 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2047 $as_echo "$CC" >&6; }
2049 { $as_echo "$as_me:$LINENO: result: no" >&5
2050 $as_echo "no" >&6; }
2055 if test -z "$ac_cv_prog_CC"; then
2057 # Extract the first word of "gcc", so it can be a program name with args.
2058 set dummy gcc; ac_word=$2
2059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2062 $as_echo_n "(cached) " >&6
2064 if test -n "$ac_ct_CC"; then
2065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074 ac_cv_prog_ac_ct_CC="gcc"
2075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2085 if test -n "$ac_ct_CC"; then
2086 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2087 $as_echo "$ac_ct_CC" >&6; }
2089 { $as_echo "$as_me:$LINENO: result: no" >&5
2090 $as_echo "no" >&6; }
2093 if test "x$ac_ct_CC" = x; then
2096 case $cross_compiling:$ac_tool_warned in
2098 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2099 whose name does not start with the host triplet. If you think this
2100 configuration is useful to you, please write to autoconf@gnu.org." >&5
2101 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2102 whose name does not start with the host triplet. If you think this
2103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2104 ac_tool_warned=yes ;;
2112 if test -z "$CC"; then
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2115 set dummy ${ac_tool_prefix}cc; 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}cc"
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; }
2153 if test -z "$CC"; then
2154 # Extract the first word of "cc", so it can be a program name with args.
2155 set dummy cc; 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_CC+set}" = set; then
2159 $as_echo_n "(cached) " >&6
2161 if test -n "$CC"; then
2162 ac_cv_prog_CC="$CC" # Let the user override the test.
2165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2173 ac_prog_rejected=yes
2177 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 if test $ac_prog_rejected = yes; then
2185 # We found a bogon in the path, so make sure we never use it.
2186 set dummy $ac_cv_prog_CC
2188 if test $# != 0; then
2189 # We chose a different compiler from the bogus one.
2190 # However, it has the same basename, so the bogon will be chosen
2191 # first if we set CC to just the basename; use the full file name.
2193 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2199 if test -n "$CC"; then
2200 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2201 $as_echo "$CC" >&6; }
2203 { $as_echo "$as_me:$LINENO: result: no" >&5
2204 $as_echo "no" >&6; }
2209 if test -z "$CC"; then
2210 if test -n "$ac_tool_prefix"; then
2211 for ac_prog in cl.exe
2213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 $as_echo_n "checking for $ac_word... " >&6; }
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 $as_echo_n "(cached) " >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC="$CC" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$CC"; then
2242 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2243 $as_echo "$CC" >&6; }
2245 { $as_echo "$as_me:$LINENO: result: no" >&5
2246 $as_echo "no" >&6; }
2250 test -n "$CC" && break
2253 if test -z "$CC"; then
2255 for ac_prog in cl.exe
2257 # Extract the first word of "$ac_prog", so it can be a program name with args.
2258 set dummy $ac_prog; ac_word=$2
2259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 $as_echo_n "checking for $ac_word... " >&6; }
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 $as_echo_n "(cached) " >&6
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2274 ac_cv_prog_ac_ct_CC="$ac_prog"
2275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2285 if test -n "$ac_ct_CC"; then
2286 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2287 $as_echo "$ac_ct_CC" >&6; }
2289 { $as_echo "$as_me:$LINENO: result: no" >&5
2290 $as_echo "no" >&6; }
2294 test -n "$ac_ct_CC" && break
2297 if test "x$ac_ct_CC" = x; then
2300 case $cross_compiling:$ac_tool_warned in
2302 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2303 whose name does not start with the host triplet. If you think this
2304 configuration is useful to you, please write to autoconf@gnu.org." >&5
2305 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2306 whose name does not start with the host triplet. If you think this
2307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2308 ac_tool_warned=yes ;;
2317 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2318 See \`config.log' for more details." >&5
2319 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2320 See \`config.log' for more details." >&2;}
2321 { (exit 1); exit 1; }; }
2323 # Provide some information about the compiler.
2324 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2327 { (ac_try="$ac_compiler --version >&5"
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2333 $as_echo "$ac_try_echo") >&5
2334 (eval "$ac_compiler --version >&5") 2>&5
2336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (ac_try="$ac_compiler -v >&5"
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2344 $as_echo "$ac_try_echo") >&5
2345 (eval "$ac_compiler -v >&5") 2>&5
2347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (ac_try="$ac_compiler -V >&5"
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2355 $as_echo "$ac_try_echo") >&5
2356 (eval "$ac_compiler -V >&5") 2>&5
2358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2361 cat >conftest.$ac_ext <<_ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 ac_clean_files_save=$ac_clean_files
2377 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2381 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 $as_echo_n "checking for C compiler default output file name... " >&6; }
2383 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385 # The possible output files:
2386 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2389 for ac_file in $ac_files
2392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2393 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2398 if { (ac_try="$ac_link_default"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2404 $as_echo "$ac_try_echo") >&5
2405 (eval "$ac_link_default") 2>&5
2407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2409 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2410 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2411 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2412 # so that the user can short-circuit this test for compilers unknown to
2414 for ac_file in $ac_files ''
2416 test -f "$ac_file" || continue
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2421 # We found the default executable, but exeext='' is most
2425 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2427 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2429 # We set ac_cv_exeext here because the later test for it is not
2430 # safe: cross compilers may not add the suffix if given an `-o'
2431 # argument, so we may need to know it at that point already.
2432 # Even if this section looks crufty: it has the advantage of
2439 test "$ac_cv_exeext" = no && ac_cv_exeext=
2445 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2446 $as_echo "$ac_file" >&6; }
2447 if test -z "$ac_file"; then
2448 $as_echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&5
2453 $as_echo "$as_me: error: C compiler cannot create executables
2454 See \`config.log' for more details." >&2;}
2455 { (exit 77); exit 77; }; }
2458 ac_exeext=$ac_cv_exeext
2460 # Check that the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2463 $as_echo_n "checking whether the C compiler works... " >&6; }
2464 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2465 # If not cross compiling, check that we can run a simple program.
2466 if test "$cross_compiling" != yes; then
2467 if { ac_try='./$ac_file'
2468 { (case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2473 $as_echo "$ac_try_echo") >&5
2474 (eval "$ac_try") 2>&5
2476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; }; then
2480 if test "$cross_compiling" = maybe; then
2483 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details." >&5
2486 $as_echo "$as_me: error: cannot run C compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details." >&2;}
2489 { (exit 1); exit 1; }; }
2493 { $as_echo "$as_me:$LINENO: result: yes" >&5
2494 $as_echo "yes" >&6; }
2496 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2497 ac_clean_files=$ac_clean_files_save
2498 # Check that the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2501 $as_echo_n "checking whether we are cross compiling... " >&6; }
2502 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2503 $as_echo "$cross_compiling" >&6; }
2505 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2506 $as_echo_n "checking for suffix of executables... " >&6; }
2507 if { (ac_try="$ac_link"
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2513 $as_echo "$ac_try_echo") >&5
2514 (eval "$ac_link") 2>&5
2516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; then
2518 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2519 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2520 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 for ac_file in conftest.exe conftest conftest.*; do
2523 test -f "$ac_file" || continue
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2533 See \`config.log' for more details." >&5
2534 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2539 rm -f conftest$ac_cv_exeext
2540 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2541 $as_echo "$ac_cv_exeext" >&6; }
2543 rm -f conftest.$ac_ext
2544 EXEEXT=$ac_cv_exeext
2546 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2547 $as_echo_n "checking for suffix of object files... " >&6; }
2548 if test "${ac_cv_objext+set}" = set; then
2549 $as_echo_n "(cached) " >&6
2551 cat >conftest.$ac_ext <<_ACEOF
2554 cat confdefs.h >>conftest.$ac_ext
2555 cat >>conftest.$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2566 rm -f conftest.o conftest.obj
2567 if { (ac_try="$ac_compile"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2573 $as_echo "$ac_try_echo") >&5
2574 (eval "$ac_compile") 2>&5
2576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2591 See \`config.log' for more details." >&5
2592 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2597 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2599 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2600 $as_echo "$ac_cv_objext" >&6; }
2601 OBJEXT=$ac_cv_objext
2603 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2604 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2605 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2606 $as_echo_n "(cached) " >&6
2608 cat >conftest.$ac_ext <<_ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2626 rm -f conftest.$ac_objext
2627 if { (ac_try="$ac_compile"
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2633 $as_echo "$ac_try_echo") >&5
2634 (eval "$ac_compile") 2>conftest.er1
2636 grep -v '^ *+' conftest.er1 >conftest.err
2638 cat conftest.err >&5
2639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } && {
2641 test -z "$ac_c_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.$ac_objext; then
2646 $as_echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2656 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2657 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2658 if test $ac_compiler_gnu = yes; then
2663 ac_test_CFLAGS=${CFLAGS+set}
2664 ac_save_CFLAGS=$CFLAGS
2665 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2666 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2667 if test "${ac_cv_prog_cc_g+set}" = set; then
2668 $as_echo_n "(cached) " >&6
2670 ac_save_c_werror_flag=$ac_c_werror_flag
2671 ac_c_werror_flag=yes
2674 cat >conftest.$ac_ext <<_ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2689 rm -f conftest.$ac_objext
2690 if { (ac_try="$ac_compile"
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2696 $as_echo "$ac_try_echo") >&5
2697 (eval "$ac_compile") 2>conftest.er1
2699 grep -v '^ *+' conftest.er1 >conftest.err
2701 cat conftest.err >&5
2702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } && {
2704 test -z "$ac_c_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.$ac_objext; then
2709 $as_echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2713 cat >conftest.$ac_ext <<_ACEOF
2716 cat confdefs.h >>conftest.$ac_ext
2717 cat >>conftest.$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2728 rm -f conftest.$ac_objext
2729 if { (ac_try="$ac_compile"
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2735 $as_echo "$ac_try_echo") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_c_werror_flag=$ac_save_c_werror_flag
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_compile") 2>conftest.er1
2778 grep -v '^ *+' conftest.er1 >conftest.err
2780 cat conftest.err >&5
2781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest.$ac_objext; then
2788 $as_echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 ac_c_werror_flag=$ac_save_c_werror_flag
2803 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2804 $as_echo "$ac_cv_prog_cc_g" >&6; }
2805 if test "$ac_test_CFLAGS" = set; then
2806 CFLAGS=$ac_save_CFLAGS
2807 elif test $ac_cv_prog_cc_g = yes; then
2808 if test "$GCC" = yes; then
2814 if test "$GCC" = yes; then
2820 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2822 if test "${ac_cv_prog_cc_c89+set}" = set; then
2823 $as_echo_n "(cached) " >&6
2825 ac_cv_prog_cc_c89=no
2827 cat >conftest.$ac_ext <<_ACEOF
2830 cat confdefs.h >>conftest.$ac_ext
2831 cat >>conftest.$ac_ext <<_ACEOF
2832 /* end confdefs.h. */
2835 #include <sys/types.h>
2836 #include <sys/stat.h>
2837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2838 struct buf { int x; };
2839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2840 static char *e (p, i)
2846 static char *f (char * (*g) (char **, int), char **p, ...)
2851 s = g (p, va_arg (v,int));
2856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2857 function prototypes and stuff, but not '\xHH' hex character constants.
2858 These don't provoke an error unfortunately, instead are silently treated
2859 as 'x'. The following induces an error, until -std is added to get
2860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2861 array size at least. It's necessary to write '\x00'==0 to get something
2862 that's true only with -std. */
2863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2866 inside strings and character constants. */
2868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2870 int test (int i, double x);
2871 struct s1 {int (*f) (int a);};
2872 struct s2 {int (*f) (double a);};
2873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2887 CC="$ac_save_CC $ac_arg"
2888 rm -f conftest.$ac_objext
2889 if { (ac_try="$ac_compile"
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2895 $as_echo "$ac_try_echo") >&5
2896 (eval "$ac_compile") 2>conftest.er1
2898 grep -v '^ *+' conftest.er1 >conftest.err
2900 cat conftest.err >&5
2901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } && {
2903 test -z "$ac_c_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext; then
2906 ac_cv_prog_cc_c89=$ac_arg
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2914 rm -f core conftest.err conftest.$ac_objext
2915 test "x$ac_cv_prog_cc_c89" != "xno" && break
2917 rm -f conftest.$ac_ext
2922 case "x$ac_cv_prog_cc_c89" in
2924 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2925 $as_echo "none needed" >&6; } ;;
2927 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2928 $as_echo "unsupported" >&6; } ;;
2930 CC="$CC $ac_cv_prog_cc_c89"
2931 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2937 ac_cpp='$CPP $CPPFLAGS'
2938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2942 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2943 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2944 { (exit 1); exit 1; }; }
2946 if test -n "$ac_tool_prefix"; then
2947 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2948 set dummy ${ac_tool_prefix}g++; ac_word=$2
2949 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if test "${ac_cv_prog_CXX+set}" = set; then
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$CXX"; then
2955 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2964 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2965 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$CXX"; then
2976 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2977 $as_echo "$CXX" >&6; }
2979 { $as_echo "$as_me:$LINENO: result: no" >&5
2980 $as_echo "no" >&6; }
2985 if test -z "$ac_cv_prog_CXX"; then
2987 # Extract the first word of "g++", so it can be a program name with args.
2988 set dummy g++; ac_word=$2
2989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$ac_ct_CXX"; then
2995 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004 ac_cv_prog_ac_ct_CXX="g++"
3005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3015 if test -n "$ac_ct_CXX"; then
3016 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3017 $as_echo "$ac_ct_CXX" >&6; }
3019 { $as_echo "$as_me:$LINENO: result: no" >&5
3020 $as_echo "no" >&6; }
3023 if test "x$ac_ct_CXX" = x; then
3026 case $cross_compiling:$ac_tool_warned in
3028 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3029 whose name does not start with the host triplet. If you think this
3030 configuration is useful to you, please write to autoconf@gnu.org." >&5
3031 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3032 whose name does not start with the host triplet. If you think this
3033 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3034 ac_tool_warned=yes ;;
3039 CXX="$ac_cv_prog_CXX"
3042 if test -z "$CXX"; then
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
3045 set dummy ${ac_tool_prefix}g++; ac_word=$2
3046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_CXX+set}" = set; then
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$CXX"; then
3052 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061 ac_cv_prog_CXX="${ac_tool_prefix}g++"
3062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$CXX"; then
3073 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3074 $as_echo "$CXX" >&6; }
3076 { $as_echo "$as_me:$LINENO: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$ac_cv_prog_CXX"; then
3084 # Extract the first word of "g++", so it can be a program name with args.
3085 set dummy g++; ac_word=$2
3086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$ac_ct_CXX"; then
3092 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CXX="g++"
3102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3112 if test -n "$ac_ct_CXX"; then
3113 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3114 $as_echo "$ac_ct_CXX" >&6; }
3116 { $as_echo "$as_me:$LINENO: result: no" >&5
3117 $as_echo "no" >&6; }
3120 if test "x$ac_ct_CXX" = x; then
3123 case $cross_compiling:$ac_tool_warned in
3125 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3126 whose name does not start with the host triplet. If you think this
3127 configuration is useful to you, please write to autoconf@gnu.org." >&5
3128 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3129 whose name does not start with the host triplet. If you think this
3130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3131 ac_tool_warned=yes ;;
3136 CXX="$ac_cv_prog_CXX"
3141 ac_cpp='$CXXCPP $CPPFLAGS'
3142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3145 if test -z "$CXX"; then
3146 if test -n "$CCC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_CXX+set}" = set; then
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CXX"; then
3160 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CXX"; then
3181 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3182 $as_echo "$CXX" >&6; }
3184 { $as_echo "$as_me:$LINENO: result: no" >&5
3185 $as_echo "no" >&6; }
3189 test -n "$CXX" && break
3192 if test -z "$CXX"; then
3194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy $ac_prog; ac_word=$2
3198 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$ac_ct_CXX"; then
3204 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_ac_ct_CXX="$ac_prog"
3214 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3224 if test -n "$ac_ct_CXX"; then
3225 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3226 $as_echo "$ac_ct_CXX" >&6; }
3228 { $as_echo "$as_me:$LINENO: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$ac_ct_CXX" && break
3236 if test "x$ac_ct_CXX" = x; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3242 whose name does not start with the host triplet. If you think this
3243 configuration is useful to you, please write to autoconf@gnu.org." >&5
3244 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3245 whose name does not start with the host triplet. If you think this
3246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3247 ac_tool_warned=yes ;;
3255 # Provide some information about the compiler.
3256 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3259 { (ac_try="$ac_compiler --version >&5"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3265 $as_echo "$ac_try_echo") >&5
3266 (eval "$ac_compiler --version >&5") 2>&5
3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }
3270 { (ac_try="$ac_compiler -v >&5"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3276 $as_echo "$ac_try_echo") >&5
3277 (eval "$ac_compiler -v >&5") 2>&5
3279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }
3281 { (ac_try="$ac_compiler -V >&5"
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3287 $as_echo "$ac_try_echo") >&5
3288 (eval "$ac_compiler -V >&5") 2>&5
3290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }
3293 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3294 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3295 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3296 $as_echo_n "(cached) " >&6
3298 cat >conftest.$ac_ext <<_ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3323 $as_echo "$ac_try_echo") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && {
3331 test -z "$ac_cxx_werror_flag" ||
3332 test ! -s conftest.err
3333 } && test -s conftest.$ac_objext; then
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3346 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3348 if test $ac_compiler_gnu = yes; then
3353 ac_test_CXXFLAGS=${CXXFLAGS+set}
3354 ac_save_CXXFLAGS=$CXXFLAGS
3355 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3356 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3357 if test "${ac_cv_prog_cxx_g+set}" = set; then
3358 $as_echo_n "(cached) " >&6
3360 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3361 ac_cxx_werror_flag=yes
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3379 rm -f conftest.$ac_objext
3380 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } && {
3394 test -z "$ac_cxx_werror_flag" ||
3395 test ! -s conftest.err
3396 } && test -s conftest.$ac_objext; then
3397 ac_cv_prog_cxx_g=yes
3399 $as_echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3403 cat >conftest.$ac_ext <<_ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3418 rm -f conftest.$ac_objext
3419 if { (ac_try="$ac_compile"
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3425 $as_echo "$ac_try_echo") >&5
3426 (eval "$ac_compile") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } && {
3433 test -z "$ac_cxx_werror_flag" ||
3434 test ! -s conftest.err
3435 } && test -s conftest.$ac_objext; then
3438 $as_echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3441 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3443 cat >conftest.$ac_ext <<_ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.$ac_objext
3459 if { (ac_try="$ac_compile"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3465 $as_echo "$ac_try_echo") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3468 grep -v '^ *+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_cxx_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3476 ac_cv_prog_cxx_g=yes
3478 $as_echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3493 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3494 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3495 if test "$ac_test_CXXFLAGS" = set; then
3496 CXXFLAGS=$ac_save_CXXFLAGS
3497 elif test $ac_cv_prog_cxx_g = yes; then
3498 if test "$GXX" = yes; then
3504 if test "$GXX" = yes; then
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3517 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3518 { (exit 1); exit 1; }; }
3521 CXXFLAGS='$(CFLAGS)'
3524 test "$program_prefix" != NONE &&
3525 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3526 # Use a double $ so make ignores it.
3527 test "$program_suffix" != NONE &&
3528 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3529 # Double any \ or $.
3530 # By default was `s,x,x', remove it if useless.
3531 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3532 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3536 { $as_echo "$as_me:$LINENO: checking for libiconv in -liconv" >&5
3537 $as_echo_n "checking for libiconv in -liconv... " >&6; }
3538 if test "${ac_cv_lib_iconv_libiconv+set}" = set; then
3539 $as_echo_n "(cached) " >&6
3541 ac_check_lib_save_LIBS=$LIBS
3542 LIBS="-liconv $LIBS"
3543 cat >conftest.$ac_ext <<_ACEOF
3546 cat confdefs.h >>conftest.$ac_ext
3547 cat >>conftest.$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3550 /* Override any GCC internal prototype to avoid an error.
3551 Use char because int might match the return type of a GCC
3552 builtin and then its argument prototype would still apply. */
3565 rm -f conftest.$ac_objext conftest$ac_exeext
3566 if { (ac_try="$ac_link"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3572 $as_echo "$ac_try_echo") >&5
3573 (eval "$ac_link") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } && {
3580 test -z "$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3582 } && test -s conftest$ac_exeext && {
3583 test "$cross_compiling" = yes ||
3584 $as_test_x conftest$ac_exeext
3586 ac_cv_lib_iconv_libiconv=yes
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 ac_cv_lib_iconv_libiconv=no
3594 rm -rf conftest.dSYM
3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3596 conftest$ac_exeext conftest.$ac_ext
3597 LIBS=$ac_check_lib_save_LIBS
3599 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv" >&5
3600 $as_echo "$ac_cv_lib_iconv_libiconv" >&6; }
3601 if test $ac_cv_lib_iconv_libiconv = yes; then
3607 INSTALL="/bin/sh "`cd $srcdir/../..; echo $(pwd)/install-sh -c`
3609 # Find a good install program. We prefer a C program (faster),
3610 # so one script is as good as another. But avoid the broken or
3611 # incompatible versions:
3612 # SysV /etc/install, /usr/sbin/install
3613 # SunOS /usr/etc/install
3614 # IRIX /sbin/install
3616 # AmigaOS /C/install, which installs bootblocks on floppy discs
3617 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3618 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3619 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3620 # OS/2's system install, which has a completely different semantic
3621 # ./install, which can be erroneously created by make from ./install.sh.
3622 # Reject install programs that cannot install multiple files.
3623 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3624 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3625 if test -z "$INSTALL"; then
3626 if test "${ac_cv_path_install+set}" = set; then
3627 $as_echo_n "(cached) " >&6
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir=.
3634 # Account for people who put trailing slashes in PATH elements.
3636 ./ | .// | /cC/* | \
3637 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3638 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3641 # OSF1 and SCO ODT 3.0 have their own names for install.
3642 # Don't use installbsd from OSF since it installs stuff as root
3644 for ac_prog in ginstall scoinst install; do
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3647 if test $ac_prog = install &&
3648 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3649 # AIX install. It has an incompatible calling convention.
3651 elif test $ac_prog = install &&
3652 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3653 # program-specific install script used by HP pwplus--don't use.
3656 rm -rf conftest.one conftest.two conftest.dir
3657 echo one > conftest.one
3658 echo two > conftest.two
3660 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3661 test -s conftest.one && test -s conftest.two &&
3662 test -s conftest.dir/conftest.one &&
3663 test -s conftest.dir/conftest.two
3665 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3678 rm -rf conftest.one conftest.two conftest.dir
3681 if test "${ac_cv_path_install+set}" = set; then
3682 INSTALL=$ac_cv_path_install
3684 # As a last resort, use the slow shell script. Don't cache a
3685 # value for INSTALL within a source directory, because that will
3686 # break other packages using the cache if that directory is
3687 # removed, or if the value is a relative name.
3688 INSTALL=$ac_install_sh
3691 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3692 $as_echo "$INSTALL" >&6; }
3694 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3695 # It thinks the first close brace ends the variable substitution.
3696 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3698 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3700 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3704 ac_config_files="$ac_config_files Makefile"
3706 cat >confcache <<\_ACEOF
3707 # This file is a shell script that caches the results of configure
3708 # tests run on this system so they can be shared between configure
3709 # scripts and configure runs, see configure's option --config-cache.
3710 # It is not useful on other systems. If it contains results you don't
3711 # want to keep, you may remove or edit it.
3713 # config.status only pays attention to the cache file if you give it
3714 # the --recheck option to rerun configure.
3716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3722 # The following way of writing the cache mishandles newlines in values,
3723 # but we know of no workaround that is simple, portable, and efficient.
3724 # So, we kill variables containing newlines.
3725 # Ultrix sh set writes to stderr and can't be redirected directly,
3726 # and sets the high bit in the cache file unless we assign to the vars.
3728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3729 eval ac_val=\$$ac_var
3733 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3734 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3737 _ | IFS | as_nl) ;; #(
3738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3739 *) $as_unset $ac_var ;;
3745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3746 *${as_nl}ac_space=\ *)
3747 # `set' does not quote correctly, so add quotes (double-quote
3748 # substitution turns \\\\ into \\, and sed turns \\ into \).
3751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3754 # `set' quotes correctly as required by POSIX, so do not add quotes.
3755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3769 if test -w "$cache_file"; then
3770 test "x$cache_file" != "x/dev/null" &&
3771 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3772 $as_echo "$as_me: updating cache $cache_file" >&6;}
3773 cat confcache >$cache_file
3775 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3782 # Let make expand exec_prefix.
3783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3785 # Transform confdefs.h into DEFS.
3786 # Protect against shell expansion while executing Makefile rules.
3787 # Protect against Makefile macro expansion.
3789 # If the first sed substitution is executed (which looks for macros that
3790 # take arguments), then branch to the quote section. Otherwise,
3791 # look for a macro that doesn't take arguments.
3801 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3803 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3807 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3820 DEFS=`sed -n "$ac_script" confdefs.h`
3825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3826 # 1. Remove the extension, and $U if already installed.
3827 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3828 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3829 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3830 # will be set to the directory where LIBOBJS objects are built.
3831 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3832 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3836 LTLIBOBJS=$ac_ltlibobjs
3840 : ${CONFIG_STATUS=./config.status}
3842 ac_clean_files_save=$ac_clean_files
3843 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3844 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3845 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3846 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3848 # Generated by $as_me.
3849 # Run this file to recreate the current configuration.
3850 # Compiler output produced by configure, useful for debugging
3851 # configure, is in config.log if it exists.
3856 SHELL=\${CONFIG_SHELL-$SHELL}
3859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3860 ## --------------------- ##
3861 ## M4sh Initialization. ##
3862 ## --------------------- ##
3864 # Be more Bourne compatible
3865 DUALCASE=1; export DUALCASE # for MKS sh
3866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3869 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3870 # is contrary to our usage. Disable this feature.
3871 alias -g '${1+"$@"}'='"$@"'
3872 setopt NO_GLOB_SUBST
3874 case `(set -o) 2>/dev/null` in
3875 *posix*) set -o posix ;;
3884 # Avoid depending upon Character Ranges.
3885 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3886 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3887 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3888 as_cr_digits='0123456789'
3889 as_cr_alnum=$as_cr_Letters$as_cr_digits
3894 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3895 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3898 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3899 as_echo='printf %s\n'
3900 as_echo_n='printf %s'
3902 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3903 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3904 as_echo_n='/usr/ucb/echo -n'
3906 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3907 as_echo_n_body='eval
3911 expr "X$arg" : "X\\(.*\\)$as_nl";
3912 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3914 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3916 export as_echo_n_body
3917 as_echo_n='sh -c $as_echo_n_body as_echo'
3920 as_echo='sh -c $as_echo_body as_echo'
3923 # The user is always right.
3924 if test "${PATH_SEPARATOR+set}" != set; then
3926 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3927 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3932 # Support unset when possible.
3933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3941 # We need space, tab and new line, in precisely that order. Quoting is
3942 # there to prevent editors from complaining about space-tab.
3943 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3944 # splitting by setting IFS to empty value.)
3947 # Find who we are. Look in the path if we contain no directory separator.
3949 *[\\/]* ) as_myself=$0 ;;
3950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3961 # We did not find ourselves, most probably we were run as `sh COMMAND'
3962 # in which case we are not to be found in the path.
3963 if test "x$as_myself" = x; then
3966 if test ! -f "$as_myself"; then
3967 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3968 { (exit 1); exit 1; }
3971 # Work around bugs in pre-3.0 UWIN ksh.
3972 for as_var in ENV MAIL MAILPATH
3973 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3985 # Required to use basename.
3986 if expr a : '\(a\)' >/dev/null 2>&1 &&
3987 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3993 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3994 as_basename=basename
4000 # Name of the executable.
4001 as_me=`$as_basename -- "$0" ||
4002 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4003 X"$0" : 'X\(//\)$' \| \
4004 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4006 sed '/^.*\/\([^/][^/]*\)\/*$/{
4027 test "x$as_lineno_1" != "x$as_lineno_2" &&
4028 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4030 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4031 # uniformly replaced by the line number. The first 'sed' inserts a
4032 # line-number line after each line using $LINENO; the second 'sed'
4033 # does the real work. The second script uses 'N' to pair each
4034 # line-number line with the line containing $LINENO, and appends
4035 # trailing '-' during substitution so that $LINENO is not a special
4037 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4038 # scripts with optimization help from Paolo Bonzini. Blame Lee
4039 # E. McMahon (1931-1989) for sed's syntax. :-)
4051 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4055 chmod +x "$as_me.lineno" ||
4056 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4057 { (exit 1); exit 1; }; }
4059 # Don't try to exec as it changes $[0], causing all sort of problems
4060 # (the dirname of $[0] is not the place where we might find the
4061 # original and so on. Autoconf is especially sensitive to this).
4063 # Exit status is that of the last command.
4068 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4074 ECHO_C= ECHO_N= ECHO_T=
4077 case `echo 'x\c'` in
4078 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4084 if expr a : '\(a\)' >/dev/null 2>&1 &&
4085 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4091 rm -f conf$$ conf$$.exe conf$$.file
4092 if test -d conf$$.dir; then
4093 rm -f conf$$.dir/conf$$.file
4096 mkdir conf$$.dir 2>/dev/null
4098 if (echo >conf$$.file) 2>/dev/null; then
4099 if ln -s conf$$.file conf$$ 2>/dev/null; then
4101 # ... but there are two gotchas:
4102 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4103 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4104 # In both cases, we have to default to `cp -p'.
4105 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4107 elif ln conf$$.file conf$$ 2>/dev/null; then
4115 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4116 rmdir conf$$.dir 2>/dev/null
4118 if mkdir -p . 2>/dev/null; then
4121 test -d ./-p && rmdir ./-p
4125 if test -x / >/dev/null 2>&1; then
4128 if ls -dL / >/dev/null 2>&1; then
4135 if test -d "$1"; then
4141 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4142 ???[sx]*):;;*)false;;esac;fi
4146 as_executable_p=$as_test_x
4148 # Sed expression to map a string onto a valid CPP name.
4149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4151 # Sed expression to map a string onto a valid variable name.
4152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4157 # Save the log message, to keep $[0] and so on meaningful, and to
4158 # report actual input values of CONFIG_FILES etc. instead of their
4159 # values after options handling.
4161 This file was extended by $as_me, which was
4162 generated by GNU Autoconf 2.62. Invocation command line was
4164 CONFIG_FILES = $CONFIG_FILES
4165 CONFIG_HEADERS = $CONFIG_HEADERS
4166 CONFIG_LINKS = $CONFIG_LINKS
4167 CONFIG_COMMANDS = $CONFIG_COMMANDS
4170 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4176 # Files that config.status was made for.
4177 config_files="$ac_config_files"
4181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4183 \`$as_me' instantiates files from templates according to the
4184 current configuration.
4186 Usage: $0 [OPTIONS] [FILE]...
4188 -h, --help print this help, then exit
4189 -V, --version print version number and configuration settings, then exit
4190 -q, --quiet do not print progress messages
4191 -d, --debug don't remove temporary files
4192 --recheck update $as_me by reconfiguring in the same conditions
4193 --file=FILE[:TEMPLATE]
4194 instantiate the configuration file FILE
4196 Configuration files:
4199 Report bugs to <bug-autoconf@gnu.org>."
4202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4205 configured by $0, generated by GNU Autoconf 2.62,
4206 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4208 Copyright (C) 2008 Free Software Foundation, Inc.
4209 This config.status script is free software; the Free Software Foundation
4210 gives unlimited permission to copy, distribute and modify it."
4215 test -n "\$AWK" || AWK=awk
4218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4219 # The default lists apply if the user does not specify any file.
4225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4237 # Handling of the options.
4238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4241 $as_echo "$ac_cs_version"; exit ;;
4242 --debug | --debu | --deb | --de | --d | -d )
4244 --file | --fil | --fi | --f )
4247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4249 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4250 ac_need_defaults=false;;
4251 --he | --h | --help | --hel | -h )
4252 $as_echo "$ac_cs_usage"; exit ;;
4253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4254 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4258 -*) { $as_echo "$as_me: error: unrecognized option: $1
4259 Try \`$0 --help' for more information." >&2
4260 { (exit 1); exit 1; }; } ;;
4262 *) ac_config_targets="$ac_config_targets $1"
4263 ac_need_defaults=false ;;
4269 ac_configure_extra_args=
4271 if $ac_cs_silent; then
4273 ac_configure_extra_args="$ac_configure_extra_args --silent"
4277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4278 if \$ac_cs_recheck; then
4279 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4281 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4282 CONFIG_SHELL='$SHELL'
4288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4293 ## Running $as_me. ##
4299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4304 # Handling of arguments.
4305 for ac_config_target in $ac_config_targets
4307 case $ac_config_target in
4308 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4310 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4311 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4312 { (exit 1); exit 1; }; };;
4317 # If the user did not use the arguments to specify the items to instantiate,
4318 # then the envvar interface is used. Set only those that are not.
4319 # We use the long form for the default assignment because of an extremely
4320 # bizarre bug on SunOS 4.1.3.
4321 if $ac_need_defaults; then
4322 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4325 # Have a temporary directory for convenience. Make it in the build tree
4326 # simply because there is no reason against having it here, and in addition,
4327 # creating and moving files from /tmp can sometimes cause problems.
4328 # Hook for its removal unless debugging.
4329 # Note that there is a small window in which the directory will not be cleaned:
4330 # after its creation but before its name has been assigned to `$tmp'.
4334 trap 'exit_status=$?
4335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4337 trap '{ (exit 1); exit 1; }' 1 2 13 15
4339 # Create a (secure) tmp directory for tmp files.
4342 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4343 test -n "$tmp" && test -d "$tmp"
4346 tmp=./conf$$-$RANDOM
4347 (umask 077 && mkdir "$tmp")
4350 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4351 { (exit 1); exit 1; }
4354 # Set up the scripts for CONFIG_FILES section.
4355 # No need to generate them if there are no CONFIG_FILES.
4356 # This happens for instance with `./config.status config.h'.
4357 if test -n "$CONFIG_FILES"; then
4361 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4362 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4368 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4373 echo "cat >conf$$subs.awk <<_ACEOF" &&
4374 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4377 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4378 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4379 { (exit 1); exit 1; }; }
4380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4382 for ac_last_try in false false false false false :; do
4383 . ./conf$$subs.sh ||
4384 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4385 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4386 { (exit 1); exit 1; }; }
4388 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
4390 elif $ac_last_try; then
4391 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4392 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4393 { (exit 1); exit 1; }; }
4395 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4401 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4405 s/^/S["/; s/!.*/"]=/
4415 s/\(.\{148\}\).*/\1/
4417 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4422 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4429 s/\(.\{148\}\).*/\1/
4431 s/["\\]/\\&/g; s/^/"/; s/$/"/
4435 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4440 ' <conf$$subs.awk | sed '
4445 ' >>$CONFIG_STATUS || ac_write_fail=1
4446 rm -f conf$$subs.awk
4447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4449 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4450 for (key in S) S_is_set[key] = 1
4456 nfields = split(line, field, "@")
4458 len = length(field[1])
4459 for (i = 2; i < nfields; i++) {
4461 keylen = length(key)
4462 if (S_is_set[key]) {
4464 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4465 len += length(value) + length(field[++i])
4476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4477 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4478 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4481 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4482 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4483 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4484 { (exit 1); exit 1; }; }
4487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4489 # trailing colons and then remove the whole line if VPATH becomes empty
4490 # (actually we leave an empty line to preserve line numbers).
4491 if test "x$srcdir" = x.; then
4492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4496 s/^\([^=]*=[ ]*\):*/\1/
4502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4503 fi # test -n "$CONFIG_FILES"
4506 eval set X " :F $CONFIG_FILES "
4511 :[FHLC]) ac_mode=$ac_tag; continue;;
4513 case $ac_mode$ac_tag in
4515 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4516 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4517 { (exit 1); exit 1; }; };;
4518 :[FH]-) ac_tag=-:-;;
4519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4536 -) ac_f="$tmp/stdin";;
4537 *) # Look for the file first in the build tree, then in the source tree
4538 # (if the path is not absolute). The absolute path cannot be DOS-style,
4539 # because $ac_f cannot contain `:'.
4543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4545 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4546 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4547 { (exit 1); exit 1; }; };;
4549 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4550 ac_file_inputs="$ac_file_inputs '$ac_f'"
4553 # Let's still pretend it is `configure' which instantiates (i.e., don't
4554 # use $as_me), people would be surprised to read:
4555 # /* config.h. Generated by config.status. */
4556 configure_input='Generated from '`
4557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4559 if test x"$ac_file" != x-; then
4560 configure_input="$ac_file. $configure_input"
4561 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4562 $as_echo "$as_me: creating $ac_file" >&6;}
4564 # Neutralize special characters interpreted by sed in replacement strings.
4565 case $configure_input in #(
4566 *\&* | *\|* | *\\* )
4567 ac_sed_conf_input=`$as_echo "$configure_input" |
4568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4569 *) ac_sed_conf_input=$configure_input;;
4573 *:-:* | *:-) cat >"$tmp/stdin" \
4574 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4575 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4576 { (exit 1); exit 1; }; } ;;
4581 ac_dir=`$as_dirname -- "$ac_file" ||
4582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4583 X"$ac_file" : 'X\(//\)[^/]' \| \
4584 X"$ac_file" : 'X\(//\)$' \| \
4585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4586 $as_echo X"$ac_file" |
4587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4606 -*) as_dir=./$as_dir;;
4608 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4612 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4613 *) as_qdir=$as_dir;;
4615 as_dirs="'$as_qdir' $as_dirs"
4616 as_dir=`$as_dirname -- "$as_dir" ||
4617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4618 X"$as_dir" : 'X\(//\)[^/]' \| \
4619 X"$as_dir" : 'X\(//\)$' \| \
4620 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4621 $as_echo X"$as_dir" |
4622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4639 test -d "$as_dir" && break
4641 test -z "$as_dirs" || eval "mkdir $as_dirs"
4642 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4643 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4644 { (exit 1); exit 1; }; }; }
4648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4651 # A ".." for each directory in $ac_dir_suffix.
4652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4653 case $ac_top_builddir_sub in
4654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4658 ac_abs_top_builddir=$ac_pwd
4659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4660 # for backward compatibility:
4661 ac_top_builddir=$ac_top_build_prefix
4664 .) # We are building in place.
4666 ac_top_srcdir=$ac_top_builddir_sub
4667 ac_abs_top_srcdir=$ac_pwd ;;
4668 [\\/]* | ?:[\\/]* ) # Absolute name.
4669 ac_srcdir=$srcdir$ac_dir_suffix;
4670 ac_top_srcdir=$srcdir
4671 ac_abs_top_srcdir=$srcdir ;;
4673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4674 ac_top_srcdir=$ac_top_build_prefix$srcdir
4675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4687 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4688 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4693 # If the template does not know about datarootdir, expand it.
4694 # FIXME: This hack should be removed a few years after 2.60.
4695 ac_datarootdir_hack=; ac_datarootdir_seen=
4708 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4709 *datarootdir*) ac_datarootdir_seen=yes;;
4710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4711 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4712 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4715 ac_datarootdir_hack='
4716 s&@datadir@&$datadir&g
4717 s&@docdir@&$docdir&g
4718 s&@infodir@&$infodir&g
4719 s&@localedir@&$localedir&g
4720 s&@mandir@&$mandir&g
4721 s&\\\${datarootdir}&$datarootdir&g' ;;
4725 # Neutralize VPATH when `$srcdir' = `.'.
4726 # Shell code in configure.ac might set extrasub.
4727 # FIXME: do we really want to maintain this feature?
4728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4729 ac_sed_extra="$ac_vpsub
4732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4735 s|@configure_input@|$ac_sed_conf_input|;t t
4736 s&@top_builddir@&$ac_top_builddir_sub&;t t
4737 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4738 s&@srcdir@&$ac_srcdir&;t t
4739 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4740 s&@top_srcdir@&$ac_top_srcdir&;t t
4741 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4742 s&@builddir@&$ac_builddir&;t t
4743 s&@abs_builddir@&$ac_abs_builddir&;t t
4744 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4745 s&@INSTALL@&$ac_INSTALL&;t t
4746 $ac_datarootdir_hack
4748 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4751 { (exit 1); exit 1; }; }
4753 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4754 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4755 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4756 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4757 which seems to be undefined. Please make sure it is defined." >&5
4758 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4759 which seems to be undefined. Please make sure it is defined." >&2;}
4763 -) cat "$tmp/out" && rm -f "$tmp/out";;
4764 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4766 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4767 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4768 { (exit 1); exit 1; }; }
4778 { (exit 0); exit 0; }
4780 chmod +x $CONFIG_STATUS
4781 ac_clean_files=$ac_clean_files_save
4783 test $ac_write_fail = 0 ||
4784 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4785 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4786 { (exit 1); exit 1; }; }
4789 # configure is writing to config.log, and then calls config.status.
4790 # config.status does its own redirection, appending to config.log.
4791 # Unfortunately, on DOS this fails, as config.log is still kept open
4792 # by configure, so config.status won't be able to write to it; its
4793 # output is simply discarded. So we exec the FD to /dev/null,
4794 # effectively closing config.log, so it can be properly (re)opened and
4795 # appended to by config.status. When coming back to configure, we
4796 # need to make the FD available again.
4797 if test "$no_create" != yes; then
4799 ac_config_status_args=
4800 test "$silent" = yes &&
4801 ac_config_status_args="$ac_config_status_args --quiet"
4803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4806 # would make configure fail if this is the last instruction.
4807 $ac_cs_success || { (exit 1); exit 1; }
4809 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4810 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4811 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}