2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for castfs 0.5.1.
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.
573 PACKAGE_NAME='castfs'
574 PACKAGE_TARNAME='castfs'
575 PACKAGE_VERSION='0.5.1'
576 PACKAGE_STRING='castfs 0.5.1'
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
624 program_transform_name
666 INSTALL_STRIP_PROGRAM
691 MAINTAINER_MODE_FALSE
701 ac_precious_vars='build_alias
712 # Initialize some variables set by options.
714 ac_init_version=false
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
724 program_transform_name=s,x,x,
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir='${exec_prefix}/bin'
739 sbindir='${exec_prefix}/sbin'
740 libexecdir='${exec_prefix}/libexec'
741 datarootdir='${prefix}/share'
742 datadir='${datarootdir}'
743 sysconfdir='${prefix}/etc'
744 sharedstatedir='${prefix}/com'
745 localstatedir='${prefix}/var'
746 includedir='${prefix}/include'
747 oldincludedir='/usr/include'
748 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
749 infodir='${datarootdir}/info'
754 libdir='${exec_prefix}/lib'
755 localedir='${datarootdir}/locale'
756 mandir='${datarootdir}/man'
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\$ac_option
770 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785 -build | --build | --buil | --bui | --bu)
786 ac_prev=build_alias ;;
787 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788 build_alias=$ac_optarg ;;
790 -cache-file | --cache-file | --cache-fil | --cache-fi \
791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792 ac_prev=cache_file ;;
793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795 cache_file=$ac_optarg ;;
798 cache_file=config.cache ;;
800 -datadir | --datadir | --datadi | --datad)
802 -datadir=* | --datadir=* | --datadi=* | --datad=*)
803 datadir=$ac_optarg ;;
805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806 | --dataroo | --dataro | --datar)
807 ac_prev=datarootdir ;;
808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810 datarootdir=$ac_optarg ;;
812 -disable-* | --disable-*)
813 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819 eval enable_$ac_feature=no ;;
821 -docdir | --docdir | --docdi | --doc | --do)
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
831 -enable-* | --enable-*)
832 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
836 { (exit 1); exit 1; }; }
837 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
838 eval enable_$ac_feature=\$ac_optarg ;;
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
853 -help | --help | --hel | --he | -h)
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869 htmldir=$ac_optarg ;;
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
883 -libdir | --libdir | --libdi | --libd)
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
895 -localedir | --localedir | --localedi | --localed | --locale)
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913 # Obsolete; use --without-fp.
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 -psdir | --psdir | --psdi | --psd | --ps)
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987 sbindir=$ac_optarg ;;
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998 sharedstatedir=$ac_optarg ;;
1000 -site | --site | --sit)
1002 -site=* | --site=* | --sit=*)
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008 srcdir=$ac_optarg ;;
1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011 | --syscon | --sysco | --sysc | --sys | --sy)
1012 ac_prev=sysconfdir ;;
1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015 sysconfdir=$ac_optarg ;;
1017 -target | --target | --targe | --targ | --tar | --ta | --t)
1018 ac_prev=target_alias ;;
1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020 target_alias=$ac_optarg ;;
1022 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1029 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032 { echo "$as_me: error: invalid package name: $ac_package" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1035 eval with_$ac_package=\$ac_optarg ;;
1037 -without-* | --without-*)
1038 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 { echo "$as_me: error: invalid package name: $ac_package" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1044 eval with_$ac_package=no ;;
1047 # Obsolete; use --with-x.
1050 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1051 | --x-incl | --x-inc | --x-in | --x-i)
1052 ac_prev=x_includes ;;
1053 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055 x_includes=$ac_optarg ;;
1057 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1058 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059 ac_prev=x_libraries ;;
1060 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 x_libraries=$ac_optarg ;;
1064 -*) { echo "$as_me: error: unrecognized option: $ac_option
1065 Try \`$0 --help' for more information." >&2
1066 { (exit 1); exit 1; }; }
1070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1073 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1074 { (exit 1); exit 1; }; }
1075 eval $ac_envvar=\$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089 if test -n "$ac_prev"; then
1090 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091 { echo "$as_me: error: missing argument to $ac_option" >&2
1092 { (exit 1); exit 1; }; }
1095 # Be sure to have absolute directory names.
1096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1101 eval ac_val=\$$ac_var
1103 [\\/$]* | ?:[\\/]* ) continue;;
1104 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1106 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107 { (exit 1); exit 1; }; }
1110 # There might be people who depend on the old broken behavior: `$host'
1111 # used to hold the argument of --host etc.
1112 # FIXME: To remove some day.
1115 target=$target_alias
1117 # FIXME: To remove some day.
1118 if test "x$host_alias" != x; then
1119 if test "x$build_alias" = x; then
1120 cross_compiling=maybe
1121 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122 If a cross compiler is detected then cross compile mode will be used." >&2
1123 elif test "x$build_alias" != "x$host_alias"; then
1129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131 test "$silent" = yes && exec 6>/dev/null
1134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di=`ls -di .` &&
1136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137 { echo "$as_me: error: Working directory cannot be determined" >&2
1138 { (exit 1); exit 1; }; }
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 { echo "$as_me: error: pwd does not report name of working directory" >&2
1141 { (exit 1); exit 1; }; }
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir=`$as_dirname -- "$0" ||
1149 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$0" : 'X\(//\)[^/]' \| \
1151 X"$0" : 'X\(//\)$' \| \
1152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1176 ac_srcdir_defaulted=no
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181 { (exit 1); exit 1; }; }
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186 { (exit 1); exit 1; }; }
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198 for ac_var in $ac_precious_vars; do
1199 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_${ac_var}_value=\$${ac_var}
1201 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206 # Report the --help message.
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1212 \`configure' configures castfs 0.5.1 to adapt to many kinds of systems.
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1219 Defaults for the options are specified in brackets.
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1243 For better control, use the options below.
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/castfs@:>@
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1270 --program-prefix=PREFIX prepend PREFIX to installed program names
1271 --program-suffix=SUFFIX append SUFFIX to installed program names
1272 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276 if test -n "$ac_init_help"; then
1277 case $ac_init_help in
1278 short | recursive ) echo "Configuration of castfs 0.5.1:";;
1283 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1284 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1285 --disable-dependency-tracking speeds up one-time build
1286 --enable-dependency-tracking do not reject slow dependency extractors
1287 --enable-maintainer-mode enable make rules and dependencies not useful
1288 (and sometimes confusing) to the casual installer
1289 --enable-debug Enable debug flags
1290 --enable-static-fuse Enable building castfs against fuse statically
1293 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1294 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1295 --with-pkgconfigdir=DIR pkgconfig file in DIR @<:@LIBDIR/pkgconfig@:>@
1297 Some influential environment variables:
1298 CC C compiler command
1299 CFLAGS C compiler flags
1300 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1301 nonstandard directory <lib dir>
1302 LIBS libraries to pass to the linker, e.g. -l<library>
1303 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1304 you have headers in a nonstandard directory <include dir>
1307 Use these variables to override the choices made by `configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317 test -d "$ac_dir" || continue
1321 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1324 # A ".." for each directory in $ac_dir_suffix.
1325 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1326 case $ac_top_builddir_sub in
1327 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 ac_abs_top_builddir=$ac_pwd
1332 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1333 # for backward compatibility:
1334 ac_top_builddir=$ac_top_build_prefix
1337 .) # We are building in place.
1339 ac_top_srcdir=$ac_top_builddir_sub
1340 ac_abs_top_srcdir=$ac_pwd ;;
1341 [\\/]* | ?:[\\/]* ) # Absolute name.
1342 ac_srcdir=$srcdir$ac_dir_suffix;
1343 ac_top_srcdir=$srcdir
1344 ac_abs_top_srcdir=$srcdir ;;
1346 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1347 ac_top_srcdir=$ac_top_build_prefix$srcdir
1348 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1350 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1352 cd "$ac_dir" || { ac_status=$?; continue; }
1353 # Check for guested configure.
1354 if test -f "$ac_srcdir/configure.gnu"; then
1356 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357 elif test -f "$ac_srcdir/configure"; then
1359 $SHELL "$ac_srcdir/configure" --help=recursive
1361 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363 cd "$ac_pwd" || { ac_status=$?; break; }
1367 test -n "$ac_init_help" && exit $ac_status
1368 if $ac_init_version; then
1370 castfs configure 0.5.1
1371 generated by GNU Autoconf 2.61
1373 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1374 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1375 This configure script is free software; the Free Software Foundation
1376 gives unlimited permission to copy, distribute and modify it.
1380 cat >config.log <<_ACEOF
1381 This file contains any messages produced by compilers while
1382 running configure, to aid debugging if configure makes a mistake.
1384 It was created by castfs $as_me 0.5.1, which was
1385 generated by GNU Autoconf 2.61. Invocation command line was
1393 @%:@@%:@ --------- @%:@@%:@
1394 @%:@@%:@ Platform. @%:@@%:@
1395 @%:@@%:@ --------- @%:@@%:@
1397 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1398 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1399 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1400 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1401 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1403 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1404 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1406 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1407 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1408 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1409 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1410 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1411 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1412 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420 test -z "$as_dir" && as_dir=.
1421 echo "PATH: $as_dir"
1430 @%:@@%:@ ----------- @%:@@%:@
1431 @%:@@%:@ Core tests. @%:@@%:@
1432 @%:@@%:@ ----------- @%:@@%:@
1437 # Keep a trace of the command line.
1438 # Strip out --no-create and --no-recursion so they do not pile up.
1439 # Strip out --silent because we don't want to record it for future runs.
1440 # Also quote any args containing shell meta-characters.
1441 # Make two passes to allow for proper duplicate-argument suppression.
1445 ac_must_keep_next=false
1451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1453 | -silent | --silent | --silen | --sile | --sil)
1456 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1461 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1462 if test $ac_must_keep_next = true; then
1463 ac_must_keep_next=false # Got value, back to normal.
1466 *=* | --config-cache | -C | -disable-* | --disable-* \
1467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1469 | -with-* | --with-* | -without-* | --without-* | --x)
1470 case "$ac_configure_args0 " in
1471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474 -* ) ac_must_keep_next=true ;;
1477 ac_configure_args="$ac_configure_args '$ac_arg'"
1482 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1483 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1485 # When interrupted or exit'd, cleanup temporary files, and complete
1486 # config.log. We remove comments because anyway the quotes in there
1487 # would cause problems or look ugly.
1488 # WARNING: Use '\'' to represent an apostrophe within the trap.
1489 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1490 trap 'exit_status=$?
1491 # Save into config.log some information that might help in debugging.
1496 @%:@@%:@ ---------------- @%:@@%:@
1497 @%:@@%:@ Cache variables. @%:@@%:@
1498 @%:@@%:@ ---------------- @%:@@%:@
1501 # The following way of writing the cache mishandles newlines in values,
1503 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1504 eval ac_val=\$$ac_var
1508 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1509 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1512 _ | IFS | as_nl) ;; #(
1513 *) $as_unset $ac_var ;;
1518 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1519 *${as_nl}ac_space=\ *)
1521 "s/'\''/'\''\\\\'\'''\''/g;
1522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533 @%:@@%:@ ----------------- @%:@@%:@
1534 @%:@@%:@ Output variables. @%:@@%:@
1535 @%:@@%:@ ----------------- @%:@@%:@
1538 for ac_var in $ac_subst_vars
1540 eval ac_val=\$$ac_var
1542 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544 echo "$ac_var='\''$ac_val'\''"
1548 if test -n "$ac_subst_files"; then
1550 @%:@@%:@ ------------------- @%:@@%:@
1551 @%:@@%:@ File substitutions. @%:@@%:@
1552 @%:@@%:@ ------------------- @%:@@%:@
1555 for ac_var in $ac_subst_files
1557 eval ac_val=\$$ac_var
1559 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1561 echo "$ac_var='\''$ac_val'\''"
1566 if test -s confdefs.h; then
1568 @%:@@%:@ ----------- @%:@@%:@
1569 @%:@@%:@ confdefs.h. @%:@@%:@
1570 @%:@@%:@ ----------- @%:@@%:@
1576 test "$ac_signal" != 0 &&
1577 echo "$as_me: caught signal $ac_signal"
1578 echo "$as_me: exit $exit_status"
1580 rm -f core *.core core.conftest.* &&
1581 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584 for ac_signal in 1 2 13 15; do
1585 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1589 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1590 rm -f -r conftest* confdefs.h
1592 # Predefined preprocessor variables.
1594 cat >>confdefs.h <<_ACEOF
1595 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1599 cat >>confdefs.h <<_ACEOF
1600 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1604 cat >>confdefs.h <<_ACEOF
1605 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1609 cat >>confdefs.h <<_ACEOF
1610 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1614 cat >>confdefs.h <<_ACEOF
1615 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1619 # Let the site file select an alternate cache file if it wants to.
1620 # Prefer explicitly selected file to automatically selected ones.
1621 if test -n "$CONFIG_SITE"; then
1622 set x "$CONFIG_SITE"
1623 elif test "x$prefix" != xNONE; then
1624 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1626 set x "$ac_default_prefix/share/config.site" \
1627 "$ac_default_prefix/etc/config.site"
1632 if test -r "$ac_site_file"; then
1633 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1634 echo "$as_me: loading site script $ac_site_file" >&6;}
1635 sed 's/^/| /' "$ac_site_file" >&5
1640 if test -r "$cache_file"; then
1641 # Some versions of bash will fail to source /dev/null (special
1642 # files actually), so we avoid doing that.
1643 if test -f "$cache_file"; then
1644 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1645 echo "$as_me: loading cache $cache_file" >&6;}
1647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1648 *) . "./$cache_file";;
1652 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1653 echo "$as_me: creating cache $cache_file" >&6;}
1657 # Check that the precious variables saved in the cache have kept the same
1659 ac_cache_corrupted=false
1660 for ac_var in $ac_precious_vars; do
1661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1662 eval ac_new_set=\$ac_env_${ac_var}_set
1663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1664 eval ac_new_val=\$ac_env_${ac_var}_value
1665 case $ac_old_set,$ac_new_set in
1667 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1668 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1669 ac_cache_corrupted=: ;;
1671 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1672 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1673 ac_cache_corrupted=: ;;
1676 if test "x$ac_old_val" != "x$ac_new_val"; then
1677 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1678 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1679 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1680 echo "$as_me: former value: $ac_old_val" >&2;}
1681 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1682 echo "$as_me: current value: $ac_new_val" >&2;}
1683 ac_cache_corrupted=:
1686 # Pass precious variables to config.status.
1687 if test "$ac_new_set" = set; then
1689 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 *) ac_arg=$ac_var=$ac_new_val ;;
1692 case " $ac_configure_args " in
1693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1694 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1698 if $ac_cache_corrupted; then
1699 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1700 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1701 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1702 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1703 { (exit 1); exit 1; }; }
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1737 am__api_version='1.10'
1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741 if test -f "$ac_dir/install-sh"; then
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 elif test -f "$ac_dir/install.sh"; then
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 elif test -f "$ac_dir/shtool"; then
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1755 if test -z "$ac_aux_dir"; then
1756 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1757 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1770 # Find a good install program. We prefer a C program (faster),
1771 # so one script is as good as another. But avoid the broken or
1772 # incompatible versions:
1773 # SysV /etc/install, /usr/sbin/install
1774 # SunOS /usr/etc/install
1775 # IRIX /sbin/install
1777 # AmigaOS /C/install, which installs bootblocks on floppy discs
1778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1781 # OS/2's system install, which has a completely different semantic
1782 # ./install, which can be erroneously created by make from ./install.sh.
1783 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1785 if test -z "$INSTALL"; then
1786 if test "${ac_cv_path_install+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1796 ./ | .// | /cC/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6; }
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1850 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1861 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1864 set X `ls -t $srcdir/configure conftest.file`
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1881 test "$2" = conftest.file
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6; }
1895 test "$program_prefix" != NONE &&
1896 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE &&
1899 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF >conftest.sed
1903 s/[\\$]/&&/g;s/;s,x,x,$//
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run="$MISSING --run "
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1923 if test -z "$MKDIR_P"; then
1924 if test "${ac_cv_path_mkdir+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1931 test -z "$as_dir" && as_dir=.
1932 for ac_prog in mkdir gmkdir; do
1933 for ac_exec_ext in '' $ac_executable_extensions; do
1934 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1935 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1936 'mkdir (GNU coreutils) '* | \
1937 'mkdir (coreutils) '* | \
1938 'mkdir (fileutils) '4.1*)
1939 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1949 if test "${ac_cv_path_mkdir+set}" = set; then
1950 MKDIR_P="$ac_cv_path_mkdir -p"
1952 # As a last resort, use the slow shell script. Don't cache a
1953 # value for MKDIR_P within a source directory, because that will
1954 # break other packages using the cache if that directory is
1955 # removed, or if the value is a relative name.
1956 test -d ./--version && rmdir ./--version
1957 MKDIR_P="$ac_install_sh -d"
1960 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1961 echo "${ECHO_T}$MKDIR_P" >&6; }
1965 [\\/$]* | ?:[\\/]*) ;;
1966 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1969 for ac_prog in gawk mawk nawk awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_AWK="$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test -n "$AWK"; then
2000 { echo "$as_me:$LINENO: result: $AWK" >&5
2001 echo "${ECHO_T}$AWK" >&6; }
2003 { echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6; }
2008 test -n "$AWK" && break
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 cat >conftest.make <<\_ACEOF
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2048 rmdir .tst 2>/dev/null
2050 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2051 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2052 # is not polluted with repeated "-I."
2053 am__isrc=' -I$(srcdir)'
2054 # test to see if srcdir already configured
2055 if test -f $srcdir/config.status; then
2056 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2057 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2058 { (exit 1); exit 1; }; }
2062 # test whether we have cygpath
2063 if test -z "$CYGPATH_W"; then
2064 if (cygpath --version) >/dev/null 2>/dev/null; then
2065 CYGPATH_W='cygpath -w'
2072 # Define the identity of the package.
2077 cat >>confdefs.h <<_ACEOF
2078 @%:@define PACKAGE "$PACKAGE"
2082 cat >>confdefs.h <<_ACEOF
2083 @%:@define VERSION "$VERSION"
2086 # Some tools Automake needs.
2088 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2091 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2094 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2097 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2100 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2102 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2104 # Installed binaries are usually stripped using `strip' when the user
2105 # run `make install-strip'. However `strip' might not be the right
2106 # tool to use in cross-compilation environments, therefore Automake
2107 # will honor the `STRIP' environment variable to overrule this program.
2108 if test "$cross_compiling" != no; then
2109 if test -n "$ac_tool_prefix"; then
2110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2111 set dummy ${ac_tool_prefix}strip; ac_word=$2
2112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2114 if test "${ac_cv_prog_STRIP+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 if test -n "$STRIP"; then
2118 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir=.
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 STRIP=$ac_cv_prog_STRIP
2138 if test -n "$STRIP"; then
2139 { echo "$as_me:$LINENO: result: $STRIP" >&5
2140 echo "${ECHO_T}$STRIP" >&6; }
2142 { echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6; }
2148 if test -z "$ac_cv_prog_STRIP"; then
2150 # Extract the first word of "strip", so it can be a program name with args.
2151 set dummy strip; ac_word=$2
2152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2154 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$ac_ct_STRIP"; then
2158 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167 ac_cv_prog_ac_ct_STRIP="strip"
2168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2178 if test -n "$ac_ct_STRIP"; then
2179 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2180 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2186 if test "x$ac_ct_STRIP" = x; then
2189 case $cross_compiling:$ac_tool_warned in
2191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2192 whose name does not start with the host triplet. If you think this
2193 configuration is useful to you, please write to autoconf@gnu.org." >&5
2194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2195 whose name does not start with the host triplet. If you think this
2196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2197 ac_tool_warned=yes ;;
2202 STRIP="$ac_cv_prog_STRIP"
2206 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2208 # We need awk for the "check" target. The system "awk" is bad on
2210 # Always define AMTAR for backward compatibility.
2212 AMTAR=${AMTAR-"${am_missing_run}tar"}
2214 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2227 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$CC"; then
2255 { echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6; }
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2264 if test -z "$ac_cv_prog_CC"; then
2266 # Extract the first word of "gcc", so it can be a program name with args.
2267 set dummy gcc; ac_word=$2
2268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 if test -n "$ac_ct_CC"; then
2274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_ac_ct_CC="gcc"
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294 if test -n "$ac_ct_CC"; then
2295 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296 echo "${ECHO_T}$ac_ct_CC" >&6; }
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
2302 if test "x$ac_ct_CC" = x; then
2305 case $cross_compiling:$ac_tool_warned in
2307 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2308 whose name does not start with the host triplet. If you think this
2309 configuration is useful to you, please write to autoconf@gnu.org." >&5
2310 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2311 whose name does not start with the host triplet. If you think this
2312 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2313 ac_tool_warned=yes ;;
2321 if test -z "$CC"; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2324 set dummy ${ac_tool_prefix}cc; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_CC+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$CC"; then
2331 ac_cv_prog_CC="$CC" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_CC="${ac_tool_prefix}cc"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$CC"; then
2352 { echo "$as_me:$LINENO: result: $CC" >&5
2353 echo "${ECHO_T}$CC" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2362 if test -z "$CC"; then
2363 # Extract the first word of "cc", so it can be a program name with args.
2364 set dummy cc; ac_word=$2
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2382 ac_prog_rejected=yes
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 if test $ac_prog_rejected = yes; then
2394 # We found a bogon in the path, so make sure we never use it.
2395 set dummy $ac_cv_prog_CC
2397 if test $@%:@ != 0; then
2398 # We chose a different compiler from the bogus one.
2399 # However, it has the same basename, so the bogon will be chosen
2400 # first if we set CC to just the basename; use the full file name.
2402 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2412 { echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6; }
2418 if test -z "$CC"; then
2419 if test -n "$ac_tool_prefix"; then
2420 for ac_prog in cl.exe
2422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test -n "$CC"; then
2451 { echo "$as_me:$LINENO: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6; }
2454 { echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6; }
2459 test -n "$CC" && break
2462 if test -z "$CC"; then
2464 for ac_prog in cl.exe
2466 # Extract the first word of "$ac_prog", so it can be a program name with args.
2467 set dummy $ac_prog; ac_word=$2
2468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2470 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test -n "$ac_ct_CC"; then
2474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 ac_cv_prog_ac_ct_CC="$ac_prog"
2484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2494 if test -n "$ac_ct_CC"; then
2495 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2496 echo "${ECHO_T}$ac_ct_CC" >&6; }
2498 { echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6; }
2503 test -n "$ac_ct_CC" && break
2506 if test "x$ac_ct_CC" = x; then
2509 case $cross_compiling:$ac_tool_warned in
2511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2512 whose name does not start with the host triplet. If you think this
2513 configuration is useful to you, please write to autoconf@gnu.org." >&5
2514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2515 whose name does not start with the host triplet. If you think this
2516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2517 ac_tool_warned=yes ;;
2526 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: no acceptable C compiler found in \$PATH
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2532 # Provide some information about the compiler.
2533 echo "$as_me:$LINENO: checking for C compiler version" >&5
2534 ac_compiler=`set X $ac_compile; echo $2`
2535 { (ac_try="$ac_compiler --version >&5"
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_compiler --version >&5") 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }
2545 { (ac_try="$ac_compiler -v >&5"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_compiler -v >&5") 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (ac_try="$ac_compiler -V >&5"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_compiler -V >&5") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }
2566 cat >conftest.$ac_ext <<_ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2581 ac_clean_files_save=$ac_clean_files
2582 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2583 # Try to create an executable without -o first, disregard a.out.
2584 # It will help us diagnose broken compilers, and finding out an intuition
2586 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2587 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2588 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2590 # List of possible output files, starting from the most likely.
2591 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2592 # only as a last resort. b.out is created by i960 compilers.
2593 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2595 # The IRIX 6 linker writes into existing files which may not be
2596 # executable, retaining their permissions. Remove them first so a
2597 # subsequent execution test works.
2599 for ac_file in $ac_files
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2603 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2608 if { (ac_try="$ac_link_default"
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_link_default") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; then
2618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2621 # so that the user can short-circuit this test for compilers unknown to
2623 for ac_file in $ac_files ''
2625 test -f "$ac_file" || continue
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2630 # We found the default executable, but exeext='' is most
2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2638 # We set ac_cv_exeext here because the later test for it is not
2639 # safe: cross compilers may not add the suffix if given an `-o'
2640 # argument, so we may need to know it at that point already.
2641 # Even if this section looks crufty: it has the advantage of
2648 test "$ac_cv_exeext" = no && ac_cv_exeext=
2654 { echo "$as_me:$LINENO: result: $ac_file" >&5
2655 echo "${ECHO_T}$ac_file" >&6; }
2656 if test -z "$ac_file"; then
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.$ac_ext >&5
2660 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2661 See \`config.log' for more details." >&5
2662 echo "$as_me: error: C compiler cannot create executables
2663 See \`config.log' for more details." >&2;}
2664 { (exit 77); exit 77; }; }
2667 ac_exeext=$ac_cv_exeext
2669 # Check that the compiler produces executables we can run. If not, either
2670 # the compiler is broken, or we cross compile.
2671 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2672 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2673 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2674 # If not cross compiling, check that we can run a simple program.
2675 if test "$cross_compiling" != yes; then
2676 if { ac_try='./$ac_file'
2677 { (case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_try") 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 if test "$cross_compiling" = maybe; then
2691 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2692 If you meant to cross compile, use \`--host'.
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot run C compiled programs.
2695 If you meant to cross compile, use \`--host'.
2696 See \`config.log' for more details." >&2;}
2697 { (exit 1); exit 1; }; }
2701 { echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6; }
2704 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2705 ac_clean_files=$ac_clean_files_save
2706 # Check that the compiler produces executables we can run. If not, either
2707 # the compiler is broken, or we cross compile.
2708 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2709 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2710 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2711 echo "${ECHO_T}$cross_compiling" >&6; }
2713 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2714 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2715 if { (ac_try="$ac_link"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_link") 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2727 # work properly (i.e., refer to `conftest.exe'), while it won't with
2729 for ac_file in conftest.exe conftest conftest.*; do
2730 test -f "$ac_file" || continue
2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2733 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2739 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2740 See \`config.log' for more details." >&5
2741 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2742 See \`config.log' for more details." >&2;}
2743 { (exit 1); exit 1; }; }
2746 rm -f conftest$ac_cv_exeext
2747 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2748 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2750 rm -f conftest.$ac_ext
2751 EXEEXT=$ac_cv_exeext
2753 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2754 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2755 if test "${ac_cv_objext+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 cat >conftest.$ac_ext <<_ACEOF
2761 cat confdefs.h >>conftest.$ac_ext
2762 cat >>conftest.$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2773 rm -f conftest.o conftest.obj
2774 if { (ac_try="$ac_compile"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_compile") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 for ac_file in conftest.o conftest.obj conftest.*; do
2785 test -f "$ac_file" || continue;
2787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2788 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2799 See \`config.log' for more details." >&2;}
2800 { (exit 1); exit 1; }; }
2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2805 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2806 echo "${ECHO_T}$ac_cv_objext" >&6; }
2807 OBJEXT=$ac_cv_objext
2809 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2810 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2811 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 cat >conftest.$ac_ext <<_ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2832 rm -f conftest.$ac_objext
2833 if { (ac_try="$ac_compile"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>conftest.er1
2841 grep -v '^ *+' conftest.er1 >conftest.err
2843 cat conftest.err >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } && {
2846 test -z "$ac_c_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest.$ac_objext; then
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2861 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2862 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2863 GCC=`test $ac_compiler_gnu = yes && echo yes`
2864 ac_test_CFLAGS=${CFLAGS+set}
2865 ac_save_CFLAGS=$CFLAGS
2866 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2868 if test "${ac_cv_prog_cc_g+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 ac_save_c_werror_flag=$ac_c_werror_flag
2872 ac_c_werror_flag=yes
2875 cat >conftest.$ac_ext <<_ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2890 rm -f conftest.$ac_objext
2891 if { (ac_try="$ac_compile"
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compile") 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } && {
2904 test -z "$ac_c_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.$ac_objext; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2913 cat >conftest.$ac_ext <<_ACEOF
2916 cat confdefs.h >>conftest.$ac_ext
2917 cat >>conftest.$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest.$ac_objext; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 ac_c_werror_flag=$ac_save_c_werror_flag
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compile") 2>conftest.er1
2976 grep -v '^ *+' conftest.er1 >conftest.err
2978 cat conftest.err >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } && {
2981 test -z "$ac_c_werror_flag" ||
2982 test ! -s conftest.err
2983 } && test -s conftest.$ac_objext; then
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 ac_c_werror_flag=$ac_save_c_werror_flag
3001 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3002 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3003 if test "$ac_test_CFLAGS" = set; then
3004 CFLAGS=$ac_save_CFLAGS
3005 elif test $ac_cv_prog_cc_g = yes; then
3006 if test "$GCC" = yes; then
3012 if test "$GCC" = yes; then
3018 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3019 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_cc_c89+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 ac_cv_prog_cc_c89=no
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3033 #include <sys/types.h>
3034 #include <sys/stat.h>
3035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3036 struct buf { int x; };
3037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3038 static char *e (p, i)
3044 static char *f (char * (*g) (char **, int), char **p, ...)
3049 s = g (p, va_arg (v,int));
3054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3055 function prototypes and stuff, but not '\xHH' hex character constants.
3056 These don't provoke an error unfortunately, instead are silently treated
3057 as 'x'. The following induces an error, until -std is added to get
3058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3059 array size at least. It's necessary to write '\x00'==0 to get something
3060 that's true only with -std. */
3061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3064 inside strings and character constants. */
3066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3068 int test (int i, double x);
3069 struct s1 {int (*f) (int a);};
3070 struct s2 {int (*f) (double a);};
3071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3085 CC="$ac_save_CC $ac_arg"
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3095 grep -v '^ *+' conftest.er1 >conftest.err
3097 cat conftest.err >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } && {
3100 test -z "$ac_c_werror_flag" ||
3101 test ! -s conftest.err
3102 } && test -s conftest.$ac_objext; then
3103 ac_cv_prog_cc_c89=$ac_arg
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f core conftest.err conftest.$ac_objext
3112 test "x$ac_cv_prog_cc_c89" != "xno" && break
3114 rm -f conftest.$ac_ext
3119 case "x$ac_cv_prog_cc_c89" in
3121 { echo "$as_me:$LINENO: result: none needed" >&5
3122 echo "${ECHO_T}none needed" >&6; } ;;
3124 { echo "$as_me:$LINENO: result: unsupported" >&5
3125 echo "${ECHO_T}unsupported" >&6; } ;;
3127 CC="$CC $ac_cv_prog_cc_c89"
3128 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3129 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
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
3138 DEPDIR="${am__leading_dot}deps"
3140 ac_config_commands="$ac_config_commands depfiles"
3143 am_make=${MAKE-make}
3144 cat > confinc << 'END'
3149 # If we don't find an include directive, just comment out the code.
3150 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3151 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3155 # First try GNU make style include.
3156 echo "include confinc" > confmf
3157 # We grep out `Entering directory' and `Leaving directory'
3158 # messages which can occur if `w' ends up in MAKEFLAGS.
3159 # In particular we don't look at `^make:' because GNU make might
3160 # be invoked under some other name (usually "gmake"), in which
3161 # case it prints its new name instead of `make'.
3162 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3167 # Now try BSD make style include.
3168 if test "$am__include" = "#"; then
3169 echo '.include "confinc"' > confmf
3170 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3171 am__include=.include
3178 { echo "$as_me:$LINENO: result: $_am_result" >&5
3179 echo "${ECHO_T}$_am_result" >&6; }
3180 rm -f confinc confmf
3182 # Check whether --enable-dependency-tracking was given.
3183 if test "${enable_dependency_tracking+set}" = set; then
3184 enableval=$enable_dependency_tracking;
3187 if test "x$enable_dependency_tracking" != xno; then
3188 am_depcomp="$ac_aux_dir/depcomp"
3191 if test "x$enable_dependency_tracking" != xno; then
3201 depcc="$CC" am_compiler_list=
3203 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3204 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3205 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3209 # We make a subdir and do the tests there. Otherwise we can end up
3210 # making bogus files that we don't know about and never remove. For
3211 # instance it was reported that on HP-UX the gcc test will end up
3212 # making a dummy file named `D' -- because `-MD' means `put the output
3215 # Copy depcomp to subdir because otherwise we won't find it if we're
3216 # using a relative directory.
3217 cp "$am_depcomp" conftest.dir
3219 # We will build objects and dependencies in a subdirectory because
3220 # it helps to detect inapplicable dependency modes. For instance
3221 # both Tru64's cc and ICC support -MD to output dependencies as a
3222 # side effect of compilation, but ICC will put the dependencies in
3223 # the current directory while Tru64 will put them in the object
3227 am_cv_CC_dependencies_compiler_type=none
3228 if test "$am_compiler_list" = ""; then
3229 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3231 for depmode in $am_compiler_list; do
3232 # Setup a source with many dependencies, because some compilers
3233 # like to wrap large dependency lists on column 80 (with \), and
3234 # we should not choose a depcomp mode which is confused by this.
3236 # We need to recreate these files for each test, as the compiler may
3237 # overwrite some of them when testing with obscure command lines.
3238 # This happens at least with the AIX C compiler.
3240 for i in 1 2 3 4 5 6; do
3241 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3242 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3243 # Solaris 8's {/usr,}/bin/sh.
3244 touch sub/conftst$i.h
3246 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3250 # after this tag, mechanisms are not by side-effect, so they'll
3251 # only be used when explicitly requested
3252 if test "x$enable_dependency_tracking" = xyes; then
3260 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3261 # mode. It turns out that the SunPro C++ compiler does not properly
3262 # handle `-M -o', and we need to detect this.
3263 if depmode=$depmode \
3264 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3265 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3266 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3267 >/dev/null 2>conftest.err &&
3268 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3269 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3270 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3271 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3272 # icc doesn't choke on unknown options, it will just issue warnings
3273 # or remarks (even with -Werror). So we grep stderr for any message
3274 # that says an option was ignored or not supported.
3275 # When given -MP, icc 7.0 and 7.1 complain thusly:
3276 # icc: Command line warning: ignoring option '-M'; no argument required
3277 # The diagnosis changed in icc 8.0:
3278 # icc: Command line remark: option '-MP' not supported
3279 if (grep 'ignoring option' conftest.err ||
3280 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3281 am_cv_CC_dependencies_compiler_type=$depmode
3290 am_cv_CC_dependencies_compiler_type=none
3294 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3295 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3296 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3299 test "x$enable_dependency_tracking" != xno \
3300 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3302 am__fastdepCC_FALSE='#'
3304 am__fastdepCC_TRUE='#'
3305 am__fastdepCC_FALSE=
3310 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3311 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
3312 # Check whether --enable-maintainer-mode was given.
3313 if test "${enable_maintainer_mode+set}" = set; then
3314 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3316 USE_MAINTAINER_MODE=no
3319 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3320 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
3321 if test $USE_MAINTAINER_MODE = yes; then
3322 MAINTAINER_MODE_TRUE=
3323 MAINTAINER_MODE_FALSE='#'
3325 MAINTAINER_MODE_TRUE='#'
3326 MAINTAINER_MODE_FALSE=
3329 MAINT=$MAINTAINER_MODE_TRUE
3333 # Check whether --enable-debug was given.
3334 if test "${enable_debug+set}" = set; then
3335 enableval=$enable_debug; CFLAGS="$CFLAGS -Wall -g"
3340 # Check whether --with-pkgconfigdir was given.
3341 if test "${with_pkgconfigdir+set}" = set; then
3342 withval=$with_pkgconfigdir; pkgconfigdir=$withval
3344 pkgconfigdir='${libdir}/pkgconfig'
3349 CPPFLAGS="${CPPFLAGS} `pkg-config --cflags fuse` -D_REENTRANT -DFUSE_USE_VERSION=25"
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3358 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3359 # On Suns, sometimes $CPP names a directory.
3360 if test -n "$CPP" && test -d "$CPP"; then
3363 if test -z "$CPP"; then
3364 if test "${ac_cv_prog_CPP+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 # Double quotes because CPP needs to be expanded
3368 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3371 for ac_c_preproc_warn_flag in '' yes
3373 # Use a header file that comes with gcc, so configuring glibc
3374 # with a fresh cross-compiler works.
3375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3376 # <limits.h> exists even on freestanding compilers.
3377 # On the NeXT, cc -E runs the code through the compiler's parser,
3378 # not just through cpp. "Syntax error" is here to catch this case.
3379 cat >conftest.$ac_ext <<_ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3386 @%:@ include <limits.h>
3388 @%:@ include <assert.h>
3392 if { (ac_try="$ac_cpp conftest.$ac_ext"
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3400 grep -v '^ *+' conftest.er1 >conftest.err
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } >/dev/null && {
3405 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3406 test ! -s conftest.err
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 # Broken: fails on valid input.
3417 rm -f conftest.err conftest.$ac_ext
3419 # OK, works on sane cases. Now check whether nonexistent headers
3420 # can be detected and how.
3421 cat >conftest.$ac_ext <<_ACEOF
3424 cat confdefs.h >>conftest.$ac_ext
3425 cat >>conftest.$ac_ext <<_ACEOF
3426 /* end confdefs.h. */
3427 @%:@include <ac_nonexistent.h>
3429 if { (ac_try="$ac_cpp conftest.$ac_ext"
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3437 grep -v '^ *+' conftest.er1 >conftest.err
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } >/dev/null && {
3442 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3443 test ! -s conftest.err
3445 # Broken: success on invalid input.
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3451 # Passes both tests.
3456 rm -f conftest.err conftest.$ac_ext
3459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3460 rm -f conftest.err conftest.$ac_ext
3461 if $ac_preproc_ok; then
3473 { echo "$as_me:$LINENO: result: $CPP" >&5
3474 echo "${ECHO_T}$CPP" >&6; }
3476 for ac_c_preproc_warn_flag in '' yes
3478 # Use a header file that comes with gcc, so configuring glibc
3479 # with a fresh cross-compiler works.
3480 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3481 # <limits.h> exists even on freestanding compilers.
3482 # On the NeXT, cc -E runs the code through the compiler's parser,
3483 # not just through cpp. "Syntax error" is here to catch this case.
3484 cat >conftest.$ac_ext <<_ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3491 @%:@ include <limits.h>
3493 @%:@ include <assert.h>
3497 if { (ac_try="$ac_cpp conftest.$ac_ext"
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3505 grep -v '^ *+' conftest.er1 >conftest.err
3507 cat conftest.err >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } >/dev/null && {
3510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3511 test ! -s conftest.err
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 # Broken: fails on valid input.
3522 rm -f conftest.err conftest.$ac_ext
3524 # OK, works on sane cases. Now check whether nonexistent headers
3525 # can be detected and how.
3526 cat >conftest.$ac_ext <<_ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3532 @%:@include <ac_nonexistent.h>
3534 if { (ac_try="$ac_cpp conftest.$ac_ext"
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3542 grep -v '^ *+' conftest.er1 >conftest.err
3544 cat conftest.err >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } >/dev/null && {
3547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3548 test ! -s conftest.err
3550 # Broken: success on invalid input.
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 # Passes both tests.
3561 rm -f conftest.err conftest.$ac_ext
3564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3565 rm -f conftest.err conftest.$ac_ext
3566 if $ac_preproc_ok; then
3569 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3570 See \`config.log' for more details." >&5
3571 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3572 See \`config.log' for more details." >&2;}
3573 { (exit 1); exit 1; }; }
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3584 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3585 if test "${ac_cv_path_GREP+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 # Extract the first word of "grep ggrep" to use in msg output
3589 if test -z "$GREP"; then
3590 set dummy grep ggrep; ac_prog_name=$2
3591 if test "${ac_cv_path_GREP+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 ac_path_GREP_found=false
3595 # Loop through the user's path and test for each of PROGNAME-LIST
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3600 test -z "$as_dir" && as_dir=.
3601 for ac_prog in grep ggrep; do
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3604 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3605 # Check for GNU ac_path_GREP and select it if it is found.
3606 # Check for GNU $ac_path_GREP
3607 case `"$ac_path_GREP" --version 2>&1` in
3609 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3612 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3615 cat "conftest.in" "conftest.in" >"conftest.tmp"
3616 mv "conftest.tmp" "conftest.in"
3617 cp "conftest.in" "conftest.nl"
3618 echo 'GREP' >> "conftest.nl"
3619 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3620 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3621 ac_count=`expr $ac_count + 1`
3622 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3623 # Best one so far, save it but keep looking for a better one
3624 ac_cv_path_GREP="$ac_path_GREP"
3625 ac_path_GREP_max=$ac_count
3627 # 10*(2^10) chars as input seems more than enough
3628 test $ac_count -gt 10 && break
3630 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3634 $ac_path_GREP_found && break 3
3644 GREP="$ac_cv_path_GREP"
3645 if test -z "$GREP"; then
3646 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3647 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3648 { (exit 1); exit 1; }; }
3652 ac_cv_path_GREP=$GREP
3657 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3658 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3659 GREP="$ac_cv_path_GREP"
3662 { echo "$as_me:$LINENO: checking for egrep" >&5
3663 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3664 if test "${ac_cv_path_EGREP+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3668 then ac_cv_path_EGREP="$GREP -E"
3670 # Extract the first word of "egrep" to use in msg output
3671 if test -z "$EGREP"; then
3672 set dummy egrep; ac_prog_name=$2
3673 if test "${ac_cv_path_EGREP+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 ac_path_EGREP_found=false
3677 # Loop through the user's path and test for each of PROGNAME-LIST
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3682 test -z "$as_dir" && as_dir=.
3683 for ac_prog in egrep; do
3684 for ac_exec_ext in '' $ac_executable_extensions; do
3685 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3686 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3687 # Check for GNU ac_path_EGREP and select it if it is found.
3688 # Check for GNU $ac_path_EGREP
3689 case `"$ac_path_EGREP" --version 2>&1` in
3691 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3694 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3697 cat "conftest.in" "conftest.in" >"conftest.tmp"
3698 mv "conftest.tmp" "conftest.in"
3699 cp "conftest.in" "conftest.nl"
3700 echo 'EGREP' >> "conftest.nl"
3701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3703 ac_count=`expr $ac_count + 1`
3704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3705 # Best one so far, save it but keep looking for a better one
3706 ac_cv_path_EGREP="$ac_path_EGREP"
3707 ac_path_EGREP_max=$ac_count
3709 # 10*(2^10) chars as input seems more than enough
3710 test $ac_count -gt 10 && break
3712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3716 $ac_path_EGREP_found && break 3
3726 EGREP="$ac_cv_path_EGREP"
3727 if test -z "$EGREP"; then
3728 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3729 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3730 { (exit 1); exit 1; }; }
3734 ac_cv_path_EGREP=$EGREP
3740 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3741 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3742 EGREP="$ac_cv_path_EGREP"
3745 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3746 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3747 if test "${ac_cv_header_stdc+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 cat >conftest.$ac_ext <<_ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3769 rm -f conftest.$ac_objext
3770 if { (ac_try="$ac_compile"
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_compile") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } && {
3783 test -z "$ac_c_werror_flag" ||
3784 test ! -s conftest.err
3785 } && test -s conftest.$ac_objext; then
3786 ac_cv_header_stdc=yes
3788 echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.$ac_ext >&5
3791 ac_cv_header_stdc=no
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 if test $ac_cv_header_stdc = yes; then
3797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3798 cat >conftest.$ac_ext <<_ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3808 $EGREP "memchr" >/dev/null 2>&1; then
3811 ac_cv_header_stdc=no
3817 if test $ac_cv_header_stdc = yes; then
3818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3819 cat >conftest.$ac_ext <<_ACEOF
3822 cat confdefs.h >>conftest.$ac_ext
3823 cat >>conftest.$ac_ext <<_ACEOF
3824 /* end confdefs.h. */
3828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3829 $EGREP "free" >/dev/null 2>&1; then
3832 ac_cv_header_stdc=no
3838 if test $ac_cv_header_stdc = yes; then
3839 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3840 if test "$cross_compiling" = yes; then
3843 cat >conftest.$ac_ext <<_ACEOF
3846 cat confdefs.h >>conftest.$ac_ext
3847 cat >>conftest.$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3851 #if ((' ' & 0x0FF) == 0x020)
3852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3855 # define ISLOWER(c) \
3856 (('a' <= (c) && (c) <= 'i') \
3857 || ('j' <= (c) && (c) <= 'r') \
3858 || ('s' <= (c) && (c) <= 'z'))
3859 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3867 for (i = 0; i < 256; i++)
3868 if (XOR (islower (i), ISLOWER (i))
3869 || toupper (i) != TOUPPER (i))
3874 rm -f conftest$ac_exeext
3875 if { (ac_try="$ac_link"
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881 (eval "$ac_link") 2>&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3885 { (case "(($ac_try" in
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_try") 2>&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3896 echo "$as_me: program exited with status $ac_status" >&5
3897 echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3901 ac_cv_header_stdc=no
3903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3909 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3910 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3911 if test $ac_cv_header_stdc = yes; then
3913 cat >>confdefs.h <<\_ACEOF
3914 @%:@define STDC_HEADERS 1
3919 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3929 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3930 inttypes.h stdint.h unistd.h
3932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 $ac_includes_default
3946 @%:@include <$ac_header>
3948 rm -f conftest.$ac_objext
3949 if { (ac_try="$ac_compile"
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3955 (eval "$ac_compile") 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } && {
3962 test -z "$ac_c_werror_flag" ||
3963 test ! -s conftest.err
3964 } && test -s conftest.$ac_objext; then
3965 eval "$as_ac_Header=yes"
3967 echo "$as_me: failed program was:" >&5
3968 sed 's/^/| /' conftest.$ac_ext >&5
3970 eval "$as_ac_Header=no"
3973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 ac_res=`eval echo '${'$as_ac_Header'}'`
3976 { echo "$as_me:$LINENO: result: $ac_res" >&5
3977 echo "${ECHO_T}$ac_res" >&6; }
3978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3979 cat >>confdefs.h <<_ACEOF
3980 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3989 for ac_header in fuse.h
3991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_res=`eval echo '${'$as_ac_Header'}'`
3999 { echo "$as_me:$LINENO: result: $ac_res" >&5
4000 echo "${ECHO_T}$ac_res" >&6; }
4002 # Is the header compilable?
4003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4005 cat >conftest.$ac_ext <<_ACEOF
4008 cat confdefs.h >>conftest.$ac_ext
4009 cat >>conftest.$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 $ac_includes_default
4012 @%:@include <$ac_header>
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_compile") 2>conftest.er1
4023 grep -v '^ *+' conftest.er1 >conftest.err
4025 cat conftest.err >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } && {
4028 test -z "$ac_c_werror_flag" ||
4029 test ! -s conftest.err
4030 } && test -s conftest.$ac_objext; then
4031 ac_header_compiler=yes
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.$ac_ext >&5
4036 ac_header_compiler=no
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4041 echo "${ECHO_T}$ac_header_compiler" >&6; }
4043 # Is the header present?
4044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4046 cat >conftest.$ac_ext <<_ACEOF
4049 cat confdefs.h >>conftest.$ac_ext
4050 cat >>conftest.$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 @%:@include <$ac_header>
4054 if { (ac_try="$ac_cpp conftest.$ac_ext"
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1 >conftest.err
4064 cat conftest.err >&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } >/dev/null && {
4067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4070 ac_header_preproc=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 ac_header_preproc=no
4078 rm -f conftest.err conftest.$ac_ext
4079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4080 echo "${ECHO_T}$ac_header_preproc" >&6; }
4082 # So? What about this header?
4083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4089 ac_header_preproc=yes
4092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 eval "$as_ac_Header=\$ac_header_preproc"
4114 ac_res=`eval echo '${'$as_ac_Header'}'`
4115 { echo "$as_me:$LINENO: result: $ac_res" >&5
4116 echo "${ECHO_T}$ac_res" >&6; }
4119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4120 cat >>confdefs.h <<_ACEOF
4121 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4125 { { echo "$as_me:$LINENO: error: fuse 2.4 or newer is required to build castfs" >&5
4126 echo "$as_me: error: fuse 2.4 or newer is required to build castfs" >&2;}
4127 { (exit 1); exit 1; }; }
4134 { echo "$as_me:$LINENO: checking for fuse_main in -lfuse" >&5
4135 echo $ECHO_N "checking for fuse_main in -lfuse... $ECHO_C" >&6; }
4136 if test "${ac_cv_lib_fuse_fuse_main+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 ac_check_lib_save_LIBS=$LIBS
4141 cat >conftest.$ac_ext <<_ACEOF
4144 cat confdefs.h >>conftest.$ac_ext
4145 cat >>conftest.$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4148 /* Override any GCC internal prototype to avoid an error.
4149 Use char because int might match the return type of a GCC
4150 builtin and then its argument prototype would still apply. */
4158 return fuse_main ();
4163 rm -f conftest.$ac_objext conftest$ac_exeext
4164 if { (ac_try="$ac_link"
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_link") 2>conftest.er1
4172 grep -v '^ *+' conftest.er1 >conftest.err
4174 cat conftest.err >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } && {
4177 test -z "$ac_c_werror_flag" ||
4178 test ! -s conftest.err
4179 } && test -s conftest$ac_exeext &&
4180 $as_test_x conftest$ac_exeext; then
4181 ac_cv_lib_fuse_fuse_main=yes
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4186 ac_cv_lib_fuse_fuse_main=no
4189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4190 conftest$ac_exeext conftest.$ac_ext
4191 LIBS=$ac_check_lib_save_LIBS
4193 { echo "$as_me:$LINENO: result: $ac_cv_lib_fuse_fuse_main" >&5
4194 echo "${ECHO_T}$ac_cv_lib_fuse_fuse_main" >&6; }
4195 if test $ac_cv_lib_fuse_fuse_main = yes; then
4196 cat >>confdefs.h <<_ACEOF
4197 @%:@define HAVE_LIBFUSE 1
4203 { { echo "$as_me:$LINENO: error: fuse 2.4 or newer is required to build castfs" >&5
4204 echo "$as_me: error: fuse 2.4 or newer is required to build castfs" >&2;}
4205 { (exit 1); exit 1; }; }
4209 FUSE_PREFIX=`pkg-config --variable=prefix fuse `
4213 # Check whether --enable-static-fuse was given.
4214 if test "${enable_static_fuse+set}" = set; then
4215 enableval=$enable_static_fuse; static_fuse=${enableval}
4221 if test "x$static_fuse" = "xyes"
4223 LIBS=`pkg-config --libs fuse | sed 's/-lfuse/$(FUSE_PREFIX)\/lib\/libfuse.a -lrt/'`
4227 for ac_func in setxattr
4229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4235 cat >conftest.$ac_ext <<_ACEOF
4238 cat confdefs.h >>conftest.$ac_ext
4239 cat >>conftest.$ac_ext <<_ACEOF
4240 /* end confdefs.h. */
4241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4243 #define $ac_func innocuous_$ac_func
4245 /* System header to define __stub macros and hopefully few prototypes,
4246 which can conflict with char $ac_func (); below.
4247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4248 <limits.h> exists even on freestanding compilers. */
4251 # include <limits.h>
4253 # include <assert.h>
4258 /* Override any GCC internal prototype to avoid an error.
4259 Use char because int might match the return type of a GCC
4260 builtin and then its argument prototype would still apply. */
4265 /* The GNU C library defines this for functions which it implements
4266 to always fail with ENOSYS. Some functions are actually named
4267 something starting with __ and the normal name is an alias. */
4268 #if defined __stub_$ac_func || defined __stub___$ac_func
4280 rm -f conftest.$ac_objext conftest$ac_exeext
4281 if { (ac_try="$ac_link"
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4287 (eval "$ac_link") 2>conftest.er1
4289 grep -v '^ *+' conftest.er1 >conftest.err
4291 cat conftest.err >&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } && {
4294 test -z "$ac_c_werror_flag" ||
4295 test ! -s conftest.err
4296 } && test -s conftest$ac_exeext &&
4297 $as_test_x conftest$ac_exeext; then
4298 eval "$as_ac_var=yes"
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 eval "$as_ac_var=no"
4306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4307 conftest$ac_exeext conftest.$ac_ext
4309 ac_res=`eval echo '${'$as_ac_var'}'`
4310 { echo "$as_me:$LINENO: result: $ac_res" >&5
4311 echo "${ECHO_T}$ac_res" >&6; }
4312 if test `eval echo '${'$as_ac_var'}'` = yes; then
4313 cat >>confdefs.h <<_ACEOF
4314 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4321 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile debian/Makefile include/config.h"
4323 cat >confcache <<\_ACEOF
4324 # This file is a shell script that caches the results of configure
4325 # tests run on this system so they can be shared between configure
4326 # scripts and configure runs, see configure's option --config-cache.
4327 # It is not useful on other systems. If it contains results you don't
4328 # want to keep, you may remove or edit it.
4330 # config.status only pays attention to the cache file if you give it
4331 # the --recheck option to rerun configure.
4333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4339 # The following way of writing the cache mishandles newlines in values,
4340 # but we know of no workaround that is simple, portable, and efficient.
4341 # So, we kill variables containing newlines.
4342 # Ultrix sh set writes to stderr and can't be redirected directly,
4343 # and sets the high bit in the cache file unless we assign to the vars.
4345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4346 eval ac_val=\$$ac_var
4350 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4354 _ | IFS | as_nl) ;; #(
4355 *) $as_unset $ac_var ;;
4361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4362 *${as_nl}ac_space=\ *)
4363 # `set' does not quote correctly, so add quotes (double-quote
4364 # substitution turns \\\\ into \\, and sed turns \\ into \).
4367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4370 # `set' quotes correctly as required by POSIX, so do not add quotes.
4371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4385 if test -w "$cache_file"; then
4386 test "x$cache_file" != "x/dev/null" &&
4387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4388 echo "$as_me: updating cache $cache_file" >&6;}
4389 cat confcache >$cache_file
4391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4392 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4398 # Let make expand exec_prefix.
4399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4401 # Transform confdefs.h into DEFS.
4402 # Protect against shell expansion while executing Makefile rules.
4403 # Protect against Makefile macro expansion.
4405 # If the first sed substitution is executed (which looks for macros that
4406 # take arguments), then branch to the quote section. Otherwise,
4407 # look for a macro that doesn't take arguments.
4411 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4413 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4417 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4430 DEFS=`sed -n "$ac_script" confdefs.h`
4435 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4436 # 1. Remove the extension, and $U if already installed.
4437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4438 ac_i=`echo "$ac_i" | sed "$ac_script"`
4439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4440 # will be set to the directory where LIBOBJS objects are built.
4441 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4442 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4444 LIB@&t@OBJS=$ac_libobjs
4446 LTLIBOBJS=$ac_ltlibobjs
4449 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4450 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4451 Usually this means the macro was only invoked conditionally." >&5
4452 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4453 Usually this means the macro was only invoked conditionally." >&2;}
4454 { (exit 1); exit 1; }; }
4456 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4457 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4458 Usually this means the macro was only invoked conditionally." >&5
4459 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4460 Usually this means the macro was only invoked conditionally." >&2;}
4461 { (exit 1); exit 1; }; }
4463 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4464 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4465 Usually this means the macro was only invoked conditionally." >&5
4466 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4467 Usually this means the macro was only invoked conditionally." >&2;}
4468 { (exit 1); exit 1; }; }
4471 : ${CONFIG_STATUS=./config.status}
4472 ac_clean_files_save=$ac_clean_files
4473 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4474 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4475 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4476 cat >$CONFIG_STATUS <<_ACEOF
4478 # Generated by $as_me.
4479 # Run this file to recreate the current configuration.
4480 # Compiler output produced by configure, useful for debugging
4481 # configure, is in config.log if it exists.
4486 SHELL=\${CONFIG_SHELL-$SHELL}
4489 cat >>$CONFIG_STATUS <<\_ACEOF
4490 ## --------------------- ##
4491 ## M4sh Initialization. ##
4492 ## --------------------- ##
4494 # Be more Bourne compatible
4495 DUALCASE=1; export DUALCASE # for MKS sh
4496 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4499 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4500 # is contrary to our usage. Disable this feature.
4501 alias -g '${1+"$@"}'='"$@"'
4502 setopt NO_GLOB_SUBST
4504 case `(set -o) 2>/dev/null` in
4505 *posix*) set -o posix ;;
4514 # Avoid depending upon Character Ranges.
4515 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4516 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4517 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4518 as_cr_digits='0123456789'
4519 as_cr_alnum=$as_cr_Letters$as_cr_digits
4521 # The user is always right.
4522 if test "${PATH_SEPARATOR+set}" != set; then
4523 echo "#! /bin/sh" >conf$$.sh
4524 echo "exit 0" >>conf$$.sh
4526 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4534 # Support unset when possible.
4535 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4543 # We need space, tab and new line, in precisely that order. Quoting is
4544 # there to prevent editors from complaining about space-tab.
4545 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4546 # splitting by setting IFS to empty value.)
4551 # Find who we are. Look in the path if we contain no directory separator.
4553 *[\\/]* ) as_myself=$0 ;;
4554 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4565 # We did not find ourselves, most probably we were run as `sh COMMAND'
4566 # in which case we are not to be found in the path.
4567 if test "x$as_myself" = x; then
4570 if test ! -f "$as_myself"; then
4571 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4572 { (exit 1); exit 1; }
4575 # Work around bugs in pre-3.0 UWIN ksh.
4576 for as_var in ENV MAIL MAILPATH
4577 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4585 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4586 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4587 LC_TELEPHONE LC_TIME
4589 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4590 eval $as_var=C; export $as_var
4592 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4596 # Required to use basename.
4597 if expr a : '\(a\)' >/dev/null 2>&1 &&
4598 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4604 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4605 as_basename=basename
4611 # Name of the executable.
4612 as_me=`$as_basename -- "$0" ||
4613 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4614 X"$0" : 'X\(//\)$' \| \
4615 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4617 sed '/^.*\/\([^/][^/]*\)\/*$/{
4638 test "x$as_lineno_1" != "x$as_lineno_2" &&
4639 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4641 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4642 # uniformly replaced by the line number. The first 'sed' inserts a
4643 # line-number line after each line using $LINENO; the second 'sed'
4644 # does the real work. The second script uses 'N' to pair each
4645 # line-number line with the line containing $LINENO, and appends
4646 # trailing '-' during substitution so that $LINENO is not a special
4648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4649 # scripts with optimization help from Paolo Bonzini. Blame Lee
4650 # E. McMahon (1931-1989) for sed's syntax. :-)
4662 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4666 chmod +x "$as_me.lineno" ||
4667 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4668 { (exit 1); exit 1; }; }
4670 # Don't try to exec as it changes $[0], causing all sort of problems
4671 # (the dirname of $[0] is not the place where we might find the
4672 # original and so on. Autoconf is especially sensitive to this).
4674 # Exit status is that of the last command.
4679 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4685 ECHO_C= ECHO_N= ECHO_T=
4688 case `echo 'x\c'` in
4689 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4696 if expr a : '\(a\)' >/dev/null 2>&1 &&
4697 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4703 rm -f conf$$ conf$$.exe conf$$.file
4704 if test -d conf$$.dir; then
4705 rm -f conf$$.dir/conf$$.file
4711 if ln -s conf$$.file conf$$ 2>/dev/null; then
4713 # ... but there are two gotchas:
4714 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4715 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4716 # In both cases, we have to default to `cp -p'.
4717 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4719 elif ln conf$$.file conf$$ 2>/dev/null; then
4724 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4725 rmdir conf$$.dir 2>/dev/null
4727 if mkdir -p . 2>/dev/null; then
4730 test -d ./-p && rmdir ./-p
4734 if test -x / >/dev/null 2>&1; then
4737 if ls -dL / >/dev/null 2>&1; then
4744 if test -d "$1"; then
4750 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4751 ???[sx]*):;;*)false;;esac;fi
4755 as_executable_p=$as_test_x
4757 # Sed expression to map a string onto a valid CPP name.
4758 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4760 # Sed expression to map a string onto a valid variable name.
4761 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4766 # Save the log message, to keep $[0] and so on meaningful, and to
4767 # report actual input values of CONFIG_FILES etc. instead of their
4768 # values after options handling.
4770 This file was extended by castfs $as_me 0.5.1, which was
4771 generated by GNU Autoconf 2.61. Invocation command line was
4773 CONFIG_FILES = $CONFIG_FILES
4774 CONFIG_HEADERS = $CONFIG_HEADERS
4775 CONFIG_LINKS = $CONFIG_LINKS
4776 CONFIG_COMMANDS = $CONFIG_COMMANDS
4779 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4784 cat >>$CONFIG_STATUS <<_ACEOF
4785 # Files that config.status was made for.
4786 config_files="$ac_config_files"
4787 config_commands="$ac_config_commands"
4791 cat >>$CONFIG_STATUS <<\_ACEOF
4793 \`$as_me' instantiates files from templates according to the
4794 current configuration.
4796 Usage: $0 [OPTIONS] [FILE]...
4798 -h, --help print this help, then exit
4799 -V, --version print version number and configuration settings, then exit
4800 -q, --quiet do not print progress messages
4801 -d, --debug don't remove temporary files
4802 --recheck update $as_me by reconfiguring in the same conditions
4803 --file=FILE[:TEMPLATE]
4804 instantiate the configuration file FILE
4806 Configuration files:
4809 Configuration commands:
4812 Report bugs to <bug-autoconf@gnu.org>."
4815 cat >>$CONFIG_STATUS <<_ACEOF
4817 castfs config.status 0.5.1
4818 configured by $0, generated by GNU Autoconf 2.61,
4819 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4821 Copyright (C) 2006 Free Software Foundation, Inc.
4822 This config.status script is free software; the Free Software Foundation
4823 gives unlimited permission to copy, distribute and modify it."
4831 cat >>$CONFIG_STATUS <<\_ACEOF
4832 # If no file are specified by the user, then we need to provide default
4833 # value. By we need to know if files were specified by the user.
4839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4851 # Handling of the options.
4852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4855 echo "$ac_cs_version"; exit ;;
4856 --debug | --debu | --deb | --de | --d | -d )
4858 --file | --fil | --fi | --f )
4860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4861 ac_need_defaults=false;;
4862 --he | --h | --help | --hel | -h )
4863 echo "$ac_cs_usage"; exit ;;
4864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4865 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4869 -*) { echo "$as_me: error: unrecognized option: $1
4870 Try \`$0 --help' for more information." >&2
4871 { (exit 1); exit 1; }; } ;;
4873 *) ac_config_targets="$ac_config_targets $1"
4874 ac_need_defaults=false ;;
4880 ac_configure_extra_args=
4882 if $ac_cs_silent; then
4884 ac_configure_extra_args="$ac_configure_extra_args --silent"
4888 cat >>$CONFIG_STATUS <<_ACEOF
4889 if \$ac_cs_recheck; then
4890 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4893 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4897 cat >>$CONFIG_STATUS <<\_ACEOF
4901 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4902 @%:@@%:@ Running $as_me. @%:@@%:@
4908 cat >>$CONFIG_STATUS <<_ACEOF
4912 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4916 cat >>$CONFIG_STATUS <<\_ACEOF
4918 # Handling of arguments.
4919 for ac_config_target in $ac_config_targets
4921 case $ac_config_target in
4922 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4923 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4924 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
4925 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4926 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
4927 "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
4928 "include/config.h") CONFIG_FILES="$CONFIG_FILES include/config.h" ;;
4930 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4931 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4932 { (exit 1); exit 1; }; };;
4937 # If the user did not use the arguments to specify the items to instantiate,
4938 # then the envvar interface is used. Set only those that are not.
4939 # We use the long form for the default assignment because of an extremely
4940 # bizarre bug on SunOS 4.1.3.
4941 if $ac_need_defaults; then
4942 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4943 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4946 # Have a temporary directory for convenience. Make it in the build tree
4947 # simply because there is no reason against having it here, and in addition,
4948 # creating and moving files from /tmp can sometimes cause problems.
4949 # Hook for its removal unless debugging.
4950 # Note that there is a small window in which the directory will not be cleaned:
4951 # after its creation but before its name has been assigned to `$tmp'.
4955 trap 'exit_status=$?
4956 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4958 trap '{ (exit 1); exit 1; }' 1 2 13 15
4960 # Create a (secure) tmp directory for tmp files.
4963 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4964 test -n "$tmp" && test -d "$tmp"
4967 tmp=./conf$$-$RANDOM
4968 (umask 077 && mkdir "$tmp")
4971 echo "$me: cannot create a temporary directory in ." >&2
4972 { (exit 1); exit 1; }
4976 # Set up the sed scripts for CONFIG_FILES section.
4979 # No need to generate the scripts if there are no CONFIG_FILES.
4980 # This happens for instance when ./config.status config.h
4981 if test -n "$CONFIG_FILES"; then
4988 for ac_last_try in false false false false false :; do
4989 cat >conf$$subs.sed <<_ACEOF
4990 SHELL!$SHELL$ac_delim
4991 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4992 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4993 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4994 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4995 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4996 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4997 exec_prefix!$exec_prefix$ac_delim
4998 prefix!$prefix$ac_delim
4999 program_transform_name!$program_transform_name$ac_delim
5000 bindir!$bindir$ac_delim
5001 sbindir!$sbindir$ac_delim
5002 libexecdir!$libexecdir$ac_delim
5003 datarootdir!$datarootdir$ac_delim
5004 datadir!$datadir$ac_delim
5005 sysconfdir!$sysconfdir$ac_delim
5006 sharedstatedir!$sharedstatedir$ac_delim
5007 localstatedir!$localstatedir$ac_delim
5008 includedir!$includedir$ac_delim
5009 oldincludedir!$oldincludedir$ac_delim
5010 docdir!$docdir$ac_delim
5011 infodir!$infodir$ac_delim
5012 htmldir!$htmldir$ac_delim
5013 dvidir!$dvidir$ac_delim
5014 pdfdir!$pdfdir$ac_delim
5015 psdir!$psdir$ac_delim
5016 libdir!$libdir$ac_delim
5017 localedir!$localedir$ac_delim
5018 mandir!$mandir$ac_delim
5020 ECHO_C!$ECHO_C$ac_delim
5021 ECHO_N!$ECHO_N$ac_delim
5022 ECHO_T!$ECHO_T$ac_delim
5024 build_alias!$build_alias$ac_delim
5025 host_alias!$host_alias$ac_delim
5026 target_alias!$target_alias$ac_delim
5027 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5028 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5029 INSTALL_DATA!$INSTALL_DATA$ac_delim
5030 am__isrc!$am__isrc$ac_delim
5031 CYGPATH_W!$CYGPATH_W$ac_delim
5032 PACKAGE!$PACKAGE$ac_delim
5033 VERSION!$VERSION$ac_delim
5034 ACLOCAL!$ACLOCAL$ac_delim
5035 AUTOCONF!$AUTOCONF$ac_delim
5036 AUTOMAKE!$AUTOMAKE$ac_delim
5037 AUTOHEADER!$AUTOHEADER$ac_delim
5038 MAKEINFO!$MAKEINFO$ac_delim
5039 install_sh!$install_sh$ac_delim
5040 STRIP!$STRIP$ac_delim
5041 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5042 mkdir_p!$mkdir_p$ac_delim
5044 SET_MAKE!$SET_MAKE$ac_delim
5045 am__leading_dot!$am__leading_dot$ac_delim
5046 AMTAR!$AMTAR$ac_delim
5047 am__tar!$am__tar$ac_delim
5048 am__untar!$am__untar$ac_delim
5050 CFLAGS!$CFLAGS$ac_delim
5051 LDFLAGS!$LDFLAGS$ac_delim
5052 CPPFLAGS!$CPPFLAGS$ac_delim
5053 ac_ct_CC!$ac_ct_CC$ac_delim
5054 EXEEXT!$EXEEXT$ac_delim
5055 OBJEXT!$OBJEXT$ac_delim
5056 DEPDIR!$DEPDIR$ac_delim
5057 am__include!$am__include$ac_delim
5058 am__quote!$am__quote$ac_delim
5059 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5060 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5061 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5062 CCDEPMODE!$CCDEPMODE$ac_delim
5063 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5064 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5065 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5066 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5067 MAINT!$MAINT$ac_delim
5068 pkgconfigdir!$pkgconfigdir$ac_delim
5071 EGREP!$EGREP$ac_delim
5072 FUSE_PREFIX!$FUSE_PREFIX$ac_delim
5073 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5074 LTLIBOBJS!$LTLIBOBJS$ac_delim
5077 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
5079 elif $ac_last_try; then
5080 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5081 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5082 { (exit 1); exit 1; }; }
5084 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5088 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5089 if test -n "$ac_eof"; then
5090 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5091 ac_eof=`expr $ac_eof + 1`
5094 cat >>$CONFIG_STATUS <<_ACEOF
5095 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5099 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5100 s/^/s,@/; s/!/@,|#_!!_#|/
5103 s/'"$ac_delim"'$/,g/; t
5105 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5106 ' >>$CONFIG_STATUS <conf$$subs.sed
5107 rm -f conf$$subs.sed
5108 cat >>$CONFIG_STATUS <<_ACEOF
5115 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5116 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5117 # trailing colons and then remove the whole line if VPATH becomes empty
5118 # (actually we leave an empty line to preserve line numbers).
5119 if test "x$srcdir" = x.; then
5120 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5124 s/^\([^=]*=[ ]*\):*/\1/
5130 cat >>$CONFIG_STATUS <<\_ACEOF
5131 fi # test -n "$CONFIG_FILES"
5134 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5137 :[FHLC]) ac_mode=$ac_tag; continue;;
5139 case $ac_mode$ac_tag in
5141 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5142 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5143 { (exit 1); exit 1; }; };;
5144 :[FH]-) ac_tag=-:-;;
5145 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5162 -) ac_f="$tmp/stdin";;
5163 *) # Look for the file first in the build tree, then in the source tree
5164 # (if the path is not absolute). The absolute path cannot be DOS-style,
5165 # because $ac_f cannot contain `:'.
5169 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5171 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5172 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5173 { (exit 1); exit 1; }; };;
5175 ac_file_inputs="$ac_file_inputs $ac_f"
5178 # Let's still pretend it is `configure' which instantiates (i.e., don't
5179 # use $as_me), people would be surprised to read:
5180 # /* config.h. Generated by config.status. */
5181 configure_input="Generated from "`IFS=:
5182 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5183 if test x"$ac_file" != x-; then
5184 configure_input="$ac_file. $configure_input"
5185 { echo "$as_me:$LINENO: creating $ac_file" >&5
5186 echo "$as_me: creating $ac_file" >&6;}
5190 *:-:* | *:-) cat >"$tmp/stdin";;
5195 ac_dir=`$as_dirname -- "$ac_file" ||
5196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5197 X"$ac_file" : 'X\(//\)[^/]' \| \
5198 X"$ac_file" : 'X\(//\)$' \| \
5199 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5220 -*) as_dir=./$as_dir;;
5222 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5226 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5227 *) as_qdir=$as_dir;;
5229 as_dirs="'$as_qdir' $as_dirs"
5230 as_dir=`$as_dirname -- "$as_dir" ||
5231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5232 X"$as_dir" : 'X\(//\)[^/]' \| \
5233 X"$as_dir" : 'X\(//\)$' \| \
5234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5253 test -d "$as_dir" && break
5255 test -z "$as_dirs" || eval "mkdir $as_dirs"
5256 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5257 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5258 { (exit 1); exit 1; }; }; }
5262 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5264 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5265 # A ".." for each directory in $ac_dir_suffix.
5266 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5267 case $ac_top_builddir_sub in
5268 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5269 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5272 ac_abs_top_builddir=$ac_pwd
5273 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5274 # for backward compatibility:
5275 ac_top_builddir=$ac_top_build_prefix
5278 .) # We are building in place.
5280 ac_top_srcdir=$ac_top_builddir_sub
5281 ac_abs_top_srcdir=$ac_pwd ;;
5282 [\\/]* | ?:[\\/]* ) # Absolute name.
5283 ac_srcdir=$srcdir$ac_dir_suffix;
5284 ac_top_srcdir=$srcdir
5285 ac_abs_top_srcdir=$srcdir ;;
5287 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5288 ac_top_srcdir=$ac_top_build_prefix$srcdir
5289 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5291 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5301 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5302 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5306 [\\/$]* | ?:[\\/]* ) ;;
5307 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5311 cat >>$CONFIG_STATUS <<\_ACEOF
5312 # If the template does not know about datarootdir, expand it.
5313 # FIXME: This hack should be removed a few years after 2.60.
5314 ac_datarootdir_hack=; ac_datarootdir_seen=
5316 case `sed -n '/datarootdir/ {
5325 ' $ac_file_inputs` in
5326 *datarootdir*) ac_datarootdir_seen=yes;;
5327 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5328 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5329 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5331 cat >>$CONFIG_STATUS <<_ACEOF
5332 ac_datarootdir_hack='
5333 s&@datadir@&$datadir&g
5334 s&@docdir@&$docdir&g
5335 s&@infodir@&$infodir&g
5336 s&@localedir@&$localedir&g
5337 s&@mandir@&$mandir&g
5338 s&\\\${datarootdir}&$datarootdir&g' ;;
5342 # Neutralize VPATH when `$srcdir' = `.'.
5343 # Shell code in configure.ac might set extrasub.
5344 # FIXME: do we really want to maintain this feature?
5345 cat >>$CONFIG_STATUS <<_ACEOF
5349 cat >>$CONFIG_STATUS <<\_ACEOF
5351 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5352 s&@configure_input@&$configure_input&;t t
5353 s&@top_builddir@&$ac_top_builddir_sub&;t t
5354 s&@srcdir@&$ac_srcdir&;t t
5355 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5356 s&@top_srcdir@&$ac_top_srcdir&;t t
5357 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5358 s&@builddir@&$ac_builddir&;t t
5359 s&@abs_builddir@&$ac_abs_builddir&;t t
5360 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5361 s&@INSTALL@&$ac_INSTALL&;t t
5362 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5363 $ac_datarootdir_hack
5364 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5366 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5367 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5368 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5369 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5370 which seems to be undefined. Please make sure it is defined." >&5
5371 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5372 which seems to be undefined. Please make sure it is defined." >&2;}
5376 -) cat "$tmp/out"; rm -f "$tmp/out";;
5377 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5382 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5383 echo "$as_me: executing $ac_file commands" >&6;}
5388 case $ac_file$ac_mode in
5389 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5390 # Strip MF so we end up with the name of the file.
5391 mf=`echo "$mf" | sed -e 's/:.*$//'`
5392 # Check whether this is an Automake generated Makefile or not.
5393 # We used to match only the files named `Makefile.in', but
5394 # some people rename them; so instead we look at the file content.
5395 # Grep'ing the first line is not enough: some people post-process
5396 # each Makefile.in and add a new line on top of each file to say so.
5397 # Grep'ing the whole file is not good either: AIX grep has a line
5398 # limit of 2048, but all sed's we know have understand at least 4000.
5399 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5400 dirpart=`$as_dirname -- "$mf" ||
5401 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5402 X"$mf" : 'X\(//\)[^/]' \| \
5403 X"$mf" : 'X\(//\)$' \| \
5404 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5426 # Extract the definition of DEPDIR, am__include, and am__quote
5427 # from the Makefile without running `make'.
5428 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5429 test -z "$DEPDIR" && continue
5430 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5431 test -z "am__include" && continue
5432 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5433 # When using ansi2knr, U may be empty or an underscore; expand it
5434 U=`sed -n 's/^U = //p' < "$mf"`
5435 # Find all dependency output files, they are included files with
5436 # $(DEPDIR) in their names. We invoke sed twice because it is the
5437 # simplest approach to changing $(DEPDIR) to its actual value in the
5439 for file in `sed -n "
5440 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5441 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5442 # Make sure the directory exists.
5443 test -f "$dirpart/$file" && continue
5444 fdir=`$as_dirname -- "$file" ||
5445 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5446 X"$file" : 'X\(//\)[^/]' \| \
5447 X"$file" : 'X\(//\)$' \| \
5448 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5467 { as_dir=$dirpart/$fdir
5469 -*) as_dir=./$as_dir;;
5471 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5475 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5476 *) as_qdir=$as_dir;;
5478 as_dirs="'$as_qdir' $as_dirs"
5479 as_dir=`$as_dirname -- "$as_dir" ||
5480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5481 X"$as_dir" : 'X\(//\)[^/]' \| \
5482 X"$as_dir" : 'X\(//\)$' \| \
5483 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5502 test -d "$as_dir" && break
5504 test -z "$as_dirs" || eval "mkdir $as_dirs"
5505 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5506 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5507 { (exit 1); exit 1; }; }; }
5508 # echo "creating $dirpart/$file"
5509 echo '# dummy' > "$dirpart/$file"
5518 { (exit 0); exit 0; }
5520 chmod +x $CONFIG_STATUS
5521 ac_clean_files=$ac_clean_files_save
5524 # configure is writing to config.log, and then calls config.status.
5525 # config.status does its own redirection, appending to config.log.
5526 # Unfortunately, on DOS this fails, as config.log is still kept open
5527 # by configure, so config.status won't be able to write to it; its
5528 # output is simply discarded. So we exec the FD to /dev/null,
5529 # effectively closing config.log, so it can be properly (re)opened and
5530 # appended to by config.status. When coming back to configure, we
5531 # need to make the FD available again.
5532 if test "$no_create" != yes; then
5534 ac_config_status_args=
5535 test "$silent" = yes &&
5536 ac_config_status_args="$ac_config_status_args --quiet"
5538 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5540 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5541 # would make configure fail if this is the last instruction.
5542 $ac_cs_success || { (exit 1); exit 1; }