2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="hash.cc"
589 program_transform_name
637 ac_precious_vars='build_alias
652 # Initialize some variables set by options.
654 ac_init_version=false
655 # The variables have the same names as the options, with
656 # dashes changed to underlines.
664 program_transform_name=s,x,x,
672 # Installation directory options.
673 # These are left unexpanded so users can "make install exec_prefix=/foo"
674 # and all the variables that are supposed to be based on exec_prefix
675 # by default will actually change.
676 # Use braces instead of parens because sh, perl, etc. also accept them.
677 # (The list follows the same order as the GNU Coding Standards.)
678 bindir='${exec_prefix}/bin'
679 sbindir='${exec_prefix}/sbin'
680 libexecdir='${exec_prefix}/libexec'
681 datarootdir='${prefix}/share'
682 datadir='${datarootdir}'
683 sysconfdir='${prefix}/etc'
684 sharedstatedir='${prefix}/com'
685 localstatedir='${prefix}/var'
686 includedir='${prefix}/include'
687 oldincludedir='/usr/include'
688 docdir='${datarootdir}/doc/${PACKAGE}'
689 infodir='${datarootdir}/info'
694 libdir='${exec_prefix}/lib'
695 localedir='${datarootdir}/locale'
696 mandir='${datarootdir}/man'
702 # If the previous option needs an argument, assign it.
703 if test -n "$ac_prev"; then
704 eval $ac_prev=\$ac_option
710 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 # Accept the important Cygnus configure options, so we can diagnose typos.
716 case $ac_dashdash$ac_option in
720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
725 -build | --build | --buil | --bui | --bu)
726 ac_prev=build_alias ;;
727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728 build_alias=$ac_optarg ;;
730 -cache-file | --cache-file | --cache-fil | --cache-fi \
731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732 ac_prev=cache_file ;;
733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735 cache_file=$ac_optarg ;;
738 cache_file=config.cache ;;
740 -datadir | --datadir | --datadi | --datad)
742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
743 datadir=$ac_optarg ;;
745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746 | --dataroo | --dataro | --datar)
747 ac_prev=datarootdir ;;
748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750 datarootdir=$ac_optarg ;;
752 -disable-* | --disable-*)
753 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
757 { (exit 1); exit 1; }; }
758 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
759 eval enable_$ac_feature=no ;;
761 -docdir | --docdir | --docdi | --doc | --do)
763 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
766 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
771 -enable-* | --enable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=\$ac_optarg ;;
780 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
781 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
782 | --exec | --exe | --ex)
783 ac_prev=exec_prefix ;;
784 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
785 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
786 | --exec=* | --exe=* | --ex=*)
787 exec_prefix=$ac_optarg ;;
789 -gas | --gas | --ga | --g)
790 # Obsolete; use --with-gas.
793 -help | --help | --hel | --he | -h)
795 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
796 ac_init_help=recursive ;;
797 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
798 ac_init_help=short ;;
800 -host | --host | --hos | --ho)
801 ac_prev=host_alias ;;
802 -host=* | --host=* | --hos=* | --ho=*)
803 host_alias=$ac_optarg ;;
805 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 htmldir=$ac_optarg ;;
811 -includedir | --includedir | --includedi | --included | --include \
812 | --includ | --inclu | --incl | --inc)
813 ac_prev=includedir ;;
814 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
815 | --includ=* | --inclu=* | --incl=* | --inc=*)
816 includedir=$ac_optarg ;;
818 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
821 infodir=$ac_optarg ;;
823 -libdir | --libdir | --libdi | --libd)
825 -libdir=* | --libdir=* | --libdi=* | --libd=*)
828 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
829 | --libexe | --libex | --libe)
830 ac_prev=libexecdir ;;
831 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
832 | --libexe=* | --libex=* | --libe=*)
833 libexecdir=$ac_optarg ;;
835 -localedir | --localedir | --localedi | --localed | --locale)
837 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
838 localedir=$ac_optarg ;;
840 -localstatedir | --localstatedir | --localstatedi | --localstated \
841 | --localstate | --localstat | --localsta | --localst | --locals)
842 ac_prev=localstatedir ;;
843 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
844 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
845 localstatedir=$ac_optarg ;;
847 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853 # Obsolete; use --without-fp.
856 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
857 | --no-cr | --no-c | -n)
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
864 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
865 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
866 | --oldin | --oldi | --old | --ol | --o)
867 ac_prev=oldincludedir ;;
868 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
869 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
870 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
871 oldincludedir=$ac_optarg ;;
873 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
878 -program-prefix | --program-prefix | --program-prefi | --program-pref \
879 | --program-pre | --program-pr | --program-p)
880 ac_prev=program_prefix ;;
881 -program-prefix=* | --program-prefix=* | --program-prefi=* \
882 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
883 program_prefix=$ac_optarg ;;
885 -program-suffix | --program-suffix | --program-suffi | --program-suff \
886 | --program-suf | --program-su | --program-s)
887 ac_prev=program_suffix ;;
888 -program-suffix=* | --program-suffix=* | --program-suffi=* \
889 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
890 program_suffix=$ac_optarg ;;
892 -program-transform-name | --program-transform-name \
893 | --program-transform-nam | --program-transform-na \
894 | --program-transform-n | --program-transform- \
895 | --program-transform | --program-transfor \
896 | --program-transfo | --program-transf \
897 | --program-trans | --program-tran \
898 | --progr-tra | --program-tr | --program-t)
899 ac_prev=program_transform_name ;;
900 -program-transform-name=* | --program-transform-name=* \
901 | --program-transform-nam=* | --program-transform-na=* \
902 | --program-transform-n=* | --program-transform-=* \
903 | --program-transform=* | --program-transfor=* \
904 | --program-transfo=* | --program-transf=* \
905 | --program-trans=* | --program-tran=* \
906 | --progr-tra=* | --program-tr=* | --program-t=*)
907 program_transform_name=$ac_optarg ;;
909 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
914 -psdir | --psdir | --psdi | --psd | --ps)
916 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
920 | -silent | --silent | --silen | --sile | --sil)
923 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 sbindir=$ac_optarg ;;
929 -sharedstatedir | --sharedstatedir | --sharedstatedi \
930 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
931 | --sharedst | --shareds | --shared | --share | --shar \
933 ac_prev=sharedstatedir ;;
934 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
935 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
936 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 sharedstatedir=$ac_optarg ;;
940 -site | --site | --sit)
942 -site=* | --site=* | --sit=*)
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
950 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
951 | --syscon | --sysco | --sysc | --sys | --sy)
952 ac_prev=sysconfdir ;;
953 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
954 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 sysconfdir=$ac_optarg ;;
957 -target | --target | --targe | --targ | --tar | --ta | --t)
958 ac_prev=target_alias ;;
959 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
960 target_alias=$ac_optarg ;;
962 -v | -verbose | --verbose | --verbos | --verbo | --verb)
965 -version | --version | --versio | --versi | --vers | -V)
969 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=\$ac_optarg ;;
977 -without-* | --without-*)
978 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid package name: $ac_package" >&2
982 { (exit 1); exit 1; }; }
983 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
984 eval with_$ac_package=no ;;
987 # Obsolete; use --with-x.
990 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
991 | --x-incl | --x-inc | --x-in | --x-i)
992 ac_prev=x_includes ;;
993 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
994 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
995 x_includes=$ac_optarg ;;
997 -x-libraries | --x-libraries | --x-librarie | --x-librari \
998 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
999 ac_prev=x_libraries ;;
1000 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1001 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1002 x_libraries=$ac_optarg ;;
1004 -*) { echo "$as_me: error: unrecognized option: $ac_option
1005 Try \`$0 --help' for more information." >&2
1006 { (exit 1); exit 1; }; }
1010 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1014 { (exit 1); exit 1; }; }
1015 eval $ac_envvar=\$ac_optarg
1016 export $ac_envvar ;;
1019 # FIXME: should be removed in autoconf 3.0.
1020 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1021 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1023 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1029 if test -n "$ac_prev"; then
1030 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1031 { echo "$as_me: error: missing argument to $ac_option" >&2
1032 { (exit 1); exit 1; }; }
1035 # Be sure to have absolute directory names.
1036 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1037 datadir sysconfdir sharedstatedir localstatedir includedir \
1038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1039 libdir localedir mandir
1041 eval ac_val=\$$ac_var
1043 [\\/$]* | ?:[\\/]* ) continue;;
1044 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1046 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 { (exit 1); exit 1; }; }
1050 # There might be people who depend on the old broken behavior: `$host'
1051 # used to hold the argument of --host etc.
1052 # FIXME: To remove some day.
1055 target=$target_alias
1057 # FIXME: To remove some day.
1058 if test "x$host_alias" != x; then
1059 if test "x$build_alias" = x; then
1060 cross_compiling=maybe
1061 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1062 If a cross compiler is detected then cross compile mode will be used." >&2
1063 elif test "x$build_alias" != "x$host_alias"; then
1069 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1071 test "$silent" = yes && exec 6>/dev/null
1074 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1075 ac_ls_di=`ls -di .` &&
1076 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1077 { echo "$as_me: error: Working directory cannot be determined" >&2
1078 { (exit 1); exit 1; }; }
1079 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1080 { echo "$as_me: error: pwd does not report name of working directory" >&2
1081 { (exit 1); exit 1; }; }
1084 # Find the source files, if location was not specified.
1085 if test -z "$srcdir"; then
1086 ac_srcdir_defaulted=yes
1087 # Try the directory containing this script, then the parent directory.
1088 ac_confdir=`$as_dirname -- "$0" ||
1089 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1090 X"$0" : 'X\(//\)[^/]' \| \
1091 X"$0" : 'X\(//\)$' \| \
1092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1112 if test ! -r "$srcdir/$ac_unique_file"; then
1116 ac_srcdir_defaulted=no
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1120 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1121 { (exit 1); exit 1; }; }
1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1126 { (exit 1); exit 1; }; }
1128 # When building in place, set srcdir=.
1129 if test "$ac_abs_confdir" = "$ac_pwd"; then
1132 # Remove unnecessary trailing slashes from srcdir.
1133 # Double slashes in file names in object file debugging info
1134 # mess up M-x gdb in Emacs.
1136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1138 for ac_var in $ac_precious_vars; do
1139 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1140 eval ac_env_${ac_var}_value=\$${ac_var}
1141 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1142 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1146 # Report the --help message.
1148 if test "$ac_init_help" = "long"; then
1149 # Omit some internal or obsolete options to make the list less imposing.
1150 # This message is too long to be a string in the A/UX 3.1 sh.
1152 \`configure' configures this package to adapt to many kinds of systems.
1154 Usage: $0 [OPTION]... [VAR=VALUE]...
1156 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1157 VAR=VALUE. See below for descriptions of some of the useful variables.
1159 Defaults for the options are specified in brackets.
1162 -h, --help display this help and exit
1163 --help=short display options specific to this package
1164 --help=recursive display the short help of all the included packages
1165 -V, --version display version information and exit
1166 -q, --quiet, --silent do not print \`checking...' messages
1167 --cache-file=FILE cache test results in FILE [disabled]
1168 -C, --config-cache alias for \`--cache-file=config.cache'
1169 -n, --no-create do not create output files
1170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1172 Installation directories:
1173 --prefix=PREFIX install architecture-independent files in PREFIX
1174 [$ac_default_prefix]
1175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1178 By default, \`make install' will install all the files in
1179 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1180 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1181 for instance \`--prefix=\$HOME'.
1183 For better control, use the options below.
1185 Fine tuning of the installation directories:
1186 --bindir=DIR user executables [EPREFIX/bin]
1187 --sbindir=DIR system admin executables [EPREFIX/sbin]
1188 --libexecdir=DIR program executables [EPREFIX/libexec]
1189 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1190 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1191 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1192 --libdir=DIR object code libraries [EPREFIX/lib]
1193 --includedir=DIR C header files [PREFIX/include]
1194 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1195 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1196 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1197 --infodir=DIR info documentation [DATAROOTDIR/info]
1198 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1199 --mandir=DIR man documentation [DATAROOTDIR/man]
1200 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1201 --htmldir=DIR html documentation [DOCDIR]
1202 --dvidir=DIR dvi documentation [DOCDIR]
1203 --pdfdir=DIR pdf documentation [DOCDIR]
1204 --psdir=DIR ps documentation [DOCDIR]
1211 if test -n "$ac_init_help"; then
1215 Some influential environment variables:
1216 CC C compiler command
1217 CFLAGS C compiler flags
1218 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1219 nonstandard directory <lib dir>
1220 LIBS libraries to pass to the linker, e.g. -l<library>
1221 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1222 you have headers in a nonstandard directory <include dir>
1224 CXX C++ compiler command
1225 CXXFLAGS C++ compiler flags
1226 CXXCPP C++ preprocessor
1228 Use these variables to override the choices made by `configure' or to help
1229 it to find libraries and programs with nonstandard names/locations.
1235 if test "$ac_init_help" = "recursive"; then
1236 # If there are subdirs, report their specific --help.
1237 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1238 test -d "$ac_dir" || continue
1242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1245 # A ".." for each directory in $ac_dir_suffix.
1246 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1247 case $ac_top_builddir_sub in
1248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1252 ac_abs_top_builddir=$ac_pwd
1253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1254 # for backward compatibility:
1255 ac_top_builddir=$ac_top_build_prefix
1258 .) # We are building in place.
1260 ac_top_srcdir=$ac_top_builddir_sub
1261 ac_abs_top_srcdir=$ac_pwd ;;
1262 [\\/]* | ?:[\\/]* ) # Absolute name.
1263 ac_srcdir=$srcdir$ac_dir_suffix;
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1273 cd "$ac_dir" || { ac_status=$?; continue; }
1274 # Check for guested configure.
1275 if test -f "$ac_srcdir/configure.gnu"; then
1277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1278 elif test -f "$ac_srcdir/configure"; then
1280 $SHELL "$ac_srcdir/configure" --help=recursive
1282 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1284 cd "$ac_pwd" || { ac_status=$?; break; }
1288 test -n "$ac_init_help" && exit $ac_status
1289 if $ac_init_version; then
1292 generated by GNU Autoconf 2.61
1294 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1295 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1296 This configure script is free software; the Free Software Foundation
1297 gives unlimited permission to copy, distribute and modify it.
1301 cat >config.log <<_ACEOF
1302 This file contains any messages produced by compilers while
1303 running configure, to aid debugging if configure makes a mistake.
1305 It was created by $as_me, which was
1306 generated by GNU Autoconf 2.61. Invocation command line was
1318 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1319 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1320 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1321 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1322 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1324 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1325 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1327 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1328 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1329 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1330 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1331 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1332 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1333 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1341 test -z "$as_dir" && as_dir=.
1342 echo "PATH: $as_dir"
1358 # Keep a trace of the command line.
1359 # Strip out --no-create and --no-recursion so they do not pile up.
1360 # Strip out --silent because we don't want to record it for future runs.
1361 # Also quote any args containing shell meta-characters.
1362 # Make two passes to allow for proper duplicate-argument suppression.
1366 ac_must_keep_next=false
1372 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1374 | -silent | --silent | --silen | --sile | --sil)
1377 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1380 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1382 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1383 if test $ac_must_keep_next = true; then
1384 ac_must_keep_next=false # Got value, back to normal.
1387 *=* | --config-cache | -C | -disable-* | --disable-* \
1388 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1389 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1390 | -with-* | --with-* | -without-* | --without-* | --x)
1391 case "$ac_configure_args0 " in
1392 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1395 -* ) ac_must_keep_next=true ;;
1398 ac_configure_args="$ac_configure_args '$ac_arg'"
1403 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1404 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1406 # When interrupted or exit'd, cleanup temporary files, and complete
1407 # config.log. We remove comments because anyway the quotes in there
1408 # would cause problems or look ugly.
1409 # WARNING: Use '\'' to represent an apostrophe within the trap.
1410 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1411 trap 'exit_status=$?
1412 # Save into config.log some information that might help in debugging.
1417 ## ---------------- ##
1418 ## Cache variables. ##
1419 ## ---------------- ##
1422 # The following way of writing the cache mishandles newlines in values,
1424 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1425 eval ac_val=\$$ac_var
1429 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1430 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1433 _ | IFS | as_nl) ;; #(
1434 *) $as_unset $ac_var ;;
1439 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1440 *${as_nl}ac_space=\ *)
1442 "s/'\''/'\''\\\\'\'''\''/g;
1443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1454 ## ----------------- ##
1455 ## Output variables. ##
1456 ## ----------------- ##
1459 for ac_var in $ac_subst_vars
1461 eval ac_val=\$$ac_var
1463 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1465 echo "$ac_var='\''$ac_val'\''"
1469 if test -n "$ac_subst_files"; then
1471 ## ------------------- ##
1472 ## File substitutions. ##
1473 ## ------------------- ##
1476 for ac_var in $ac_subst_files
1478 eval ac_val=\$$ac_var
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1482 echo "$ac_var='\''$ac_val'\''"
1487 if test -s confdefs.h; then
1497 test "$ac_signal" != 0 &&
1498 echo "$as_me: caught signal $ac_signal"
1499 echo "$as_me: exit $exit_status"
1501 rm -f core *.core core.conftest.* &&
1502 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1505 for ac_signal in 1 2 13 15; do
1506 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1510 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1511 rm -f -r conftest* confdefs.h
1513 # Predefined preprocessor variables.
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_NAME "$PACKAGE_NAME"
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_STRING "$PACKAGE_STRING"
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1540 # Let the site file select an alternate cache file if it wants to.
1541 # Prefer explicitly selected file to automatically selected ones.
1542 if test -n "$CONFIG_SITE"; then
1543 set x "$CONFIG_SITE"
1544 elif test "x$prefix" != xNONE; then
1545 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1547 set x "$ac_default_prefix/share/config.site" \
1548 "$ac_default_prefix/etc/config.site"
1553 if test -r "$ac_site_file"; then
1554 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1555 echo "$as_me: loading site script $ac_site_file" >&6;}
1556 sed 's/^/| /' "$ac_site_file" >&5
1561 if test -r "$cache_file"; then
1562 # Some versions of bash will fail to source /dev/null (special
1563 # files actually), so we avoid doing that.
1564 if test -f "$cache_file"; then
1565 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1566 echo "$as_me: loading cache $cache_file" >&6;}
1568 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1569 *) . "./$cache_file";;
1573 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1574 echo "$as_me: creating cache $cache_file" >&6;}
1578 # Check that the precious variables saved in the cache have kept the same
1580 ac_cache_corrupted=false
1581 for ac_var in $ac_precious_vars; do
1582 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1583 eval ac_new_set=\$ac_env_${ac_var}_set
1584 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1585 eval ac_new_val=\$ac_env_${ac_var}_value
1586 case $ac_old_set,$ac_new_set in
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1590 ac_cache_corrupted=: ;;
1592 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1593 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1594 ac_cache_corrupted=: ;;
1597 if test "x$ac_old_val" != "x$ac_new_val"; then
1598 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1599 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1600 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1601 echo "$as_me: former value: $ac_old_val" >&2;}
1602 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1603 echo "$as_me: current value: $ac_new_val" >&2;}
1604 ac_cache_corrupted=:
1607 # Pass precious variables to config.status.
1608 if test "$ac_new_set" = set; then
1610 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1611 *) ac_arg=$ac_var=$ac_new_val ;;
1613 case " $ac_configure_args " in
1614 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1615 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1619 if $ac_cache_corrupted; then
1620 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1621 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1622 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1623 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1624 { (exit 1); exit 1; }; }
1644 ac_cpp='$CPP $CPPFLAGS'
1645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1650 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1651 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1652 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1653 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 cat >conftest.make <<\_ACEOF
1659 @echo '@@@%%%=$(MAKE)=@@@%%%'
1661 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1662 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1664 eval ac_cv_prog_make_${ac_make}_set=yes;;
1666 eval ac_cv_prog_make_${ac_make}_set=no;;
1670 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1671 { echo "$as_me:$LINENO: result: yes" >&5
1672 echo "${ECHO_T}yes" >&6; }
1675 { echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6; }
1677 SET_MAKE="MAKE=${MAKE-make}"
1681 ac_cpp='$CPP $CPPFLAGS'
1682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1685 if test -n "$ac_tool_prefix"; then
1686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1687 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1690 if test "${ac_cv_prog_CC+set}" = set; then
1691 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 if test -n "$CC"; then
1694 ac_cv_prog_CC="$CC" # Let the user override the test.
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 for ac_exec_ext in '' $ac_executable_extensions; do
1702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1703 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$CC"; then
1715 { echo "$as_me:$LINENO: result: $CC" >&5
1716 echo "${ECHO_T}$CC" >&6; }
1718 { echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6; }
1724 if test -z "$ac_cv_prog_CC"; then
1726 # Extract the first word of "gcc", so it can be a program name with args.
1727 set dummy gcc; ac_word=$2
1728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 if test -n "$ac_ct_CC"; then
1734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 test -z "$as_dir" && as_dir=.
1741 for ac_exec_ext in '' $ac_executable_extensions; do
1742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1743 ac_cv_prog_ac_ct_CC="gcc"
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1754 if test -n "$ac_ct_CC"; then
1755 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1756 echo "${ECHO_T}$ac_ct_CC" >&6; }
1758 { echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6; }
1762 if test "x$ac_ct_CC" = x; then
1765 case $cross_compiling:$ac_tool_warned in
1767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1768 whose name does not start with the host triplet. If you think this
1769 configuration is useful to you, please write to autoconf@gnu.org." >&5
1770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1771 whose name does not start with the host triplet. If you think this
1772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1773 ac_tool_warned=yes ;;
1781 if test -z "$CC"; then
1782 if test -n "$ac_tool_prefix"; then
1783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1784 set dummy ${ac_tool_prefix}cc; ac_word=$2
1785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1787 if test "${ac_cv_prog_CC+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 if test -n "$CC"; then
1791 ac_cv_prog_CC="$CC" # Let the user override the test.
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1800 ac_cv_prog_CC="${ac_tool_prefix}cc"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 if test -n "$CC"; then
1812 { echo "$as_me:$LINENO: result: $CC" >&5
1813 echo "${ECHO_T}$CC" >&6; }
1815 { echo "$as_me:$LINENO: result: no" >&5
1816 echo "${ECHO_T}no" >&6; }
1822 if test -z "$CC"; then
1823 # Extract the first word of "cc", so it can be a program name with args.
1824 set dummy cc; ac_word=$2
1825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1827 if test "${ac_cv_prog_CC+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 if test -n "$CC"; then
1831 ac_cv_prog_CC="$CC" # Let the user override the test.
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir=.
1839 for ac_exec_ext in '' $ac_executable_extensions; do
1840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1841 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1842 ac_prog_rejected=yes
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 if test $ac_prog_rejected = yes; then
1854 # We found a bogon in the path, so make sure we never use it.
1855 set dummy $ac_cv_prog_CC
1857 if test $# != 0; then
1858 # We chose a different compiler from the bogus one.
1859 # However, it has the same basename, so the bogon will be chosen
1860 # first if we set CC to just the basename; use the full file name.
1862 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1868 if test -n "$CC"; then
1869 { echo "$as_me:$LINENO: result: $CC" >&5
1870 echo "${ECHO_T}$CC" >&6; }
1872 { echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6; }
1878 if test -z "$CC"; then
1879 if test -n "$ac_tool_prefix"; then
1880 for ac_prog in cl.exe
1882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1886 if test "${ac_cv_prog_CC+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 if test -n "$CC"; then
1890 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1899 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 if test -n "$CC"; then
1911 { echo "$as_me:$LINENO: result: $CC" >&5
1912 echo "${ECHO_T}$CC" >&6; }
1914 { echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6; }
1919 test -n "$CC" && break
1922 if test -z "$CC"; then
1924 for ac_prog in cl.exe
1926 # Extract the first word of "$ac_prog", so it can be a program name with args.
1927 set dummy $ac_prog; ac_word=$2
1928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test -n "$ac_ct_CC"; then
1934 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 test -z "$as_dir" && as_dir=.
1941 for ac_exec_ext in '' $ac_executable_extensions; do
1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1943 ac_cv_prog_ac_ct_CC="$ac_prog"
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1954 if test -n "$ac_ct_CC"; then
1955 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1956 echo "${ECHO_T}$ac_ct_CC" >&6; }
1958 { echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6; }
1963 test -n "$ac_ct_CC" && break
1966 if test "x$ac_ct_CC" = x; then
1969 case $cross_compiling:$ac_tool_warned in
1971 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1972 whose name does not start with the host triplet. If you think this
1973 configuration is useful to you, please write to autoconf@gnu.org." >&5
1974 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1975 whose name does not start with the host triplet. If you think this
1976 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1977 ac_tool_warned=yes ;;
1986 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1987 See \`config.log' for more details." >&5
1988 echo "$as_me: error: no acceptable C compiler found in \$PATH
1989 See \`config.log' for more details." >&2;}
1990 { (exit 1); exit 1; }; }
1992 # Provide some information about the compiler.
1993 echo "$as_me:$LINENO: checking for C compiler version" >&5
1994 ac_compiler=`set X $ac_compile; echo $2`
1995 { (ac_try="$ac_compiler --version >&5"
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
2000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2001 (eval "$ac_compiler --version >&5") 2>&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }
2005 { (ac_try="$ac_compiler -v >&5"
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2011 (eval "$ac_compiler -v >&5") 2>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); }
2015 { (ac_try="$ac_compiler -V >&5"
2017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2018 *) ac_try_echo=$ac_try;;
2020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2021 (eval "$ac_compiler -V >&5") 2>&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }
2026 cat >conftest.$ac_ext <<_ACEOF
2029 cat confdefs.h >>conftest.$ac_ext
2030 cat >>conftest.$ac_ext <<_ACEOF
2031 /* end confdefs.h. */
2041 ac_clean_files_save=$ac_clean_files
2042 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2043 # Try to create an executable without -o first, disregard a.out.
2044 # It will help us diagnose broken compilers, and finding out an intuition
2046 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2047 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2048 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2050 # List of possible output files, starting from the most likely.
2051 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2052 # only as a last resort. b.out is created by i960 compilers.
2053 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2055 # The IRIX 6 linker writes into existing files which may not be
2056 # executable, retaining their permissions. Remove them first so a
2057 # subsequent execution test works.
2059 for ac_file in $ac_files
2062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2063 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2068 if { (ac_try="$ac_link_default"
2070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2074 (eval "$ac_link_default") 2>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); }; then
2078 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2079 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2080 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2081 # so that the user can short-circuit this test for compilers unknown to
2083 for ac_file in $ac_files ''
2085 test -f "$ac_file" || continue
2087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2090 # We found the default executable, but exeext='' is most
2094 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2096 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2098 # We set ac_cv_exeext here because the later test for it is not
2099 # safe: cross compilers may not add the suffix if given an `-o'
2100 # argument, so we may need to know it at that point already.
2101 # Even if this section looks crufty: it has the advantage of
2108 test "$ac_cv_exeext" = no && ac_cv_exeext=
2114 { echo "$as_me:$LINENO: result: $ac_file" >&5
2115 echo "${ECHO_T}$ac_file" >&6; }
2116 if test -z "$ac_file"; then
2117 echo "$as_me: failed program was:" >&5
2118 sed 's/^/| /' conftest.$ac_ext >&5
2120 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2121 See \`config.log' for more details." >&5
2122 echo "$as_me: error: C compiler cannot create executables
2123 See \`config.log' for more details." >&2;}
2124 { (exit 77); exit 77; }; }
2127 ac_exeext=$ac_cv_exeext
2129 # Check that the compiler produces executables we can run. If not, either
2130 # the compiler is broken, or we cross compile.
2131 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2132 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2133 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2134 # If not cross compiling, check that we can run a simple program.
2135 if test "$cross_compiling" != yes; then
2136 if { ac_try='./$ac_file'
2137 { (case "(($ac_try" in
2138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2139 *) ac_try_echo=$ac_try;;
2141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2142 (eval "$ac_try") 2>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }; }; then
2148 if test "$cross_compiling" = maybe; then
2151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2152 If you meant to cross compile, use \`--host'.
2153 See \`config.log' for more details." >&5
2154 echo "$as_me: error: cannot run C compiled programs.
2155 If you meant to cross compile, use \`--host'.
2156 See \`config.log' for more details." >&2;}
2157 { (exit 1); exit 1; }; }
2161 { echo "$as_me:$LINENO: result: yes" >&5
2162 echo "${ECHO_T}yes" >&6; }
2164 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2165 ac_clean_files=$ac_clean_files_save
2166 # Check that the compiler produces executables we can run. If not, either
2167 # the compiler is broken, or we cross compile.
2168 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2170 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2171 echo "${ECHO_T}$cross_compiling" >&6; }
2173 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2175 if { (ac_try="$ac_link"
2177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2178 *) ac_try_echo=$ac_try;;
2180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2181 (eval "$ac_link") 2>&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; then
2185 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2186 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2187 # work properly (i.e., refer to `conftest.exe'), while it won't with
2189 for ac_file in conftest.exe conftest conftest.*; do
2190 test -f "$ac_file" || continue
2192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2193 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2199 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2200 See \`config.log' for more details." >&5
2201 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2202 See \`config.log' for more details." >&2;}
2203 { (exit 1); exit 1; }; }
2206 rm -f conftest$ac_cv_exeext
2207 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2208 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2210 rm -f conftest.$ac_ext
2211 EXEEXT=$ac_cv_exeext
2213 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2214 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2215 if test "${ac_cv_objext+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 cat >conftest.$ac_ext <<_ACEOF
2221 cat confdefs.h >>conftest.$ac_ext
2222 cat >>conftest.$ac_ext <<_ACEOF
2223 /* end confdefs.h. */
2233 rm -f conftest.o conftest.obj
2234 if { (ac_try="$ac_compile"
2236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2237 *) ac_try_echo=$ac_try;;
2239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2240 (eval "$ac_compile") 2>&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; then
2244 for ac_file in conftest.o conftest.obj conftest.*; do
2245 test -f "$ac_file" || continue;
2247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2248 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2253 echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.$ac_ext >&5
2256 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2257 See \`config.log' for more details." >&5
2258 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2259 See \`config.log' for more details." >&2;}
2260 { (exit 1); exit 1; }; }
2263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2265 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2266 echo "${ECHO_T}$ac_cv_objext" >&6; }
2267 OBJEXT=$ac_cv_objext
2269 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2270 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2271 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 cat >conftest.$ac_ext <<_ACEOF
2277 cat confdefs.h >>conftest.$ac_ext
2278 cat >>conftest.$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2292 rm -f conftest.$ac_objext
2293 if { (ac_try="$ac_compile"
2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2299 (eval "$ac_compile") 2>conftest.er1
2301 grep -v '^ *+' conftest.er1 >conftest.err
2303 cat conftest.err >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } && {
2306 test -z "$ac_c_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest.$ac_objext; then
2311 echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.$ac_ext >&5
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2321 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2322 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2323 GCC=`test $ac_compiler_gnu = yes && echo yes`
2324 ac_test_CFLAGS=${CFLAGS+set}
2325 ac_save_CFLAGS=$CFLAGS
2326 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2327 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2328 if test "${ac_cv_prog_cc_g+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 ac_save_c_werror_flag=$ac_c_werror_flag
2332 ac_c_werror_flag=yes
2335 cat >conftest.$ac_ext <<_ACEOF
2338 cat confdefs.h >>conftest.$ac_ext
2339 cat >>conftest.$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2350 rm -f conftest.$ac_objext
2351 if { (ac_try="$ac_compile"
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2357 (eval "$ac_compile") 2>conftest.er1
2359 grep -v '^ *+' conftest.er1 >conftest.err
2361 cat conftest.err >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } && {
2364 test -z "$ac_c_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest.$ac_objext; then
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.$ac_ext >&5
2373 cat >conftest.$ac_ext <<_ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2388 rm -f conftest.$ac_objext
2389 if { (ac_try="$ac_compile"
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2395 (eval "$ac_compile") 2>conftest.er1
2397 grep -v '^ *+' conftest.er1 >conftest.err
2399 cat conftest.err >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } && {
2402 test -z "$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 } && test -s conftest.$ac_objext; then
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2410 ac_c_werror_flag=$ac_save_c_werror_flag
2412 cat >conftest.$ac_ext <<_ACEOF
2415 cat confdefs.h >>conftest.$ac_ext
2416 cat >>conftest.$ac_ext <<_ACEOF
2417 /* end confdefs.h. */
2427 rm -f conftest.$ac_objext
2428 if { (ac_try="$ac_compile"
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_compile") 2>conftest.er1
2436 grep -v '^ *+' conftest.er1 >conftest.err
2438 cat conftest.err >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest.$ac_objext; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 ac_c_werror_flag=$ac_save_c_werror_flag
2461 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2462 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2463 if test "$ac_test_CFLAGS" = set; then
2464 CFLAGS=$ac_save_CFLAGS
2465 elif test $ac_cv_prog_cc_g = yes; then
2466 if test "$GCC" = yes; then
2472 if test "$GCC" = yes; then
2478 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2479 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2480 if test "${ac_cv_prog_cc_c89+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 ac_cv_prog_cc_c89=no
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2493 #include <sys/types.h>
2494 #include <sys/stat.h>
2495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2496 struct buf { int x; };
2497 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2498 static char *e (p, i)
2504 static char *f (char * (*g) (char **, int), char **p, ...)
2509 s = g (p, va_arg (v,int));
2514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2515 function prototypes and stuff, but not '\xHH' hex character constants.
2516 These don't provoke an error unfortunately, instead are silently treated
2517 as 'x'. The following induces an error, until -std is added to get
2518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2519 array size at least. It's necessary to write '\x00'==0 to get something
2520 that's true only with -std. */
2521 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2523 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2524 inside strings and character constants. */
2526 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2528 int test (int i, double x);
2529 struct s1 {int (*f) (int a);};
2530 struct s2 {int (*f) (double a);};
2531 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2537 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2543 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2545 CC="$ac_save_CC $ac_arg"
2546 rm -f conftest.$ac_objext
2547 if { (ac_try="$ac_compile"
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2553 (eval "$ac_compile") 2>conftest.er1
2555 grep -v '^ *+' conftest.er1 >conftest.err
2557 cat conftest.err >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } && {
2560 test -z "$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 } && test -s conftest.$ac_objext; then
2563 ac_cv_prog_cc_c89=$ac_arg
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2571 rm -f core conftest.err conftest.$ac_objext
2572 test "x$ac_cv_prog_cc_c89" != "xno" && break
2574 rm -f conftest.$ac_ext
2579 case "x$ac_cv_prog_cc_c89" in
2581 { echo "$as_me:$LINENO: result: none needed" >&5
2582 echo "${ECHO_T}none needed" >&6; } ;;
2584 { echo "$as_me:$LINENO: result: unsupported" >&5
2585 echo "${ECHO_T}unsupported" >&6; } ;;
2587 CC="$CC $ac_cv_prog_cc_c89"
2588 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2589 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2600 ac_cpp='$CPP $CPPFLAGS'
2601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2604 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2605 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2606 # On Suns, sometimes $CPP names a directory.
2607 if test -n "$CPP" && test -d "$CPP"; then
2610 if test -z "$CPP"; then
2611 if test "${ac_cv_prog_CPP+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 # Double quotes because CPP needs to be expanded
2615 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2618 for ac_c_preproc_warn_flag in '' yes
2620 # Use a header file that comes with gcc, so configuring glibc
2621 # with a fresh cross-compiler works.
2622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2623 # <limits.h> exists even on freestanding compilers.
2624 # On the NeXT, cc -E runs the code through the compiler's parser,
2625 # not just through cpp. "Syntax error" is here to catch this case.
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2633 # include <limits.h>
2635 # include <assert.h>
2639 if { (ac_try="$ac_cpp conftest.$ac_ext"
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2647 grep -v '^ *+' conftest.er1 >conftest.err
2649 cat conftest.err >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } >/dev/null && {
2652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2653 test ! -s conftest.err
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.$ac_ext >&5
2660 # Broken: fails on valid input.
2664 rm -f conftest.err conftest.$ac_ext
2666 # OK, works on sane cases. Now check whether nonexistent headers
2667 # can be detected and how.
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2674 #include <ac_nonexistent.h>
2676 if { (ac_try="$ac_cpp conftest.$ac_ext"
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2684 grep -v '^ *+' conftest.er1 >conftest.err
2686 cat conftest.err >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } >/dev/null && {
2689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2690 test ! -s conftest.err
2692 # Broken: success on invalid input.
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2698 # Passes both tests.
2703 rm -f conftest.err conftest.$ac_ext
2706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2707 rm -f conftest.err conftest.$ac_ext
2708 if $ac_preproc_ok; then
2720 { echo "$as_me:$LINENO: result: $CPP" >&5
2721 echo "${ECHO_T}$CPP" >&6; }
2723 for ac_c_preproc_warn_flag in '' yes
2725 # Use a header file that comes with gcc, so configuring glibc
2726 # with a fresh cross-compiler works.
2727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2728 # <limits.h> exists even on freestanding compilers.
2729 # On the NeXT, cc -E runs the code through the compiler's parser,
2730 # not just through cpp. "Syntax error" is here to catch this case.
2731 cat >conftest.$ac_ext <<_ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2738 # include <limits.h>
2740 # include <assert.h>
2744 if { (ac_try="$ac_cpp conftest.$ac_ext"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2752 grep -v '^ *+' conftest.er1 >conftest.err
2754 cat conftest.err >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } >/dev/null && {
2757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 # Broken: fails on valid input.
2769 rm -f conftest.err conftest.$ac_ext
2771 # OK, works on sane cases. Now check whether nonexistent headers
2772 # can be detected and how.
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2779 #include <ac_nonexistent.h>
2781 if { (ac_try="$ac_cpp conftest.$ac_ext"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2789 grep -v '^ *+' conftest.er1 >conftest.err
2791 cat conftest.err >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } >/dev/null && {
2794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2797 # Broken: success on invalid input.
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 # Passes both tests.
2808 rm -f conftest.err conftest.$ac_ext
2811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2812 rm -f conftest.err conftest.$ac_ext
2813 if $ac_preproc_ok; then
2816 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2817 See \`config.log' for more details." >&5
2818 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2819 See \`config.log' for more details." >&2;}
2820 { (exit 1); exit 1; }; }
2824 ac_cpp='$CPP $CPPFLAGS'
2825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830 ac_cpp='$CXXCPP $CPPFLAGS'
2831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2834 if test -z "$CXX"; then
2835 if test -n "$CCC"; then
2838 if test -n "$ac_tool_prefix"; then
2839 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_CXX+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 if test -n "$CXX"; then
2849 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CXX"; then
2870 { echo "$as_me:$LINENO: result: $CXX" >&5
2871 echo "${ECHO_T}$CXX" >&6; }
2873 { echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6; }
2878 test -n "$CXX" && break
2881 if test -z "$CXX"; then
2883 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2885 # Extract the first word of "$ac_prog", so it can be a program name with args.
2886 set dummy $ac_prog; ac_word=$2
2887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2889 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 if test -n "$ac_ct_CXX"; then
2893 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902 ac_cv_prog_ac_ct_CXX="$ac_prog"
2903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2913 if test -n "$ac_ct_CXX"; then
2914 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2915 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2917 { echo "$as_me:$LINENO: result: no" >&5
2918 echo "${ECHO_T}no" >&6; }
2922 test -n "$ac_ct_CXX" && break
2925 if test "x$ac_ct_CXX" = x; then
2928 case $cross_compiling:$ac_tool_warned in
2930 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2931 whose name does not start with the host triplet. If you think this
2932 configuration is useful to you, please write to autoconf@gnu.org." >&5
2933 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2934 whose name does not start with the host triplet. If you think this
2935 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2936 ac_tool_warned=yes ;;
2944 # Provide some information about the compiler.
2945 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2946 ac_compiler=`set X $ac_compile; echo $2`
2947 { (ac_try="$ac_compiler --version >&5"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2953 (eval "$ac_compiler --version >&5") 2>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }
2957 { (ac_try="$ac_compiler -v >&5"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compiler -v >&5") 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }
2967 { (ac_try="$ac_compiler -V >&5"
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973 (eval "$ac_compiler -V >&5") 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }
2978 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2979 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2980 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
3001 rm -f conftest.$ac_objext
3002 if { (ac_try="$ac_compile"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_compile") 2>conftest.er1
3010 grep -v '^ *+' conftest.er1 >conftest.err
3012 cat conftest.err >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } && {
3015 test -z "$ac_cxx_werror_flag" ||
3016 test ! -s conftest.err
3017 } && test -s conftest.$ac_objext; then
3020 echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3030 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3032 GXX=`test $ac_compiler_gnu = yes && echo yes`
3033 ac_test_CXXFLAGS=${CXXFLAGS+set}
3034 ac_save_CXXFLAGS=$CXXFLAGS
3035 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3036 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3037 if test "${ac_cv_prog_cxx_g+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3041 ac_cxx_werror_flag=yes
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3059 rm -f conftest.$ac_objext
3060 if { (ac_try="$ac_compile"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3068 grep -v '^ *+' conftest.er1 >conftest.err
3070 cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_cxx_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3076 ac_cv_prog_cxx_g=yes
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compile") 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } && {
3111 test -z "$ac_cxx_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_cxx_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3153 ac_cv_prog_cxx_g=yes
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3171 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3172 if test "$ac_test_CXXFLAGS" = set; then
3173 CXXFLAGS=$ac_save_CXXFLAGS
3174 elif test $ac_cv_prog_cxx_g = yes; then
3175 if test "$GXX" = yes; then
3181 if test "$GXX" = yes; then
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3194 ac_cpp='$CXXCPP $CPPFLAGS'
3195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3198 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3199 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3200 if test -z "$CXXCPP"; then
3201 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 # Double quotes because CXXCPP needs to be expanded
3205 for CXXCPP in "$CXX -E" "/lib/cpp"
3208 for ac_cxx_preproc_warn_flag in '' yes
3210 # Use a header file that comes with gcc, so configuring glibc
3211 # with a fresh cross-compiler works.
3212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3213 # <limits.h> exists even on freestanding compilers.
3214 # On the NeXT, cc -E runs the code through the compiler's parser,
3215 # not just through cpp. "Syntax error" is here to catch this case.
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3223 # include <limits.h>
3225 # include <assert.h>
3229 if { (ac_try="$ac_cpp conftest.$ac_ext"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } >/dev/null && {
3242 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 # Broken: fails on valid input.
3254 rm -f conftest.err conftest.$ac_ext
3256 # OK, works on sane cases. Now check whether nonexistent headers
3257 # can be detected and how.
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3264 #include <ac_nonexistent.h>
3266 if { (ac_try="$ac_cpp conftest.$ac_ext"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } >/dev/null && {
3279 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3282 # Broken: success on invalid input.
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3288 # Passes both tests.
3293 rm -f conftest.err conftest.$ac_ext
3296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3297 rm -f conftest.err conftest.$ac_ext
3298 if $ac_preproc_ok; then
3303 ac_cv_prog_CXXCPP=$CXXCPP
3306 CXXCPP=$ac_cv_prog_CXXCPP
3308 ac_cv_prog_CXXCPP=$CXXCPP
3310 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
3311 echo "${ECHO_T}$CXXCPP" >&6; }
3313 for ac_cxx_preproc_warn_flag in '' yes
3315 # Use a header file that comes with gcc, so configuring glibc
3316 # with a fresh cross-compiler works.
3317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3318 # <limits.h> exists even on freestanding compilers.
3319 # On the NeXT, cc -E runs the code through the compiler's parser,
3320 # not just through cpp. "Syntax error" is here to catch this case.
3321 cat >conftest.$ac_ext <<_ACEOF
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3328 # include <limits.h>
3330 # include <assert.h>
3334 if { (ac_try="$ac_cpp conftest.$ac_ext"
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3342 grep -v '^ *+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } >/dev/null && {
3347 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3348 test ! -s conftest.err
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3355 # Broken: fails on valid input.
3359 rm -f conftest.err conftest.$ac_ext
3361 # OK, works on sane cases. Now check whether nonexistent headers
3362 # can be detected and how.
3363 cat >conftest.$ac_ext <<_ACEOF
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3369 #include <ac_nonexistent.h>
3371 if { (ac_try="$ac_cpp conftest.$ac_ext"
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } >/dev/null && {
3384 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3387 # Broken: success on invalid input.
3390 echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3393 # Passes both tests.
3398 rm -f conftest.err conftest.$ac_ext
3401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3402 rm -f conftest.err conftest.$ac_ext
3403 if $ac_preproc_ok; then
3406 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3407 See \`config.log' for more details." >&5
3408 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3409 See \`config.log' for more details." >&2;}
3410 { (exit 1); exit 1; }; }
3414 ac_cpp='$CPP $CPPFLAGS'
3415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3424 if test "${ac_cv_prog_RANLIB+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$RANLIB"; then
3428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 RANLIB=$ac_cv_prog_RANLIB
3448 if test -n "$RANLIB"; then
3449 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3450 echo "${ECHO_T}$RANLIB" >&6; }
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
3458 if test -z "$ac_cv_prog_RANLIB"; then
3459 ac_ct_RANLIB=$RANLIB
3460 # Extract the first word of "ranlib", so it can be a program name with args.
3461 set dummy ranlib; ac_word=$2
3462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 if test -n "$ac_ct_RANLIB"; then
3468 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_ac_ct_RANLIB="ranlib"
3478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3488 if test -n "$ac_ct_RANLIB"; then
3489 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3490 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3492 { echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6; }
3496 if test "x$ac_ct_RANLIB" = x; then
3499 case $cross_compiling:$ac_tool_warned in
3501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3502 whose name does not start with the host triplet. If you think this
3503 configuration is useful to you, please write to autoconf@gnu.org." >&5
3504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3505 whose name does not start with the host triplet. If you think this
3506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3507 ac_tool_warned=yes ;;
3509 RANLIB=$ac_ct_RANLIB
3512 RANLIB="$ac_cv_prog_RANLIB"
3515 # Find a good install program. We prefer a C program (faster),
3516 # so one script is as good as another. But avoid the broken or
3517 # incompatible versions:
3518 # SysV /etc/install, /usr/sbin/install
3519 # SunOS /usr/etc/install
3520 # IRIX /sbin/install
3522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3524 # ./install, which can be erroneously created by make from ./install.sh.
3525 { echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
3526 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6; }
3527 if test -z "$INSTALL"; then
3528 if test "${cl_cv_path_install+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3532 for ac_dir in $PATH; do
3533 # Account for people who put trailing slashes in PATH elements.
3535 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3537 # OSF1 and SCO ODT 3.0 have their own names for install.
3538 for ac_prog in ginstall installbsd scoinst install; do
3539 if test -f $ac_dir/$ac_prog; then
3540 if test $ac_prog = install &&
3541 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3542 # AIX install. It has an incompatible calling convention.
3543 # OSF/1 installbsd also uses dspmsg, but is usable.
3546 if test $ac_prog = installbsd &&
3547 grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then
3548 # AIX installbsd doesn't work without option "-g".
3551 cl_cv_path_install="$ac_dir/$ac_prog -c"
3561 # As a last resort, use cp.
3562 test -z "$cl_cv_path_install" && cl_cv_path_install="cp"
3565 INSTALL="$cl_cv_path_install"
3567 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3568 echo "${ECHO_T}$INSTALL" >&6; }
3569 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3570 # It thinks the first close brace ends the variable substitution.
3571 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
3572 if test -z "$INSTALL_DATA"; then
3574 cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
3575 * ) INSTALL_DATA='$(INSTALL) -m 644' ;;
3579 ac_config_files="$ac_config_files Makefile"
3581 cat >confcache <<\_ACEOF
3582 # This file is a shell script that caches the results of configure
3583 # tests run on this system so they can be shared between configure
3584 # scripts and configure runs, see configure's option --config-cache.
3585 # It is not useful on other systems. If it contains results you don't
3586 # want to keep, you may remove or edit it.
3588 # config.status only pays attention to the cache file if you give it
3589 # the --recheck option to rerun configure.
3591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3597 # The following way of writing the cache mishandles newlines in values,
3598 # but we know of no workaround that is simple, portable, and efficient.
3599 # So, we kill variables containing newlines.
3600 # Ultrix sh set writes to stderr and can't be redirected directly,
3601 # and sets the high bit in the cache file unless we assign to the vars.
3603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3604 eval ac_val=\$$ac_var
3608 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3609 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3612 _ | IFS | as_nl) ;; #(
3613 *) $as_unset $ac_var ;;
3619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3620 *${as_nl}ac_space=\ *)
3621 # `set' does not quote correctly, so add quotes (double-quote
3622 # substitution turns \\\\ into \\, and sed turns \\ into \).
3625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3628 # `set' quotes correctly as required by POSIX, so do not add quotes.
3629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3642 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3643 if test -w "$cache_file"; then
3644 test "x$cache_file" != "x/dev/null" &&
3645 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3646 echo "$as_me: updating cache $cache_file" >&6;}
3647 cat confcache >$cache_file
3649 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3650 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3655 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3656 # Let make expand exec_prefix.
3657 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3659 # Transform confdefs.h into DEFS.
3660 # Protect against shell expansion while executing Makefile rules.
3661 # Protect against Makefile macro expansion.
3663 # If the first sed substitution is executed (which looks for macros that
3664 # take arguments), then branch to the quote section. Otherwise,
3665 # look for a macro that doesn't take arguments.
3669 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3671 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3675 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3688 DEFS=`sed -n "$ac_script" confdefs.h`
3693 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3694 # 1. Remove the extension, and $U if already installed.
3695 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3696 ac_i=`echo "$ac_i" | sed "$ac_script"`
3697 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3698 # will be set to the directory where LIBOBJS objects are built.
3699 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3700 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3704 LTLIBOBJS=$ac_ltlibobjs
3708 : ${CONFIG_STATUS=./config.status}
3709 ac_clean_files_save=$ac_clean_files
3710 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3711 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3713 cat >$CONFIG_STATUS <<_ACEOF
3715 # Generated by $as_me.
3716 # Run this file to recreate the current configuration.
3717 # Compiler output produced by configure, useful for debugging
3718 # configure, is in config.log if it exists.
3723 SHELL=\${CONFIG_SHELL-$SHELL}
3726 cat >>$CONFIG_STATUS <<\_ACEOF
3727 ## --------------------- ##
3728 ## M4sh Initialization. ##
3729 ## --------------------- ##
3731 # Be more Bourne compatible
3732 DUALCASE=1; export DUALCASE # for MKS sh
3733 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3736 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3737 # is contrary to our usage. Disable this feature.
3738 alias -g '${1+"$@"}'='"$@"'
3739 setopt NO_GLOB_SUBST
3741 case `(set -o) 2>/dev/null` in
3742 *posix*) set -o posix ;;
3751 # Avoid depending upon Character Ranges.
3752 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3753 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3754 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3755 as_cr_digits='0123456789'
3756 as_cr_alnum=$as_cr_Letters$as_cr_digits
3758 # The user is always right.
3759 if test "${PATH_SEPARATOR+set}" != set; then
3760 echo "#! /bin/sh" >conf$$.sh
3761 echo "exit 0" >>conf$$.sh
3763 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3771 # Support unset when possible.
3772 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3780 # We need space, tab and new line, in precisely that order. Quoting is
3781 # there to prevent editors from complaining about space-tab.
3782 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3783 # splitting by setting IFS to empty value.)
3788 # Find who we are. Look in the path if we contain no directory separator.
3790 *[\\/]* ) as_myself=$0 ;;
3791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3802 # We did not find ourselves, most probably we were run as `sh COMMAND'
3803 # in which case we are not to be found in the path.
3804 if test "x$as_myself" = x; then
3807 if test ! -f "$as_myself"; then
3808 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3809 { (exit 1); exit 1; }
3812 # Work around bugs in pre-3.0 UWIN ksh.
3813 for as_var in ENV MAIL MAILPATH
3814 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3822 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3823 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3824 LC_TELEPHONE LC_TIME
3826 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3827 eval $as_var=C; export $as_var
3829 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3833 # Required to use basename.
3834 if expr a : '\(a\)' >/dev/null 2>&1 &&
3835 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3841 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3842 as_basename=basename
3848 # Name of the executable.
3849 as_me=`$as_basename -- "$0" ||
3850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3851 X"$0" : 'X\(//\)$' \| \
3852 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3854 sed '/^.*\/\([^/][^/]*\)\/*$/{
3875 test "x$as_lineno_1" != "x$as_lineno_2" &&
3876 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3878 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3879 # uniformly replaced by the line number. The first 'sed' inserts a
3880 # line-number line after each line using $LINENO; the second 'sed'
3881 # does the real work. The second script uses 'N' to pair each
3882 # line-number line with the line containing $LINENO, and appends
3883 # trailing '-' during substitution so that $LINENO is not a special
3885 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3886 # scripts with optimization help from Paolo Bonzini. Blame Lee
3887 # E. McMahon (1931-1989) for sed's syntax. :-)
3899 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3903 chmod +x "$as_me.lineno" ||
3904 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3905 { (exit 1); exit 1; }; }
3907 # Don't try to exec as it changes $[0], causing all sort of problems
3908 # (the dirname of $[0] is not the place where we might find the
3909 # original and so on. Autoconf is especially sensitive to this).
3911 # Exit status is that of the last command.
3916 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3922 ECHO_C= ECHO_N= ECHO_T=
3925 case `echo 'x\c'` in
3926 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3933 if expr a : '\(a\)' >/dev/null 2>&1 &&
3934 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3940 rm -f conf$$ conf$$.exe conf$$.file
3941 if test -d conf$$.dir; then
3942 rm -f conf$$.dir/conf$$.file
3948 if ln -s conf$$.file conf$$ 2>/dev/null; then
3950 # ... but there are two gotchas:
3951 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3952 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3953 # In both cases, we have to default to `cp -p'.
3954 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3956 elif ln conf$$.file conf$$ 2>/dev/null; then
3961 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3962 rmdir conf$$.dir 2>/dev/null
3964 if mkdir -p . 2>/dev/null; then
3967 test -d ./-p && rmdir ./-p
3971 if test -x / >/dev/null 2>&1; then
3974 if ls -dL / >/dev/null 2>&1; then
3981 if test -d "$1"; then
3987 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3988 ???[sx]*):;;*)false;;esac;fi
3992 as_executable_p=$as_test_x
3994 # Sed expression to map a string onto a valid CPP name.
3995 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3997 # Sed expression to map a string onto a valid variable name.
3998 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4003 # Save the log message, to keep $[0] and so on meaningful, and to
4004 # report actual input values of CONFIG_FILES etc. instead of their
4005 # values after options handling.
4007 This file was extended by $as_me, which was
4008 generated by GNU Autoconf 2.61. Invocation command line was
4010 CONFIG_FILES = $CONFIG_FILES
4011 CONFIG_HEADERS = $CONFIG_HEADERS
4012 CONFIG_LINKS = $CONFIG_LINKS
4013 CONFIG_COMMANDS = $CONFIG_COMMANDS
4016 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4021 cat >>$CONFIG_STATUS <<_ACEOF
4022 # Files that config.status was made for.
4023 config_files="$ac_config_files"
4027 cat >>$CONFIG_STATUS <<\_ACEOF
4029 \`$as_me' instantiates files from templates according to the
4030 current configuration.
4032 Usage: $0 [OPTIONS] [FILE]...
4034 -h, --help print this help, then exit
4035 -V, --version print version number and configuration settings, then exit
4036 -q, --quiet do not print progress messages
4037 -d, --debug don't remove temporary files
4038 --recheck update $as_me by reconfiguring in the same conditions
4039 --file=FILE[:TEMPLATE]
4040 instantiate the configuration file FILE
4042 Configuration files:
4045 Report bugs to <bug-autoconf@gnu.org>."
4048 cat >>$CONFIG_STATUS <<_ACEOF
4051 configured by $0, generated by GNU Autoconf 2.61,
4052 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4054 Copyright (C) 2006 Free Software Foundation, Inc.
4055 This config.status script is free software; the Free Software Foundation
4056 gives unlimited permission to copy, distribute and modify it."
4062 cat >>$CONFIG_STATUS <<\_ACEOF
4063 # If no file are specified by the user, then we need to provide default
4064 # value. By we need to know if files were specified by the user.
4070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4082 # Handling of the options.
4083 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4085 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4086 echo "$ac_cs_version"; exit ;;
4087 --debug | --debu | --deb | --de | --d | -d )
4089 --file | --fil | --fi | --f )
4091 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4092 ac_need_defaults=false;;
4093 --he | --h | --help | --hel | -h )
4094 echo "$ac_cs_usage"; exit ;;
4095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4096 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4100 -*) { echo "$as_me: error: unrecognized option: $1
4101 Try \`$0 --help' for more information." >&2
4102 { (exit 1); exit 1; }; } ;;
4104 *) ac_config_targets="$ac_config_targets $1"
4105 ac_need_defaults=false ;;
4111 ac_configure_extra_args=
4113 if $ac_cs_silent; then
4115 ac_configure_extra_args="$ac_configure_extra_args --silent"
4119 cat >>$CONFIG_STATUS <<_ACEOF
4120 if \$ac_cs_recheck; then
4121 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4124 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4128 cat >>$CONFIG_STATUS <<\_ACEOF
4132 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4133 ## Running $as_me. ##
4139 cat >>$CONFIG_STATUS <<_ACEOF
4142 cat >>$CONFIG_STATUS <<\_ACEOF
4144 # Handling of arguments.
4145 for ac_config_target in $ac_config_targets
4147 case $ac_config_target in
4148 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4150 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4152 { (exit 1); exit 1; }; };;
4157 # If the user did not use the arguments to specify the items to instantiate,
4158 # then the envvar interface is used. Set only those that are not.
4159 # We use the long form for the default assignment because of an extremely
4160 # bizarre bug on SunOS 4.1.3.
4161 if $ac_need_defaults; then
4162 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4165 # Have a temporary directory for convenience. Make it in the build tree
4166 # simply because there is no reason against having it here, and in addition,
4167 # creating and moving files from /tmp can sometimes cause problems.
4168 # Hook for its removal unless debugging.
4169 # Note that there is a small window in which the directory will not be cleaned:
4170 # after its creation but before its name has been assigned to `$tmp'.
4174 trap 'exit_status=$?
4175 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4177 trap '{ (exit 1); exit 1; }' 1 2 13 15
4179 # Create a (secure) tmp directory for tmp files.
4182 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4183 test -n "$tmp" && test -d "$tmp"
4186 tmp=./conf$$-$RANDOM
4187 (umask 077 && mkdir "$tmp")
4190 echo "$me: cannot create a temporary directory in ." >&2
4191 { (exit 1); exit 1; }
4195 # Set up the sed scripts for CONFIG_FILES section.
4198 # No need to generate the scripts if there are no CONFIG_FILES.
4199 # This happens for instance when ./config.status config.h
4200 if test -n "$CONFIG_FILES"; then
4207 for ac_last_try in false false false false false :; do
4208 cat >conf$$subs.sed <<_ACEOF
4209 SHELL!$SHELL$ac_delim
4210 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4211 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4212 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4213 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4214 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4215 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4216 exec_prefix!$exec_prefix$ac_delim
4217 prefix!$prefix$ac_delim
4218 program_transform_name!$program_transform_name$ac_delim
4219 bindir!$bindir$ac_delim
4220 sbindir!$sbindir$ac_delim
4221 libexecdir!$libexecdir$ac_delim
4222 datarootdir!$datarootdir$ac_delim
4223 datadir!$datadir$ac_delim
4224 sysconfdir!$sysconfdir$ac_delim
4225 sharedstatedir!$sharedstatedir$ac_delim
4226 localstatedir!$localstatedir$ac_delim
4227 includedir!$includedir$ac_delim
4228 oldincludedir!$oldincludedir$ac_delim
4229 docdir!$docdir$ac_delim
4230 infodir!$infodir$ac_delim
4231 htmldir!$htmldir$ac_delim
4232 dvidir!$dvidir$ac_delim
4233 pdfdir!$pdfdir$ac_delim
4234 psdir!$psdir$ac_delim
4235 libdir!$libdir$ac_delim
4236 localedir!$localedir$ac_delim
4237 mandir!$mandir$ac_delim
4239 ECHO_C!$ECHO_C$ac_delim
4240 ECHO_N!$ECHO_N$ac_delim
4241 ECHO_T!$ECHO_T$ac_delim
4243 build_alias!$build_alias$ac_delim
4244 host_alias!$host_alias$ac_delim
4245 target_alias!$target_alias$ac_delim
4246 SET_MAKE!$SET_MAKE$ac_delim
4248 CFLAGS!$CFLAGS$ac_delim
4249 LDFLAGS!$LDFLAGS$ac_delim
4250 CPPFLAGS!$CPPFLAGS$ac_delim
4251 ac_ct_CC!$ac_ct_CC$ac_delim
4252 EXEEXT!$EXEEXT$ac_delim
4253 OBJEXT!$OBJEXT$ac_delim
4256 CXXFLAGS!$CXXFLAGS$ac_delim
4257 ac_ct_CXX!$ac_ct_CXX$ac_delim
4258 CXXCPP!$CXXCPP$ac_delim
4259 RANLIB!$RANLIB$ac_delim
4260 INSTALL!$INSTALL$ac_delim
4261 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4262 INSTALL_DATA!$INSTALL_DATA$ac_delim
4263 LIBOBJS!$LIBOBJS$ac_delim
4264 LTLIBOBJS!$LTLIBOBJS$ac_delim
4267 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
4269 elif $ac_last_try; then
4270 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4271 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4272 { (exit 1); exit 1; }; }
4274 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4278 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4279 if test -n "$ac_eof"; then
4280 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4281 ac_eof=`expr $ac_eof + 1`
4284 cat >>$CONFIG_STATUS <<_ACEOF
4285 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4289 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4290 s/^/s,@/; s/!/@,|#_!!_#|/
4293 s/'"$ac_delim"'$/,g/; t
4295 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4296 ' >>$CONFIG_STATUS <conf$$subs.sed
4297 rm -f conf$$subs.sed
4298 cat >>$CONFIG_STATUS <<_ACEOF
4305 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4306 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4307 # trailing colons and then remove the whole line if VPATH becomes empty
4308 # (actually we leave an empty line to preserve line numbers).
4309 if test "x$srcdir" = x.; then
4310 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4314 s/^\([^=]*=[ ]*\):*/\1/
4320 cat >>$CONFIG_STATUS <<\_ACEOF
4321 fi # test -n "$CONFIG_FILES"
4324 for ac_tag in :F $CONFIG_FILES
4327 :[FHLC]) ac_mode=$ac_tag; continue;;
4329 case $ac_mode$ac_tag in
4331 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4332 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4333 { (exit 1); exit 1; }; };;
4334 :[FH]-) ac_tag=-:-;;
4335 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4352 -) ac_f="$tmp/stdin";;
4353 *) # Look for the file first in the build tree, then in the source tree
4354 # (if the path is not absolute). The absolute path cannot be DOS-style,
4355 # because $ac_f cannot contain `:'.
4359 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4361 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4362 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4363 { (exit 1); exit 1; }; };;
4365 ac_file_inputs="$ac_file_inputs $ac_f"
4368 # Let's still pretend it is `configure' which instantiates (i.e., don't
4369 # use $as_me), people would be surprised to read:
4370 # /* config.h. Generated by config.status. */
4371 configure_input="Generated from "`IFS=:
4372 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4373 if test x"$ac_file" != x-; then
4374 configure_input="$ac_file. $configure_input"
4375 { echo "$as_me:$LINENO: creating $ac_file" >&5
4376 echo "$as_me: creating $ac_file" >&6;}
4380 *:-:* | *:-) cat >"$tmp/stdin";;
4385 ac_dir=`$as_dirname -- "$ac_file" ||
4386 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4387 X"$ac_file" : 'X\(//\)[^/]' \| \
4388 X"$ac_file" : 'X\(//\)$' \| \
4389 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4410 -*) as_dir=./$as_dir;;
4412 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4416 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4417 *) as_qdir=$as_dir;;
4419 as_dirs="'$as_qdir' $as_dirs"
4420 as_dir=`$as_dirname -- "$as_dir" ||
4421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4422 X"$as_dir" : 'X\(//\)[^/]' \| \
4423 X"$as_dir" : 'X\(//\)$' \| \
4424 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4443 test -d "$as_dir" && break
4445 test -z "$as_dirs" || eval "mkdir $as_dirs"
4446 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4447 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4448 { (exit 1); exit 1; }; }; }
4452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4455 # A ".." for each directory in $ac_dir_suffix.
4456 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4457 case $ac_top_builddir_sub in
4458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4462 ac_abs_top_builddir=$ac_pwd
4463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4464 # for backward compatibility:
4465 ac_top_builddir=$ac_top_build_prefix
4468 .) # We are building in place.
4470 ac_top_srcdir=$ac_top_builddir_sub
4471 ac_abs_top_srcdir=$ac_pwd ;;
4472 [\\/]* | ?:[\\/]* ) # Absolute name.
4473 ac_srcdir=$srcdir$ac_dir_suffix;
4474 ac_top_srcdir=$srcdir
4475 ac_abs_top_srcdir=$srcdir ;;
4477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4478 ac_top_srcdir=$ac_top_build_prefix$srcdir
4479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4492 cat >>$CONFIG_STATUS <<\_ACEOF
4493 # If the template does not know about datarootdir, expand it.
4494 # FIXME: This hack should be removed a few years after 2.60.
4495 ac_datarootdir_hack=; ac_datarootdir_seen=
4497 case `sed -n '/datarootdir/ {
4506 ' $ac_file_inputs` in
4507 *datarootdir*) ac_datarootdir_seen=yes;;
4508 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4509 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4510 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4512 cat >>$CONFIG_STATUS <<_ACEOF
4513 ac_datarootdir_hack='
4514 s&@datadir@&$datadir&g
4515 s&@docdir@&$docdir&g
4516 s&@infodir@&$infodir&g
4517 s&@localedir@&$localedir&g
4518 s&@mandir@&$mandir&g
4519 s&\\\${datarootdir}&$datarootdir&g' ;;
4523 # Neutralize VPATH when `$srcdir' = `.'.
4524 # Shell code in configure.ac might set extrasub.
4525 # FIXME: do we really want to maintain this feature?
4526 cat >>$CONFIG_STATUS <<_ACEOF
4530 cat >>$CONFIG_STATUS <<\_ACEOF
4532 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4533 s&@configure_input@&$configure_input&;t t
4534 s&@top_builddir@&$ac_top_builddir_sub&;t t
4535 s&@srcdir@&$ac_srcdir&;t t
4536 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4537 s&@top_srcdir@&$ac_top_srcdir&;t t
4538 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4539 s&@builddir@&$ac_builddir&;t t
4540 s&@abs_builddir@&$ac_abs_builddir&;t t
4541 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4542 $ac_datarootdir_hack
4543 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4546 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4548 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4549 which seems to be undefined. Please make sure it is defined." >&5
4550 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4551 which seems to be undefined. Please make sure it is defined." >&2;}
4555 -) cat "$tmp/out"; rm -f "$tmp/out";;
4556 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4567 { (exit 0); exit 0; }
4569 chmod +x $CONFIG_STATUS
4570 ac_clean_files=$ac_clean_files_save
4573 # configure is writing to config.log, and then calls config.status.
4574 # config.status does its own redirection, appending to config.log.
4575 # Unfortunately, on DOS this fails, as config.log is still kept open
4576 # by configure, so config.status won't be able to write to it; its
4577 # output is simply discarded. So we exec the FD to /dev/null,
4578 # effectively closing config.log, so it can be properly (re)opened and
4579 # appended to by config.status. When coming back to configure, we
4580 # need to make the FD available again.
4581 if test "$no_create" != yes; then
4583 ac_config_status_args=
4584 test "$silent" = yes &&
4585 ac_config_status_args="$ac_config_status_args --quiet"
4587 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4589 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4590 # would make configure fail if this is the last instruction.
4591 $ac_cs_success || { (exit 1); exit 1; }