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="duct.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
677 ac_precious_vars='build_alias
688 # Initialize some variables set by options.
690 ac_init_version=false
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
700 program_transform_name=s,x,x,
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir='${exec_prefix}/bin'
715 sbindir='${exec_prefix}/sbin'
716 libexecdir='${exec_prefix}/libexec'
717 datarootdir='${prefix}/share'
718 datadir='${datarootdir}'
719 sysconfdir='${prefix}/etc'
720 sharedstatedir='${prefix}/com'
721 localstatedir='${prefix}/var'
722 includedir='${prefix}/include'
723 oldincludedir='/usr/include'
724 docdir='${datarootdir}/doc/${PACKAGE}'
725 infodir='${datarootdir}/info'
730 libdir='${exec_prefix}/lib'
731 localedir='${datarootdir}/locale'
732 mandir='${datarootdir}/man'
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\$ac_option
746 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750 # Accept the important Cygnus configure options, so we can diagnose typos.
752 case $ac_dashdash$ac_option in
756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
761 -build | --build | --buil | --bui | --bu)
762 ac_prev=build_alias ;;
763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764 build_alias=$ac_optarg ;;
766 -cache-file | --cache-file | --cache-fil | --cache-fi \
767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768 ac_prev=cache_file ;;
769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771 cache_file=$ac_optarg ;;
774 cache_file=config.cache ;;
776 -datadir | --datadir | --datadi | --datad)
778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
779 datadir=$ac_optarg ;;
781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782 | --dataroo | --dataro | --datar)
783 ac_prev=datarootdir ;;
784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786 datarootdir=$ac_optarg ;;
788 -disable-* | --disable-*)
789 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
793 { (exit 1); exit 1; }; }
794 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
795 eval enable_$ac_feature=no ;;
797 -docdir | --docdir | --docdi | --doc | --do)
799 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
802 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
804 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
807 -enable-* | --enable-*)
808 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
811 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
812 { (exit 1); exit 1; }; }
813 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
814 eval enable_$ac_feature=\$ac_optarg ;;
816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
818 | --exec | --exe | --ex)
819 ac_prev=exec_prefix ;;
820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
822 | --exec=* | --exe=* | --ex=*)
823 exec_prefix=$ac_optarg ;;
825 -gas | --gas | --ga | --g)
826 # Obsolete; use --with-gas.
829 -help | --help | --hel | --he | -h)
831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
832 ac_init_help=recursive ;;
833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
834 ac_init_help=short ;;
836 -host | --host | --hos | --ho)
837 ac_prev=host_alias ;;
838 -host=* | --host=* | --hos=* | --ho=*)
839 host_alias=$ac_optarg ;;
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845 htmldir=$ac_optarg ;;
847 -includedir | --includedir | --includedi | --included | --include \
848 | --includ | --inclu | --incl | --inc)
849 ac_prev=includedir ;;
850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
851 | --includ=* | --inclu=* | --incl=* | --inc=*)
852 includedir=$ac_optarg ;;
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
857 infodir=$ac_optarg ;;
859 -libdir | --libdir | --libdi | --libd)
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
865 | --libexe | --libex | --libe)
866 ac_prev=libexecdir ;;
867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
868 | --libexe=* | --libex=* | --libe=*)
869 libexecdir=$ac_optarg ;;
871 -localedir | --localedir | --localedi | --localed | --locale)
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
874 localedir=$ac_optarg ;;
876 -localstatedir | --localstatedir | --localstatedi | --localstated \
877 | --localstate | --localstat | --localsta | --localst | --locals)
878 ac_prev=localstatedir ;;
879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
881 localstatedir=$ac_optarg ;;
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
889 # Obsolete; use --without-fp.
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
893 | --no-cr | --no-c | -n)
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
902 | --oldin | --oldi | --old | --ol | --o)
903 ac_prev=oldincludedir ;;
904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
907 oldincludedir=$ac_optarg ;;
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
915 | --program-pre | --program-pr | --program-p)
916 ac_prev=program_prefix ;;
917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
919 program_prefix=$ac_optarg ;;
921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
922 | --program-suf | --program-su | --program-s)
923 ac_prev=program_suffix ;;
924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
926 program_suffix=$ac_optarg ;;
928 -program-transform-name | --program-transform-name \
929 | --program-transform-nam | --program-transform-na \
930 | --program-transform-n | --program-transform- \
931 | --program-transform | --program-transfor \
932 | --program-transfo | --program-transf \
933 | --program-trans | --program-tran \
934 | --progr-tra | --program-tr | --program-t)
935 ac_prev=program_transform_name ;;
936 -program-transform-name=* | --program-transform-name=* \
937 | --program-transform-nam=* | --program-transform-na=* \
938 | --program-transform-n=* | --program-transform-=* \
939 | --program-transform=* | --program-transfor=* \
940 | --program-transfo=* | --program-transf=* \
941 | --program-trans=* | --program-tran=* \
942 | --progr-tra=* | --program-tr=* | --program-t=*)
943 program_transform_name=$ac_optarg ;;
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950 -psdir | --psdir | --psdi | --psd | --ps)
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
956 | -silent | --silent | --silen | --sile | --sil)
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963 sbindir=$ac_optarg ;;
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974 sharedstatedir=$ac_optarg ;;
976 -site | --site | --sit)
978 -site=* | --site=* | --sit=*)
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
987 | --syscon | --sysco | --sysc | --sys | --sy)
988 ac_prev=sysconfdir ;;
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
991 sysconfdir=$ac_optarg ;;
993 -target | --target | --targe | --targ | --tar | --ta | --t)
994 ac_prev=target_alias ;;
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
996 target_alias=$ac_optarg ;;
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
1005 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid package name: $ac_package" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1011 eval with_$ac_package=\$ac_optarg ;;
1013 -without-* | --without-*)
1014 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1020 eval with_$ac_package=no ;;
1023 # Obsolete; use --with-x.
1026 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1027 | --x-incl | --x-inc | --x-in | --x-i)
1028 ac_prev=x_includes ;;
1029 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1030 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1031 x_includes=$ac_optarg ;;
1033 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1034 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1035 ac_prev=x_libraries ;;
1036 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1037 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1038 x_libraries=$ac_optarg ;;
1040 -*) { echo "$as_me: error: unrecognized option: $ac_option
1041 Try \`$0 --help' for more information." >&2
1042 { (exit 1); exit 1; }; }
1046 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1049 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1050 { (exit 1); exit 1; }; }
1051 eval $ac_envvar=\$ac_optarg
1052 export $ac_envvar ;;
1055 # FIXME: should be removed in autoconf 3.0.
1056 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1057 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1058 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1059 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1065 if test -n "$ac_prev"; then
1066 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1067 { echo "$as_me: error: missing argument to $ac_option" >&2
1068 { (exit 1); exit 1; }; }
1071 # Be sure to have absolute directory names.
1072 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1073 datadir sysconfdir sharedstatedir localstatedir includedir \
1074 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1075 libdir localedir mandir
1077 eval ac_val=\$$ac_var
1079 [\\/$]* | ?:[\\/]* ) continue;;
1080 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1082 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1083 { (exit 1); exit 1; }; }
1086 # There might be people who depend on the old broken behavior: `$host'
1087 # used to hold the argument of --host etc.
1088 # FIXME: To remove some day.
1091 target=$target_alias
1093 # FIXME: To remove some day.
1094 if test "x$host_alias" != x; then
1095 if test "x$build_alias" = x; then
1096 cross_compiling=maybe
1097 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1098 If a cross compiler is detected then cross compile mode will be used." >&2
1099 elif test "x$build_alias" != "x$host_alias"; then
1105 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1107 test "$silent" = yes && exec 6>/dev/null
1110 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1111 ac_ls_di=`ls -di .` &&
1112 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1113 { echo "$as_me: error: Working directory cannot be determined" >&2
1114 { (exit 1); exit 1; }; }
1115 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1116 { echo "$as_me: error: pwd does not report name of working directory" >&2
1117 { (exit 1); exit 1; }; }
1120 # Find the source files, if location was not specified.
1121 if test -z "$srcdir"; then
1122 ac_srcdir_defaulted=yes
1123 # Try the directory containing this script, then the parent directory.
1124 ac_confdir=`$as_dirname -- "$0" ||
1125 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1126 X"$0" : 'X\(//\)[^/]' \| \
1127 X"$0" : 'X\(//\)$' \| \
1128 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1152 ac_srcdir_defaulted=no
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1156 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1157 { (exit 1); exit 1; }; }
1159 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1161 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1162 { (exit 1); exit 1; }; }
1164 # When building in place, set srcdir=.
1165 if test "$ac_abs_confdir" = "$ac_pwd"; then
1168 # Remove unnecessary trailing slashes from srcdir.
1169 # Double slashes in file names in object file debugging info
1170 # mess up M-x gdb in Emacs.
1172 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1174 for ac_var in $ac_precious_vars; do
1175 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1176 eval ac_env_${ac_var}_value=\$${ac_var}
1177 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1178 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1182 # Report the --help message.
1184 if test "$ac_init_help" = "long"; then
1185 # Omit some internal or obsolete options to make the list less imposing.
1186 # This message is too long to be a string in the A/UX 3.1 sh.
1188 \`configure' configures this package to adapt to many kinds of systems.
1190 Usage: $0 [OPTION]... [VAR=VALUE]...
1192 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1193 VAR=VALUE. See below for descriptions of some of the useful variables.
1195 Defaults for the options are specified in brackets.
1198 -h, --help display this help and exit
1199 --help=short display options specific to this package
1200 --help=recursive display the short help of all the included packages
1201 -V, --version display version information and exit
1202 -q, --quiet, --silent do not print \`checking...' messages
1203 --cache-file=FILE cache test results in FILE [disabled]
1204 -C, --config-cache alias for \`--cache-file=config.cache'
1205 -n, --no-create do not create output files
1206 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1208 Installation directories:
1209 --prefix=PREFIX install architecture-independent files in PREFIX
1210 [$ac_default_prefix]
1211 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1214 By default, \`make install' will install all the files in
1215 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1216 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1217 for instance \`--prefix=\$HOME'.
1219 For better control, use the options below.
1221 Fine tuning of the installation directories:
1222 --bindir=DIR user executables [EPREFIX/bin]
1223 --sbindir=DIR system admin executables [EPREFIX/sbin]
1224 --libexecdir=DIR program executables [EPREFIX/libexec]
1225 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1226 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1227 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1228 --libdir=DIR object code libraries [EPREFIX/lib]
1229 --includedir=DIR C header files [PREFIX/include]
1230 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1231 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1232 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1233 --infodir=DIR info documentation [DATAROOTDIR/info]
1234 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1235 --mandir=DIR man documentation [DATAROOTDIR/man]
1236 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1237 --htmldir=DIR html documentation [DOCDIR]
1238 --dvidir=DIR dvi documentation [DOCDIR]
1239 --pdfdir=DIR pdf documentation [DOCDIR]
1240 --psdir=DIR ps documentation [DOCDIR]
1246 --program-prefix=PREFIX prepend PREFIX to installed program names
1247 --program-suffix=SUFFIX append SUFFIX to installed program names
1248 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1252 if test -n "$ac_init_help"; then
1256 Some influential environment variables:
1257 CC C compiler command
1258 CFLAGS C compiler flags
1259 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1260 nonstandard directory <lib dir>
1261 LIBS libraries to pass to the linker, e.g. -l<library>
1262 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1263 you have headers in a nonstandard directory <include dir>
1266 Use these variables to override the choices made by `configure' or to help
1267 it to find libraries and programs with nonstandard names/locations.
1273 if test "$ac_init_help" = "recursive"; then
1274 # If there are subdirs, report their specific --help.
1275 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276 test -d "$ac_dir" || continue
1280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1283 # A ".." for each directory in $ac_dir_suffix.
1284 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1285 case $ac_top_builddir_sub in
1286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290 ac_abs_top_builddir=$ac_pwd
1291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1292 # for backward compatibility:
1293 ac_top_builddir=$ac_top_build_prefix
1296 .) # We are building in place.
1298 ac_top_srcdir=$ac_top_builddir_sub
1299 ac_abs_top_srcdir=$ac_pwd ;;
1300 [\\/]* | ?:[\\/]* ) # Absolute name.
1301 ac_srcdir=$srcdir$ac_dir_suffix;
1302 ac_top_srcdir=$srcdir
1303 ac_abs_top_srcdir=$srcdir ;;
1305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1306 ac_top_srcdir=$ac_top_build_prefix$srcdir
1307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311 cd "$ac_dir" || { ac_status=$?; continue; }
1312 # Check for guested configure.
1313 if test -f "$ac_srcdir/configure.gnu"; then
1315 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1316 elif test -f "$ac_srcdir/configure"; then
1318 $SHELL "$ac_srcdir/configure" --help=recursive
1320 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322 cd "$ac_pwd" || { ac_status=$?; break; }
1326 test -n "$ac_init_help" && exit $ac_status
1327 if $ac_init_version; then
1330 generated by GNU Autoconf 2.61
1332 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1333 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1334 This configure script is free software; the Free Software Foundation
1335 gives unlimited permission to copy, distribute and modify it.
1339 cat >config.log <<_ACEOF
1340 This file contains any messages produced by compilers while
1341 running configure, to aid debugging if configure makes a mistake.
1343 It was created by $as_me, which was
1344 generated by GNU Autoconf 2.61. Invocation command line was
1356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 test -z "$as_dir" && as_dir=.
1380 echo "PATH: $as_dir"
1396 # Keep a trace of the command line.
1397 # Strip out --no-create and --no-recursion so they do not pile up.
1398 # Strip out --silent because we don't want to record it for future runs.
1399 # Also quote any args containing shell meta-characters.
1400 # Make two passes to allow for proper duplicate-argument suppression.
1404 ac_must_keep_next=false
1410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1412 | -silent | --silent | --silen | --sile | --sil)
1415 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1420 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1421 if test $ac_must_keep_next = true; then
1422 ac_must_keep_next=false # Got value, back to normal.
1425 *=* | --config-cache | -C | -disable-* | --disable-* \
1426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1428 | -with-* | --with-* | -without-* | --without-* | --x)
1429 case "$ac_configure_args0 " in
1430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433 -* ) ac_must_keep_next=true ;;
1436 ac_configure_args="$ac_configure_args '$ac_arg'"
1441 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1442 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1444 # When interrupted or exit'd, cleanup temporary files, and complete
1445 # config.log. We remove comments because anyway the quotes in there
1446 # would cause problems or look ugly.
1447 # WARNING: Use '\'' to represent an apostrophe within the trap.
1448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1449 trap 'exit_status=$?
1450 # Save into config.log some information that might help in debugging.
1455 ## ---------------- ##
1456 ## Cache variables. ##
1457 ## ---------------- ##
1460 # The following way of writing the cache mishandles newlines in values,
1462 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1463 eval ac_val=\$$ac_var
1467 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1468 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1471 _ | IFS | as_nl) ;; #(
1472 *) $as_unset $ac_var ;;
1477 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1478 *${as_nl}ac_space=\ *)
1480 "s/'\''/'\''\\\\'\'''\''/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1497 for ac_var in $ac_subst_vars
1499 eval ac_val=\$$ac_var
1501 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503 echo "$ac_var='\''$ac_val'\''"
1507 if test -n "$ac_subst_files"; then
1509 ## ------------------- ##
1510 ## File substitutions. ##
1511 ## ------------------- ##
1514 for ac_var in $ac_subst_files
1516 eval ac_val=\$$ac_var
1518 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520 echo "$ac_var='\''$ac_val'\''"
1525 if test -s confdefs.h; then
1535 test "$ac_signal" != 0 &&
1536 echo "$as_me: caught signal $ac_signal"
1537 echo "$as_me: exit $exit_status"
1539 rm -f core *.core core.conftest.* &&
1540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1543 for ac_signal in 1 2 13 15; do
1544 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1549 rm -f -r conftest* confdefs.h
1551 # Predefined preprocessor variables.
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_NAME "$PACKAGE_NAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_STRING "$PACKAGE_STRING"
1573 cat >>confdefs.h <<_ACEOF
1574 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1578 # Let the site file select an alternate cache file if it wants to.
1579 # Prefer explicitly selected file to automatically selected ones.
1580 if test -n "$CONFIG_SITE"; then
1581 set x "$CONFIG_SITE"
1582 elif test "x$prefix" != xNONE; then
1583 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1585 set x "$ac_default_prefix/share/config.site" \
1586 "$ac_default_prefix/etc/config.site"
1591 if test -r "$ac_site_file"; then
1592 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1593 echo "$as_me: loading site script $ac_site_file" >&6;}
1594 sed 's/^/| /' "$ac_site_file" >&5
1599 if test -r "$cache_file"; then
1600 # Some versions of bash will fail to source /dev/null (special
1601 # files actually), so we avoid doing that.
1602 if test -f "$cache_file"; then
1603 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1604 echo "$as_me: loading cache $cache_file" >&6;}
1606 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1607 *) . "./$cache_file";;
1611 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1612 echo "$as_me: creating cache $cache_file" >&6;}
1616 # Check that the precious variables saved in the cache have kept the same
1618 ac_cache_corrupted=false
1619 for ac_var in $ac_precious_vars; do
1620 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1621 eval ac_new_set=\$ac_env_${ac_var}_set
1622 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1623 eval ac_new_val=\$ac_env_${ac_var}_value
1624 case $ac_old_set,$ac_new_set in
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1630 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1631 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1632 ac_cache_corrupted=: ;;
1635 if test "x$ac_old_val" != "x$ac_new_val"; then
1636 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1637 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1639 echo "$as_me: former value: $ac_old_val" >&2;}
1640 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1641 echo "$as_me: current value: $ac_new_val" >&2;}
1642 ac_cache_corrupted=:
1645 # Pass precious variables to config.status.
1646 if test "$ac_new_set" = set; then
1648 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 *) ac_arg=$ac_var=$ac_new_val ;;
1651 case " $ac_configure_args " in
1652 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1653 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1657 if $ac_cache_corrupted; then
1658 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1659 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1661 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1662 { (exit 1); exit 1; }; }
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1689 for ac_dir in autoconf-aux "$srcdir"/autoconf-aux; do
1690 if test -f "$ac_dir/install-sh"; then
1692 ac_install_sh="$ac_aux_dir/install-sh -c"
1694 elif test -f "$ac_dir/install.sh"; then
1696 ac_install_sh="$ac_aux_dir/install.sh -c"
1698 elif test -f "$ac_dir/shtool"; then
1700 ac_install_sh="$ac_aux_dir/shtool install -c"
1704 if test -z "$ac_aux_dir"; then
1705 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf-aux \"$srcdir\"/autoconf-aux" >&5
1706 echo "$as_me: error: cannot find install-sh or install.sh in autoconf-aux \"$srcdir\"/autoconf-aux" >&2;}
1707 { (exit 1); exit 1; }; }
1710 # These three variables are undocumented and unsupported,
1711 # and are intended to be withdrawn in a future Autoconf release.
1712 # They can cause serious problems if a builder's source tree is in a directory
1713 # whose full name contains unusual characters.
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1716 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1719 am__api_version="1.4"
1720 # Find a good install program. We prefer a C program (faster),
1721 # so one script is as good as another. But avoid the broken or
1722 # incompatible versions:
1723 # SysV /etc/install, /usr/sbin/install
1724 # SunOS /usr/etc/install
1725 # IRIX /sbin/install
1727 # AmigaOS /C/install, which installs bootblocks on floppy discs
1728 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1729 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1730 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1731 # OS/2's system install, which has a completely different semantic
1732 # ./install, which can be erroneously created by make from ./install.sh.
1733 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1734 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1735 if test -z "$INSTALL"; then
1736 if test "${ac_cv_path_install+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 # Account for people who put trailing slashes in PATH elements.
1746 ./ | .// | /cC/* | \
1747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1751 # OSF1 and SCO ODT 3.0 have their own names for install.
1752 # Don't use installbsd from OSF since it installs stuff as root
1754 for ac_prog in ginstall scoinst install; do
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1757 if test $ac_prog = install &&
1758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1759 # AIX install. It has an incompatible calling convention.
1761 elif test $ac_prog = install &&
1762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # program-specific install script used by HP pwplus--don't use.
1766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1779 if test "${ac_cv_path_install+set}" = set; then
1780 INSTALL=$ac_cv_path_install
1782 # As a last resort, use the slow shell script. Don't cache a
1783 # value for INSTALL within a source directory, because that will
1784 # break other packages using the cache if that directory is
1785 # removed, or if the value is a relative name.
1786 INSTALL=$ac_install_sh
1789 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1790 echo "${ECHO_T}$INSTALL" >&6; }
1792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793 # It thinks the first close brace ends the variable substitution.
1794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1798 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1800 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1801 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1804 echo timestamp > conftestfile
1805 # Do `set' in a subshell so we don't clobber the current shell's
1806 # arguments. Must try -L first in case configure is actually a
1807 # symlink; some systems play weird games with the mod time of symlinks
1808 # (eg FreeBSD returns the mod time of the symlink's containing
1811 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1812 if test "$*" = "X"; then
1814 set X `ls -t $srcdir/configure conftestfile`
1816 if test "$*" != "X $srcdir/configure conftestfile" \
1817 && test "$*" != "X conftestfile $srcdir/configure"; then
1819 # If neither matched, then we have a broken ls. This can happen
1820 # if, for instance, CONFIG_SHELL is bash and it inherits a
1821 # broken ls alias from the environment. This has actually
1822 # happened. Such a system could not be considered "sane".
1823 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1824 alias in your environment" >&5
1825 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1826 alias in your environment" >&2;}
1827 { (exit 1); exit 1; }; }
1830 test "$2" = conftestfile
1836 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1837 Check your system clock" >&5
1838 echo "$as_me: error: newly created file is older than distributed files!
1839 Check your system clock" >&2;}
1840 { (exit 1); exit 1; }; }
1843 { echo "$as_me:$LINENO: result: yes" >&5
1844 echo "${ECHO_T}yes" >&6; }
1845 test "$program_prefix" != NONE &&
1846 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1847 # Use a double $ so make ignores it.
1848 test "$program_suffix" != NONE &&
1849 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1850 # Double any \ or $. echo might interpret backslashes.
1851 # By default was `s,x,x', remove it if useless.
1852 cat <<\_ACEOF >conftest.sed
1853 s/[\\$]/&&/g;s/;s,x,x,$//
1855 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1858 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1859 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1860 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1861 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 cat >conftest.make <<\_ACEOF
1867 @echo '@@@%%%=$(MAKE)=@@@%%%'
1869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1870 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1872 eval ac_cv_prog_make_${ac_make}_set=yes;;
1874 eval ac_cv_prog_make_${ac_make}_set=no;;
1878 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1879 { echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6; }
1883 { echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6; }
1885 SET_MAKE="MAKE=${MAKE-make}"
1893 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1894 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1895 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1896 { (exit 1); exit 1; }; }
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE "$PACKAGE"
1904 cat >>confdefs.h <<_ACEOF
1905 #define VERSION "$VERSION"
1910 missing_dir=`cd $ac_aux_dir && pwd`
1911 { echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1912 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; }
1913 # Run test in a subshell; some versions of sh will print an error if
1914 # an executable is not found, even if stderr is redirected.
1915 # Redirect stdin to placate older versions of autoconf. Sigh.
1916 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1917 ACLOCAL=aclocal-${am__api_version}
1918 { echo "$as_me:$LINENO: result: found" >&5
1919 echo "${ECHO_T}found" >&6; }
1921 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1922 { echo "$as_me:$LINENO: result: missing" >&5
1923 echo "${ECHO_T}missing" >&6; }
1926 { echo "$as_me:$LINENO: checking for working autoconf" >&5
1927 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; }
1928 # Run test in a subshell; some versions of sh will print an error if
1929 # an executable is not found, even if stderr is redirected.
1930 # Redirect stdin to placate older versions of autoconf. Sigh.
1931 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1933 { echo "$as_me:$LINENO: result: found" >&5
1934 echo "${ECHO_T}found" >&6; }
1936 AUTOCONF="$missing_dir/missing autoconf"
1937 { echo "$as_me:$LINENO: result: missing" >&5
1938 echo "${ECHO_T}missing" >&6; }
1941 { echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1942 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; }
1943 # Run test in a subshell; some versions of sh will print an error if
1944 # an executable is not found, even if stderr is redirected.
1945 # Redirect stdin to placate older versions of autoconf. Sigh.
1946 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1947 AUTOMAKE=automake-${am__api_version}
1948 { echo "$as_me:$LINENO: result: found" >&5
1949 echo "${ECHO_T}found" >&6; }
1951 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1952 { echo "$as_me:$LINENO: result: missing" >&5
1953 echo "${ECHO_T}missing" >&6; }
1956 { echo "$as_me:$LINENO: checking for working autoheader" >&5
1957 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; }
1958 # Run test in a subshell; some versions of sh will print an error if
1959 # an executable is not found, even if stderr is redirected.
1960 # Redirect stdin to placate older versions of autoconf. Sigh.
1961 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1962 AUTOHEADER=autoheader
1963 { echo "$as_me:$LINENO: result: found" >&5
1964 echo "${ECHO_T}found" >&6; }
1966 AUTOHEADER="$missing_dir/missing autoheader"
1967 { echo "$as_me:$LINENO: result: missing" >&5
1968 echo "${ECHO_T}missing" >&6; }
1971 { echo "$as_me:$LINENO: checking for working makeinfo" >&5
1972 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; }
1973 # Run test in a subshell; some versions of sh will print an error if
1974 # an executable is not found, even if stderr is redirected.
1975 # Redirect stdin to placate older versions of autoconf. Sigh.
1976 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1978 { echo "$as_me:$LINENO: result: found" >&5
1979 echo "${ECHO_T}found" >&6; }
1981 MAKEINFO="$missing_dir/missing makeinfo"
1982 { echo "$as_me:$LINENO: result: missing" >&5
1983 echo "${ECHO_T}missing" >&6; }
1989 ac_cpp='$CPP $CPPFLAGS'
1990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1993 if test -n "$ac_tool_prefix"; then
1994 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1995 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998 if test "${ac_cv_prog_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$CC"; then
2002 ac_cv_prog_CC="$CC" # Let the user override the test.
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2011 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 if test -n "$CC"; then
2023 { echo "$as_me:$LINENO: result: $CC" >&5
2024 echo "${ECHO_T}$CC" >&6; }
2026 { echo "$as_me:$LINENO: result: no" >&5
2027 echo "${ECHO_T}no" >&6; }
2032 if test -z "$ac_cv_prog_CC"; then
2034 # Extract the first word of "gcc", so it can be a program name with args.
2035 set dummy gcc; ac_word=$2
2036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$ac_ct_CC"; then
2042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051 ac_cv_prog_ac_ct_CC="gcc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2062 if test -n "$ac_ct_CC"; then
2063 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2064 echo "${ECHO_T}$ac_ct_CC" >&6; }
2066 { echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6; }
2070 if test "x$ac_ct_CC" = x; then
2073 case $cross_compiling:$ac_tool_warned in
2075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2076 whose name does not start with the host triplet. If you think this
2077 configuration is useful to you, please write to autoconf@gnu.org." >&5
2078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2079 whose name does not start with the host triplet. If you think this
2080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2081 ac_tool_warned=yes ;;
2089 if test -z "$CC"; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}cc; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC="$CC" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_CC="${ac_tool_prefix}cc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 if test -n "$CC"; then
2120 { echo "$as_me:$LINENO: result: $CC" >&5
2121 echo "${ECHO_T}$CC" >&6; }
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2130 if test -z "$CC"; then
2131 # Extract the first word of "cc", so it can be a program name with args.
2132 set dummy cc; ac_word=$2
2133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2135 if test "${ac_cv_prog_CC+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$CC"; then
2139 ac_cv_prog_CC="$CC" # Let the user override the test.
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2149 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2150 ac_prog_rejected=yes
2154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test $ac_prog_rejected = yes; then
2162 # We found a bogon in the path, so make sure we never use it.
2163 set dummy $ac_cv_prog_CC
2165 if test $# != 0; then
2166 # We chose a different compiler from the bogus one.
2167 # However, it has the same basename, so the bogon will be chosen
2168 # first if we set CC to just the basename; use the full file name.
2170 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2176 if test -n "$CC"; then
2177 { echo "$as_me:$LINENO: result: $CC" >&5
2178 echo "${ECHO_T}$CC" >&6; }
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2186 if test -z "$CC"; then
2187 if test -n "$ac_tool_prefix"; then
2188 for ac_prog in cl.exe
2190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2194 if test "${ac_cv_prog_CC+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 if test -n "$CC"; then
2198 ac_cv_prog_CC="$CC" # Let the user override the test.
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 if test -n "$CC"; then
2219 { echo "$as_me:$LINENO: result: $CC" >&5
2220 echo "${ECHO_T}$CC" >&6; }
2222 { echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6; }
2227 test -n "$CC" && break
2230 if test -z "$CC"; then
2232 for ac_prog in cl.exe
2234 # Extract the first word of "$ac_prog", so it can be a program name with args.
2235 set dummy $ac_prog; ac_word=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -n "$ac_ct_CC"; then
2242 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_ac_ct_CC="$ac_prog"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2262 if test -n "$ac_ct_CC"; then
2263 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2264 echo "${ECHO_T}$ac_ct_CC" >&6; }
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2271 test -n "$ac_ct_CC" && break
2274 if test "x$ac_ct_CC" = x; then
2277 case $cross_compiling:$ac_tool_warned in
2279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2280 whose name does not start with the host triplet. If you think this
2281 configuration is useful to you, please write to autoconf@gnu.org." >&5
2282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2283 whose name does not start with the host triplet. If you think this
2284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2285 ac_tool_warned=yes ;;
2294 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2295 See \`config.log' for more details." >&5
2296 echo "$as_me: error: no acceptable C compiler found in \$PATH
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2300 # Provide some information about the compiler.
2301 echo "$as_me:$LINENO: checking for C compiler version" >&5
2302 ac_compiler=`set X $ac_compile; echo $2`
2303 { (ac_try="$ac_compiler --version >&5"
2305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306 *) ac_try_echo=$ac_try;;
2308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2309 (eval "$ac_compiler --version >&5") 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }
2313 { (ac_try="$ac_compiler -v >&5"
2315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2316 *) ac_try_echo=$ac_try;;
2318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2319 (eval "$ac_compiler -v >&5") 2>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }
2323 { (ac_try="$ac_compiler -V >&5"
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2329 (eval "$ac_compiler -V >&5") 2>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2334 cat >conftest.$ac_ext <<_ACEOF
2337 cat confdefs.h >>conftest.$ac_ext
2338 cat >>conftest.$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2349 ac_clean_files_save=$ac_clean_files
2350 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2351 # Try to create an executable without -o first, disregard a.out.
2352 # It will help us diagnose broken compilers, and finding out an intuition
2354 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2355 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2356 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2358 # List of possible output files, starting from the most likely.
2359 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2360 # only as a last resort. b.out is created by i960 compilers.
2361 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2363 # The IRIX 6 linker writes into existing files which may not be
2364 # executable, retaining their permissions. Remove them first so a
2365 # subsequent execution test works.
2367 for ac_file in $ac_files
2370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2371 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2376 if { (ac_try="$ac_link_default"
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_link_default") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; then
2386 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2388 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2389 # so that the user can short-circuit this test for compilers unknown to
2391 for ac_file in $ac_files ''
2393 test -f "$ac_file" || continue
2395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2398 # We found the default executable, but exeext='' is most
2402 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2404 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2406 # We set ac_cv_exeext here because the later test for it is not
2407 # safe: cross compilers may not add the suffix if given an `-o'
2408 # argument, so we may need to know it at that point already.
2409 # Even if this section looks crufty: it has the advantage of
2416 test "$ac_cv_exeext" = no && ac_cv_exeext=
2422 { echo "$as_me:$LINENO: result: $ac_file" >&5
2423 echo "${ECHO_T}$ac_file" >&6; }
2424 if test -z "$ac_file"; then
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2429 See \`config.log' for more details." >&5
2430 echo "$as_me: error: C compiler cannot create executables
2431 See \`config.log' for more details." >&2;}
2432 { (exit 77); exit 77; }; }
2435 ac_exeext=$ac_cv_exeext
2437 # Check that the compiler produces executables we can run. If not, either
2438 # the compiler is broken, or we cross compile.
2439 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2440 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2441 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2442 # If not cross compiling, check that we can run a simple program.
2443 if test "$cross_compiling" != yes; then
2444 if { ac_try='./$ac_file'
2445 { (case "(($ac_try" in
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2450 (eval "$ac_try") 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2456 if test "$cross_compiling" = maybe; then
2459 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2460 If you meant to cross compile, use \`--host'.
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot run C compiled programs.
2463 If you meant to cross compile, use \`--host'.
2464 See \`config.log' for more details." >&2;}
2465 { (exit 1); exit 1; }; }
2469 { echo "$as_me:$LINENO: result: yes" >&5
2470 echo "${ECHO_T}yes" >&6; }
2472 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2473 ac_clean_files=$ac_clean_files_save
2474 # Check that the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2477 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2478 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2479 echo "${ECHO_T}$cross_compiling" >&6; }
2481 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2482 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2483 if { (ac_try="$ac_link"
2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486 *) ac_try_echo=$ac_try;;
2488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2489 (eval "$ac_link") 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2497 for ac_file in conftest.exe conftest conftest.*; do
2498 test -f "$ac_file" || continue
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest$ac_cv_exeext
2515 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2521 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2522 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2523 if test "${ac_cv_objext+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.$ac_ext <<_ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2541 rm -f conftest.o conftest.obj
2542 if { (ac_try="$ac_compile"
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548 (eval "$ac_compile") 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; then
2552 for ac_file in conftest.o conftest.obj conftest.*; do
2553 test -f "$ac_file" || continue;
2555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2556 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }
2571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2573 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2574 echo "${ECHO_T}$ac_cv_objext" >&6; }
2575 OBJEXT=$ac_cv_objext
2577 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2578 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2579 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 cat >conftest.$ac_ext <<_ACEOF
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2600 rm -f conftest.$ac_objext
2601 if { (ac_try="$ac_compile"
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compile") 2>conftest.er1
2609 grep -v '^ *+' conftest.er1 >conftest.err
2611 cat conftest.err >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } && {
2614 test -z "$ac_c_werror_flag" ||
2615 test ! -s conftest.err
2616 } && test -s conftest.$ac_objext; then
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2630 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2631 GCC=`test $ac_compiler_gnu = yes && echo yes`
2632 ac_test_CFLAGS=${CFLAGS+set}
2633 ac_save_CFLAGS=$CFLAGS
2634 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 ac_save_c_werror_flag=$ac_c_werror_flag
2640 ac_c_werror_flag=yes
2643 cat >conftest.$ac_ext <<_ACEOF
2646 cat confdefs.h >>conftest.$ac_ext
2647 cat >>conftest.$ac_ext <<_ACEOF
2648 /* end confdefs.h. */
2658 rm -f conftest.$ac_objext
2659 if { (ac_try="$ac_compile"
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_compile") 2>conftest.er1
2667 grep -v '^ *+' conftest.er1 >conftest.err
2669 cat conftest.err >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } && {
2672 test -z "$ac_c_werror_flag" ||
2673 test ! -s conftest.err
2674 } && test -s conftest.$ac_objext; then
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2681 cat >conftest.$ac_ext <<_ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2696 rm -f conftest.$ac_objext
2697 if { (ac_try="$ac_compile"
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_compile") 2>conftest.er1
2705 grep -v '^ *+' conftest.er1 >conftest.err
2707 cat conftest.err >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest.$ac_objext; then
2715 echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 ac_c_werror_flag=$ac_save_c_werror_flag
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2735 rm -f conftest.$ac_objext
2736 if { (ac_try="$ac_compile"
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_compile") 2>conftest.er1
2744 grep -v '^ *+' conftest.er1 >conftest.err
2746 cat conftest.err >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } && {
2749 test -z "$ac_c_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest.$ac_objext; then
2754 echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 ac_c_werror_flag=$ac_save_c_werror_flag
2769 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2770 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2771 if test "$ac_test_CFLAGS" = set; then
2772 CFLAGS=$ac_save_CFLAGS
2773 elif test $ac_cv_prog_cc_g = yes; then
2774 if test "$GCC" = yes; then
2780 if test "$GCC" = yes; then
2786 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2787 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2788 if test "${ac_cv_prog_cc_c89+set}" = set; then
2789 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 ac_cv_prog_cc_c89=no
2793 cat >conftest.$ac_ext <<_ACEOF
2796 cat confdefs.h >>conftest.$ac_ext
2797 cat >>conftest.$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2801 #include <sys/types.h>
2802 #include <sys/stat.h>
2803 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2804 struct buf { int x; };
2805 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2806 static char *e (p, i)
2812 static char *f (char * (*g) (char **, int), char **p, ...)
2817 s = g (p, va_arg (v,int));
2822 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2823 function prototypes and stuff, but not '\xHH' hex character constants.
2824 These don't provoke an error unfortunately, instead are silently treated
2825 as 'x'. The following induces an error, until -std is added to get
2826 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2827 array size at least. It's necessary to write '\x00'==0 to get something
2828 that's true only with -std. */
2829 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2831 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2832 inside strings and character constants. */
2834 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2836 int test (int i, double x);
2837 struct s1 {int (*f) (int a);};
2838 struct s2 {int (*f) (double a);};
2839 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2845 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2850 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2851 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2853 CC="$ac_save_CC $ac_arg"
2854 rm -f conftest.$ac_objext
2855 if { (ac_try="$ac_compile"
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 (eval "$ac_compile") 2>conftest.er1
2863 grep -v '^ *+' conftest.er1 >conftest.err
2865 cat conftest.err >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } && {
2868 test -z "$ac_c_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then
2871 ac_cv_prog_cc_c89=$ac_arg
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2879 rm -f core conftest.err conftest.$ac_objext
2880 test "x$ac_cv_prog_cc_c89" != "xno" && break
2882 rm -f conftest.$ac_ext
2887 case "x$ac_cv_prog_cc_c89" in
2889 { echo "$as_me:$LINENO: result: none needed" >&5
2890 echo "${ECHO_T}none needed" >&6; } ;;
2892 { echo "$as_me:$LINENO: result: unsupported" >&5
2893 echo "${ECHO_T}unsupported" >&6; } ;;
2895 CC="$CC $ac_cv_prog_cc_c89"
2896 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2897 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2902 ac_cpp='$CPP $CPPFLAGS'
2903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
2957 grep -v '^ *+' conftest.er1 >conftest.err
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } >/dev/null && {
2962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2970 # Broken: fails on valid input.
2974 rm -f conftest.err conftest.$ac_ext
2976 # OK, works on sane cases. Now check whether nonexistent headers
2977 # can be detected and how.
2978 cat >conftest.$ac_ext <<_ACEOF
2981 cat confdefs.h >>conftest.$ac_ext
2982 cat >>conftest.$ac_ext <<_ACEOF
2983 /* end confdefs.h. */
2984 #include <ac_nonexistent.h>
2986 if { (ac_try="$ac_cpp conftest.$ac_ext"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } >/dev/null && {
2999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3002 # Broken: success on invalid input.
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 # Passes both tests.
3013 rm -f conftest.err conftest.$ac_ext
3016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3017 rm -f conftest.err conftest.$ac_ext
3018 if $ac_preproc_ok; then
3030 { echo "$as_me:$LINENO: result: $CPP" >&5
3031 echo "${ECHO_T}$CPP" >&6; }
3033 for ac_c_preproc_warn_flag in '' yes
3035 # Use a header file that comes with gcc, so configuring glibc
3036 # with a fresh cross-compiler works.
3037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3038 # <limits.h> exists even on freestanding compilers.
3039 # On the NeXT, cc -E runs the code through the compiler's parser,
3040 # not just through cpp. "Syntax error" is here to catch this case.
3041 cat >conftest.$ac_ext <<_ACEOF
3044 cat confdefs.h >>conftest.$ac_ext
3045 cat >>conftest.$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3048 # include <limits.h>
3050 # include <assert.h>
3054 if { (ac_try="$ac_cpp conftest.$ac_ext"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } >/dev/null && {
3067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3075 # Broken: fails on valid input.
3079 rm -f conftest.err conftest.$ac_ext
3081 # OK, works on sane cases. Now check whether nonexistent headers
3082 # can be detected and how.
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3089 #include <ac_nonexistent.h>
3091 if { (ac_try="$ac_cpp conftest.$ac_ext"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null && {
3104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3107 # Broken: success on invalid input.
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3113 # Passes both tests.
3118 rm -f conftest.err conftest.$ac_ext
3121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3122 rm -f conftest.err conftest.$ac_ext
3123 if $ac_preproc_ok; then
3126 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3127 See \`config.log' for more details." >&5
3128 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3129 See \`config.log' for more details." >&2;}
3130 { (exit 1); exit 1; }; }
3134 ac_cpp='$CPP $CPPFLAGS'
3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3141 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3142 if test "${ac_cv_path_GREP+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 # Extract the first word of "grep ggrep" to use in msg output
3146 if test -z "$GREP"; then
3147 set dummy grep ggrep; ac_prog_name=$2
3148 if test "${ac_cv_path_GREP+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 ac_path_GREP_found=false
3152 # Loop through the user's path and test for each of PROGNAME-LIST
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3157 test -z "$as_dir" && as_dir=.
3158 for ac_prog in grep ggrep; do
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3161 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3162 # Check for GNU ac_path_GREP and select it if it is found.
3163 # Check for GNU $ac_path_GREP
3164 case `"$ac_path_GREP" --version 2>&1` in
3166 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3169 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3172 cat "conftest.in" "conftest.in" >"conftest.tmp"
3173 mv "conftest.tmp" "conftest.in"
3174 cp "conftest.in" "conftest.nl"
3175 echo 'GREP' >> "conftest.nl"
3176 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3177 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3178 ac_count=`expr $ac_count + 1`
3179 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3180 # Best one so far, save it but keep looking for a better one
3181 ac_cv_path_GREP="$ac_path_GREP"
3182 ac_path_GREP_max=$ac_count
3184 # 10*(2^10) chars as input seems more than enough
3185 test $ac_count -gt 10 && break
3187 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3191 $ac_path_GREP_found && break 3
3201 GREP="$ac_cv_path_GREP"
3202 if test -z "$GREP"; then
3203 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3204 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3205 { (exit 1); exit 1; }; }
3209 ac_cv_path_GREP=$GREP
3214 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3215 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3216 GREP="$ac_cv_path_GREP"
3219 { echo "$as_me:$LINENO: checking for egrep" >&5
3220 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3221 if test "${ac_cv_path_EGREP+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3225 then ac_cv_path_EGREP="$GREP -E"
3227 # Extract the first word of "egrep" to use in msg output
3228 if test -z "$EGREP"; then
3229 set dummy egrep; ac_prog_name=$2
3230 if test "${ac_cv_path_EGREP+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 ac_path_EGREP_found=false
3234 # Loop through the user's path and test for each of PROGNAME-LIST
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3239 test -z "$as_dir" && as_dir=.
3240 for ac_prog in egrep; do
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3243 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3244 # Check for GNU ac_path_EGREP and select it if it is found.
3245 # Check for GNU $ac_path_EGREP
3246 case `"$ac_path_EGREP" --version 2>&1` in
3248 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3251 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3254 cat "conftest.in" "conftest.in" >"conftest.tmp"
3255 mv "conftest.tmp" "conftest.in"
3256 cp "conftest.in" "conftest.nl"
3257 echo 'EGREP' >> "conftest.nl"
3258 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3260 ac_count=`expr $ac_count + 1`
3261 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3262 # Best one so far, save it but keep looking for a better one
3263 ac_cv_path_EGREP="$ac_path_EGREP"
3264 ac_path_EGREP_max=$ac_count
3266 # 10*(2^10) chars as input seems more than enough
3267 test $ac_count -gt 10 && break
3269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3273 $ac_path_EGREP_found && break 3
3283 EGREP="$ac_cv_path_EGREP"
3284 if test -z "$EGREP"; then
3285 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3286 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3287 { (exit 1); exit 1; }; }
3291 ac_cv_path_EGREP=$EGREP
3297 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3298 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3299 EGREP="$ac_cv_path_EGREP"
3302 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3303 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3304 if test "${ac_cv_header_stdc+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 cat >conftest.$ac_ext <<_ACEOF
3310 cat confdefs.h >>conftest.$ac_ext
3311 cat >>conftest.$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3326 rm -f conftest.$ac_objext
3327 if { (ac_try="$ac_compile"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3333 (eval "$ac_compile") 2>conftest.er1
3335 grep -v '^ *+' conftest.er1 >conftest.err
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && {
3340 test -z "$ac_c_werror_flag" ||
3341 test ! -s conftest.err
3342 } && test -s conftest.$ac_objext; then
3343 ac_cv_header_stdc=yes
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 ac_cv_header_stdc=no
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 if test $ac_cv_header_stdc = yes; then
3354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3355 cat >conftest.$ac_ext <<_ACEOF
3358 cat confdefs.h >>conftest.$ac_ext
3359 cat >>conftest.$ac_ext <<_ACEOF
3360 /* end confdefs.h. */
3364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3365 $EGREP "memchr" >/dev/null 2>&1; then
3368 ac_cv_header_stdc=no
3374 if test $ac_cv_header_stdc = yes; then
3375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3386 $EGREP "free" >/dev/null 2>&1; then
3389 ac_cv_header_stdc=no
3395 if test $ac_cv_header_stdc = yes; then
3396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3397 if test "$cross_compiling" = yes; then
3400 cat >conftest.$ac_ext <<_ACEOF
3403 cat confdefs.h >>conftest.$ac_ext
3404 cat >>conftest.$ac_ext <<_ACEOF
3405 /* end confdefs.h. */
3408 #if ((' ' & 0x0FF) == 0x020)
3409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3412 # define ISLOWER(c) \
3413 (('a' <= (c) && (c) <= 'i') \
3414 || ('j' <= (c) && (c) <= 'r') \
3415 || ('s' <= (c) && (c) <= 'z'))
3416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3424 for (i = 0; i < 256; i++)
3425 if (XOR (islower (i), ISLOWER (i))
3426 || toupper (i) != TOUPPER (i))
3431 rm -f conftest$ac_exeext
3432 if { (ac_try="$ac_link"
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3438 (eval "$ac_link") 2>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3442 { (case "(($ac_try" in
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447 (eval "$ac_try") 2>&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3453 echo "$as_me: program exited with status $ac_status" >&5
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3458 ac_cv_header_stdc=no
3460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3466 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3467 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3468 if test $ac_cv_header_stdc = yes; then
3470 cat >>confdefs.h <<\_ACEOF
3471 #define STDC_HEADERS 1
3476 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3486 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3487 inttypes.h stdint.h unistd.h
3489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 $ac_includes_default
3503 #include <$ac_header>
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3514 grep -v '^ *+' conftest.er1 >conftest.err
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_c_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 eval "$as_ac_Header=yes"
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3527 eval "$as_ac_Header=no"
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 ac_res=`eval echo '${'$as_ac_Header'}'`
3533 { echo "$as_me:$LINENO: result: $ac_res" >&5
3534 echo "${ECHO_T}$ac_res" >&6; }
3535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3536 cat >>confdefs.h <<_ACEOF
3537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3546 for ac_header in sys/inotify.h
3548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 ac_res=`eval echo '${'$as_ac_Header'}'`
3556 { echo "$as_me:$LINENO: result: $ac_res" >&5
3557 echo "${ECHO_T}$ac_res" >&6; }
3559 # Is the header compilable?
3560 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3562 cat >conftest.$ac_ext <<_ACEOF
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3568 $ac_includes_default
3569 #include <$ac_header>
3571 rm -f conftest.$ac_objext
3572 if { (ac_try="$ac_compile"
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3578 (eval "$ac_compile") 2>conftest.er1
3580 grep -v '^ *+' conftest.er1 >conftest.err
3582 cat conftest.err >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } && {
3585 test -z "$ac_c_werror_flag" ||
3586 test ! -s conftest.err
3587 } && test -s conftest.$ac_objext; then
3588 ac_header_compiler=yes
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 ac_header_compiler=no
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3598 echo "${ECHO_T}$ac_header_compiler" >&6; }
3600 # Is the header present?
3601 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3609 #include <$ac_header>
3611 if { (ac_try="$ac_cpp conftest.$ac_ext"
3613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3619 grep -v '^ *+' conftest.er1 >conftest.err
3621 cat conftest.err >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } >/dev/null && {
3624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3625 test ! -s conftest.err
3627 ac_header_preproc=yes
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_header_preproc=no
3635 rm -f conftest.err conftest.$ac_ext
3636 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3637 echo "${ECHO_T}$ac_header_preproc" >&6; }
3639 # So? What about this header?
3640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3646 ac_header_preproc=yes
3649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 eval "$as_ac_Header=\$ac_header_preproc"
3671 ac_res=`eval echo '${'$as_ac_Header'}'`
3672 { echo "$as_me:$LINENO: result: $ac_res" >&5
3673 echo "${ECHO_T}$ac_res" >&6; }
3676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3677 cat >>confdefs.h <<_ACEOF
3678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3687 ac_config_headers="$ac_config_headers config.h"
3689 ac_config_commands="$ac_config_commands default-1"
3691 ac_config_files="$ac_config_files Makefile"
3693 cat >confcache <<\_ACEOF
3694 # This file is a shell script that caches the results of configure
3695 # tests run on this system so they can be shared between configure
3696 # scripts and configure runs, see configure's option --config-cache.
3697 # It is not useful on other systems. If it contains results you don't
3698 # want to keep, you may remove or edit it.
3700 # config.status only pays attention to the cache file if you give it
3701 # the --recheck option to rerun configure.
3703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3709 # The following way of writing the cache mishandles newlines in values,
3710 # but we know of no workaround that is simple, portable, and efficient.
3711 # So, we kill variables containing newlines.
3712 # Ultrix sh set writes to stderr and can't be redirected directly,
3713 # and sets the high bit in the cache file unless we assign to the vars.
3715 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3716 eval ac_val=\$$ac_var
3720 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3721 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3724 _ | IFS | as_nl) ;; #(
3725 *) $as_unset $ac_var ;;
3731 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3732 *${as_nl}ac_space=\ *)
3733 # `set' does not quote correctly, so add quotes (double-quote
3734 # substitution turns \\\\ into \\, and sed turns \\ into \).
3737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3740 # `set' quotes correctly as required by POSIX, so do not add quotes.
3741 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3752 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3754 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3755 if test -w "$cache_file"; then
3756 test "x$cache_file" != "x/dev/null" &&
3757 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3758 echo "$as_me: updating cache $cache_file" >&6;}
3759 cat confcache >$cache_file
3761 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3762 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3768 # Let make expand exec_prefix.
3769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3771 DEFS=-DHAVE_CONFIG_H
3775 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3776 # 1. Remove the extension, and $U if already installed.
3777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3778 ac_i=`echo "$ac_i" | sed "$ac_script"`
3779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3780 # will be set to the directory where LIBOBJS objects are built.
3781 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3782 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3786 LTLIBOBJS=$ac_ltlibobjs
3790 : ${CONFIG_STATUS=./config.status}
3791 ac_clean_files_save=$ac_clean_files
3792 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3793 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3794 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3795 cat >$CONFIG_STATUS <<_ACEOF
3797 # Generated by $as_me.
3798 # Run this file to recreate the current configuration.
3799 # Compiler output produced by configure, useful for debugging
3800 # configure, is in config.log if it exists.
3805 SHELL=\${CONFIG_SHELL-$SHELL}
3808 cat >>$CONFIG_STATUS <<\_ACEOF
3809 ## --------------------- ##
3810 ## M4sh Initialization. ##
3811 ## --------------------- ##
3813 # Be more Bourne compatible
3814 DUALCASE=1; export DUALCASE # for MKS sh
3815 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3818 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3819 # is contrary to our usage. Disable this feature.
3820 alias -g '${1+"$@"}'='"$@"'
3821 setopt NO_GLOB_SUBST
3823 case `(set -o) 2>/dev/null` in
3824 *posix*) set -o posix ;;
3833 # Avoid depending upon Character Ranges.
3834 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3835 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3836 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3837 as_cr_digits='0123456789'
3838 as_cr_alnum=$as_cr_Letters$as_cr_digits
3840 # The user is always right.
3841 if test "${PATH_SEPARATOR+set}" != set; then
3842 echo "#! /bin/sh" >conf$$.sh
3843 echo "exit 0" >>conf$$.sh
3845 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3853 # Support unset when possible.
3854 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3862 # We need space, tab and new line, in precisely that order. Quoting is
3863 # there to prevent editors from complaining about space-tab.
3864 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3865 # splitting by setting IFS to empty value.)
3870 # Find who we are. Look in the path if we contain no directory separator.
3872 *[\\/]* ) as_myself=$0 ;;
3873 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir=.
3878 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3884 # We did not find ourselves, most probably we were run as `sh COMMAND'
3885 # in which case we are not to be found in the path.
3886 if test "x$as_myself" = x; then
3889 if test ! -f "$as_myself"; then
3890 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3891 { (exit 1); exit 1; }
3894 # Work around bugs in pre-3.0 UWIN ksh.
3895 for as_var in ENV MAIL MAILPATH
3896 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3904 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3905 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3906 LC_TELEPHONE LC_TIME
3908 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3909 eval $as_var=C; export $as_var
3911 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3915 # Required to use basename.
3916 if expr a : '\(a\)' >/dev/null 2>&1 &&
3917 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3923 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3924 as_basename=basename
3930 # Name of the executable.
3931 as_me=`$as_basename -- "$0" ||
3932 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3933 X"$0" : 'X\(//\)$' \| \
3934 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3936 sed '/^.*\/\([^/][^/]*\)\/*$/{
3957 test "x$as_lineno_1" != "x$as_lineno_2" &&
3958 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3960 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3961 # uniformly replaced by the line number. The first 'sed' inserts a
3962 # line-number line after each line using $LINENO; the second 'sed'
3963 # does the real work. The second script uses 'N' to pair each
3964 # line-number line with the line containing $LINENO, and appends
3965 # trailing '-' during substitution so that $LINENO is not a special
3967 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3968 # scripts with optimization help from Paolo Bonzini. Blame Lee
3969 # E. McMahon (1931-1989) for sed's syntax. :-)
3981 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3985 chmod +x "$as_me.lineno" ||
3986 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3987 { (exit 1); exit 1; }; }
3989 # Don't try to exec as it changes $[0], causing all sort of problems
3990 # (the dirname of $[0] is not the place where we might find the
3991 # original and so on. Autoconf is especially sensitive to this).
3993 # Exit status is that of the last command.
3998 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4004 ECHO_C= ECHO_N= ECHO_T=
4007 case `echo 'x\c'` in
4008 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4015 if expr a : '\(a\)' >/dev/null 2>&1 &&
4016 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4022 rm -f conf$$ conf$$.exe conf$$.file
4023 if test -d conf$$.dir; then
4024 rm -f conf$$.dir/conf$$.file
4030 if ln -s conf$$.file conf$$ 2>/dev/null; then
4032 # ... but there are two gotchas:
4033 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4034 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4035 # In both cases, we have to default to `cp -p'.
4036 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4038 elif ln conf$$.file conf$$ 2>/dev/null; then
4043 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4044 rmdir conf$$.dir 2>/dev/null
4046 if mkdir -p . 2>/dev/null; then
4049 test -d ./-p && rmdir ./-p
4053 if test -x / >/dev/null 2>&1; then
4056 if ls -dL / >/dev/null 2>&1; then
4063 if test -d "$1"; then
4069 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4070 ???[sx]*):;;*)false;;esac;fi
4074 as_executable_p=$as_test_x
4076 # Sed expression to map a string onto a valid CPP name.
4077 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4079 # Sed expression to map a string onto a valid variable name.
4080 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4085 # Save the log message, to keep $[0] and so on meaningful, and to
4086 # report actual input values of CONFIG_FILES etc. instead of their
4087 # values after options handling.
4089 This file was extended by $as_me, which was
4090 generated by GNU Autoconf 2.61. Invocation command line was
4092 CONFIG_FILES = $CONFIG_FILES
4093 CONFIG_HEADERS = $CONFIG_HEADERS
4094 CONFIG_LINKS = $CONFIG_LINKS
4095 CONFIG_COMMANDS = $CONFIG_COMMANDS
4098 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4103 cat >>$CONFIG_STATUS <<_ACEOF
4104 # Files that config.status was made for.
4105 config_files="$ac_config_files"
4106 config_headers="$ac_config_headers"
4107 config_commands="$ac_config_commands"
4111 cat >>$CONFIG_STATUS <<\_ACEOF
4113 \`$as_me' instantiates files from templates according to the
4114 current configuration.
4116 Usage: $0 [OPTIONS] [FILE]...
4118 -h, --help print this help, then exit
4119 -V, --version print version number and configuration settings, then exit
4120 -q, --quiet do not print progress messages
4121 -d, --debug don't remove temporary files
4122 --recheck update $as_me by reconfiguring in the same conditions
4123 --file=FILE[:TEMPLATE]
4124 instantiate the configuration file FILE
4125 --header=FILE[:TEMPLATE]
4126 instantiate the configuration header FILE
4128 Configuration files:
4131 Configuration headers:
4134 Configuration commands:
4137 Report bugs to <bug-autoconf@gnu.org>."
4140 cat >>$CONFIG_STATUS <<_ACEOF
4143 configured by $0, generated by GNU Autoconf 2.61,
4144 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4146 Copyright (C) 2006 Free Software Foundation, Inc.
4147 This config.status script is free software; the Free Software Foundation
4148 gives unlimited permission to copy, distribute and modify it."
4155 cat >>$CONFIG_STATUS <<\_ACEOF
4156 # If no file are specified by the user, then we need to provide default
4157 # value. By we need to know if files were specified by the user.
4163 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4164 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4175 # Handling of the options.
4176 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4178 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4179 echo "$ac_cs_version"; exit ;;
4180 --debug | --debu | --deb | --de | --d | -d )
4182 --file | --fil | --fi | --f )
4184 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4185 ac_need_defaults=false;;
4186 --header | --heade | --head | --hea )
4188 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4189 ac_need_defaults=false;;
4191 # Conflict between --help and --header
4192 { echo "$as_me: error: ambiguous option: $1
4193 Try \`$0 --help' for more information." >&2
4194 { (exit 1); exit 1; }; };;
4195 --help | --hel | -h )
4196 echo "$ac_cs_usage"; exit ;;
4197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4198 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4202 -*) { echo "$as_me: error: unrecognized option: $1
4203 Try \`$0 --help' for more information." >&2
4204 { (exit 1); exit 1; }; } ;;
4206 *) ac_config_targets="$ac_config_targets $1"
4207 ac_need_defaults=false ;;
4213 ac_configure_extra_args=
4215 if $ac_cs_silent; then
4217 ac_configure_extra_args="$ac_configure_extra_args --silent"
4221 cat >>$CONFIG_STATUS <<_ACEOF
4222 if \$ac_cs_recheck; then
4223 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4226 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4230 cat >>$CONFIG_STATUS <<\_ACEOF
4234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4235 ## Running $as_me. ##
4241 cat >>$CONFIG_STATUS <<_ACEOF
4249 cat >>$CONFIG_STATUS <<\_ACEOF
4251 # Handling of arguments.
4252 for ac_config_target in $ac_config_targets
4254 case $ac_config_target in
4255 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4256 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4257 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4259 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4260 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4261 { (exit 1); exit 1; }; };;
4266 # If the user did not use the arguments to specify the items to instantiate,
4267 # then the envvar interface is used. Set only those that are not.
4268 # We use the long form for the default assignment because of an extremely
4269 # bizarre bug on SunOS 4.1.3.
4270 if $ac_need_defaults; then
4271 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4272 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4273 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4276 # Have a temporary directory for convenience. Make it in the build tree
4277 # simply because there is no reason against having it here, and in addition,
4278 # creating and moving files from /tmp can sometimes cause problems.
4279 # Hook for its removal unless debugging.
4280 # Note that there is a small window in which the directory will not be cleaned:
4281 # after its creation but before its name has been assigned to `$tmp'.
4285 trap 'exit_status=$?
4286 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4288 trap '{ (exit 1); exit 1; }' 1 2 13 15
4290 # Create a (secure) tmp directory for tmp files.
4293 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4294 test -n "$tmp" && test -d "$tmp"
4297 tmp=./conf$$-$RANDOM
4298 (umask 077 && mkdir "$tmp")
4301 echo "$me: cannot create a temporary directory in ." >&2
4302 { (exit 1); exit 1; }
4306 # Set up the sed scripts for CONFIG_FILES section.
4309 # No need to generate the scripts if there are no CONFIG_FILES.
4310 # This happens for instance when ./config.status config.h
4311 if test -n "$CONFIG_FILES"; then
4318 for ac_last_try in false false false false false :; do
4319 cat >conf$$subs.sed <<_ACEOF
4320 SHELL!$SHELL$ac_delim
4321 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4322 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4323 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4324 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4325 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4326 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4327 exec_prefix!$exec_prefix$ac_delim
4328 prefix!$prefix$ac_delim
4329 program_transform_name!$program_transform_name$ac_delim
4330 bindir!$bindir$ac_delim
4331 sbindir!$sbindir$ac_delim
4332 libexecdir!$libexecdir$ac_delim
4333 datarootdir!$datarootdir$ac_delim
4334 datadir!$datadir$ac_delim
4335 sysconfdir!$sysconfdir$ac_delim
4336 sharedstatedir!$sharedstatedir$ac_delim
4337 localstatedir!$localstatedir$ac_delim
4338 includedir!$includedir$ac_delim
4339 oldincludedir!$oldincludedir$ac_delim
4340 docdir!$docdir$ac_delim
4341 infodir!$infodir$ac_delim
4342 htmldir!$htmldir$ac_delim
4343 dvidir!$dvidir$ac_delim
4344 pdfdir!$pdfdir$ac_delim
4345 psdir!$psdir$ac_delim
4346 libdir!$libdir$ac_delim
4347 localedir!$localedir$ac_delim
4348 mandir!$mandir$ac_delim
4350 ECHO_C!$ECHO_C$ac_delim
4351 ECHO_N!$ECHO_N$ac_delim
4352 ECHO_T!$ECHO_T$ac_delim
4354 build_alias!$build_alias$ac_delim
4355 host_alias!$host_alias$ac_delim
4356 target_alias!$target_alias$ac_delim
4357 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4358 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4359 INSTALL_DATA!$INSTALL_DATA$ac_delim
4360 PACKAGE!$PACKAGE$ac_delim
4361 VERSION!$VERSION$ac_delim
4362 ACLOCAL!$ACLOCAL$ac_delim
4363 AUTOCONF!$AUTOCONF$ac_delim
4364 AUTOMAKE!$AUTOMAKE$ac_delim
4365 AUTOHEADER!$AUTOHEADER$ac_delim
4366 MAKEINFO!$MAKEINFO$ac_delim
4367 SET_MAKE!$SET_MAKE$ac_delim
4369 CFLAGS!$CFLAGS$ac_delim
4370 LDFLAGS!$LDFLAGS$ac_delim
4371 CPPFLAGS!$CPPFLAGS$ac_delim
4372 ac_ct_CC!$ac_ct_CC$ac_delim
4373 EXEEXT!$EXEEXT$ac_delim
4374 OBJEXT!$OBJEXT$ac_delim
4377 EGREP!$EGREP$ac_delim
4378 LIBOBJS!$LIBOBJS$ac_delim
4379 LTLIBOBJS!$LTLIBOBJS$ac_delim
4382 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
4384 elif $ac_last_try; then
4385 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4386 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4387 { (exit 1); exit 1; }; }
4389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4393 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4394 if test -n "$ac_eof"; then
4395 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4396 ac_eof=`expr $ac_eof + 1`
4399 cat >>$CONFIG_STATUS <<_ACEOF
4400 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4404 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4405 s/^/s,@/; s/!/@,|#_!!_#|/
4408 s/'"$ac_delim"'$/,g/; t
4410 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4411 ' >>$CONFIG_STATUS <conf$$subs.sed
4412 rm -f conf$$subs.sed
4413 cat >>$CONFIG_STATUS <<_ACEOF
4420 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4421 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4422 # trailing colons and then remove the whole line if VPATH becomes empty
4423 # (actually we leave an empty line to preserve line numbers).
4424 if test "x$srcdir" = x.; then
4425 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4429 s/^\([^=]*=[ ]*\):*/\1/
4435 cat >>$CONFIG_STATUS <<\_ACEOF
4436 fi # test -n "$CONFIG_FILES"
4439 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4442 :[FHLC]) ac_mode=$ac_tag; continue;;
4444 case $ac_mode$ac_tag in
4446 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4447 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4448 { (exit 1); exit 1; }; };;
4449 :[FH]-) ac_tag=-:-;;
4450 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4467 -) ac_f="$tmp/stdin";;
4468 *) # Look for the file first in the build tree, then in the source tree
4469 # (if the path is not absolute). The absolute path cannot be DOS-style,
4470 # because $ac_f cannot contain `:'.
4474 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4476 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4477 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4478 { (exit 1); exit 1; }; };;
4480 ac_file_inputs="$ac_file_inputs $ac_f"
4483 # Let's still pretend it is `configure' which instantiates (i.e., don't
4484 # use $as_me), people would be surprised to read:
4485 # /* config.h. Generated by config.status. */
4486 configure_input="Generated from "`IFS=:
4487 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4488 if test x"$ac_file" != x-; then
4489 configure_input="$ac_file. $configure_input"
4490 { echo "$as_me:$LINENO: creating $ac_file" >&5
4491 echo "$as_me: creating $ac_file" >&6;}
4495 *:-:* | *:-) cat >"$tmp/stdin";;
4500 ac_dir=`$as_dirname -- "$ac_file" ||
4501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4502 X"$ac_file" : 'X\(//\)[^/]' \| \
4503 X"$ac_file" : 'X\(//\)$' \| \
4504 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4525 -*) as_dir=./$as_dir;;
4527 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4531 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4532 *) as_qdir=$as_dir;;
4534 as_dirs="'$as_qdir' $as_dirs"
4535 as_dir=`$as_dirname -- "$as_dir" ||
4536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4537 X"$as_dir" : 'X\(//\)[^/]' \| \
4538 X"$as_dir" : 'X\(//\)$' \| \
4539 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4558 test -d "$as_dir" && break
4560 test -z "$as_dirs" || eval "mkdir $as_dirs"
4561 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4562 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4563 { (exit 1); exit 1; }; }; }
4567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4569 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4570 # A ".." for each directory in $ac_dir_suffix.
4571 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4572 case $ac_top_builddir_sub in
4573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4577 ac_abs_top_builddir=$ac_pwd
4578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4579 # for backward compatibility:
4580 ac_top_builddir=$ac_top_build_prefix
4583 .) # We are building in place.
4585 ac_top_srcdir=$ac_top_builddir_sub
4586 ac_abs_top_srcdir=$ac_pwd ;;
4587 [\\/]* | ?:[\\/]* ) # Absolute name.
4588 ac_srcdir=$srcdir$ac_dir_suffix;
4589 ac_top_srcdir=$srcdir
4590 ac_abs_top_srcdir=$srcdir ;;
4592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4593 ac_top_srcdir=$ac_top_build_prefix$srcdir
4594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4606 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4607 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4611 cat >>$CONFIG_STATUS <<\_ACEOF
4612 # If the template does not know about datarootdir, expand it.
4613 # FIXME: This hack should be removed a few years after 2.60.
4614 ac_datarootdir_hack=; ac_datarootdir_seen=
4616 case `sed -n '/datarootdir/ {
4625 ' $ac_file_inputs` in
4626 *datarootdir*) ac_datarootdir_seen=yes;;
4627 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4628 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4629 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4631 cat >>$CONFIG_STATUS <<_ACEOF
4632 ac_datarootdir_hack='
4633 s&@datadir@&$datadir&g
4634 s&@docdir@&$docdir&g
4635 s&@infodir@&$infodir&g
4636 s&@localedir@&$localedir&g
4637 s&@mandir@&$mandir&g
4638 s&\\\${datarootdir}&$datarootdir&g' ;;
4642 # Neutralize VPATH when `$srcdir' = `.'.
4643 # Shell code in configure.ac might set extrasub.
4644 # FIXME: do we really want to maintain this feature?
4645 cat >>$CONFIG_STATUS <<_ACEOF
4649 cat >>$CONFIG_STATUS <<\_ACEOF
4651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4652 s&@configure_input@&$configure_input&;t t
4653 s&@top_builddir@&$ac_top_builddir_sub&;t t
4654 s&@srcdir@&$ac_srcdir&;t t
4655 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4656 s&@top_srcdir@&$ac_top_srcdir&;t t
4657 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4658 s&@builddir@&$ac_builddir&;t t
4659 s&@abs_builddir@&$ac_abs_builddir&;t t
4660 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4661 s&@INSTALL@&$ac_INSTALL&;t t
4662 $ac_datarootdir_hack
4663 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4665 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4666 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4667 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4668 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4669 which seems to be undefined. Please make sure it is defined." >&5
4670 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4671 which seems to be undefined. Please make sure it is defined." >&2;}
4675 -) cat "$tmp/out"; rm -f "$tmp/out";;
4676 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4685 # Transform confdefs.h into a sed script `conftest.defines', that
4686 # substitutes the proper values into config.h.in to produce config.h.
4687 rm -f conftest.defines conftest.tail
4688 # First, append a space to every undef/define line, to ease matching.
4689 echo 's/$/ /' >conftest.defines
4690 # Then, protect against being on the right side of a sed subst, or in
4691 # an unquoted here document, in config.status. If some macros were
4692 # called several times there might be several #defines for the same
4693 # symbol, which is useless. But do not sort them, since the last
4694 # AC_DEFINE must be honored.
4695 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4696 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4697 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4698 # PARAMS is the parameter list in the macro definition--in most cases, it's
4699 # just an empty string.
4700 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4701 ac_dB='\\)[ (].*,\\1define\\2'
4709 s/^[ ]*#[ ]*define[ ][ ]*//
4714 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4715 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4716 ' >>conftest.defines
4718 # Remove the space that was appended to ease matching.
4719 # Then replace #undef with comments. This is necessary, for
4720 # example, in the case of _POSIX_SOURCE, which is predefined and required
4721 # on some systems where configure will not decide to define it.
4722 # (The regexp can be short, since the line contains either #define or #undef.)
4724 s,^[ #]*u.*,/* & */,' >>conftest.defines
4726 # Break up conftest.defines:
4729 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4730 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4731 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4733 ac_in='$ac_file_inputs'
4734 ac_out='"$tmp/out1"'
4735 ac_nxt='"$tmp/out2"'
4739 # Write a here document:
4740 cat >>$CONFIG_STATUS <<_ACEOF
4741 # First, check the format of the line:
4742 cat >"\$tmp/defines.sed" <<\\CEOF
4743 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4744 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4748 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4750 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4751 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4752 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4753 grep . conftest.tail >/dev/null || break
4754 rm -f conftest.defines
4755 mv conftest.tail conftest.defines
4757 rm -f conftest.defines conftest.tail
4759 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4760 cat >>$CONFIG_STATUS <<\_ACEOF
4761 if test x"$ac_file" != x-; then
4762 echo "/* $configure_input */" >"$tmp/config.h"
4763 cat "$ac_result" >>"$tmp/config.h"
4764 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4765 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4766 echo "$as_me: $ac_file is unchanged" >&6;}
4769 mv "$tmp/config.h" $ac_file
4772 echo "/* $configure_input */"
4778 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4779 echo "$as_me: executing $ac_file commands" >&6;}
4784 case $ac_file$ac_mode in
4785 "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
4791 { (exit 0); exit 0; }
4793 chmod +x $CONFIG_STATUS
4794 ac_clean_files=$ac_clean_files_save
4797 # configure is writing to config.log, and then calls config.status.
4798 # config.status does its own redirection, appending to config.log.
4799 # Unfortunately, on DOS this fails, as config.log is still kept open
4800 # by configure, so config.status won't be able to write to it; its
4801 # output is simply discarded. So we exec the FD to /dev/null,
4802 # effectively closing config.log, so it can be properly (re)opened and
4803 # appended to by config.status. When coming back to configure, we
4804 # need to make the FD available again.
4805 if test "$no_create" != yes; then
4807 ac_config_status_args=
4808 test "$silent" = yes &&
4809 ac_config_status_args="$ac_config_status_args --quiet"
4811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4814 # would make configure fail if this is the last instruction.
4815 $ac_cs_success || { (exit 1); exit 1; }