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="main.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 ac_config_headers="$ac_config_headers config.h"
1652 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1653 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1654 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1655 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 cat >conftest.make <<\_ACEOF
1661 @echo '@@@%%%=$(MAKE)=@@@%%%'
1663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1664 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1666 eval ac_cv_prog_make_${ac_make}_set=yes;;
1668 eval ac_cv_prog_make_${ac_make}_set=no;;
1672 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1673 { echo "$as_me:$LINENO: result: yes" >&5
1674 echo "${ECHO_T}yes" >&6; }
1677 { echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6; }
1679 SET_MAKE="MAKE=${MAKE-make}"
1683 ac_cpp='$CPP $CPPFLAGS'
1684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1687 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1689 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1692 if test "${ac_cv_prog_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$CC"; then
1696 ac_cv_prog_CC="$CC" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1705 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 if test -n "$CC"; then
1717 { echo "$as_me:$LINENO: result: $CC" >&5
1718 echo "${ECHO_T}$CC" >&6; }
1720 { echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6; }
1726 if test -z "$ac_cv_prog_CC"; then
1728 # Extract the first word of "gcc", so it can be a program name with args.
1729 set dummy gcc; ac_word=$2
1730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 if test -n "$ac_ct_CC"; then
1736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir=.
1743 for ac_exec_ext in '' $ac_executable_extensions; do
1744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1745 ac_cv_prog_ac_ct_CC="gcc"
1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1756 if test -n "$ac_ct_CC"; then
1757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1758 echo "${ECHO_T}$ac_ct_CC" >&6; }
1760 { echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6; }
1764 if test "x$ac_ct_CC" = x; then
1767 case $cross_compiling:$ac_tool_warned in
1769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1770 whose name does not start with the host triplet. If you think this
1771 configuration is useful to you, please write to autoconf@gnu.org." >&5
1772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1773 whose name does not start with the host triplet. If you think this
1774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1775 ac_tool_warned=yes ;;
1783 if test -z "$CC"; then
1784 if test -n "$ac_tool_prefix"; then
1785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1786 set dummy ${ac_tool_prefix}cc; ac_word=$2
1787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1789 if test "${ac_cv_prog_CC+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 if test -n "$CC"; then
1793 ac_cv_prog_CC="$CC" # Let the user override the test.
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1799 test -z "$as_dir" && as_dir=.
1800 for ac_exec_ext in '' $ac_executable_extensions; do
1801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1802 ac_cv_prog_CC="${ac_tool_prefix}cc"
1803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 if test -n "$CC"; then
1814 { echo "$as_me:$LINENO: result: $CC" >&5
1815 echo "${ECHO_T}$CC" >&6; }
1817 { echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6; }
1824 if test -z "$CC"; then
1825 # Extract the first word of "cc", so it can be a program name with args.
1826 set dummy cc; ac_word=$2
1827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1829 if test "${ac_cv_prog_CC+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$CC"; then
1833 ac_cv_prog_CC="$CC" # Let the user override the test.
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1844 ac_prog_rejected=yes
1848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 if test $ac_prog_rejected = yes; then
1856 # We found a bogon in the path, so make sure we never use it.
1857 set dummy $ac_cv_prog_CC
1859 if test $# != 0; then
1860 # We chose a different compiler from the bogus one.
1861 # However, it has the same basename, so the bogon will be chosen
1862 # first if we set CC to just the basename; use the full file name.
1864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1870 if test -n "$CC"; then
1871 { echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6; }
1874 { echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6; }
1880 if test -z "$CC"; then
1881 if test -n "$ac_tool_prefix"; then
1882 for ac_prog in cl.exe
1884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1888 if test "${ac_cv_prog_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$CC"; then
1892 ac_cv_prog_CC="$CC" # Let the user override the test.
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 if test -n "$CC"; then
1913 { echo "$as_me:$LINENO: result: $CC" >&5
1914 echo "${ECHO_T}$CC" >&6; }
1916 { echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6; }
1921 test -n "$CC" && break
1924 if test -z "$CC"; then
1926 for ac_prog in cl.exe
1928 # Extract the first word of "$ac_prog", so it can be a program name with args.
1929 set dummy $ac_prog; ac_word=$2
1930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 if test -n "$ac_ct_CC"; then
1936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945 ac_cv_prog_ac_ct_CC="$ac_prog"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1956 if test -n "$ac_ct_CC"; then
1957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1958 echo "${ECHO_T}$ac_ct_CC" >&6; }
1960 { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1965 test -n "$ac_ct_CC" && break
1968 if test "x$ac_ct_CC" = x; then
1971 case $cross_compiling:$ac_tool_warned in
1973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1974 whose name does not start with the host triplet. If you think this
1975 configuration is useful to you, please write to autoconf@gnu.org." >&5
1976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1977 whose name does not start with the host triplet. If you think this
1978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1979 ac_tool_warned=yes ;;
1988 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1989 See \`config.log' for more details." >&5
1990 echo "$as_me: error: no acceptable C compiler found in \$PATH
1991 See \`config.log' for more details." >&2;}
1992 { (exit 1); exit 1; }; }
1994 # Provide some information about the compiler.
1995 echo "$as_me:$LINENO: checking for C compiler version" >&5
1996 ac_compiler=`set X $ac_compile; echo $2`
1997 { (ac_try="$ac_compiler --version >&5"
1999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2003 (eval "$ac_compiler --version >&5") 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2007 { (ac_try="$ac_compiler -v >&5"
2009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010 *) ac_try_echo=$ac_try;;
2012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2013 (eval "$ac_compiler -v >&5") 2>&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }
2017 { (ac_try="$ac_compiler -V >&5"
2019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020 *) ac_try_echo=$ac_try;;
2022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2023 (eval "$ac_compiler -V >&5") 2>&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }
2028 cat >conftest.$ac_ext <<_ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2043 ac_clean_files_save=$ac_clean_files
2044 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2045 # Try to create an executable without -o first, disregard a.out.
2046 # It will help us diagnose broken compilers, and finding out an intuition
2048 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2049 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2050 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2052 # List of possible output files, starting from the most likely.
2053 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2054 # only as a last resort. b.out is created by i960 compilers.
2055 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2057 # The IRIX 6 linker writes into existing files which may not be
2058 # executable, retaining their permissions. Remove them first so a
2059 # subsequent execution test works.
2061 for ac_file in $ac_files
2064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2065 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2070 if { (ac_try="$ac_link_default"
2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2073 *) ac_try_echo=$ac_try;;
2075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2076 (eval "$ac_link_default") 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }; then
2080 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2081 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2082 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2083 # so that the user can short-circuit this test for compilers unknown to
2085 for ac_file in $ac_files ''
2087 test -f "$ac_file" || continue
2089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2092 # We found the default executable, but exeext='' is most
2096 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2098 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2100 # We set ac_cv_exeext here because the later test for it is not
2101 # safe: cross compilers may not add the suffix if given an `-o'
2102 # argument, so we may need to know it at that point already.
2103 # Even if this section looks crufty: it has the advantage of
2110 test "$ac_cv_exeext" = no && ac_cv_exeext=
2116 { echo "$as_me:$LINENO: result: $ac_file" >&5
2117 echo "${ECHO_T}$ac_file" >&6; }
2118 if test -z "$ac_file"; then
2119 echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.$ac_ext >&5
2122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2123 See \`config.log' for more details." >&5
2124 echo "$as_me: error: C compiler cannot create executables
2125 See \`config.log' for more details." >&2;}
2126 { (exit 77); exit 77; }; }
2129 ac_exeext=$ac_cv_exeext
2131 # Check that the compiler produces executables we can run. If not, either
2132 # the compiler is broken, or we cross compile.
2133 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2134 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2135 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2136 # If not cross compiling, check that we can run a simple program.
2137 if test "$cross_compiling" != yes; then
2138 if { ac_try='./$ac_file'
2139 { (case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2144 (eval "$ac_try") 2>&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 if test "$cross_compiling" = maybe; then
2153 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2154 If you meant to cross compile, use \`--host'.
2155 See \`config.log' for more details." >&5
2156 echo "$as_me: error: cannot run C compiled programs.
2157 If you meant to cross compile, use \`--host'.
2158 See \`config.log' for more details." >&2;}
2159 { (exit 1); exit 1; }; }
2163 { echo "$as_me:$LINENO: result: yes" >&5
2164 echo "${ECHO_T}yes" >&6; }
2166 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2167 ac_clean_files=$ac_clean_files_save
2168 # Check that the compiler produces executables we can run. If not, either
2169 # the compiler is broken, or we cross compile.
2170 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2171 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2172 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2173 echo "${ECHO_T}$cross_compiling" >&6; }
2175 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2176 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2177 if { (ac_try="$ac_link"
2179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2180 *) ac_try_echo=$ac_try;;
2182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2183 (eval "$ac_link") 2>&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; then
2187 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2188 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2189 # work properly (i.e., refer to `conftest.exe'), while it won't with
2191 for ac_file in conftest.exe conftest conftest.*; do
2192 test -f "$ac_file" || continue
2194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2195 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2201 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2204 See \`config.log' for more details." >&2;}
2205 { (exit 1); exit 1; }; }
2208 rm -f conftest$ac_cv_exeext
2209 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2210 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2212 rm -f conftest.$ac_ext
2213 EXEEXT=$ac_cv_exeext
2215 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2216 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2217 if test "${ac_cv_objext+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.$ac_ext <<_ACEOF
2223 cat confdefs.h >>conftest.$ac_ext
2224 cat >>conftest.$ac_ext <<_ACEOF
2225 /* end confdefs.h. */
2235 rm -f conftest.o conftest.obj
2236 if { (ac_try="$ac_compile"
2238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2239 *) ac_try_echo=$ac_try;;
2241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2242 (eval "$ac_compile") 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; then
2246 for ac_file in conftest.o conftest.obj conftest.*; do
2247 test -f "$ac_file" || continue;
2249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2255 echo "$as_me: failed program was:" >&5
2256 sed 's/^/| /' conftest.$ac_ext >&5
2258 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2259 See \`config.log' for more details." >&5
2260 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2261 See \`config.log' for more details." >&2;}
2262 { (exit 1); exit 1; }; }
2265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2267 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2268 echo "${ECHO_T}$ac_cv_objext" >&6; }
2269 OBJEXT=$ac_cv_objext
2271 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2272 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2273 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 cat >conftest.$ac_ext <<_ACEOF
2279 cat confdefs.h >>conftest.$ac_ext
2280 cat >>conftest.$ac_ext <<_ACEOF
2281 /* end confdefs.h. */
2294 rm -f conftest.$ac_objext
2295 if { (ac_try="$ac_compile"
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2301 (eval "$ac_compile") 2>conftest.er1
2303 grep -v '^ *+' conftest.er1 >conftest.err
2305 cat conftest.err >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest.$ac_objext; then
2313 echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2323 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2324 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2325 GCC=`test $ac_compiler_gnu = yes && echo yes`
2326 ac_test_CFLAGS=${CFLAGS+set}
2327 ac_save_CFLAGS=$CFLAGS
2328 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2329 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2330 if test "${ac_cv_prog_cc_g+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 ac_save_c_werror_flag=$ac_c_werror_flag
2334 ac_c_werror_flag=yes
2337 cat >conftest.$ac_ext <<_ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2352 rm -f conftest.$ac_objext
2353 if { (ac_try="$ac_compile"
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compile") 2>conftest.er1
2361 grep -v '^ *+' conftest.er1 >conftest.err
2363 cat conftest.err >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } && {
2366 test -z "$ac_c_werror_flag" ||
2367 test ! -s conftest.err
2368 } && test -s conftest.$ac_objext; then
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2375 cat >conftest.$ac_ext <<_ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2390 rm -f conftest.$ac_objext
2391 if { (ac_try="$ac_compile"
2393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2394 *) ac_try_echo=$ac_try;;
2396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2397 (eval "$ac_compile") 2>conftest.er1
2399 grep -v '^ *+' conftest.er1 >conftest.err
2401 cat conftest.err >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); } && {
2404 test -z "$ac_c_werror_flag" ||
2405 test ! -s conftest.err
2406 } && test -s conftest.$ac_objext; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2412 ac_c_werror_flag=$ac_save_c_werror_flag
2414 cat >conftest.$ac_ext <<_ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.$ac_objext
2430 if { (ac_try="$ac_compile"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compile") 2>conftest.er1
2438 grep -v '^ *+' conftest.er1 >conftest.err
2440 cat conftest.err >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } && {
2443 test -z "$ac_c_werror_flag" ||
2444 test ! -s conftest.err
2445 } && test -s conftest.$ac_objext; then
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 ac_c_werror_flag=$ac_save_c_werror_flag
2463 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2464 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2465 if test "$ac_test_CFLAGS" = set; then
2466 CFLAGS=$ac_save_CFLAGS
2467 elif test $ac_cv_prog_cc_g = yes; then
2468 if test "$GCC" = yes; then
2474 if test "$GCC" = yes; then
2480 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2481 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2482 if test "${ac_cv_prog_cc_c89+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 ac_cv_prog_cc_c89=no
2487 cat >conftest.$ac_ext <<_ACEOF
2490 cat confdefs.h >>conftest.$ac_ext
2491 cat >>conftest.$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2495 #include <sys/types.h>
2496 #include <sys/stat.h>
2497 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2498 struct buf { int x; };
2499 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2500 static char *e (p, i)
2506 static char *f (char * (*g) (char **, int), char **p, ...)
2511 s = g (p, va_arg (v,int));
2516 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2517 function prototypes and stuff, but not '\xHH' hex character constants.
2518 These don't provoke an error unfortunately, instead are silently treated
2519 as 'x'. The following induces an error, until -std is added to get
2520 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2521 array size at least. It's necessary to write '\x00'==0 to get something
2522 that's true only with -std. */
2523 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2525 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2526 inside strings and character constants. */
2528 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2530 int test (int i, double x);
2531 struct s1 {int (*f) (int a);};
2532 struct s2 {int (*f) (double a);};
2533 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2539 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2545 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2547 CC="$ac_save_CC $ac_arg"
2548 rm -f conftest.$ac_objext
2549 if { (ac_try="$ac_compile"
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2555 (eval "$ac_compile") 2>conftest.er1
2557 grep -v '^ *+' conftest.er1 >conftest.err
2559 cat conftest.err >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } && {
2562 test -z "$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 } && test -s conftest.$ac_objext; then
2565 ac_cv_prog_cc_c89=$ac_arg
2567 echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2573 rm -f core conftest.err conftest.$ac_objext
2574 test "x$ac_cv_prog_cc_c89" != "xno" && break
2576 rm -f conftest.$ac_ext
2581 case "x$ac_cv_prog_cc_c89" in
2583 { echo "$as_me:$LINENO: result: none needed" >&5
2584 echo "${ECHO_T}none needed" >&6; } ;;
2586 { echo "$as_me:$LINENO: result: unsupported" >&5
2587 echo "${ECHO_T}unsupported" >&6; } ;;
2589 CC="$CC $ac_cv_prog_cc_c89"
2590 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2591 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2596 ac_cpp='$CPP $CPPFLAGS'
2597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2602 ac_cpp='$CPP $CPPFLAGS'
2603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2606 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2607 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2608 # On Suns, sometimes $CPP names a directory.
2609 if test -n "$CPP" && test -d "$CPP"; then
2612 if test -z "$CPP"; then
2613 if test "${ac_cv_prog_CPP+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 # Double quotes because CPP needs to be expanded
2617 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2620 for ac_c_preproc_warn_flag in '' yes
2622 # Use a header file that comes with gcc, so configuring glibc
2623 # with a fresh cross-compiler works.
2624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2625 # <limits.h> exists even on freestanding compilers.
2626 # On the NeXT, cc -E runs the code through the compiler's parser,
2627 # not just through cpp. "Syntax error" is here to catch this case.
2628 cat >conftest.$ac_ext <<_ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2635 # include <limits.h>
2637 # include <assert.h>
2641 if { (ac_try="$ac_cpp conftest.$ac_ext"
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2649 grep -v '^ *+' conftest.er1 >conftest.err
2651 cat conftest.err >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } >/dev/null && {
2654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2655 test ! -s conftest.err
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2662 # Broken: fails on valid input.
2666 rm -f conftest.err conftest.$ac_ext
2668 # OK, works on sane cases. Now check whether nonexistent headers
2669 # can be detected and how.
2670 cat >conftest.$ac_ext <<_ACEOF
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2676 #include <ac_nonexistent.h>
2678 if { (ac_try="$ac_cpp conftest.$ac_ext"
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2686 grep -v '^ *+' conftest.er1 >conftest.err
2688 cat conftest.err >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } >/dev/null && {
2691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2692 test ! -s conftest.err
2694 # Broken: success on invalid input.
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 # Passes both tests.
2705 rm -f conftest.err conftest.$ac_ext
2708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2709 rm -f conftest.err conftest.$ac_ext
2710 if $ac_preproc_ok; then
2722 { echo "$as_me:$LINENO: result: $CPP" >&5
2723 echo "${ECHO_T}$CPP" >&6; }
2725 for ac_c_preproc_warn_flag in '' yes
2727 # Use a header file that comes with gcc, so configuring glibc
2728 # with a fresh cross-compiler works.
2729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2730 # <limits.h> exists even on freestanding compilers.
2731 # On the NeXT, cc -E runs the code through the compiler's parser,
2732 # not just through cpp. "Syntax error" is here to catch this case.
2733 cat >conftest.$ac_ext <<_ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2740 # include <limits.h>
2742 # include <assert.h>
2746 if { (ac_try="$ac_cpp conftest.$ac_ext"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2754 grep -v '^ *+' conftest.er1 >conftest.err
2756 cat conftest.err >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } >/dev/null && {
2759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2760 test ! -s conftest.err
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2767 # Broken: fails on valid input.
2771 rm -f conftest.err conftest.$ac_ext
2773 # OK, works on sane cases. Now check whether nonexistent headers
2774 # can be detected and how.
2775 cat >conftest.$ac_ext <<_ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2781 #include <ac_nonexistent.h>
2783 if { (ac_try="$ac_cpp conftest.$ac_ext"
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2791 grep -v '^ *+' conftest.er1 >conftest.err
2793 cat conftest.err >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } >/dev/null && {
2796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2799 # Broken: success on invalid input.
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 # Passes both tests.
2810 rm -f conftest.err conftest.$ac_ext
2813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2814 rm -f conftest.err conftest.$ac_ext
2815 if $ac_preproc_ok; then
2818 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2819 See \`config.log' for more details." >&5
2820 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2821 See \`config.log' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 ac_cpp='$CXXCPP $CPPFLAGS'
2833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2836 if test -z "$CXX"; then
2837 if test -n "$CCC"; then
2840 if test -n "$ac_tool_prefix"; then
2841 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2847 if test "${ac_cv_prog_CXX+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 if test -n "$CXX"; then
2851 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CXX"; then
2872 { echo "$as_me:$LINENO: result: $CXX" >&5
2873 echo "${ECHO_T}$CXX" >&6; }
2875 { echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6; }
2880 test -n "$CXX" && break
2883 if test -z "$CXX"; then
2885 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2887 # Extract the first word of "$ac_prog", so it can be a program name with args.
2888 set dummy $ac_prog; ac_word=$2
2889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2891 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 if test -n "$ac_ct_CXX"; then
2895 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2904 ac_cv_prog_ac_ct_CXX="$ac_prog"
2905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2915 if test -n "$ac_ct_CXX"; then
2916 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2917 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2919 { echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6; }
2924 test -n "$ac_ct_CXX" && break
2927 if test "x$ac_ct_CXX" = x; then
2930 case $cross_compiling:$ac_tool_warned in
2932 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2933 whose name does not start with the host triplet. If you think this
2934 configuration is useful to you, please write to autoconf@gnu.org." >&5
2935 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2936 whose name does not start with the host triplet. If you think this
2937 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2938 ac_tool_warned=yes ;;
2946 # Provide some information about the compiler.
2947 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2948 ac_compiler=`set X $ac_compile; echo $2`
2949 { (ac_try="$ac_compiler --version >&5"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compiler --version >&5") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 { (ac_try="$ac_compiler -v >&5"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compiler -v >&5") 2>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }
2969 { (ac_try="$ac_compiler -V >&5"
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2975 (eval "$ac_compiler -V >&5") 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }
2980 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2981 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2982 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 cat >conftest.$ac_ext <<_ACEOF
2988 cat confdefs.h >>conftest.$ac_ext
2989 cat >>conftest.$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
3003 rm -f conftest.$ac_objext
3004 if { (ac_try="$ac_compile"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010 (eval "$ac_compile") 2>conftest.er1
3012 grep -v '^ *+' conftest.er1 >conftest.err
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } && {
3017 test -z "$ac_cxx_werror_flag" ||
3018 test ! -s conftest.err
3019 } && test -s conftest.$ac_objext; then
3022 echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3032 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3033 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3034 GXX=`test $ac_compiler_gnu = yes && echo yes`
3035 ac_test_CXXFLAGS=${CXXFLAGS+set}
3036 ac_save_CXXFLAGS=$CXXFLAGS
3037 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3038 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3039 if test "${ac_cv_prog_cxx_g+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3043 ac_cxx_werror_flag=yes
3046 cat >conftest.$ac_ext <<_ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3061 rm -f conftest.$ac_objext
3062 if { (ac_try="$ac_compile"
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_compile") 2>conftest.er1
3070 grep -v '^ *+' conftest.er1 >conftest.err
3072 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } && {
3075 test -z "$ac_cxx_werror_flag" ||
3076 test ! -s conftest.err
3077 } && test -s conftest.$ac_objext; then
3078 ac_cv_prog_cxx_g=yes
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3099 rm -f conftest.$ac_objext
3100 if { (ac_try="$ac_compile"
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_compile") 2>conftest.er1
3108 grep -v '^ *+' conftest.er1 >conftest.err
3110 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } && {
3113 test -z "$ac_cxx_werror_flag" ||
3114 test ! -s conftest.err
3115 } && test -s conftest.$ac_objext; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3123 cat >conftest.$ac_ext <<_ACEOF
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_cxx_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cxx_g=yes
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3172 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3173 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3174 if test "$ac_test_CXXFLAGS" = set; then
3175 CXXFLAGS=$ac_save_CXXFLAGS
3176 elif test $ac_cv_prog_cxx_g = yes; then
3177 if test "$GXX" = yes; then
3183 if test "$GXX" = yes; then
3190 ac_cpp='$CPP $CPPFLAGS'
3191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196 ac_cpp='$CXXCPP $CPPFLAGS'
3197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3200 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3201 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3202 if test -z "$CXXCPP"; then
3203 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 # Double quotes because CXXCPP needs to be expanded
3207 for CXXCPP in "$CXX -E" "/lib/cpp"
3210 for ac_cxx_preproc_warn_flag in '' yes
3212 # Use a header file that comes with gcc, so configuring glibc
3213 # with a fresh cross-compiler works.
3214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 # <limits.h> exists even on freestanding compilers.
3216 # On the NeXT, cc -E runs the code through the compiler's parser,
3217 # not just through cpp. "Syntax error" is here to catch this case.
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3225 # include <limits.h>
3227 # include <assert.h>
3231 if { (ac_try="$ac_cpp conftest.$ac_ext"
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } >/dev/null && {
3244 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3245 test ! -s conftest.err
3249 echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 # Broken: fails on valid input.
3256 rm -f conftest.err conftest.$ac_ext
3258 # OK, works on sane cases. Now check whether nonexistent headers
3259 # can be detected and how.
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3266 #include <ac_nonexistent.h>
3268 if { (ac_try="$ac_cpp conftest.$ac_ext"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3276 grep -v '^ *+' conftest.er1 >conftest.err
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } >/dev/null && {
3281 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3284 # Broken: success on invalid input.
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 # Passes both tests.
3295 rm -f conftest.err conftest.$ac_ext
3298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3299 rm -f conftest.err conftest.$ac_ext
3300 if $ac_preproc_ok; then
3305 ac_cv_prog_CXXCPP=$CXXCPP
3308 CXXCPP=$ac_cv_prog_CXXCPP
3310 ac_cv_prog_CXXCPP=$CXXCPP
3312 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
3313 echo "${ECHO_T}$CXXCPP" >&6; }
3315 for ac_cxx_preproc_warn_flag in '' yes
3317 # Use a header file that comes with gcc, so configuring glibc
3318 # with a fresh cross-compiler works.
3319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3320 # <limits.h> exists even on freestanding compilers.
3321 # On the NeXT, cc -E runs the code through the compiler's parser,
3322 # not just through cpp. "Syntax error" is here to catch this case.
3323 cat >conftest.$ac_ext <<_ACEOF
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3328 /* end confdefs.h. */
3330 # include <limits.h>
3332 # include <assert.h>
3336 if { (ac_try="$ac_cpp conftest.$ac_ext"
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } >/dev/null && {
3349 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3350 test ! -s conftest.err
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3357 # Broken: fails on valid input.
3361 rm -f conftest.err conftest.$ac_ext
3363 # OK, works on sane cases. Now check whether nonexistent headers
3364 # can be detected and how.
3365 cat >conftest.$ac_ext <<_ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3371 #include <ac_nonexistent.h>
3373 if { (ac_try="$ac_cpp conftest.$ac_ext"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3381 grep -v '^ *+' conftest.er1 >conftest.err
3383 cat conftest.err >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } >/dev/null && {
3386 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3387 test ! -s conftest.err
3389 # Broken: success on invalid input.
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.$ac_ext >&5
3395 # Passes both tests.
3400 rm -f conftest.err conftest.$ac_ext
3403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3404 rm -f conftest.err conftest.$ac_ext
3405 if $ac_preproc_ok; then
3408 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3409 See \`config.log' for more details." >&5
3410 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3411 See \`config.log' for more details." >&2;}
3412 { (exit 1); exit 1; }; }
3416 ac_cpp='$CPP $CPPFLAGS'
3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421 # Find a good install program. We prefer a C program (faster),
3422 # so one script is as good as another. But avoid the broken or
3423 # incompatible versions:
3424 # SysV /etc/install, /usr/sbin/install
3425 # SunOS /usr/etc/install
3426 # IRIX /sbin/install
3428 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3429 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3430 # ./install, which can be erroneously created by make from ./install.sh.
3431 { echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
3432 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6; }
3433 if test -z "$INSTALL"; then
3434 if test "${cl_cv_path_install+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3438 for ac_dir in $PATH; do
3439 # Account for people who put trailing slashes in PATH elements.
3441 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3443 # OSF1 and SCO ODT 3.0 have their own names for install.
3444 for ac_prog in ginstall installbsd scoinst install; do
3445 if test -f $ac_dir/$ac_prog; then
3446 if test $ac_prog = install &&
3447 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3448 # AIX install. It has an incompatible calling convention.
3449 # OSF/1 installbsd also uses dspmsg, but is usable.
3452 if test $ac_prog = installbsd &&
3453 grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then
3454 # AIX installbsd doesn't work without option "-g".
3457 cl_cv_path_install="$ac_dir/$ac_prog -c"
3467 # As a last resort, use cp.
3468 test -z "$cl_cv_path_install" && cl_cv_path_install="cp"
3471 INSTALL="$cl_cv_path_install"
3473 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3474 echo "${ECHO_T}$INSTALL" >&6; }
3475 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3476 # It thinks the first close brace ends the variable substitution.
3477 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
3478 if test -z "$INSTALL_DATA"; then
3480 cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
3481 * ) INSTALL_DATA='$(INSTALL) -m 644' ;;
3485 { echo "$as_me:$LINENO: checking for stack-allocated variable-size arrays" >&5
3486 echo $ECHO_N "checking for stack-allocated variable-size arrays... $ECHO_C" >&6; }
3488 if test "${gp_cv_cxx_dynamic_array+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 ac_cpp='$CXXCPP $CPPFLAGS'
3495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3499 cat >conftest.$ac_ext <<_ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3505 int func (int n) { int dynamic_array[n]; }
3514 rm -f conftest.$ac_objext
3515 if { (ac_try="$ac_compile"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3521 (eval "$ac_compile") 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } && {
3528 test -z "$ac_cxx_werror_flag" ||
3529 test ! -s conftest.err
3530 } && test -s conftest.$ac_objext; then
3531 gp_cv_cxx_dynamic_array=yes
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3536 gp_cv_cxx_dynamic_array=no
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 { echo "$as_me:$LINENO: result: $gp_cv_cxx_dynamic_array" >&5
3550 echo "${ECHO_T}$gp_cv_cxx_dynamic_array" >&6; }
3551 if test $gp_cv_cxx_dynamic_array = yes; then
3553 cat >>confdefs.h <<\_ACEOF
3554 #define HAVE_DYNAMIC_ARRAY 1
3559 { echo "$as_me:$LINENO: checking for rand in -lm" >&5
3560 echo $ECHO_N "checking for rand in -lm... $ECHO_C" >&6; }
3561 if test "${ac_cv_lib_m_rand+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 ac_check_lib_save_LIBS=$LIBS
3566 cat >conftest.$ac_ext <<_ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3573 /* Override any GCC internal prototype to avoid an error.
3574 Use char because int might match the return type of a GCC
3575 builtin and then its argument prototype would still apply. */
3588 rm -f conftest.$ac_objext conftest$ac_exeext
3589 if { (ac_try="$ac_link"
3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595 (eval "$ac_link") 2>conftest.er1
3597 grep -v '^ *+' conftest.er1 >conftest.err
3599 cat conftest.err >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); } && {
3602 test -z "$ac_c_werror_flag" ||
3603 test ! -s conftest.err
3604 } && test -s conftest$ac_exeext &&
3605 $as_test_x conftest$ac_exeext; then
3606 ac_cv_lib_m_rand=yes
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3615 conftest$ac_exeext conftest.$ac_ext
3616 LIBS=$ac_check_lib_save_LIBS
3618 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_rand" >&5
3619 echo "${ECHO_T}$ac_cv_lib_m_rand" >&6; }
3620 if test $ac_cv_lib_m_rand = yes; then
3627 ac_config_files="$ac_config_files Makefile"
3629 cat >confcache <<\_ACEOF
3630 # This file is a shell script that caches the results of configure
3631 # tests run on this system so they can be shared between configure
3632 # scripts and configure runs, see configure's option --config-cache.
3633 # It is not useful on other systems. If it contains results you don't
3634 # want to keep, you may remove or edit it.
3636 # config.status only pays attention to the cache file if you give it
3637 # the --recheck option to rerun configure.
3639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3645 # The following way of writing the cache mishandles newlines in values,
3646 # but we know of no workaround that is simple, portable, and efficient.
3647 # So, we kill variables containing newlines.
3648 # Ultrix sh set writes to stderr and can't be redirected directly,
3649 # and sets the high bit in the cache file unless we assign to the vars.
3651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3652 eval ac_val=\$$ac_var
3656 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3657 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3660 _ | IFS | as_nl) ;; #(
3661 *) $as_unset $ac_var ;;
3667 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3668 *${as_nl}ac_space=\ *)
3669 # `set' does not quote correctly, so add quotes (double-quote
3670 # substitution turns \\\\ into \\, and sed turns \\ into \).
3673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3676 # `set' quotes correctly as required by POSIX, so do not add quotes.
3677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3688 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3690 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3691 if test -w "$cache_file"; then
3692 test "x$cache_file" != "x/dev/null" &&
3693 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3694 echo "$as_me: updating cache $cache_file" >&6;}
3695 cat confcache >$cache_file
3697 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3698 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3703 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3704 # Let make expand exec_prefix.
3705 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3707 DEFS=-DHAVE_CONFIG_H
3711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3712 # 1. Remove the extension, and $U if already installed.
3713 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3714 ac_i=`echo "$ac_i" | sed "$ac_script"`
3715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3716 # will be set to the directory where LIBOBJS objects are built.
3717 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3718 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3722 LTLIBOBJS=$ac_ltlibobjs
3726 : ${CONFIG_STATUS=./config.status}
3727 ac_clean_files_save=$ac_clean_files
3728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3729 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3730 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3731 cat >$CONFIG_STATUS <<_ACEOF
3733 # Generated by $as_me.
3734 # Run this file to recreate the current configuration.
3735 # Compiler output produced by configure, useful for debugging
3736 # configure, is in config.log if it exists.
3741 SHELL=\${CONFIG_SHELL-$SHELL}
3744 cat >>$CONFIG_STATUS <<\_ACEOF
3745 ## --------------------- ##
3746 ## M4sh Initialization. ##
3747 ## --------------------- ##
3749 # Be more Bourne compatible
3750 DUALCASE=1; export DUALCASE # for MKS sh
3751 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3754 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3755 # is contrary to our usage. Disable this feature.
3756 alias -g '${1+"$@"}'='"$@"'
3757 setopt NO_GLOB_SUBST
3759 case `(set -o) 2>/dev/null` in
3760 *posix*) set -o posix ;;
3769 # Avoid depending upon Character Ranges.
3770 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3771 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3772 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3773 as_cr_digits='0123456789'
3774 as_cr_alnum=$as_cr_Letters$as_cr_digits
3776 # The user is always right.
3777 if test "${PATH_SEPARATOR+set}" != set; then
3778 echo "#! /bin/sh" >conf$$.sh
3779 echo "exit 0" >>conf$$.sh
3781 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3789 # Support unset when possible.
3790 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3798 # We need space, tab and new line, in precisely that order. Quoting is
3799 # there to prevent editors from complaining about space-tab.
3800 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3801 # splitting by setting IFS to empty value.)
3806 # Find who we are. Look in the path if we contain no directory separator.
3808 *[\\/]* ) as_myself=$0 ;;
3809 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir=.
3814 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3820 # We did not find ourselves, most probably we were run as `sh COMMAND'
3821 # in which case we are not to be found in the path.
3822 if test "x$as_myself" = x; then
3825 if test ! -f "$as_myself"; then
3826 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3827 { (exit 1); exit 1; }
3830 # Work around bugs in pre-3.0 UWIN ksh.
3831 for as_var in ENV MAIL MAILPATH
3832 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3840 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3841 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3842 LC_TELEPHONE LC_TIME
3844 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3845 eval $as_var=C; export $as_var
3847 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3851 # Required to use basename.
3852 if expr a : '\(a\)' >/dev/null 2>&1 &&
3853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3860 as_basename=basename
3866 # Name of the executable.
3867 as_me=`$as_basename -- "$0" ||
3868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3869 X"$0" : 'X\(//\)$' \| \
3870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3872 sed '/^.*\/\([^/][^/]*\)\/*$/{
3893 test "x$as_lineno_1" != "x$as_lineno_2" &&
3894 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3896 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3897 # uniformly replaced by the line number. The first 'sed' inserts a
3898 # line-number line after each line using $LINENO; the second 'sed'
3899 # does the real work. The second script uses 'N' to pair each
3900 # line-number line with the line containing $LINENO, and appends
3901 # trailing '-' during substitution so that $LINENO is not a special
3903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3904 # scripts with optimization help from Paolo Bonzini. Blame Lee
3905 # E. McMahon (1931-1989) for sed's syntax. :-)
3917 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3921 chmod +x "$as_me.lineno" ||
3922 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3923 { (exit 1); exit 1; }; }
3925 # Don't try to exec as it changes $[0], causing all sort of problems
3926 # (the dirname of $[0] is not the place where we might find the
3927 # original and so on. Autoconf is especially sensitive to this).
3929 # Exit status is that of the last command.
3934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3940 ECHO_C= ECHO_N= ECHO_T=
3943 case `echo 'x\c'` in
3944 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3951 if expr a : '\(a\)' >/dev/null 2>&1 &&
3952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3958 rm -f conf$$ conf$$.exe conf$$.file
3959 if test -d conf$$.dir; then
3960 rm -f conf$$.dir/conf$$.file
3966 if ln -s conf$$.file conf$$ 2>/dev/null; then
3968 # ... but there are two gotchas:
3969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3971 # In both cases, we have to default to `cp -p'.
3972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3974 elif ln conf$$.file conf$$ 2>/dev/null; then
3979 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3980 rmdir conf$$.dir 2>/dev/null
3982 if mkdir -p . 2>/dev/null; then
3985 test -d ./-p && rmdir ./-p
3989 if test -x / >/dev/null 2>&1; then
3992 if ls -dL / >/dev/null 2>&1; then
3999 if test -d "$1"; then
4005 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4006 ???[sx]*):;;*)false;;esac;fi
4010 as_executable_p=$as_test_x
4012 # Sed expression to map a string onto a valid CPP name.
4013 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4015 # Sed expression to map a string onto a valid variable name.
4016 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4021 # Save the log message, to keep $[0] and so on meaningful, and to
4022 # report actual input values of CONFIG_FILES etc. instead of their
4023 # values after options handling.
4025 This file was extended by $as_me, which was
4026 generated by GNU Autoconf 2.61. Invocation command line was
4028 CONFIG_FILES = $CONFIG_FILES
4029 CONFIG_HEADERS = $CONFIG_HEADERS
4030 CONFIG_LINKS = $CONFIG_LINKS
4031 CONFIG_COMMANDS = $CONFIG_COMMANDS
4034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4039 cat >>$CONFIG_STATUS <<_ACEOF
4040 # Files that config.status was made for.
4041 config_files="$ac_config_files"
4042 config_headers="$ac_config_headers"
4046 cat >>$CONFIG_STATUS <<\_ACEOF
4048 \`$as_me' instantiates files from templates according to the
4049 current configuration.
4051 Usage: $0 [OPTIONS] [FILE]...
4053 -h, --help print this help, then exit
4054 -V, --version print version number and configuration settings, then exit
4055 -q, --quiet do not print progress messages
4056 -d, --debug don't remove temporary files
4057 --recheck update $as_me by reconfiguring in the same conditions
4058 --file=FILE[:TEMPLATE]
4059 instantiate the configuration file FILE
4060 --header=FILE[:TEMPLATE]
4061 instantiate the configuration header FILE
4063 Configuration files:
4066 Configuration headers:
4069 Report bugs to <bug-autoconf@gnu.org>."
4072 cat >>$CONFIG_STATUS <<_ACEOF
4075 configured by $0, generated by GNU Autoconf 2.61,
4076 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4078 Copyright (C) 2006 Free Software Foundation, Inc.
4079 This config.status script is free software; the Free Software Foundation
4080 gives unlimited permission to copy, distribute and modify it."
4086 cat >>$CONFIG_STATUS <<\_ACEOF
4087 # If no file are specified by the user, then we need to provide default
4088 # value. By we need to know if files were specified by the user.
4094 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4095 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4106 # Handling of the options.
4107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4109 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4110 echo "$ac_cs_version"; exit ;;
4111 --debug | --debu | --deb | --de | --d | -d )
4113 --file | --fil | --fi | --f )
4115 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4116 ac_need_defaults=false;;
4117 --header | --heade | --head | --hea )
4119 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4120 ac_need_defaults=false;;
4122 # Conflict between --help and --header
4123 { echo "$as_me: error: ambiguous option: $1
4124 Try \`$0 --help' for more information." >&2
4125 { (exit 1); exit 1; }; };;
4126 --help | --hel | -h )
4127 echo "$ac_cs_usage"; exit ;;
4128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4133 -*) { echo "$as_me: error: unrecognized option: $1
4134 Try \`$0 --help' for more information." >&2
4135 { (exit 1); exit 1; }; } ;;
4137 *) ac_config_targets="$ac_config_targets $1"
4138 ac_need_defaults=false ;;
4144 ac_configure_extra_args=
4146 if $ac_cs_silent; then
4148 ac_configure_extra_args="$ac_configure_extra_args --silent"
4152 cat >>$CONFIG_STATUS <<_ACEOF
4153 if \$ac_cs_recheck; then
4154 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4157 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4161 cat >>$CONFIG_STATUS <<\_ACEOF
4165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4166 ## Running $as_me. ##
4172 cat >>$CONFIG_STATUS <<_ACEOF
4175 cat >>$CONFIG_STATUS <<\_ACEOF
4177 # Handling of arguments.
4178 for ac_config_target in $ac_config_targets
4180 case $ac_config_target in
4181 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4182 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4184 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4185 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4186 { (exit 1); exit 1; }; };;
4191 # If the user did not use the arguments to specify the items to instantiate,
4192 # then the envvar interface is used. Set only those that are not.
4193 # We use the long form for the default assignment because of an extremely
4194 # bizarre bug on SunOS 4.1.3.
4195 if $ac_need_defaults; then
4196 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4197 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4200 # Have a temporary directory for convenience. Make it in the build tree
4201 # simply because there is no reason against having it here, and in addition,
4202 # creating and moving files from /tmp can sometimes cause problems.
4203 # Hook for its removal unless debugging.
4204 # Note that there is a small window in which the directory will not be cleaned:
4205 # after its creation but before its name has been assigned to `$tmp'.
4209 trap 'exit_status=$?
4210 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4212 trap '{ (exit 1); exit 1; }' 1 2 13 15
4214 # Create a (secure) tmp directory for tmp files.
4217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4218 test -n "$tmp" && test -d "$tmp"
4221 tmp=./conf$$-$RANDOM
4222 (umask 077 && mkdir "$tmp")
4225 echo "$me: cannot create a temporary directory in ." >&2
4226 { (exit 1); exit 1; }
4230 # Set up the sed scripts for CONFIG_FILES section.
4233 # No need to generate the scripts if there are no CONFIG_FILES.
4234 # This happens for instance when ./config.status config.h
4235 if test -n "$CONFIG_FILES"; then
4242 for ac_last_try in false false false false false :; do
4243 cat >conf$$subs.sed <<_ACEOF
4244 SHELL!$SHELL$ac_delim
4245 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4246 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4247 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4248 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4249 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4250 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4251 exec_prefix!$exec_prefix$ac_delim
4252 prefix!$prefix$ac_delim
4253 program_transform_name!$program_transform_name$ac_delim
4254 bindir!$bindir$ac_delim
4255 sbindir!$sbindir$ac_delim
4256 libexecdir!$libexecdir$ac_delim
4257 datarootdir!$datarootdir$ac_delim
4258 datadir!$datadir$ac_delim
4259 sysconfdir!$sysconfdir$ac_delim
4260 sharedstatedir!$sharedstatedir$ac_delim
4261 localstatedir!$localstatedir$ac_delim
4262 includedir!$includedir$ac_delim
4263 oldincludedir!$oldincludedir$ac_delim
4264 docdir!$docdir$ac_delim
4265 infodir!$infodir$ac_delim
4266 htmldir!$htmldir$ac_delim
4267 dvidir!$dvidir$ac_delim
4268 pdfdir!$pdfdir$ac_delim
4269 psdir!$psdir$ac_delim
4270 libdir!$libdir$ac_delim
4271 localedir!$localedir$ac_delim
4272 mandir!$mandir$ac_delim
4274 ECHO_C!$ECHO_C$ac_delim
4275 ECHO_N!$ECHO_N$ac_delim
4276 ECHO_T!$ECHO_T$ac_delim
4278 build_alias!$build_alias$ac_delim
4279 host_alias!$host_alias$ac_delim
4280 target_alias!$target_alias$ac_delim
4281 SET_MAKE!$SET_MAKE$ac_delim
4283 CFLAGS!$CFLAGS$ac_delim
4284 LDFLAGS!$LDFLAGS$ac_delim
4285 CPPFLAGS!$CPPFLAGS$ac_delim
4286 ac_ct_CC!$ac_ct_CC$ac_delim
4287 EXEEXT!$EXEEXT$ac_delim
4288 OBJEXT!$OBJEXT$ac_delim
4291 CXXFLAGS!$CXXFLAGS$ac_delim
4292 ac_ct_CXX!$ac_ct_CXX$ac_delim
4293 CXXCPP!$CXXCPP$ac_delim
4294 INSTALL!$INSTALL$ac_delim
4295 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4296 INSTALL_DATA!$INSTALL_DATA$ac_delim
4297 GPERF_LIBM!$GPERF_LIBM$ac_delim
4298 LIBOBJS!$LIBOBJS$ac_delim
4299 LTLIBOBJS!$LTLIBOBJS$ac_delim
4302 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
4304 elif $ac_last_try; then
4305 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4306 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4307 { (exit 1); exit 1; }; }
4309 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4313 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4314 if test -n "$ac_eof"; then
4315 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4316 ac_eof=`expr $ac_eof + 1`
4319 cat >>$CONFIG_STATUS <<_ACEOF
4320 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4321 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4324 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4325 s/^/s,@/; s/!/@,|#_!!_#|/
4328 s/'"$ac_delim"'$/,g/; t
4330 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4331 ' >>$CONFIG_STATUS <conf$$subs.sed
4332 rm -f conf$$subs.sed
4333 cat >>$CONFIG_STATUS <<_ACEOF
4340 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4341 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4342 # trailing colons and then remove the whole line if VPATH becomes empty
4343 # (actually we leave an empty line to preserve line numbers).
4344 if test "x$srcdir" = x.; then
4345 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4349 s/^\([^=]*=[ ]*\):*/\1/
4355 cat >>$CONFIG_STATUS <<\_ACEOF
4356 fi # test -n "$CONFIG_FILES"
4359 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
4362 :[FHLC]) ac_mode=$ac_tag; continue;;
4364 case $ac_mode$ac_tag in
4366 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4367 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4368 { (exit 1); exit 1; }; };;
4369 :[FH]-) ac_tag=-:-;;
4370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4387 -) ac_f="$tmp/stdin";;
4388 *) # Look for the file first in the build tree, then in the source tree
4389 # (if the path is not absolute). The absolute path cannot be DOS-style,
4390 # because $ac_f cannot contain `:'.
4394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4396 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4397 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4398 { (exit 1); exit 1; }; };;
4400 ac_file_inputs="$ac_file_inputs $ac_f"
4403 # Let's still pretend it is `configure' which instantiates (i.e., don't
4404 # use $as_me), people would be surprised to read:
4405 # /* config.h. Generated by config.status. */
4406 configure_input="Generated from "`IFS=:
4407 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4408 if test x"$ac_file" != x-; then
4409 configure_input="$ac_file. $configure_input"
4410 { echo "$as_me:$LINENO: creating $ac_file" >&5
4411 echo "$as_me: creating $ac_file" >&6;}
4415 *:-:* | *:-) cat >"$tmp/stdin";;
4420 ac_dir=`$as_dirname -- "$ac_file" ||
4421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4422 X"$ac_file" : 'X\(//\)[^/]' \| \
4423 X"$ac_file" : 'X\(//\)$' \| \
4424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4445 -*) as_dir=./$as_dir;;
4447 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4451 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4452 *) as_qdir=$as_dir;;
4454 as_dirs="'$as_qdir' $as_dirs"
4455 as_dir=`$as_dirname -- "$as_dir" ||
4456 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4457 X"$as_dir" : 'X\(//\)[^/]' \| \
4458 X"$as_dir" : 'X\(//\)$' \| \
4459 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4478 test -d "$as_dir" && break
4480 test -z "$as_dirs" || eval "mkdir $as_dirs"
4481 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4482 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4483 { (exit 1); exit 1; }; }; }
4487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4490 # A ".." for each directory in $ac_dir_suffix.
4491 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4492 case $ac_top_builddir_sub in
4493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4497 ac_abs_top_builddir=$ac_pwd
4498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4499 # for backward compatibility:
4500 ac_top_builddir=$ac_top_build_prefix
4503 .) # We are building in place.
4505 ac_top_srcdir=$ac_top_builddir_sub
4506 ac_abs_top_srcdir=$ac_pwd ;;
4507 [\\/]* | ?:[\\/]* ) # Absolute name.
4508 ac_srcdir=$srcdir$ac_dir_suffix;
4509 ac_top_srcdir=$srcdir
4510 ac_abs_top_srcdir=$srcdir ;;
4512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4513 ac_top_srcdir=$ac_top_build_prefix$srcdir
4514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4527 cat >>$CONFIG_STATUS <<\_ACEOF
4528 # If the template does not know about datarootdir, expand it.
4529 # FIXME: This hack should be removed a few years after 2.60.
4530 ac_datarootdir_hack=; ac_datarootdir_seen=
4532 case `sed -n '/datarootdir/ {
4541 ' $ac_file_inputs` in
4542 *datarootdir*) ac_datarootdir_seen=yes;;
4543 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4544 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4545 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4547 cat >>$CONFIG_STATUS <<_ACEOF
4548 ac_datarootdir_hack='
4549 s&@datadir@&$datadir&g
4550 s&@docdir@&$docdir&g
4551 s&@infodir@&$infodir&g
4552 s&@localedir@&$localedir&g
4553 s&@mandir@&$mandir&g
4554 s&\\\${datarootdir}&$datarootdir&g' ;;
4558 # Neutralize VPATH when `$srcdir' = `.'.
4559 # Shell code in configure.ac might set extrasub.
4560 # FIXME: do we really want to maintain this feature?
4561 cat >>$CONFIG_STATUS <<_ACEOF
4565 cat >>$CONFIG_STATUS <<\_ACEOF
4567 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4568 s&@configure_input@&$configure_input&;t t
4569 s&@top_builddir@&$ac_top_builddir_sub&;t t
4570 s&@srcdir@&$ac_srcdir&;t t
4571 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4572 s&@top_srcdir@&$ac_top_srcdir&;t t
4573 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4574 s&@builddir@&$ac_builddir&;t t
4575 s&@abs_builddir@&$ac_abs_builddir&;t t
4576 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4577 $ac_datarootdir_hack
4578 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4580 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4581 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4582 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4583 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4584 which seems to be undefined. Please make sure it is defined." >&5
4585 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4586 which seems to be undefined. Please make sure it is defined." >&2;}
4590 -) cat "$tmp/out"; rm -f "$tmp/out";;
4591 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4600 # Transform confdefs.h into a sed script `conftest.defines', that
4601 # substitutes the proper values into config.h.in to produce config.h.
4602 rm -f conftest.defines conftest.tail
4603 # First, append a space to every undef/define line, to ease matching.
4604 echo 's/$/ /' >conftest.defines
4605 # Then, protect against being on the right side of a sed subst, or in
4606 # an unquoted here document, in config.status. If some macros were
4607 # called several times there might be several #defines for the same
4608 # symbol, which is useless. But do not sort them, since the last
4609 # AC_DEFINE must be honored.
4610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4611 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4612 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4613 # PARAMS is the parameter list in the macro definition--in most cases, it's
4614 # just an empty string.
4615 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4616 ac_dB='\\)[ (].*,\\1define\\2'
4624 s/^[ ]*#[ ]*define[ ][ ]*//
4629 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4630 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4631 ' >>conftest.defines
4633 # Remove the space that was appended to ease matching.
4634 # Then replace #undef with comments. This is necessary, for
4635 # example, in the case of _POSIX_SOURCE, which is predefined and required
4636 # on some systems where configure will not decide to define it.
4637 # (The regexp can be short, since the line contains either #define or #undef.)
4639 s,^[ #]*u.*,/* & */,' >>conftest.defines
4641 # Break up conftest.defines:
4644 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4645 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4646 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4648 ac_in='$ac_file_inputs'
4649 ac_out='"$tmp/out1"'
4650 ac_nxt='"$tmp/out2"'
4654 # Write a here document:
4655 cat >>$CONFIG_STATUS <<_ACEOF
4656 # First, check the format of the line:
4657 cat >"\$tmp/defines.sed" <<\\CEOF
4658 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4659 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4663 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4665 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4666 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4667 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4668 grep . conftest.tail >/dev/null || break
4669 rm -f conftest.defines
4670 mv conftest.tail conftest.defines
4672 rm -f conftest.defines conftest.tail
4674 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4675 cat >>$CONFIG_STATUS <<\_ACEOF
4676 if test x"$ac_file" != x-; then
4677 echo "/* $configure_input */" >"$tmp/config.h"
4678 cat "$ac_result" >>"$tmp/config.h"
4679 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4680 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4681 echo "$as_me: $ac_file is unchanged" >&6;}
4684 mv "$tmp/config.h" $ac_file
4687 echo "/* $configure_input */"
4699 { (exit 0); exit 0; }
4701 chmod +x $CONFIG_STATUS
4702 ac_clean_files=$ac_clean_files_save
4705 # configure is writing to config.log, and then calls config.status.
4706 # config.status does its own redirection, appending to config.log.
4707 # Unfortunately, on DOS this fails, as config.log is still kept open
4708 # by configure, so config.status won't be able to write to it; its
4709 # output is simply discarded. So we exec the FD to /dev/null,
4710 # effectively closing config.log, so it can be properly (re)opened and
4711 # appended to by config.status. When coming back to configure, we
4712 # need to make the FD available again.
4713 if test "$no_create" != yes; then
4715 ac_config_status_args=
4716 test "$silent" = yes &&
4717 ac_config_status_args="$ac_config_status_args --quiet"
4719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4722 # would make configure fail if this is the last instruction.
4723 $ac_cs_success || { (exit 1); exit 1; }