ChangeLog: I forgot to add the entries for the past few commits
[castfs.git] / configure
blobc160b72e8c192b32dbe9cc11ef4eefac1695deef
1 #! /bin/sh
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
16 emulate sh
17 NULLCMD=:
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+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
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
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
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.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
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
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
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
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
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 \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
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 ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
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
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
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
241 emulate sh
242 NULLCMD=:
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+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
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+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
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; }
333 _ASEOF
334 }; then
335 break
340 done
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
345 done
346 export CONFIG_SHELL
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 () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
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
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
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
434 # case at line end.
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. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
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).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
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 ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
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
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
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
554 # Name of the host.
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`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
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'
577 PACKAGE_BUGREPORT=''
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 # include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 # include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
615 ac_subst_vars='SHELL
616 PATH_SEPARATOR
617 PACKAGE_NAME
618 PACKAGE_TARNAME
619 PACKAGE_VERSION
620 PACKAGE_STRING
621 PACKAGE_BUGREPORT
622 exec_prefix
623 prefix
624 program_transform_name
625 bindir
626 sbindir
627 libexecdir
628 datarootdir
629 datadir
630 sysconfdir
631 sharedstatedir
632 localstatedir
633 includedir
634 oldincludedir
635 docdir
636 infodir
637 htmldir
638 dvidir
639 pdfdir
640 psdir
641 libdir
642 localedir
643 mandir
644 DEFS
645 ECHO_C
646 ECHO_N
647 ECHO_T
648 LIBS
649 build_alias
650 host_alias
651 target_alias
652 INSTALL_PROGRAM
653 INSTALL_SCRIPT
654 INSTALL_DATA
655 am__isrc
656 CYGPATH_W
657 PACKAGE
658 VERSION
659 ACLOCAL
660 AUTOCONF
661 AUTOMAKE
662 AUTOHEADER
663 MAKEINFO
664 install_sh
665 STRIP
666 INSTALL_STRIP_PROGRAM
667 mkdir_p
669 SET_MAKE
670 am__leading_dot
671 AMTAR
672 am__tar
673 am__untar
675 CFLAGS
676 LDFLAGS
677 CPPFLAGS
678 ac_ct_CC
679 EXEEXT
680 OBJEXT
681 DEPDIR
682 am__include
683 am__quote
684 AMDEP_TRUE
685 AMDEP_FALSE
686 AMDEPBACKSLASH
687 CCDEPMODE
688 am__fastdepCC_TRUE
689 am__fastdepCC_FALSE
690 MAINTAINER_MODE_TRUE
691 MAINTAINER_MODE_FALSE
692 MAINT
693 pkgconfigdir
695 GREP
696 EGREP
697 FUSE_PREFIX
698 LIBOBJS
699 LTLIBOBJS'
700 ac_subst_files=''
701 ac_precious_vars='build_alias
702 host_alias
703 target_alias
705 CFLAGS
706 LDFLAGS
707 LIBS
708 CPPFLAGS
709 CPP'
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
717 cache_file=/dev/null
718 exec_prefix=NONE
719 no_create=
720 no_recursion=
721 prefix=NONE
722 program_prefix=NONE
723 program_suffix=NONE
724 program_transform_name=s,x,x,
725 silent=
726 site=
727 srcdir=
728 verbose=
729 x_includes=NONE
730 x_libraries=NONE
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'
750 htmldir='${docdir}'
751 dvidir='${docdir}'
752 pdfdir='${docdir}'
753 psdir='${docdir}'
754 libdir='${exec_prefix}/lib'
755 localedir='${datarootdir}/locale'
756 mandir='${datarootdir}/man'
758 ac_prev=
759 ac_dashdash=
760 for ac_option
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\$ac_option
765 ac_prev=
766 continue
769 case $ac_option in
770 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 *) ac_optarg=yes ;;
772 esac
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
778 ac_dashdash=yes ;;
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 ac_prev=bindir ;;
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 bindir=$ac_optarg ;;
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 ;;
797 --config-cache | -C)
798 cache_file=config.cache ;;
800 -datadir | --datadir | --datadi | --datad)
801 ac_prev=datadir ;;
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)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
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.
851 with_gas=yes ;;
853 -help | --help | --hel | --he | -h)
854 ac_init_help=long ;;
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)
866 ac_prev=htmldir ;;
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 | --ht=*)
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)
879 ac_prev=infodir ;;
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
883 -libdir | --libdir | --libdi | --libd)
884 ac_prev=libdir ;;
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 libdir=$ac_optarg ;;
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)
896 ac_prev=localedir ;;
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)
908 ac_prev=mandir ;;
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910 mandir=$ac_optarg ;;
912 -nfp | --nfp | --nf)
913 # Obsolete; use --without-fp.
914 with_fp=no ;;
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
918 no_create=yes ;;
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 no_recursion=yes ;;
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)
934 ac_prev=prefix ;;
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 prefix=$ac_optarg ;;
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)
970 ac_prev=pdfdir ;;
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 pdfdir=$ac_optarg ;;
974 -psdir | --psdir | --psdi | --psd | --ps)
975 ac_prev=psdir ;;
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 psdir=$ac_optarg ;;
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
981 silent=yes ;;
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984 ac_prev=sbindir ;;
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986 | --sbi=* | --sb=*)
987 sbindir=$ac_optarg ;;
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
992 | --sha | --sh)
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997 | --sha=* | --sh=*)
998 sharedstatedir=$ac_optarg ;;
1000 -site | --site | --sit)
1001 ac_prev=site ;;
1002 -site=* | --site=* | --sit=*)
1003 site=$ac_optarg ;;
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006 ac_prev=srcdir ;;
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)
1023 verbose=yes ;;
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1028 -with-* | --with-*)
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 ;;
1046 --x)
1047 # Obsolete; use --with-x.
1048 with_x=yes ;;
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; }; }
1069 *=*)
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}
1086 esac
1087 done
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
1102 case $ac_val in
1103 [\\/$]* | ?:[\\/]* ) continue;;
1104 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 esac
1106 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107 { (exit 1); exit 1; }; }
1108 done
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.
1113 build=$build_alias
1114 host=$host_alias
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
1124 cross_compiling=yes
1128 ac_tool_prefix=
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 ||
1153 echo X"$0" |
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 s//\1/
1158 /^X\(\/\/\)[^/].*/{
1159 s//\1/
1162 /^X\(\/\/\)$/{
1163 s//\1/
1166 /^X\(\/\).*/{
1167 s//\1/
1170 s/.*/./; q'`
1171 srcdir=$ac_confdir
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 srcdir=..
1175 else
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"
1184 ac_abs_confdir=`(
1185 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186 { (exit 1); exit 1; }; }
1187 pwd)`
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 srcdir=.
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.
1195 case $srcdir in
1196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 esac
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}
1203 done
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.
1211 cat <<_ACEOF
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.
1221 Configuration:
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
1236 [PREFIX]
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]
1265 _ACEOF
1267 cat <<\_ACEOF
1269 Program names:
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
1273 _ACEOF
1276 if test -n "$ac_init_help"; then
1277 case $ac_init_help in
1278 short | recursive ) echo "Configuration of castfs 0.5.1:";;
1279 esac
1280 cat <<\_ACEOF
1282 Optional Features:
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
1292 Optional Packages:
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>
1305 CPP C preprocessor
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.
1310 _ACEOF
1311 ac_status=$?
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
1318 ac_builddir=.
1320 case "$ac_dir" in
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/ ;;
1329 esac ;;
1330 esac
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
1336 case $srcdir in
1337 .) # We are building in place.
1338 ac_srcdir=.
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 ;;
1345 *) # Relative name.
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 ;;
1349 esac
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
1355 echo &&
1356 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357 elif test -f "$ac_srcdir/configure"; then
1358 echo &&
1359 $SHELL "$ac_srcdir/configure" --help=recursive
1360 else
1361 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362 fi || ac_status=$?
1363 cd "$ac_pwd" || { ac_status=$?; break; }
1364 done
1367 test -n "$ac_init_help" && exit $ac_status
1368 if $ac_init_version; then
1369 cat <<\_ACEOF
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.
1377 _ACEOF
1378 exit
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
1387 $ $0 $@
1389 _ACEOF
1390 exec 5>>config.log
1392 cat <<_ASUNAME
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`
1414 _ASUNAME
1416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 for as_dir in $PATH
1419 IFS=$as_save_IFS
1420 test -z "$as_dir" && as_dir=.
1421 echo "PATH: $as_dir"
1422 done
1423 IFS=$as_save_IFS
1425 } >&5
1427 cat >&5 <<_ACEOF
1430 ## ----------- ##
1431 ## Core tests. ##
1432 ## ----------- ##
1434 _ACEOF
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.
1442 ac_configure_args=
1443 ac_configure_args0=
1444 ac_configure_args1=
1445 ac_must_keep_next=false
1446 for ac_pass in 1 2
1448 for ac_arg
1450 case $ac_arg in
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)
1454 continue ;;
1455 *\'*)
1456 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1457 esac
1458 case $ac_pass in
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.
1464 else
1465 case $ac_arg in
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 ;;
1472 esac
1474 -* ) ac_must_keep_next=true ;;
1475 esac
1477 ac_configure_args="$ac_configure_args '$ac_arg'"
1479 esac
1480 done
1481 done
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.
1493 echo
1495 cat <<\_ASBOX
1496 ## ---------------- ##
1497 ## Cache variables. ##
1498 ## ---------------- ##
1499 _ASBOX
1500 echo
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
1505 case $ac_val in #(
1506 *${as_nl}*)
1507 case $ac_var in #(
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;} ;;
1510 esac
1511 case $ac_var in #(
1512 _ | IFS | as_nl) ;; #(
1513 *) $as_unset $ac_var ;;
1514 esac ;;
1515 esac
1516 done
1517 (set) 2>&1 |
1518 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1519 *${as_nl}ac_space=\ *)
1520 sed -n \
1521 "s/'\''/'\''\\\\'\'''\''/g;
1522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1523 ;; #(
1525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1527 esac |
1528 sort
1530 echo
1532 cat <<\_ASBOX
1533 ## ----------------- ##
1534 ## Output variables. ##
1535 ## ----------------- ##
1536 _ASBOX
1537 echo
1538 for ac_var in $ac_subst_vars
1540 eval ac_val=\$$ac_var
1541 case $ac_val in
1542 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543 esac
1544 echo "$ac_var='\''$ac_val'\''"
1545 done | sort
1546 echo
1548 if test -n "$ac_subst_files"; then
1549 cat <<\_ASBOX
1550 ## ------------------- ##
1551 ## File substitutions. ##
1552 ## ------------------- ##
1553 _ASBOX
1554 echo
1555 for ac_var in $ac_subst_files
1557 eval ac_val=\$$ac_var
1558 case $ac_val in
1559 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 esac
1561 echo "$ac_var='\''$ac_val'\''"
1562 done | sort
1563 echo
1566 if test -s confdefs.h; then
1567 cat <<\_ASBOX
1568 ## ----------- ##
1569 ## confdefs.h. ##
1570 ## ----------- ##
1571 _ASBOX
1572 echo
1573 cat confdefs.h
1574 echo
1576 test "$ac_signal" != 0 &&
1577 echo "$as_me: caught signal $ac_signal"
1578 echo "$as_me: exit $exit_status"
1579 } >&5
1580 rm -f core *.core core.conftest.* &&
1581 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1582 exit $exit_status
1584 for ac_signal in 1 2 13 15; do
1585 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1586 done
1587 ac_signal=0
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"
1596 _ACEOF
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601 _ACEOF
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1606 _ACEOF
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_STRING "$PACKAGE_STRING"
1611 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1616 _ACEOF
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"
1625 else
1626 set x "$ac_default_prefix/share/config.site" \
1627 "$ac_default_prefix/etc/config.site"
1629 shift
1630 for ac_site_file
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
1636 . "$ac_site_file"
1638 done
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;}
1646 case $cache_file in
1647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1648 *) . "./$cache_file";;
1649 esac
1651 else
1652 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1653 echo "$as_me: creating cache $cache_file" >&6;}
1654 >$cache_file
1657 # Check that the precious variables saved in the cache have kept the same
1658 # value.
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
1666 set,)
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=: ;;
1670 ,set)
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=: ;;
1674 ,);;
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=:
1684 fi;;
1685 esac
1686 # Pass precious variables to config.status.
1687 if test "$ac_new_set" = set; then
1688 case $ac_new_val in
1689 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 *) ac_arg=$ac_var=$ac_new_val ;;
1691 esac
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'" ;;
1695 esac
1697 done
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; }; }
1730 ac_ext=c
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'
1739 ac_aux_dir=
1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741 if test -f "$ac_dir/install-sh"; then
1742 ac_aux_dir=$ac_dir
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1744 break
1745 elif test -f "$ac_dir/install.sh"; then
1746 ac_aux_dir=$ac_dir
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1748 break
1749 elif test -f "$ac_dir/shtool"; then
1750 ac_aux_dir=$ac_dir
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1752 break
1754 done
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
1776 # AIX /bin/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
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in
1796 ./ | .// | /cC/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1799 /usr/ucb/* ) ;;
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
1803 # by default.
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.
1815 else
1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1817 break 3
1820 done
1821 done
1823 esac
1824 done
1825 IFS=$as_save_IFS
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1831 else
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; }
1852 # Just in case
1853 sleep 1
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
1859 # directory).
1860 if (
1861 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1863 # -L didn't work.
1864 set X `ls -t $srcdir/configure conftest.file`
1866 rm -f 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
1883 then
1884 # Ok.
1886 else
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,$//
1904 _ACEOF
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906 rm -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 "
1915 else
1916 am_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
1926 else
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1930 IFS=$as_save_IFS
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
1940 break 3;;
1941 esac
1942 done
1943 done
1944 done
1945 IFS=$as_save_IFS
1949 if test "${ac_cv_path_mkdir+set}" = set; then
1950 MKDIR_P="$ac_cv_path_mkdir -p"
1951 else
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; }
1963 mkdir_p="$MKDIR_P"
1964 case $mkdir_p in
1965 [\\/$]* | ?:[\\/]*) ;;
1966 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1967 esac
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
1977 else
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
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
1990 break 2
1992 done
1993 done
1994 IFS=$as_save_IFS
1998 AWK=$ac_cv_prog_AWK
1999 if test -n "$AWK"; then
2000 { echo "$as_me:$LINENO: result: $AWK" >&5
2001 echo "${ECHO_T}$AWK" >&6; }
2002 else
2003 { echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6; }
2008 test -n "$AWK" && break
2009 done
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
2016 else
2017 cat >conftest.make <<\_ACEOF
2018 SHELL = /bin/sh
2019 all:
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024 *@@@%%%=?*=@@@%%%*)
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2028 esac
2029 rm -f conftest.make
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; }
2034 SET_MAKE=
2035 else
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
2044 am__leading_dot=.
2045 else
2046 am__leading_dot=_
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'
2066 else
2067 CYGPATH_W=echo
2072 # Define the identity of the package.
2073 PACKAGE='castfs'
2074 VERSION='0.5.1'
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE "$PACKAGE"
2079 _ACEOF
2082 cat >>confdefs.h <<_ACEOF
2083 #define VERSION "$VERSION"
2084 _ACEOF
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
2116 else
2117 if test -n "$STRIP"; then
2118 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2119 else
2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 for as_dir in $PATH
2123 IFS=$as_save_IFS
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
2129 break 2
2131 done
2132 done
2133 IFS=$as_save_IFS
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; }
2141 else
2142 { echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6; }
2148 if test -z "$ac_cv_prog_STRIP"; then
2149 ac_ct_STRIP=$STRIP
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
2156 else
2157 if test -n "$ac_ct_STRIP"; then
2158 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2159 else
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 for as_dir in $PATH
2163 IFS=$as_save_IFS
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
2169 break 2
2171 done
2172 done
2173 IFS=$as_save_IFS
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; }
2181 else
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2186 if test "x$ac_ct_STRIP" = x; then
2187 STRIP=":"
2188 else
2189 case $cross_compiling:$ac_tool_warned in
2190 yes:)
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 ;;
2198 esac
2199 STRIP=$ac_ct_STRIP
2201 else
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
2209 # some platforms.
2210 # Always define AMTAR for backward compatibility.
2212 AMTAR=${AMTAR-"${am_missing_run}tar"}
2214 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2220 ac_ext=c
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
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
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
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2253 CC=$ac_cv_prog_CC
2254 if test -n "$CC"; then
2255 { echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6; }
2257 else
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2264 if test -z "$ac_cv_prog_CC"; then
2265 ac_ct_CC=$CC
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
2272 else
2273 if test -n "$ac_ct_CC"; then
2274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 else
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2279 IFS=$as_save_IFS
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
2285 break 2
2287 done
2288 done
2289 IFS=$as_save_IFS
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; }
2297 else
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
2302 if test "x$ac_ct_CC" = x; then
2303 CC=""
2304 else
2305 case $cross_compiling:$ac_tool_warned in
2306 yes:)
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 ;;
2314 esac
2315 CC=$ac_ct_CC
2317 else
2318 CC="$ac_cv_prog_CC"
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
2329 else
2330 if test -n "$CC"; then
2331 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 else
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 for as_dir in $PATH
2336 IFS=$as_save_IFS
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
2342 break 2
2344 done
2345 done
2346 IFS=$as_save_IFS
2350 CC=$ac_cv_prog_CC
2351 if test -n "$CC"; then
2352 { echo "$as_me:$LINENO: result: $CC" >&5
2353 echo "${ECHO_T}$CC" >&6; }
2354 else
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
2369 else
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2372 else
2373 ac_prog_rejected=no
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 for as_dir in $PATH
2377 IFS=$as_save_IFS
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
2383 continue
2385 ac_cv_prog_CC="cc"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 break 2
2389 done
2390 done
2391 IFS=$as_save_IFS
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
2396 shift
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.
2401 shift
2402 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2407 CC=$ac_cv_prog_CC
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2411 else
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
2428 else
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 for as_dir in $PATH
2435 IFS=$as_save_IFS
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
2441 break 2
2443 done
2444 done
2445 IFS=$as_save_IFS
2449 CC=$ac_cv_prog_CC
2450 if test -n "$CC"; then
2451 { echo "$as_me:$LINENO: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6; }
2453 else
2454 { echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6; }
2459 test -n "$CC" && break
2460 done
2462 if test -z "$CC"; then
2463 ac_ct_CC=$CC
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
2472 else
2473 if test -n "$ac_ct_CC"; then
2474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2475 else
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH
2479 IFS=$as_save_IFS
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
2485 break 2
2487 done
2488 done
2489 IFS=$as_save_IFS
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; }
2497 else
2498 { echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6; }
2503 test -n "$ac_ct_CC" && break
2504 done
2506 if test "x$ac_ct_CC" = x; then
2507 CC=""
2508 else
2509 case $cross_compiling:$ac_tool_warned in
2510 yes:)
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 ;;
2518 esac
2519 CC=$ac_ct_CC
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"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_compiler --version >&5") 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }
2545 { (ac_try="$ac_compiler -v >&5"
2546 case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2549 esac
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_compiler -v >&5") 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (ac_try="$ac_compiler -V >&5"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_compiler -V >&5") 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }
2566 cat >conftest.$ac_ext <<_ACEOF
2567 /* confdefs.h. */
2568 _ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2574 main ()
2578 return 0;
2580 _ACEOF
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
2585 # of exeext.
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.
2598 ac_rmfiles=
2599 for ac_file in $ac_files
2601 case $ac_file in
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2603 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2604 esac
2605 done
2606 rm -f $ac_rmfiles
2608 if { (ac_try="$ac_link_default"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_link_default") 2>&5
2615 ac_status=$?
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
2622 # Autoconf.
2623 for ac_file in $ac_files ''
2625 test -f "$ac_file" || continue
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2629 [ab].out )
2630 # We found the default executable, but exeext='' is most
2631 # certainly right.
2632 break;;
2633 *.* )
2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2635 then :; else
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
2642 # actually working.
2643 break;;
2645 break;;
2646 esac
2647 done
2648 test "$ac_cv_exeext" = no && ac_cv_exeext=
2650 else
2651 ac_file=''
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;;
2680 esac
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_try") 2>&5
2683 ac_status=$?
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2686 cross_compiling=no
2687 else
2688 if test "$cross_compiling" = maybe; then
2689 cross_compiling=yes
2690 else
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"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_link") 2>&5
2722 ac_status=$?
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
2728 # `rm'.
2729 for ac_file in conftest.exe conftest conftest.*; do
2730 test -f "$ac_file" || continue
2731 case $ac_file in
2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2733 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2734 break;;
2735 * ) break;;
2736 esac
2737 done
2738 else
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
2752 ac_exeext=$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
2757 else
2758 cat >conftest.$ac_ext <<_ACEOF
2759 /* confdefs.h. */
2760 _ACEOF
2761 cat confdefs.h >>conftest.$ac_ext
2762 cat >>conftest.$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2766 main ()
2770 return 0;
2772 _ACEOF
2773 rm -f conftest.o conftest.obj
2774 if { (ac_try="$ac_compile"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_compile") 2>&5
2781 ac_status=$?
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;
2786 case $ac_file in
2787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2788 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2789 break;;
2790 esac
2791 done
2792 else
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
2808 ac_objext=$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
2813 else
2814 cat >conftest.$ac_ext <<_ACEOF
2815 /* confdefs.h. */
2816 _ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2822 main ()
2824 #ifndef __GNUC__
2825 choke me
2826 #endif
2829 return 0;
2831 _ACEOF
2832 rm -f conftest.$ac_objext
2833 if { (ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>conftest.er1
2840 ac_status=$?
2841 grep -v '^ *+' conftest.er1 >conftest.err
2842 rm -f conftest.er1
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
2849 ac_compiler_gnu=yes
2850 else
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2854 ac_compiler_gnu=no
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
2870 else
2871 ac_save_c_werror_flag=$ac_c_werror_flag
2872 ac_c_werror_flag=yes
2873 ac_cv_prog_cc_g=no
2874 CFLAGS="-g"
2875 cat >conftest.$ac_ext <<_ACEOF
2876 /* confdefs.h. */
2877 _ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2883 main ()
2887 return 0;
2889 _ACEOF
2890 rm -f conftest.$ac_objext
2891 if { (ac_try="$ac_compile"
2892 case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compile") 2>conftest.er1
2898 ac_status=$?
2899 grep -v '^ *+' conftest.er1 >conftest.err
2900 rm -f conftest.er1
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
2907 ac_cv_prog_cc_g=yes
2908 else
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2912 CFLAGS=""
2913 cat >conftest.$ac_ext <<_ACEOF
2914 /* confdefs.h. */
2915 _ACEOF
2916 cat confdefs.h >>conftest.$ac_ext
2917 cat >>conftest.$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2921 main ()
2925 return 0;
2927 _ACEOF
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2930 case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2933 esac
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2936 ac_status=$?
2937 grep -v '^ *+' conftest.er1 >conftest.err
2938 rm -f conftest.er1
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
2946 else
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
2951 CFLAGS="-g"
2952 cat >conftest.$ac_ext <<_ACEOF
2953 /* confdefs.h. */
2954 _ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2960 main ()
2964 return 0;
2966 _ACEOF
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2969 case "(($ac_try" in
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2972 esac
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compile") 2>conftest.er1
2975 ac_status=$?
2976 grep -v '^ *+' conftest.er1 >conftest.err
2977 rm -f conftest.er1
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
2984 ac_cv_prog_cc_g=yes
2985 else
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
3007 CFLAGS="-g -O2"
3008 else
3009 CFLAGS="-g"
3011 else
3012 if test "$GCC" = yes; then
3013 CFLAGS="-O2"
3014 else
3015 CFLAGS=
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
3022 else
3023 ac_cv_prog_cc_c89=no
3024 ac_save_CC=$CC
3025 cat >conftest.$ac_ext <<_ACEOF
3026 /* confdefs.h. */
3027 _ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3031 #include <stdarg.h>
3032 #include <stdio.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)
3039 char **p;
3040 int i;
3042 return p[i];
3044 static char *f (char * (*g) (char **, int), char **p, ...)
3046 char *s;
3047 va_list v;
3048 va_start (v,p);
3049 s = g (p, va_arg (v,int));
3050 va_end (v);
3051 return s;
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. */
3065 #define FOO(x) 'x'
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);
3072 int argc;
3073 char **argv;
3075 main ()
3077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3079 return 0;
3081 _ACEOF
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"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3094 ac_status=$?
3095 grep -v '^ *+' conftest.er1 >conftest.err
3096 rm -f conftest.er1
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
3104 else
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
3113 done
3114 rm -f conftest.$ac_ext
3115 CC=$ac_save_CC
3118 # AC_CACHE_VAL
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; } ;;
3123 xno)
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; } ;;
3130 esac
3133 ac_ext=c
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'
3145 am__doit:
3146 @echo done
3147 .PHONY: am__doit
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; }
3152 am__include="#"
3153 am__quote=
3154 _am_result=none
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
3163 am__include=include
3164 am__quote=
3165 _am_result=GNU
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
3172 am__quote="\""
3173 _am_result=BSD
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"
3189 AMDEPBACKSLASH='\'
3191 if test "x$enable_dependency_tracking" != xno; then
3192 AMDEP_TRUE=
3193 AMDEP_FALSE='#'
3194 else
3195 AMDEP_TRUE='#'
3196 AMDEP_FALSE=
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
3207 else
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
3213 # in D'.
3214 mkdir conftest.dir
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
3218 cd 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
3224 # directory.
3225 mkdir sub
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.
3239 : > sub/conftest.c
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
3245 done
3246 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3248 case $depmode in
3249 nosideeffect)
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
3253 continue
3254 else
3255 break
3258 none) break ;;
3259 esac
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
3282 break
3285 done
3287 cd ..
3288 rm -rf conftest.dir
3289 else
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
3301 am__fastdepCC_TRUE=
3302 am__fastdepCC_FALSE='#'
3303 else
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
3315 else
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='#'
3324 else
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
3343 else
3344 pkgconfigdir='${libdir}/pkgconfig'
3349 CPPFLAGS="${CPPFLAGS} `pkg-config --cflags fuse` -D_REENTRANT -DFUSE_USE_VERSION=25"
3352 ac_ext=c
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
3361 CPP=
3363 if test -z "$CPP"; then
3364 if test "${ac_cv_prog_CPP+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 else
3367 # Double quotes because CPP needs to be expanded
3368 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3370 ac_preproc_ok=false
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
3380 /* confdefs.h. */
3381 _ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3385 #ifdef __STDC__
3386 # include <limits.h>
3387 #else
3388 # include <assert.h>
3389 #endif
3390 Syntax error
3391 _ACEOF
3392 if { (ac_try="$ac_cpp conftest.$ac_ext"
3393 case "(($ac_try" in
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3396 esac
3397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
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
3407 }; then
3409 else
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 # Broken: fails on valid input.
3414 continue
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
3422 /* confdefs.h. */
3423 _ACEOF
3424 cat confdefs.h >>conftest.$ac_ext
3425 cat >>conftest.$ac_ext <<_ACEOF
3426 /* end confdefs.h. */
3427 #include <ac_nonexistent.h>
3428 _ACEOF
3429 if { (ac_try="$ac_cpp conftest.$ac_ext"
3430 case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3433 esac
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
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
3444 }; then
3445 # Broken: success on invalid input.
3446 continue
3447 else
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3451 # Passes both tests.
3452 ac_preproc_ok=:
3453 break
3456 rm -f conftest.err conftest.$ac_ext
3458 done
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
3462 break
3465 done
3466 ac_cv_prog_CPP=$CPP
3469 CPP=$ac_cv_prog_CPP
3470 else
3471 ac_cv_prog_CPP=$CPP
3473 { echo "$as_me:$LINENO: result: $CPP" >&5
3474 echo "${ECHO_T}$CPP" >&6; }
3475 ac_preproc_ok=false
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
3485 /* confdefs.h. */
3486 _ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3490 #ifdef __STDC__
3491 # include <limits.h>
3492 #else
3493 # include <assert.h>
3494 #endif
3495 Syntax error
3496 _ACEOF
3497 if { (ac_try="$ac_cpp conftest.$ac_ext"
3498 case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501 esac
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3504 ac_status=$?
3505 grep -v '^ *+' conftest.er1 >conftest.err
3506 rm -f conftest.er1
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
3512 }; then
3514 else
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 # Broken: fails on valid input.
3519 continue
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
3527 /* confdefs.h. */
3528 _ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3532 #include <ac_nonexistent.h>
3533 _ACEOF
3534 if { (ac_try="$ac_cpp conftest.$ac_ext"
3535 case "(($ac_try" in
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3538 esac
3539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3541 ac_status=$?
3542 grep -v '^ *+' conftest.er1 >conftest.err
3543 rm -f conftest.er1
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
3549 }; then
3550 # Broken: success on invalid input.
3551 continue
3552 else
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 # Passes both tests.
3557 ac_preproc_ok=:
3558 break
3561 rm -f conftest.err conftest.$ac_ext
3563 done
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
3568 else
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; }; }
3576 ac_ext=c
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
3587 else
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
3593 else
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
3599 IFS=$as_save_IFS
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
3608 *GNU*)
3609 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3611 ac_count=0
3612 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3613 while :
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
3629 done
3630 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3631 esac
3634 $ac_path_GREP_found && break 3
3635 done
3636 done
3638 done
3639 IFS=$as_save_IFS
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; }; }
3651 else
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
3666 else
3667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3668 then ac_cv_path_EGREP="$GREP -E"
3669 else
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
3675 else
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
3681 IFS=$as_save_IFS
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
3690 *GNU*)
3691 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3693 ac_count=0
3694 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3695 while :
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
3711 done
3712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3713 esac
3716 $ac_path_EGREP_found && break 3
3717 done
3718 done
3720 done
3721 IFS=$as_save_IFS
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; }; }
3733 else
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
3749 else
3750 cat >conftest.$ac_ext <<_ACEOF
3751 /* confdefs.h. */
3752 _ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3756 #include <stdlib.h>
3757 #include <stdarg.h>
3758 #include <string.h>
3759 #include <float.h>
3762 main ()
3766 return 0;
3768 _ACEOF
3769 rm -f conftest.$ac_objext
3770 if { (ac_try="$ac_compile"
3771 case "(($ac_try" in
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3774 esac
3775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_compile") 2>conftest.er1
3777 ac_status=$?
3778 grep -v '^ *+' conftest.er1 >conftest.err
3779 rm -f conftest.er1
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
3787 else
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
3799 /* confdefs.h. */
3800 _ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3804 #include <string.h>
3806 _ACEOF
3807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3808 $EGREP "memchr" >/dev/null 2>&1; then
3810 else
3811 ac_cv_header_stdc=no
3813 rm -f conftest*
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
3820 /* confdefs.h. */
3821 _ACEOF
3822 cat confdefs.h >>conftest.$ac_ext
3823 cat >>conftest.$ac_ext <<_ACEOF
3824 /* end confdefs.h. */
3825 #include <stdlib.h>
3827 _ACEOF
3828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3829 $EGREP "free" >/dev/null 2>&1; then
3831 else
3832 ac_cv_header_stdc=no
3834 rm -f conftest*
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
3842 else
3843 cat >conftest.$ac_ext <<_ACEOF
3844 /* confdefs.h. */
3845 _ACEOF
3846 cat confdefs.h >>conftest.$ac_ext
3847 cat >>conftest.$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3849 #include <ctype.h>
3850 #include <stdlib.h>
3851 #if ((' ' & 0x0FF) == 0x020)
3852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3854 #else
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))
3860 #endif
3862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3864 main ()
3866 int i;
3867 for (i = 0; i < 256; i++)
3868 if (XOR (islower (i), ISLOWER (i))
3869 || toupper (i) != TOUPPER (i))
3870 return 2;
3871 return 0;
3873 _ACEOF
3874 rm -f conftest$ac_exeext
3875 if { (ac_try="$ac_link"
3876 case "(($ac_try" in
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3879 esac
3880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881 (eval "$ac_link") 2>&5
3882 ac_status=$?
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;;
3888 esac
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_try") 2>&5
3891 ac_status=$?
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3895 else
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
3900 ( exit $ac_status )
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
3915 _ACEOF
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
3937 else
3938 cat >conftest.$ac_ext <<_ACEOF
3939 /* confdefs.h. */
3940 _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>
3947 _ACEOF
3948 rm -f conftest.$ac_objext
3949 if { (ac_try="$ac_compile"
3950 case "(($ac_try" in
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3953 esac
3954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3955 (eval "$ac_compile") 2>conftest.er1
3956 ac_status=$?
3957 grep -v '^ *+' conftest.er1 >conftest.err
3958 rm -f conftest.er1
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"
3966 else
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
3981 _ACEOF
3985 done
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; }
4001 else
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
4006 /* confdefs.h. */
4007 _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>
4013 _ACEOF
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_compile") 2>conftest.er1
4022 ac_status=$?
4023 grep -v '^ *+' conftest.er1 >conftest.err
4024 rm -f conftest.er1
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
4032 else
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
4047 /* confdefs.h. */
4048 _ACEOF
4049 cat confdefs.h >>conftest.$ac_ext
4050 cat >>conftest.$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 #include <$ac_header>
4053 _ACEOF
4054 if { (ac_try="$ac_cpp conftest.$ac_ext"
4055 case "(($ac_try" in
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4058 esac
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4061 ac_status=$?
4062 grep -v '^ *+' conftest.er1 >conftest.err
4063 rm -f conftest.er1
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
4069 }; then
4070 ac_header_preproc=yes
4071 else
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
4084 yes:no: )
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
4091 no: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;}
4106 esac
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
4111 else
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
4122 _ACEOF
4124 else
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; }; }
4130 done
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
4138 else
4139 ac_check_lib_save_LIBS=$LIBS
4140 LIBS="-lfuse $LIBS"
4141 cat >conftest.$ac_ext <<_ACEOF
4142 /* confdefs.h. */
4143 _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. */
4151 #ifdef __cplusplus
4152 extern "C"
4153 #endif
4154 char fuse_main ();
4156 main ()
4158 return fuse_main ();
4160 return 0;
4162 _ACEOF
4163 rm -f conftest.$ac_objext conftest$ac_exeext
4164 if { (ac_try="$ac_link"
4165 case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4168 esac
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_link") 2>conftest.er1
4171 ac_status=$?
4172 grep -v '^ *+' conftest.er1 >conftest.err
4173 rm -f conftest.er1
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
4182 else
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
4198 _ACEOF
4200 LIBS="-lfuse $LIBS"
4202 else
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`
4211 # Check whether --enable-static-fuse was given.
4212 if test "${enable_static_fuse+set}" = set; then
4213 enableval=$enable_static_fuse; static_fuse=${enableval}
4214 else
4215 static_fuse=no
4219 if test "x$static_fuse" = "xyes"
4220 then
4221 LIBS=`pkg-config --libs fuse | sed 's/-lfuse/$(FUSE_PREFIX)\/lib\/libfuse.a -lrt/'`
4225 for ac_func in setxattr
4227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 else
4233 cat >conftest.$ac_ext <<_ACEOF
4234 /* confdefs.h. */
4235 _ACEOF
4236 cat confdefs.h >>conftest.$ac_ext
4237 cat >>conftest.$ac_ext <<_ACEOF
4238 /* end confdefs.h. */
4239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4241 #define $ac_func innocuous_$ac_func
4243 /* System header to define __stub macros and hopefully few prototypes,
4244 which can conflict with char $ac_func (); below.
4245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4246 <limits.h> exists even on freestanding compilers. */
4248 #ifdef __STDC__
4249 # include <limits.h>
4250 #else
4251 # include <assert.h>
4252 #endif
4254 #undef $ac_func
4256 /* Override any GCC internal prototype to avoid an error.
4257 Use char because int might match the return type of a GCC
4258 builtin and then its argument prototype would still apply. */
4259 #ifdef __cplusplus
4260 extern "C"
4261 #endif
4262 char $ac_func ();
4263 /* The GNU C library defines this for functions which it implements
4264 to always fail with ENOSYS. Some functions are actually named
4265 something starting with __ and the normal name is an alias. */
4266 #if defined __stub_$ac_func || defined __stub___$ac_func
4267 choke me
4268 #endif
4271 main ()
4273 return $ac_func ();
4275 return 0;
4277 _ACEOF
4278 rm -f conftest.$ac_objext conftest$ac_exeext
4279 if { (ac_try="$ac_link"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4285 (eval "$ac_link") 2>conftest.er1
4286 ac_status=$?
4287 grep -v '^ *+' conftest.er1 >conftest.err
4288 rm -f conftest.er1
4289 cat conftest.err >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } && {
4292 test -z "$ac_c_werror_flag" ||
4293 test ! -s conftest.err
4294 } && test -s conftest$ac_exeext &&
4295 $as_test_x conftest$ac_exeext; then
4296 eval "$as_ac_var=yes"
4297 else
4298 echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.$ac_ext >&5
4301 eval "$as_ac_var=no"
4304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4305 conftest$ac_exeext conftest.$ac_ext
4307 ac_res=`eval echo '${'$as_ac_var'}'`
4308 { echo "$as_me:$LINENO: result: $ac_res" >&5
4309 echo "${ECHO_T}$ac_res" >&6; }
4310 if test `eval echo '${'$as_ac_var'}'` = yes; then
4311 cat >>confdefs.h <<_ACEOF
4312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4313 _ACEOF
4316 done
4319 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile debian/Makefile include/config.h"
4321 cat >confcache <<\_ACEOF
4322 # This file is a shell script that caches the results of configure
4323 # tests run on this system so they can be shared between configure
4324 # scripts and configure runs, see configure's option --config-cache.
4325 # It is not useful on other systems. If it contains results you don't
4326 # want to keep, you may remove or edit it.
4328 # config.status only pays attention to the cache file if you give it
4329 # the --recheck option to rerun configure.
4331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4333 # following values.
4335 _ACEOF
4337 # The following way of writing the cache mishandles newlines in values,
4338 # but we know of no workaround that is simple, portable, and efficient.
4339 # So, we kill variables containing newlines.
4340 # Ultrix sh set writes to stderr and can't be redirected directly,
4341 # and sets the high bit in the cache file unless we assign to the vars.
4343 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4344 eval ac_val=\$$ac_var
4345 case $ac_val in #(
4346 *${as_nl}*)
4347 case $ac_var in #(
4348 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4349 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4350 esac
4351 case $ac_var in #(
4352 _ | IFS | as_nl) ;; #(
4353 *) $as_unset $ac_var ;;
4354 esac ;;
4355 esac
4356 done
4358 (set) 2>&1 |
4359 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4360 *${as_nl}ac_space=\ *)
4361 # `set' does not quote correctly, so add quotes (double-quote
4362 # substitution turns \\\\ into \\, and sed turns \\ into \).
4363 sed -n \
4364 "s/'/'\\\\''/g;
4365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4366 ;; #(
4368 # `set' quotes correctly as required by POSIX, so do not add quotes.
4369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4371 esac |
4372 sort
4374 sed '
4375 /^ac_cv_env_/b end
4376 t clear
4377 :clear
4378 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4379 t end
4380 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4381 :end' >>confcache
4382 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4383 if test -w "$cache_file"; then
4384 test "x$cache_file" != "x/dev/null" &&
4385 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4386 echo "$as_me: updating cache $cache_file" >&6;}
4387 cat confcache >$cache_file
4388 else
4389 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4390 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4393 rm -f confcache
4395 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4396 # Let make expand exec_prefix.
4397 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4399 # Transform confdefs.h into DEFS.
4400 # Protect against shell expansion while executing Makefile rules.
4401 # Protect against Makefile macro expansion.
4403 # If the first sed substitution is executed (which looks for macros that
4404 # take arguments), then branch to the quote section. Otherwise,
4405 # look for a macro that doesn't take arguments.
4406 ac_script='
4407 t clear
4408 :clear
4409 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4410 t quote
4411 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4412 t quote
4413 b any
4414 :quote
4415 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4416 s/\[/\\&/g
4417 s/\]/\\&/g
4418 s/\$/$$/g
4420 :any
4423 s/^\n//
4424 s/\n/ /g
4428 DEFS=`sed -n "$ac_script" confdefs.h`
4431 ac_libobjs=
4432 ac_ltlibobjs=
4433 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4434 # 1. Remove the extension, and $U if already installed.
4435 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4436 ac_i=`echo "$ac_i" | sed "$ac_script"`
4437 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4438 # will be set to the directory where LIBOBJS objects are built.
4439 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4440 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4441 done
4442 LIBOBJS=$ac_libobjs
4444 LTLIBOBJS=$ac_ltlibobjs
4447 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4448 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4449 Usually this means the macro was only invoked conditionally." >&5
4450 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4451 Usually this means the macro was only invoked conditionally." >&2;}
4452 { (exit 1); exit 1; }; }
4454 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4455 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4456 Usually this means the macro was only invoked conditionally." >&5
4457 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4458 Usually this means the macro was only invoked conditionally." >&2;}
4459 { (exit 1); exit 1; }; }
4461 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4462 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4463 Usually this means the macro was only invoked conditionally." >&5
4464 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4465 Usually this means the macro was only invoked conditionally." >&2;}
4466 { (exit 1); exit 1; }; }
4469 : ${CONFIG_STATUS=./config.status}
4470 ac_clean_files_save=$ac_clean_files
4471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4472 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4473 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4474 cat >$CONFIG_STATUS <<_ACEOF
4475 #! $SHELL
4476 # Generated by $as_me.
4477 # Run this file to recreate the current configuration.
4478 # Compiler output produced by configure, useful for debugging
4479 # configure, is in config.log if it exists.
4481 debug=false
4482 ac_cs_recheck=false
4483 ac_cs_silent=false
4484 SHELL=\${CONFIG_SHELL-$SHELL}
4485 _ACEOF
4487 cat >>$CONFIG_STATUS <<\_ACEOF
4488 ## --------------------- ##
4489 ## M4sh Initialization. ##
4490 ## --------------------- ##
4492 # Be more Bourne compatible
4493 DUALCASE=1; export DUALCASE # for MKS sh
4494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4495 emulate sh
4496 NULLCMD=:
4497 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4498 # is contrary to our usage. Disable this feature.
4499 alias -g '${1+"$@"}'='"$@"'
4500 setopt NO_GLOB_SUBST
4501 else
4502 case `(set -o) 2>/dev/null` in
4503 *posix*) set -o posix ;;
4504 esac
4511 # PATH needs CR
4512 # Avoid depending upon Character Ranges.
4513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4516 as_cr_digits='0123456789'
4517 as_cr_alnum=$as_cr_Letters$as_cr_digits
4519 # The user is always right.
4520 if test "${PATH_SEPARATOR+set}" != set; then
4521 echo "#! /bin/sh" >conf$$.sh
4522 echo "exit 0" >>conf$$.sh
4523 chmod +x conf$$.sh
4524 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4525 PATH_SEPARATOR=';'
4526 else
4527 PATH_SEPARATOR=:
4529 rm -f conf$$.sh
4532 # Support unset when possible.
4533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4534 as_unset=unset
4535 else
4536 as_unset=false
4540 # IFS
4541 # We need space, tab and new line, in precisely that order. Quoting is
4542 # there to prevent editors from complaining about space-tab.
4543 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4544 # splitting by setting IFS to empty value.)
4545 as_nl='
4547 IFS=" "" $as_nl"
4549 # Find who we are. Look in the path if we contain no directory separator.
4550 case $0 in
4551 *[\\/]* ) as_myself=$0 ;;
4552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4558 done
4559 IFS=$as_save_IFS
4562 esac
4563 # We did not find ourselves, most probably we were run as `sh COMMAND'
4564 # in which case we are not to be found in the path.
4565 if test "x$as_myself" = x; then
4566 as_myself=$0
4568 if test ! -f "$as_myself"; then
4569 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4570 { (exit 1); exit 1; }
4573 # Work around bugs in pre-3.0 UWIN ksh.
4574 for as_var in ENV MAIL MAILPATH
4575 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4576 done
4577 PS1='$ '
4578 PS2='> '
4579 PS4='+ '
4581 # NLS nuisances.
4582 for as_var in \
4583 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4584 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4585 LC_TELEPHONE LC_TIME
4587 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4588 eval $as_var=C; export $as_var
4589 else
4590 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4592 done
4594 # Required to use basename.
4595 if expr a : '\(a\)' >/dev/null 2>&1 &&
4596 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4597 as_expr=expr
4598 else
4599 as_expr=false
4602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4603 as_basename=basename
4604 else
4605 as_basename=false
4609 # Name of the executable.
4610 as_me=`$as_basename -- "$0" ||
4611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4612 X"$0" : 'X\(//\)$' \| \
4613 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4614 echo X/"$0" |
4615 sed '/^.*\/\([^/][^/]*\)\/*$/{
4616 s//\1/
4619 /^X\/\(\/\/\)$/{
4620 s//\1/
4623 /^X\/\(\/\).*/{
4624 s//\1/
4627 s/.*/./; q'`
4629 # CDPATH.
4630 $as_unset CDPATH
4634 as_lineno_1=$LINENO
4635 as_lineno_2=$LINENO
4636 test "x$as_lineno_1" != "x$as_lineno_2" &&
4637 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4639 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4640 # uniformly replaced by the line number. The first 'sed' inserts a
4641 # line-number line after each line using $LINENO; the second 'sed'
4642 # does the real work. The second script uses 'N' to pair each
4643 # line-number line with the line containing $LINENO, and appends
4644 # trailing '-' during substitution so that $LINENO is not a special
4645 # case at line end.
4646 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4647 # scripts with optimization help from Paolo Bonzini. Blame Lee
4648 # E. McMahon (1931-1989) for sed's syntax. :-)
4649 sed -n '
4651 /[$]LINENO/=
4652 ' <$as_myself |
4653 sed '
4654 s/[$]LINENO.*/&-/
4655 t lineno
4657 :lineno
4659 :loop
4660 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4661 t loop
4662 s/-\n.*//
4663 ' >$as_me.lineno &&
4664 chmod +x "$as_me.lineno" ||
4665 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4666 { (exit 1); exit 1; }; }
4668 # Don't try to exec as it changes $[0], causing all sort of problems
4669 # (the dirname of $[0] is not the place where we might find the
4670 # original and so on. Autoconf is especially sensitive to this).
4671 . "./$as_me.lineno"
4672 # Exit status is that of the last command.
4673 exit
4677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4678 as_dirname=dirname
4679 else
4680 as_dirname=false
4683 ECHO_C= ECHO_N= ECHO_T=
4684 case `echo -n x` in
4685 -n*)
4686 case `echo 'x\c'` in
4687 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4688 *) ECHO_C='\c';;
4689 esac;;
4691 ECHO_N='-n';;
4692 esac
4694 if expr a : '\(a\)' >/dev/null 2>&1 &&
4695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4696 as_expr=expr
4697 else
4698 as_expr=false
4701 rm -f conf$$ conf$$.exe conf$$.file
4702 if test -d conf$$.dir; then
4703 rm -f conf$$.dir/conf$$.file
4704 else
4705 rm -f conf$$.dir
4706 mkdir conf$$.dir
4708 echo >conf$$.file
4709 if ln -s conf$$.file conf$$ 2>/dev/null; then
4710 as_ln_s='ln -s'
4711 # ... but there are two gotchas:
4712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4714 # In both cases, we have to default to `cp -p'.
4715 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4716 as_ln_s='cp -p'
4717 elif ln conf$$.file conf$$ 2>/dev/null; then
4718 as_ln_s=ln
4719 else
4720 as_ln_s='cp -p'
4722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4723 rmdir conf$$.dir 2>/dev/null
4725 if mkdir -p . 2>/dev/null; then
4726 as_mkdir_p=:
4727 else
4728 test -d ./-p && rmdir ./-p
4729 as_mkdir_p=false
4732 if test -x / >/dev/null 2>&1; then
4733 as_test_x='test -x'
4734 else
4735 if ls -dL / >/dev/null 2>&1; then
4736 as_ls_L_option=L
4737 else
4738 as_ls_L_option=
4740 as_test_x='
4741 eval sh -c '\''
4742 if test -d "$1"; then
4743 test -d "$1/.";
4744 else
4745 case $1 in
4746 -*)set "./$1";;
4747 esac;
4748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4749 ???[sx]*):;;*)false;;esac;fi
4750 '\'' sh
4753 as_executable_p=$as_test_x
4755 # Sed expression to map a string onto a valid CPP name.
4756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4758 # Sed expression to map a string onto a valid variable name.
4759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4762 exec 6>&1
4764 # Save the log message, to keep $[0] and so on meaningful, and to
4765 # report actual input values of CONFIG_FILES etc. instead of their
4766 # values after options handling.
4767 ac_log="
4768 This file was extended by castfs $as_me 0.5.1, which was
4769 generated by GNU Autoconf 2.61. Invocation command line was
4771 CONFIG_FILES = $CONFIG_FILES
4772 CONFIG_HEADERS = $CONFIG_HEADERS
4773 CONFIG_LINKS = $CONFIG_LINKS
4774 CONFIG_COMMANDS = $CONFIG_COMMANDS
4775 $ $0 $@
4777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4780 _ACEOF
4782 cat >>$CONFIG_STATUS <<_ACEOF
4783 # Files that config.status was made for.
4784 config_files="$ac_config_files"
4785 config_commands="$ac_config_commands"
4787 _ACEOF
4789 cat >>$CONFIG_STATUS <<\_ACEOF
4790 ac_cs_usage="\
4791 \`$as_me' instantiates files from templates according to the
4792 current configuration.
4794 Usage: $0 [OPTIONS] [FILE]...
4796 -h, --help print this help, then exit
4797 -V, --version print version number and configuration settings, then exit
4798 -q, --quiet do not print progress messages
4799 -d, --debug don't remove temporary files
4800 --recheck update $as_me by reconfiguring in the same conditions
4801 --file=FILE[:TEMPLATE]
4802 instantiate the configuration file FILE
4804 Configuration files:
4805 $config_files
4807 Configuration commands:
4808 $config_commands
4810 Report bugs to <bug-autoconf@gnu.org>."
4812 _ACEOF
4813 cat >>$CONFIG_STATUS <<_ACEOF
4814 ac_cs_version="\\
4815 castfs config.status 0.5.1
4816 configured by $0, generated by GNU Autoconf 2.61,
4817 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4819 Copyright (C) 2006 Free Software Foundation, Inc.
4820 This config.status script is free software; the Free Software Foundation
4821 gives unlimited permission to copy, distribute and modify it."
4823 ac_pwd='$ac_pwd'
4824 srcdir='$srcdir'
4825 INSTALL='$INSTALL'
4826 MKDIR_P='$MKDIR_P'
4827 _ACEOF
4829 cat >>$CONFIG_STATUS <<\_ACEOF
4830 # If no file are specified by the user, then we need to provide default
4831 # value. By we need to know if files were specified by the user.
4832 ac_need_defaults=:
4833 while test $# != 0
4835 case $1 in
4836 --*=*)
4837 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4838 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4839 ac_shift=:
4842 ac_option=$1
4843 ac_optarg=$2
4844 ac_shift=shift
4846 esac
4848 case $ac_option in
4849 # Handling of the options.
4850 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4851 ac_cs_recheck=: ;;
4852 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4853 echo "$ac_cs_version"; exit ;;
4854 --debug | --debu | --deb | --de | --d | -d )
4855 debug=: ;;
4856 --file | --fil | --fi | --f )
4857 $ac_shift
4858 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4859 ac_need_defaults=false;;
4860 --he | --h | --help | --hel | -h )
4861 echo "$ac_cs_usage"; exit ;;
4862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4863 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4864 ac_cs_silent=: ;;
4866 # This is an error.
4867 -*) { echo "$as_me: error: unrecognized option: $1
4868 Try \`$0 --help' for more information." >&2
4869 { (exit 1); exit 1; }; } ;;
4871 *) ac_config_targets="$ac_config_targets $1"
4872 ac_need_defaults=false ;;
4874 esac
4875 shift
4876 done
4878 ac_configure_extra_args=
4880 if $ac_cs_silent; then
4881 exec 6>/dev/null
4882 ac_configure_extra_args="$ac_configure_extra_args --silent"
4885 _ACEOF
4886 cat >>$CONFIG_STATUS <<_ACEOF
4887 if \$ac_cs_recheck; then
4888 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4889 CONFIG_SHELL=$SHELL
4890 export CONFIG_SHELL
4891 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4894 _ACEOF
4895 cat >>$CONFIG_STATUS <<\_ACEOF
4896 exec 5>>config.log
4898 echo
4899 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4900 ## Running $as_me. ##
4901 _ASBOX
4902 echo "$ac_log"
4903 } >&5
4905 _ACEOF
4906 cat >>$CONFIG_STATUS <<_ACEOF
4908 # INIT-COMMANDS
4910 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4912 _ACEOF
4914 cat >>$CONFIG_STATUS <<\_ACEOF
4916 # Handling of arguments.
4917 for ac_config_target in $ac_config_targets
4919 case $ac_config_target in
4920 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4921 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4922 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
4923 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4924 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
4925 "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
4926 "include/config.h") CONFIG_FILES="$CONFIG_FILES include/config.h" ;;
4928 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4929 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4930 { (exit 1); exit 1; }; };;
4931 esac
4932 done
4935 # If the user did not use the arguments to specify the items to instantiate,
4936 # then the envvar interface is used. Set only those that are not.
4937 # We use the long form for the default assignment because of an extremely
4938 # bizarre bug on SunOS 4.1.3.
4939 if $ac_need_defaults; then
4940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4941 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4944 # Have a temporary directory for convenience. Make it in the build tree
4945 # simply because there is no reason against having it here, and in addition,
4946 # creating and moving files from /tmp can sometimes cause problems.
4947 # Hook for its removal unless debugging.
4948 # Note that there is a small window in which the directory will not be cleaned:
4949 # after its creation but before its name has been assigned to `$tmp'.
4950 $debug ||
4952 tmp=
4953 trap 'exit_status=$?
4954 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4956 trap '{ (exit 1); exit 1; }' 1 2 13 15
4958 # Create a (secure) tmp directory for tmp files.
4961 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4962 test -n "$tmp" && test -d "$tmp"
4963 } ||
4965 tmp=./conf$$-$RANDOM
4966 (umask 077 && mkdir "$tmp")
4967 } ||
4969 echo "$me: cannot create a temporary directory in ." >&2
4970 { (exit 1); exit 1; }
4974 # Set up the sed scripts for CONFIG_FILES section.
4977 # No need to generate the scripts if there are no CONFIG_FILES.
4978 # This happens for instance when ./config.status config.h
4979 if test -n "$CONFIG_FILES"; then
4981 _ACEOF
4985 ac_delim='%!_!# '
4986 for ac_last_try in false false false false false :; do
4987 cat >conf$$subs.sed <<_ACEOF
4988 SHELL!$SHELL$ac_delim
4989 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4990 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4991 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4992 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4993 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4994 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4995 exec_prefix!$exec_prefix$ac_delim
4996 prefix!$prefix$ac_delim
4997 program_transform_name!$program_transform_name$ac_delim
4998 bindir!$bindir$ac_delim
4999 sbindir!$sbindir$ac_delim
5000 libexecdir!$libexecdir$ac_delim
5001 datarootdir!$datarootdir$ac_delim
5002 datadir!$datadir$ac_delim
5003 sysconfdir!$sysconfdir$ac_delim
5004 sharedstatedir!$sharedstatedir$ac_delim
5005 localstatedir!$localstatedir$ac_delim
5006 includedir!$includedir$ac_delim
5007 oldincludedir!$oldincludedir$ac_delim
5008 docdir!$docdir$ac_delim
5009 infodir!$infodir$ac_delim
5010 htmldir!$htmldir$ac_delim
5011 dvidir!$dvidir$ac_delim
5012 pdfdir!$pdfdir$ac_delim
5013 psdir!$psdir$ac_delim
5014 libdir!$libdir$ac_delim
5015 localedir!$localedir$ac_delim
5016 mandir!$mandir$ac_delim
5017 DEFS!$DEFS$ac_delim
5018 ECHO_C!$ECHO_C$ac_delim
5019 ECHO_N!$ECHO_N$ac_delim
5020 ECHO_T!$ECHO_T$ac_delim
5021 LIBS!$LIBS$ac_delim
5022 build_alias!$build_alias$ac_delim
5023 host_alias!$host_alias$ac_delim
5024 target_alias!$target_alias$ac_delim
5025 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5026 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5027 INSTALL_DATA!$INSTALL_DATA$ac_delim
5028 am__isrc!$am__isrc$ac_delim
5029 CYGPATH_W!$CYGPATH_W$ac_delim
5030 PACKAGE!$PACKAGE$ac_delim
5031 VERSION!$VERSION$ac_delim
5032 ACLOCAL!$ACLOCAL$ac_delim
5033 AUTOCONF!$AUTOCONF$ac_delim
5034 AUTOMAKE!$AUTOMAKE$ac_delim
5035 AUTOHEADER!$AUTOHEADER$ac_delim
5036 MAKEINFO!$MAKEINFO$ac_delim
5037 install_sh!$install_sh$ac_delim
5038 STRIP!$STRIP$ac_delim
5039 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5040 mkdir_p!$mkdir_p$ac_delim
5041 AWK!$AWK$ac_delim
5042 SET_MAKE!$SET_MAKE$ac_delim
5043 am__leading_dot!$am__leading_dot$ac_delim
5044 AMTAR!$AMTAR$ac_delim
5045 am__tar!$am__tar$ac_delim
5046 am__untar!$am__untar$ac_delim
5047 CC!$CC$ac_delim
5048 CFLAGS!$CFLAGS$ac_delim
5049 LDFLAGS!$LDFLAGS$ac_delim
5050 CPPFLAGS!$CPPFLAGS$ac_delim
5051 ac_ct_CC!$ac_ct_CC$ac_delim
5052 EXEEXT!$EXEEXT$ac_delim
5053 OBJEXT!$OBJEXT$ac_delim
5054 DEPDIR!$DEPDIR$ac_delim
5055 am__include!$am__include$ac_delim
5056 am__quote!$am__quote$ac_delim
5057 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5058 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5059 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5060 CCDEPMODE!$CCDEPMODE$ac_delim
5061 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5062 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5063 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5064 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5065 MAINT!$MAINT$ac_delim
5066 pkgconfigdir!$pkgconfigdir$ac_delim
5067 CPP!$CPP$ac_delim
5068 GREP!$GREP$ac_delim
5069 EGREP!$EGREP$ac_delim
5070 FUSE_PREFIX!$FUSE_PREFIX$ac_delim
5071 LIBOBJS!$LIBOBJS$ac_delim
5072 LTLIBOBJS!$LTLIBOBJS$ac_delim
5073 _ACEOF
5075 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
5076 break
5077 elif $ac_last_try; then
5078 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5079 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5080 { (exit 1); exit 1; }; }
5081 else
5082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5084 done
5086 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5087 if test -n "$ac_eof"; then
5088 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5089 ac_eof=`expr $ac_eof + 1`
5092 cat >>$CONFIG_STATUS <<_ACEOF
5093 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5095 _ACEOF
5096 sed '
5097 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5098 s/^/s,@/; s/!/@,|#_!!_#|/
5101 s/'"$ac_delim"'$/,g/; t
5102 s/$/\\/; p
5103 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5104 ' >>$CONFIG_STATUS <conf$$subs.sed
5105 rm -f conf$$subs.sed
5106 cat >>$CONFIG_STATUS <<_ACEOF
5107 :end
5108 s/|#_!!_#|//g
5109 CEOF$ac_eof
5110 _ACEOF
5113 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5115 # trailing colons and then remove the whole line if VPATH becomes empty
5116 # (actually we leave an empty line to preserve line numbers).
5117 if test "x$srcdir" = x.; then
5118 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5119 s/:*\$(srcdir):*/:/
5120 s/:*\${srcdir}:*/:/
5121 s/:*@srcdir@:*/:/
5122 s/^\([^=]*=[ ]*\):*/\1/
5123 s/:*$//
5124 s/^[^=]*=[ ]*$//
5128 cat >>$CONFIG_STATUS <<\_ACEOF
5129 fi # test -n "$CONFIG_FILES"
5132 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5134 case $ac_tag in
5135 :[FHLC]) ac_mode=$ac_tag; continue;;
5136 esac
5137 case $ac_mode$ac_tag in
5138 :[FHL]*:*);;
5139 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5140 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5141 { (exit 1); exit 1; }; };;
5142 :[FH]-) ac_tag=-:-;;
5143 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5144 esac
5145 ac_save_IFS=$IFS
5146 IFS=:
5147 set x $ac_tag
5148 IFS=$ac_save_IFS
5149 shift
5150 ac_file=$1
5151 shift
5153 case $ac_mode in
5154 :L) ac_source=$1;;
5155 :[FH])
5156 ac_file_inputs=
5157 for ac_f
5159 case $ac_f in
5160 -) ac_f="$tmp/stdin";;
5161 *) # Look for the file first in the build tree, then in the source tree
5162 # (if the path is not absolute). The absolute path cannot be DOS-style,
5163 # because $ac_f cannot contain `:'.
5164 test -f "$ac_f" ||
5165 case $ac_f in
5166 [\\/$]*) false;;
5167 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5168 esac ||
5169 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5170 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5171 { (exit 1); exit 1; }; };;
5172 esac
5173 ac_file_inputs="$ac_file_inputs $ac_f"
5174 done
5176 # Let's still pretend it is `configure' which instantiates (i.e., don't
5177 # use $as_me), people would be surprised to read:
5178 # /* config.h. Generated by config.status. */
5179 configure_input="Generated from "`IFS=:
5180 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5181 if test x"$ac_file" != x-; then
5182 configure_input="$ac_file. $configure_input"
5183 { echo "$as_me:$LINENO: creating $ac_file" >&5
5184 echo "$as_me: creating $ac_file" >&6;}
5187 case $ac_tag in
5188 *:-:* | *:-) cat >"$tmp/stdin";;
5189 esac
5191 esac
5193 ac_dir=`$as_dirname -- "$ac_file" ||
5194 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5195 X"$ac_file" : 'X\(//\)[^/]' \| \
5196 X"$ac_file" : 'X\(//\)$' \| \
5197 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5198 echo X"$ac_file" |
5199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5200 s//\1/
5203 /^X\(\/\/\)[^/].*/{
5204 s//\1/
5207 /^X\(\/\/\)$/{
5208 s//\1/
5211 /^X\(\/\).*/{
5212 s//\1/
5215 s/.*/./; q'`
5216 { as_dir="$ac_dir"
5217 case $as_dir in #(
5218 -*) as_dir=./$as_dir;;
5219 esac
5220 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5221 as_dirs=
5222 while :; do
5223 case $as_dir in #(
5224 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5225 *) as_qdir=$as_dir;;
5226 esac
5227 as_dirs="'$as_qdir' $as_dirs"
5228 as_dir=`$as_dirname -- "$as_dir" ||
5229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5230 X"$as_dir" : 'X\(//\)[^/]' \| \
5231 X"$as_dir" : 'X\(//\)$' \| \
5232 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5233 echo X"$as_dir" |
5234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5235 s//\1/
5238 /^X\(\/\/\)[^/].*/{
5239 s//\1/
5242 /^X\(\/\/\)$/{
5243 s//\1/
5246 /^X\(\/\).*/{
5247 s//\1/
5250 s/.*/./; q'`
5251 test -d "$as_dir" && break
5252 done
5253 test -z "$as_dirs" || eval "mkdir $as_dirs"
5254 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5255 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5256 { (exit 1); exit 1; }; }; }
5257 ac_builddir=.
5259 case "$ac_dir" in
5260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5262 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5263 # A ".." for each directory in $ac_dir_suffix.
5264 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5265 case $ac_top_builddir_sub in
5266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5268 esac ;;
5269 esac
5270 ac_abs_top_builddir=$ac_pwd
5271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5272 # for backward compatibility:
5273 ac_top_builddir=$ac_top_build_prefix
5275 case $srcdir in
5276 .) # We are building in place.
5277 ac_srcdir=.
5278 ac_top_srcdir=$ac_top_builddir_sub
5279 ac_abs_top_srcdir=$ac_pwd ;;
5280 [\\/]* | ?:[\\/]* ) # Absolute name.
5281 ac_srcdir=$srcdir$ac_dir_suffix;
5282 ac_top_srcdir=$srcdir
5283 ac_abs_top_srcdir=$srcdir ;;
5284 *) # Relative name.
5285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5286 ac_top_srcdir=$ac_top_build_prefix$srcdir
5287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5288 esac
5289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5292 case $ac_mode in
5295 # CONFIG_FILE
5298 case $INSTALL in
5299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5301 esac
5302 ac_MKDIR_P=$MKDIR_P
5303 case $MKDIR_P in
5304 [\\/$]* | ?:[\\/]* ) ;;
5305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5306 esac
5307 _ACEOF
5309 cat >>$CONFIG_STATUS <<\_ACEOF
5310 # If the template does not know about datarootdir, expand it.
5311 # FIXME: This hack should be removed a few years after 2.60.
5312 ac_datarootdir_hack=; ac_datarootdir_seen=
5314 case `sed -n '/datarootdir/ {
5318 /@datadir@/p
5319 /@docdir@/p
5320 /@infodir@/p
5321 /@localedir@/p
5322 /@mandir@/p
5323 ' $ac_file_inputs` in
5324 *datarootdir*) ac_datarootdir_seen=yes;;
5325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5326 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5327 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5328 _ACEOF
5329 cat >>$CONFIG_STATUS <<_ACEOF
5330 ac_datarootdir_hack='
5331 s&@datadir@&$datadir&g
5332 s&@docdir@&$docdir&g
5333 s&@infodir@&$infodir&g
5334 s&@localedir@&$localedir&g
5335 s&@mandir@&$mandir&g
5336 s&\\\${datarootdir}&$datarootdir&g' ;;
5337 esac
5338 _ACEOF
5340 # Neutralize VPATH when `$srcdir' = `.'.
5341 # Shell code in configure.ac might set extrasub.
5342 # FIXME: do we really want to maintain this feature?
5343 cat >>$CONFIG_STATUS <<_ACEOF
5344 sed "$ac_vpsub
5345 $extrasub
5346 _ACEOF
5347 cat >>$CONFIG_STATUS <<\_ACEOF
5349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5350 s&@configure_input@&$configure_input&;t t
5351 s&@top_builddir@&$ac_top_builddir_sub&;t t
5352 s&@srcdir@&$ac_srcdir&;t t
5353 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5354 s&@top_srcdir@&$ac_top_srcdir&;t t
5355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5356 s&@builddir@&$ac_builddir&;t t
5357 s&@abs_builddir@&$ac_abs_builddir&;t t
5358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5359 s&@INSTALL@&$ac_INSTALL&;t t
5360 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5361 $ac_datarootdir_hack
5362 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5365 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5366 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5367 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5368 which seems to be undefined. Please make sure it is defined." >&5
5369 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5370 which seems to be undefined. Please make sure it is defined." >&2;}
5372 rm -f "$tmp/stdin"
5373 case $ac_file in
5374 -) cat "$tmp/out"; rm -f "$tmp/out";;
5375 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5376 esac
5380 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5381 echo "$as_me: executing $ac_file commands" >&6;}
5383 esac
5386 case $ac_file$ac_mode in
5387 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5388 # Strip MF so we end up with the name of the file.
5389 mf=`echo "$mf" | sed -e 's/:.*$//'`
5390 # Check whether this is an Automake generated Makefile or not.
5391 # We used to match only the files named `Makefile.in', but
5392 # some people rename them; so instead we look at the file content.
5393 # Grep'ing the first line is not enough: some people post-process
5394 # each Makefile.in and add a new line on top of each file to say so.
5395 # Grep'ing the whole file is not good either: AIX grep has a line
5396 # limit of 2048, but all sed's we know have understand at least 4000.
5397 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5398 dirpart=`$as_dirname -- "$mf" ||
5399 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5400 X"$mf" : 'X\(//\)[^/]' \| \
5401 X"$mf" : 'X\(//\)$' \| \
5402 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5403 echo X"$mf" |
5404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5405 s//\1/
5408 /^X\(\/\/\)[^/].*/{
5409 s//\1/
5412 /^X\(\/\/\)$/{
5413 s//\1/
5416 /^X\(\/\).*/{
5417 s//\1/
5420 s/.*/./; q'`
5421 else
5422 continue
5424 # Extract the definition of DEPDIR, am__include, and am__quote
5425 # from the Makefile without running `make'.
5426 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5427 test -z "$DEPDIR" && continue
5428 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5429 test -z "am__include" && continue
5430 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5431 # When using ansi2knr, U may be empty or an underscore; expand it
5432 U=`sed -n 's/^U = //p' < "$mf"`
5433 # Find all dependency output files, they are included files with
5434 # $(DEPDIR) in their names. We invoke sed twice because it is the
5435 # simplest approach to changing $(DEPDIR) to its actual value in the
5436 # expansion.
5437 for file in `sed -n "
5438 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5439 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5440 # Make sure the directory exists.
5441 test -f "$dirpart/$file" && continue
5442 fdir=`$as_dirname -- "$file" ||
5443 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5444 X"$file" : 'X\(//\)[^/]' \| \
5445 X"$file" : 'X\(//\)$' \| \
5446 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5447 echo X"$file" |
5448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5449 s//\1/
5452 /^X\(\/\/\)[^/].*/{
5453 s//\1/
5456 /^X\(\/\/\)$/{
5457 s//\1/
5460 /^X\(\/\).*/{
5461 s//\1/
5464 s/.*/./; q'`
5465 { as_dir=$dirpart/$fdir
5466 case $as_dir in #(
5467 -*) as_dir=./$as_dir;;
5468 esac
5469 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5470 as_dirs=
5471 while :; do
5472 case $as_dir in #(
5473 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5474 *) as_qdir=$as_dir;;
5475 esac
5476 as_dirs="'$as_qdir' $as_dirs"
5477 as_dir=`$as_dirname -- "$as_dir" ||
5478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5479 X"$as_dir" : 'X\(//\)[^/]' \| \
5480 X"$as_dir" : 'X\(//\)$' \| \
5481 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5482 echo X"$as_dir" |
5483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5484 s//\1/
5487 /^X\(\/\/\)[^/].*/{
5488 s//\1/
5491 /^X\(\/\/\)$/{
5492 s//\1/
5495 /^X\(\/\).*/{
5496 s//\1/
5499 s/.*/./; q'`
5500 test -d "$as_dir" && break
5501 done
5502 test -z "$as_dirs" || eval "mkdir $as_dirs"
5503 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5504 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5505 { (exit 1); exit 1; }; }; }
5506 # echo "creating $dirpart/$file"
5507 echo '# dummy' > "$dirpart/$file"
5508 done
5509 done
5512 esac
5513 done # for ac_tag
5516 { (exit 0); exit 0; }
5517 _ACEOF
5518 chmod +x $CONFIG_STATUS
5519 ac_clean_files=$ac_clean_files_save
5522 # configure is writing to config.log, and then calls config.status.
5523 # config.status does its own redirection, appending to config.log.
5524 # Unfortunately, on DOS this fails, as config.log is still kept open
5525 # by configure, so config.status won't be able to write to it; its
5526 # output is simply discarded. So we exec the FD to /dev/null,
5527 # effectively closing config.log, so it can be properly (re)opened and
5528 # appended to by config.status. When coming back to configure, we
5529 # need to make the FD available again.
5530 if test "$no_create" != yes; then
5531 ac_cs_success=:
5532 ac_config_status_args=
5533 test "$silent" = yes &&
5534 ac_config_status_args="$ac_config_status_args --quiet"
5535 exec 5>/dev/null
5536 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5537 exec 5>>config.log
5538 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5539 # would make configure fail if this is the last instruction.
5540 $ac_cs_success || { (exit 1); exit 1; }