2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dosfstools 4.2.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='dosfstools'
579 PACKAGE_TARNAME='dosfstools'
580 PACKAGE_VERSION='4.2'
581 PACKAGE_STRING='dosfstools 4.2'
585 # Factoring default headers for most tests.
586 ac_includes_default="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
621 ac_subst_vars='am__EXEEXT_FALSE
625 AUTOMAKE_TEST_COMPAT_FALSE
626 AUTOMAKE_TEST_COMPAT_TRUE
659 COMPAT_SYMLINKS_FALSE
673 INSTALL_STRIP_PROGRAM
717 program_transform_name
731 enable_option_checking
733 enable_compat_symlinks
735 enable_dependency_tracking
742 ac_precious_vars='build_alias
753 # Initialize some variables set by options.
755 ac_init_version=false
756 ac_unrecognized_opts=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name=s,x,x,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 runstatedir='${localstatedir}/run'
790 includedir='${prefix}/include'
791 oldincludedir='/usr/include'
792 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir='${datarootdir}/info'
798 libdir='${exec_prefix}/lib'
799 localedir='${datarootdir}/locale'
800 mandir='${datarootdir}/man'
806 # If the previous option needs an argument, assign it.
807 if test -n "$ac_prev"; then
808 eval $ac_prev=\$ac_option
814 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819 # Accept the important Cygnus configure options, so we can diagnose typos.
821 case $ac_dashdash$ac_option in
825 -bindir | --bindir | --bindi | --bind | --bin | --bi)
827 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830 -build | --build | --buil | --bui | --bu)
831 ac_prev=build_alias ;;
832 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
833 build_alias=$ac_optarg ;;
835 -cache-file | --cache-file | --cache-fil | --cache-fi \
836 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
837 ac_prev=cache_file ;;
838 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
839 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
840 cache_file=$ac_optarg ;;
843 cache_file=config.cache ;;
845 -datadir | --datadir | --datadi | --datad)
847 -datadir=* | --datadir=* | --datadi=* | --datad=*)
848 datadir=$ac_optarg ;;
850 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
851 | --dataroo | --dataro | --datar)
852 ac_prev=datarootdir ;;
853 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
854 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
855 datarootdir=$ac_optarg ;;
857 -disable-* | --disable-*)
858 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861 as_fn_error $? "invalid feature name: $ac_useropt"
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
871 eval enable_$ac_useropt=no ;;
873 -docdir | --docdir | --docdi | --doc | --do)
875 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
878 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
880 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
883 -enable-* | --enable-*)
884 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887 as_fn_error $? "invalid feature name: $ac_useropt"
888 ac_useropt_orig=$ac_useropt
889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895 ac_unrecognized_sep=', ';;
897 eval enable_$ac_useropt=\$ac_optarg ;;
899 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
900 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
901 | --exec | --exe | --ex)
902 ac_prev=exec_prefix ;;
903 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
904 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
905 | --exec=* | --exe=* | --ex=*)
906 exec_prefix=$ac_optarg ;;
908 -gas | --gas | --ga | --g)
909 # Obsolete; use --with-gas.
912 -help | --help | --hel | --he | -h)
914 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
915 ac_init_help=recursive ;;
916 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
917 ac_init_help=short ;;
919 -host | --host | --hos | --ho)
920 ac_prev=host_alias ;;
921 -host=* | --host=* | --hos=* | --ho=*)
922 host_alias=$ac_optarg ;;
924 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
926 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
928 htmldir=$ac_optarg ;;
930 -includedir | --includedir | --includedi | --included | --include \
931 | --includ | --inclu | --incl | --inc)
932 ac_prev=includedir ;;
933 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
934 | --includ=* | --inclu=* | --incl=* | --inc=*)
935 includedir=$ac_optarg ;;
937 -infodir | --infodir | --infodi | --infod | --info | --inf)
939 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
940 infodir=$ac_optarg ;;
942 -libdir | --libdir | --libdi | --libd)
944 -libdir=* | --libdir=* | --libdi=* | --libd=*)
947 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
948 | --libexe | --libex | --libe)
949 ac_prev=libexecdir ;;
950 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
951 | --libexe=* | --libex=* | --libe=*)
952 libexecdir=$ac_optarg ;;
954 -localedir | --localedir | --localedi | --localed | --locale)
956 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
957 localedir=$ac_optarg ;;
959 -localstatedir | --localstatedir | --localstatedi | --localstated \
960 | --localstate | --localstat | --localsta | --localst | --locals)
961 ac_prev=localstatedir ;;
962 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
963 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
964 localstatedir=$ac_optarg ;;
966 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
968 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972 # Obsolete; use --without-fp.
975 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
976 | --no-cr | --no-c | -n)
979 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
980 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
984 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
985 | --oldin | --oldi | --old | --ol | --o)
986 ac_prev=oldincludedir ;;
987 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
988 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
989 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
990 oldincludedir=$ac_optarg ;;
992 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
994 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997 -program-prefix | --program-prefix | --program-prefi | --program-pref \
998 | --program-pre | --program-pr | --program-p)
999 ac_prev=program_prefix ;;
1000 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1001 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1002 program_prefix=$ac_optarg ;;
1004 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1005 | --program-suf | --program-su | --program-s)
1006 ac_prev=program_suffix ;;
1007 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1008 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1009 program_suffix=$ac_optarg ;;
1011 -program-transform-name | --program-transform-name \
1012 | --program-transform-nam | --program-transform-na \
1013 | --program-transform-n | --program-transform- \
1014 | --program-transform | --program-transfor \
1015 | --program-transfo | --program-transf \
1016 | --program-trans | --program-tran \
1017 | --progr-tra | --program-tr | --program-t)
1018 ac_prev=program_transform_name ;;
1019 -program-transform-name=* | --program-transform-name=* \
1020 | --program-transform-nam=* | --program-transform-na=* \
1021 | --program-transform-n=* | --program-transform-=* \
1022 | --program-transform=* | --program-transfor=* \
1023 | --program-transfo=* | --program-transf=* \
1024 | --program-trans=* | --program-tran=* \
1025 | --progr-tra=* | --program-tr=* | --program-t=*)
1026 program_transform_name=$ac_optarg ;;
1028 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1030 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1031 pdfdir=$ac_optarg ;;
1033 -psdir | --psdir | --psdi | --psd | --ps)
1035 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1042 -runstatedir | --runstatedir | --runstatedi | --runstated \
1043 | --runstate | --runstat | --runsta | --runst | --runs \
1044 | --run | --ru | --r)
1045 ac_prev=runstatedir ;;
1046 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1047 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1048 | --run=* | --ru=* | --r=*)
1049 runstatedir=$ac_optarg ;;
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1070 -site=* | --site=* | --sit=*)
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1097 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information"
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error $? "missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir runstatedir
1190 eval ac_val=\$$ac_var
1191 # Remove trailing slashes.
1194 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$]* | ?:[\\/]* ) continue;;
1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x; then
1214 if test "x$build_alias" = x; then
1215 cross_compiling=maybe
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 as_fn_error $? "working directory cannot be determined"
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 as_fn_error $? "pwd does not report name of working directory"
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures dosfstools 4.2 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking ...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/dosfstools]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1365 --build=BUILD configure for building on BUILD [guessed]
1366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive ) echo "Configuration of dosfstools 4.2:";;
1377 --disable-option-checking ignore unrecognized --enable/--with options
1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1380 --enable-silent-rules less verbose build output (undo: "make V=1")
1381 --disable-silent-rules verbose build output (undo: "make V=0")
1382 --enable-compat-symlinks
1383 install symlinks for legacy names of the tools
1384 --enable-atari-check enable legacy check to let tools switch to Atari
1385 mode when they detect they are running on 68k Atari
1386 hardware (Linux only)
1387 --enable-dependency-tracking
1388 do not reject slow dependency extractors
1389 --disable-dependency-tracking
1390 speeds up one-time build
1391 --disable-largefile omit support for large files
1392 --disable-rpath do not hardcode runtime library paths
1395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1397 --without-iconv build without iconv support
1398 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1399 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1400 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1402 Some influential environment variables:
1403 CC C compiler command
1404 CFLAGS C compiler flags
1405 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1406 nonstandard directory <lib dir>
1407 LIBS libraries to pass to the linker, e.g. -l<library>
1408 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1409 you have headers in a nonstandard directory <include dir>
1412 Use these variables to override the choices made by `configure' or to help
1413 it to find libraries and programs with nonstandard names/locations.
1415 Report bugs to the package provider.
1420 if test "$ac_init_help" = "recursive"; then
1421 # If there are subdirs, report their specific --help.
1422 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1423 test -d "$ac_dir" ||
1424 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir=$ac_pwd
1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir=$ac_top_build_prefix
1445 .) # We are building in place.
1447 ac_top_srcdir=$ac_top_builddir_sub
1448 ac_abs_top_srcdir=$ac_pwd ;;
1449 [\\/]* | ?:[\\/]* ) # Absolute name.
1450 ac_srcdir=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir=$srcdir
1452 ac_abs_top_srcdir=$srcdir ;;
1454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" || { ac_status=$?; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" || { ac_status=$?; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1478 dosfstools configure 4.2
1479 generated by GNU Autoconf 2.69
1481 Copyright (C) 2012 Free Software Foundation, Inc.
1482 This configure script is free software; the Free Software Foundation
1483 gives unlimited permission to copy, distribute and modify it.
1488 ## ------------------------ ##
1489 ## Autoconf initialization. ##
1490 ## ------------------------ ##
1492 # ac_fn_c_try_compile LINENO
1493 # --------------------------
1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1495 ac_fn_c_try_compile ()
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 rm -f conftest.$ac_objext
1499 if { { ac_try="$ac_compile"
1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502 *) ac_try_echo=$ac_try;;
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_compile") 2>conftest.err
1508 if test -s conftest.err; then
1509 grep -v '^ *+' conftest.err >conftest.er1
1510 cat conftest.er1 >&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } && {
1515 test -z "$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1517 } && test -s conftest.$ac_objext; then :
1520 $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.$ac_ext >&5
1525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1526 as_fn_set_status $ac_retval
1528 } # ac_fn_c_try_compile
1530 # ac_fn_c_try_cpp LINENO
1531 # ----------------------
1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 if { { ac_try="$ac_cpp conftest.$ac_ext"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } > conftest.i && {
1552 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1567 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1568 # -------------------------------------------------------
1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1570 # the include files in INCLUDES and setting the cache variable VAR
1572 ac_fn_c_check_header_mongrel ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if eval \${$3+:} false; then :
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579 $as_echo_n "(cached) " >&6
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1585 # Is the header compilable?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1587 $as_echo_n "checking $2 usability... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h. */
1593 if ac_fn_c_try_compile "$LINENO"; then :
1594 ac_header_compiler=yes
1596 ac_header_compiler=no
1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1600 $as_echo "$ac_header_compiler" >&6; }
1602 # Is the header present?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1604 $as_echo_n "checking $2 presence... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1609 if ac_fn_c_try_cpp "$LINENO"; then :
1610 ac_header_preproc=yes
1612 ac_header_preproc=no
1614 rm -f conftest.err conftest.i conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1616 $as_echo "$ac_header_preproc" >&6; }
1618 # So? What about this header?
1619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1630 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1634 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if eval \${$3+:} false; then :
1642 $as_echo_n "(cached) " >&6
1644 eval "$3=\$ac_header_compiler"
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 } # ac_fn_c_check_header_mongrel
1654 # ac_fn_c_try_run LINENO
1655 # ----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1657 # that executables *can* be run.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_link"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>&5
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1672 { { case "(($ac_try" in
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_try") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; }; }; then :
1684 $as_echo "$as_me: program exited with status $ac_status" >&5
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1688 ac_retval=$ac_status
1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists and can be compiled using the include files in
1699 # INCLUDES, setting the cache variable VAR accordingly.
1700 ac_fn_c_check_header_compile ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1713 if ac_fn_c_try_compile "$LINENO"; then :
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 } # ac_fn_c_check_header_compile
1727 # ac_fn_c_try_link LINENO
1728 # -----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 rm -f conftest.$ac_objext conftest$ac_exeext
1734 if { { ac_try="$ac_link"
1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>conftest.err
1743 if test -s conftest.err; then
1744 grep -v '^ *+' conftest.err >conftest.er1
1745 cat conftest.er1 >&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && {
1750 test -z "$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1752 } && test -s conftest$ac_exeext && {
1753 test "$cross_compiling" = yes ||
1754 test -x conftest$ac_exeext
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1765 # interfere with the next link command; also delete a directory that is
1766 # left behind by Apple's compiler. We do this before executing the actions.
1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status $ac_retval
1771 } # ac_fn_c_try_link
1773 # ac_fn_c_check_func LINENO FUNC VAR
1774 # ----------------------------------
1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1776 ac_fn_c_check_func ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1788 #define $2 innocuous_$2
1790 /* System header to define __stub macros and hopefully few prototypes,
1791 which can conflict with char $2 (); below.
1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1793 <limits.h> exists even on freestanding compilers. */
1796 # include <limits.h>
1798 # include <assert.h>
1803 /* Override any GCC internal prototype to avoid an error.
1804 Use char because int might match the return type of a GCC
1805 builtin and then its argument prototype would still apply. */
1810 /* The GNU C library defines this for functions which it implements
1811 to always fail with ENOSYS. Some functions are actually named
1812 something starting with __ and the normal name is an alias. */
1813 #if defined __stub_$2 || defined __stub___$2
1825 if ac_fn_c_try_link "$LINENO"; then :
1830 rm -f core conftest.err conftest.$ac_objext \
1831 conftest$ac_exeext conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 } # ac_fn_c_check_func
1840 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1841 # ---------------------------------------------
1842 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1844 ac_fn_c_check_decl ()
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 as_decl_name=`echo $2|sed 's/ *(.*//'`
1848 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1850 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1851 if eval \${$3+:} false; then :
1852 $as_echo_n "(cached) " >&6
1854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1860 #ifndef $as_decl_name
1862 (void) $as_decl_use;
1864 (void) $as_decl_name;
1872 if ac_fn_c_try_compile "$LINENO"; then :
1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_decl
1885 cat >config.log <<_ACEOF
1886 This file contains any messages produced by compilers while
1887 running configure, to aid debugging if configure makes a mistake.
1889 It was created by dosfstools $as_me 4.2, which was
1890 generated by GNU Autoconf 2.69. Invocation command line was
1902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1909 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1911 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1912 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1914 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1915 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1916 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1917 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir=.
1926 $as_echo "PATH: $as_dir"
1942 # Keep a trace of the command line.
1943 # Strip out --no-create and --no-recursion so they do not pile up.
1944 # Strip out --silent because we don't want to record it for future runs.
1945 # Also quote any args containing shell meta-characters.
1946 # Make two passes to allow for proper duplicate-argument suppression.
1950 ac_must_keep_next=false
1956 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1958 | -silent | --silent | --silen | --sile | --sil)
1961 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1964 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1966 as_fn_append ac_configure_args1 " '$ac_arg'"
1967 if test $ac_must_keep_next = true; then
1968 ac_must_keep_next=false # Got value, back to normal.
1971 *=* | --config-cache | -C | -disable-* | --disable-* \
1972 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1973 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1974 | -with-* | --with-* | -without-* | --without-* | --x)
1975 case "$ac_configure_args0 " in
1976 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1979 -* ) ac_must_keep_next=true ;;
1982 as_fn_append ac_configure_args " '$ac_arg'"
1987 { ac_configure_args0=; unset ac_configure_args0;}
1988 { ac_configure_args1=; unset ac_configure_args1;}
1990 # When interrupted or exit'd, cleanup temporary files, and complete
1991 # config.log. We remove comments because anyway the quotes in there
1992 # would cause problems or look ugly.
1993 # WARNING: Use '\'' to represent an apostrophe within the trap.
1994 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1995 trap 'exit_status=$?
1996 # Save into config.log some information that might help in debugging.
2000 $as_echo "## ---------------- ##
2001 ## Cache variables. ##
2002 ## ---------------- ##"
2004 # The following way of writing the cache mishandles newlines in values,
2006 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2007 eval ac_val=\$$ac_var
2011 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2015 _ | IFS | as_nl) ;; #(
2016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2017 *) { eval $ac_var=; unset $ac_var;} ;;
2022 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2023 *${as_nl}ac_space=\ *)
2025 "s/'\''/'\''\\\\'\'''\''/g;
2026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2036 $as_echo "## ----------------- ##
2037 ## Output variables. ##
2038 ## ----------------- ##"
2040 for ac_var in $ac_subst_vars
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -n "$ac_subst_files"; then
2051 $as_echo "## ------------------- ##
2052 ## File substitutions. ##
2053 ## ------------------- ##"
2055 for ac_var in $ac_subst_files
2057 eval ac_val=\$$ac_var
2059 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -s confdefs.h; then
2067 $as_echo "## ----------- ##
2074 test "$ac_signal" != 0 &&
2075 $as_echo "$as_me: caught signal $ac_signal"
2076 $as_echo "$as_me: exit $exit_status"
2078 rm -f core *.core core.conftest.* &&
2079 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2082 for ac_signal in 1 2 13 15; do
2083 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2088 rm -f -r conftest* confdefs.h
2090 $as_echo "/* confdefs.h */" > confdefs.h
2092 # Predefined preprocessor variables.
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_NAME "$PACKAGE_NAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_STRING "$PACKAGE_STRING"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_URL "$PACKAGE_URL"
2119 # Let the site file select an alternate cache file if it wants to.
2120 # Prefer an explicitly selected file to automatically selected ones.
2123 if test -n "$CONFIG_SITE"; then
2124 # We do not want a PATH search for config.site.
2125 case $CONFIG_SITE in #((
2126 -*) ac_site_file1=./$CONFIG_SITE;;
2127 */*) ac_site_file1=$CONFIG_SITE;;
2128 *) ac_site_file1=./$CONFIG_SITE;;
2130 elif test "x$prefix" != xNONE; then
2131 ac_site_file1=$prefix/share/config.site
2132 ac_site_file2=$prefix/etc/config.site
2134 ac_site_file1=$ac_default_prefix/share/config.site
2135 ac_site_file2=$ac_default_prefix/etc/config.site
2137 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2139 test "x$ac_site_file" = xNONE && continue
2140 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2143 sed 's/^/| /' "$ac_site_file" >&5
2145 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2147 as_fn_error $? "failed to load site script $ac_site_file
2148 See \`config.log' for more details" "$LINENO" 5; }
2152 if test -r "$cache_file"; then
2153 # Some versions of bash will fail to source /dev/null (special files
2154 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2155 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2157 $as_echo "$as_me: loading cache $cache_file" >&6;}
2159 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2160 *) . "./$cache_file";;
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2165 $as_echo "$as_me: creating cache $cache_file" >&6;}
2169 # Check that the precious variables saved in the cache have kept the same
2171 ac_cache_corrupted=false
2172 for ac_var in $ac_precious_vars; do
2173 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2174 eval ac_new_set=\$ac_env_${ac_var}_set
2175 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2176 eval ac_new_val=\$ac_env_${ac_var}_value
2177 case $ac_old_set,$ac_new_set in
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2180 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2181 ac_cache_corrupted=: ;;
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2184 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2185 ac_cache_corrupted=: ;;
2188 if test "x$ac_old_val" != "x$ac_new_val"; then
2189 # differences in whitespace do not lead to failure.
2190 ac_old_val_w=`echo x $ac_old_val`
2191 ac_new_val_w=`echo x $ac_new_val`
2192 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2194 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2195 ac_cache_corrupted=:
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2198 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2199 eval $ac_var=\$ac_old_val
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2202 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2204 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2207 # Pass precious variables to config.status.
2208 if test "$ac_new_set" = set; then
2210 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2211 *) ac_arg=$ac_var=$ac_new_val ;;
2213 case " $ac_configure_args " in
2214 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2215 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2219 if $ac_cache_corrupted; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2223 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2224 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2226 ## -------------------- ##
2227 ## Main body of script. ##
2228 ## -------------------- ##
2231 ac_cpp='$CPP $CPPFLAGS'
2232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2237 RELEASE_DATE=2021-01-31
2239 am__api_version='1.16'
2242 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2243 if test -f "$ac_dir/install-sh"; then
2245 ac_install_sh="$ac_aux_dir/install-sh -c"
2247 elif test -f "$ac_dir/install.sh"; then
2249 ac_install_sh="$ac_aux_dir/install.sh -c"
2251 elif test -f "$ac_dir/shtool"; then
2253 ac_install_sh="$ac_aux_dir/shtool install -c"
2257 if test -z "$ac_aux_dir"; then
2258 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2261 # These three variables are undocumented and unsupported,
2262 # and are intended to be withdrawn in a future Autoconf release.
2263 # They can cause serious problems if a builder's source tree is in a directory
2264 # whose full name contains unusual characters.
2265 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2266 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2267 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2270 # Find a good install program. We prefer a C program (faster),
2271 # so one script is as good as another. But avoid the broken or
2272 # incompatible versions:
2273 # SysV /etc/install, /usr/sbin/install
2274 # SunOS /usr/etc/install
2275 # IRIX /sbin/install
2277 # AmigaOS /C/install, which installs bootblocks on floppy discs
2278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2281 # OS/2's system install, which has a completely different semantic
2282 # ./install, which can be erroneously created by make from ./install.sh.
2283 # Reject install programs that cannot install multiple files.
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2285 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2286 if test -z "$INSTALL"; then
2287 if ${ac_cv_path_install+:} false; then :
2288 $as_echo_n "(cached) " >&6
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 # Account for people who put trailing slashes in PATH elements.
2296 case $as_dir/ in #((
2297 ./ | .// | /[cC]/* | \
2298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2299 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2302 # OSF1 and SCO ODT 3.0 have their own names for install.
2303 # Don't use installbsd from OSF since it installs stuff as root
2305 for ac_prog in ginstall scoinst install; do
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2308 if test $ac_prog = install &&
2309 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2310 # AIX install. It has an incompatible calling convention.
2312 elif test $ac_prog = install &&
2313 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2314 # program-specific install script used by HP pwplus--don't use.
2317 rm -rf conftest.one conftest.two conftest.dir
2318 echo one > conftest.one
2319 echo two > conftest.two
2321 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2322 test -s conftest.one && test -s conftest.two &&
2323 test -s conftest.dir/conftest.one &&
2324 test -s conftest.dir/conftest.two
2326 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2339 rm -rf conftest.one conftest.two conftest.dir
2342 if test "${ac_cv_path_install+set}" = set; then
2343 INSTALL=$ac_cv_path_install
2345 # As a last resort, use the slow shell script. Don't cache a
2346 # value for INSTALL within a source directory, because that will
2347 # break other packages using the cache if that directory is
2348 # removed, or if the value is a relative name.
2349 INSTALL=$ac_install_sh
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2353 $as_echo "$INSTALL" >&6; }
2355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2356 # It thinks the first close brace ends the variable substitution.
2357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2364 $as_echo_n "checking whether build environment is sane... " >&6; }
2365 # Reject unsafe characters in $srcdir or the absolute working directory
2366 # name. Accept space and tab only in the latter.
2370 *[\\\"\#\$\&\'\`$am_lf]*)
2371 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2374 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2375 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2378 # Do 'set' in a subshell so we don't clobber the current shell's
2379 # arguments. Must try -L first in case configure is actually a
2380 # symlink; some systems play weird games with the mod time of symlinks
2381 # (eg FreeBSD returns the mod time of the symlink's containing
2385 for am_try in 1 2; do
2386 echo "timestamp, slept: $am_has_slept" > conftest.file
2387 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2388 if test "$*" = "X"; then
2390 set X `ls -t "$srcdir/configure" conftest.file`
2392 if test "$*" != "X $srcdir/configure conftest.file" \
2393 && test "$*" != "X conftest.file $srcdir/configure"; then
2395 # If neither matched, then we have a broken ls. This can happen
2396 # if, for instance, CONFIG_SHELL is bash and it inherits a
2397 # broken ls alias from the environment. This has actually
2398 # happened. Such a system could not be considered "sane".
2399 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2400 alias in your environment" "$LINENO" 5
2402 if test "$2" = conftest.file || test $am_try -eq 2; then
2409 test "$2" = conftest.file
2415 as_fn_error $? "newly created file is older than distributed files!
2416 Check your system clock" "$LINENO" 5
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2419 $as_echo "yes" >&6; }
2420 # If we didn't sleep, we still need to ensure time stamps of config.status and
2421 # generated files are strictly newer.
2423 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2430 test "$program_prefix" != NONE &&
2431 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2432 # Use a double $ so make ignores it.
2433 test "$program_suffix" != NONE &&
2434 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2435 # Double any \ or $.
2436 # By default was `s,x,x', remove it if useless.
2437 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2438 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2440 # Expand $ac_aux_dir to an absolute path.
2441 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2443 if test x"${MISSING+set}" != xset; then
2446 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2448 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2451 # Use eval to expand $SHELL
2452 if eval "$MISSING --is-lightweight"; then
2453 am_missing_run="$MISSING "
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2457 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2460 if test x"${install_sh+set}" != xset; then
2463 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2465 install_sh="\${SHELL} $am_aux_dir/install-sh"
2469 # Installed binaries are usually stripped using 'strip' when the user
2470 # run "make install-strip". However 'strip' might not be the right
2471 # tool to use in cross-compilation environments, therefore Automake
2472 # will honor the 'STRIP' environment variable to overrule this program.
2473 if test "$cross_compiling" != no; then
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476 set dummy ${ac_tool_prefix}strip; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_STRIP+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$STRIP"; then
2483 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 STRIP=$ac_cv_prog_STRIP
2503 if test -n "$STRIP"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2505 $as_echo "$STRIP" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2513 if test -z "$ac_cv_prog_STRIP"; then
2515 # Extract the first word of "strip", so it can be a program name with args.
2516 set dummy strip; ac_word=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$ac_ct_STRIP"; then
2523 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2532 ac_cv_prog_ac_ct_STRIP="strip"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2543 if test -n "$ac_ct_STRIP"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2545 $as_echo "$ac_ct_STRIP" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2551 if test "x$ac_ct_STRIP" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2558 ac_tool_warned=yes ;;
2563 STRIP="$ac_cv_prog_STRIP"
2567 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2570 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2571 if test -z "$MKDIR_P"; then
2572 if ${ac_cv_path_mkdir+:} false; then :
2573 $as_echo_n "(cached) " >&6
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2579 test -z "$as_dir" && as_dir=.
2580 for ac_prog in mkdir gmkdir; do
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2583 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2584 'mkdir (GNU coreutils) '* | \
2585 'mkdir (coreutils) '* | \
2586 'mkdir (fileutils) '4.1*)
2587 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2597 test -d ./--version && rmdir ./--version
2598 if test "${ac_cv_path_mkdir+set}" = set; then
2599 MKDIR_P="$ac_cv_path_mkdir -p"
2601 # As a last resort, use the slow shell script. Don't cache a
2602 # value for MKDIR_P within a source directory, because that will
2603 # break other packages using the cache if that directory is
2604 # removed, or if the value is a relative name.
2605 MKDIR_P="$ac_install_sh -d"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2609 $as_echo "$MKDIR_P" >&6; }
2611 for ac_prog in gawk mawk nawk awk
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy $ac_prog; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_AWK+:} false; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$AWK"; then
2621 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_AWK="$ac_prog"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 if test -n "$AWK"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2643 $as_echo "$AWK" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2650 test -n "$AWK" && break
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2654 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2656 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2657 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 cat >conftest.make <<\_ACEOF
2663 @echo '@@@%%%=$(MAKE)=@@@%%%'
2665 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2666 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2668 eval ac_cv_prog_make_${ac_make}_set=yes;;
2670 eval ac_cv_prog_make_${ac_make}_set=no;;
2674 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2676 $as_echo "yes" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2681 SET_MAKE="MAKE=${MAKE-make}"
2684 rm -rf .tst 2>/dev/null
2685 mkdir .tst 2>/dev/null
2686 if test -d .tst; then
2691 rmdir .tst 2>/dev/null
2693 # Check whether --enable-silent-rules was given.
2694 if test "${enable_silent_rules+set}" = set; then :
2695 enableval=$enable_silent_rules;
2698 case $enable_silent_rules in # (((
2699 yes) AM_DEFAULT_VERBOSITY=0;;
2700 no) AM_DEFAULT_VERBOSITY=1;;
2701 *) AM_DEFAULT_VERBOSITY=1;;
2703 am_make=${MAKE-make}
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2705 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2706 if ${am_cv_make_support_nested_variables+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 if $as_echo 'TRUE=$(BAR$(V))
2715 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2716 am_cv_make_support_nested_variables=yes
2718 am_cv_make_support_nested_variables=no
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2722 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2723 if test $am_cv_make_support_nested_variables = yes; then
2725 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2727 AM_V=$AM_DEFAULT_VERBOSITY
2728 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2732 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2733 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2734 # is not polluted with repeated "-I."
2735 am__isrc=' -I$(srcdir)'
2736 # test to see if srcdir already configured
2737 if test -f $srcdir/config.status; then
2738 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2742 # test whether we have cygpath
2743 if test -z "$CYGPATH_W"; then
2744 if (cygpath --version) >/dev/null 2>/dev/null; then
2745 CYGPATH_W='cygpath -w'
2752 # Define the identity of the package.
2753 PACKAGE='dosfstools'
2757 cat >>confdefs.h <<_ACEOF
2758 #define PACKAGE "$PACKAGE"
2762 cat >>confdefs.h <<_ACEOF
2763 #define VERSION "$VERSION"
2766 # Some tools Automake needs.
2768 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2771 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2774 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2777 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2780 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2782 # For better backward compatibility. To be removed once Automake 1.9.x
2783 # dies out for good. For more background, see:
2784 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2785 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2786 mkdir_p='$(MKDIR_P)'
2788 # We need awk for the "check" target (and possibly the TAP driver). The
2789 # system "awk" is bad on some platforms.
2790 # Always define AMTAR for backward compatibility. Yes, it's still used
2791 # in the wild :-( We should find a proper way to deprecate it ...
2795 # We'll loop over all known methods to create a tar archive until one works.
2796 _am_tools='gnutar pax cpio none'
2798 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2805 # POSIX will say in a future version that running "rm -f" with no argument
2806 # is OK; and we want to be able to make that assumption in our Makefile
2807 # recipes. So use an aggressive probe to check that the usage we want is
2808 # actually supported "in the wild" to an acceptable degree.
2809 # See automake bug#10828.
2810 # To make any issue more visible, cause the running configure to be aborted
2811 # by default if the 'rm' program in use doesn't match our expectations; the
2812 # user can still override this though.
2813 if rm -f && rm -fr && rm -rf; then : OK; else
2817 Your 'rm' program seems unable to run without file operands specified
2818 on the command line, even when the '-f' option is present. This is contrary
2819 to the behaviour of most rm programs out there, and not conforming with
2820 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2822 Please tell bug-automake@gnu.org about your system, including the value
2823 of your $PATH and any error possibly output before this message. This
2824 can help us improve future automake versions.
2827 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2828 echo 'Configuration will proceed anyway, since you have set the' >&2
2829 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2833 Aborting the configuration process, to ensure you take notice of the issue.
2835 You can download and install GNU coreutils to get an 'rm' implementation
2836 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2838 If you want to complete the configuration process using your problematic
2839 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2840 to "yes", and re-run configure.
2843 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2848 # Check whether --enable-compat-symlinks was given.
2849 if test "${enable_compat_symlinks+set}" = set; then :
2850 enableval=$enable_compat_symlinks; case "${enableval}" in
2851 yes) symlinks=true ;;
2852 no) symlinks=false ;;
2853 *) as_fn_error $? "bad value ${enableval} for --enable-compat-symlinks" "$LINENO" 5 ;;
2859 if test x$symlinks = xtrue; then
2860 COMPAT_SYMLINKS_TRUE=
2861 COMPAT_SYMLINKS_FALSE='#'
2863 COMPAT_SYMLINKS_TRUE='#'
2864 COMPAT_SYMLINKS_FALSE=
2868 # Check whether --enable-atari-check was given.
2869 if test "${enable_atari_check+set}" = set; then :
2870 enableval=$enable_atari_check; case "${enableval}" in
2873 $as_echo "#define CONF_CHECK_ATARI 1" >>confdefs.h
2877 *) as_fn_error $? "bad value ${enableval} for --enable-atari-check" "$LINENO" 5 ;;
2885 DEPDIR="${am__leading_dot}deps"
2887 ac_config_commands="$ac_config_commands depfiles"
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2890 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2891 cat > confinc.mk << 'END'
2893 @echo this is the am__doit target >confinc.out
2898 # BSD make does it like this.
2899 echo '.include "confinc.mk" # ignored' > confmf.BSD
2900 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2901 echo 'include confinc.mk # ignored' > confmf.GNU
2903 for s in GNU BSD; do
2904 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2905 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 case $?:`cat confinc.out 2>/dev/null` in #(
2910 '0:this is the am__doit target') :
2913 am__include='.include' am__quote='"' ;; #(
2915 am__include='include' am__quote='' ;;
2920 if test "$am__include" != "#"; then
2921 _am_result="yes ($s style)"
2925 rm -f confinc.* confmf.*
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2927 $as_echo "${_am_result}" >&6; }
2929 # Check whether --enable-dependency-tracking was given.
2930 if test "${enable_dependency_tracking+set}" = set; then :
2931 enableval=$enable_dependency_tracking;
2934 if test "x$enable_dependency_tracking" != xno; then
2935 am_depcomp="$ac_aux_dir/depcomp"
2939 if test "x$enable_dependency_tracking" != xno; then
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2955 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_CC+:} false; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2992 if test -z "$ac_cv_prog_CC"; then
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_ac_ct_CC="gcc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3022 if test -n "$ac_ct_CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3024 $as_echo "$ac_ct_CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3030 if test "x$ac_ct_CC" = x; then
3033 case $cross_compiling:$ac_tool_warned in
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned=yes ;;
3045 if test -z "$CC"; then
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3048 set dummy ${ac_tool_prefix}cc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_CC+:} false; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_CC="${ac_tool_prefix}cc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3086 if test -z "$CC"; then
3087 # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_CC+:} false; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106 ac_prog_rejected=yes
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 if test $ac_prog_rejected = yes; then
3118 # We found a bogon in the path, so make sure we never use it.
3119 set dummy $ac_cv_prog_CC
3121 if test $# != 0; then
3122 # We chose a different compiler from the bogus one.
3123 # However, it has the same basename, so the bogon will be chosen
3124 # first if we set CC to just the basename; use the full file name.
3126 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3132 if test -n "$CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134 $as_echo "$CC" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3144 for ac_prog in cl.exe
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_CC+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3183 test -n "$CC" && break
3186 if test -z "$CC"; then
3188 for ac_prog in cl.exe
3190 # Extract the first word of "$ac_prog", so it can be a program name with args.
3191 set dummy $ac_prog; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$ac_ct_CC"; then
3198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3207 ac_cv_prog_ac_ct_CC="$ac_prog"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3227 test -n "$ac_ct_CC" && break
3230 if test "x$ac_ct_CC" = x; then
3233 case $cross_compiling:$ac_tool_warned in
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237 ac_tool_warned=yes ;;
3246 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $? "no acceptable C compiler found in \$PATH
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 # Provide some information about the compiler.
3252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3255 for ac_option in --version -v -V -qversion; do
3256 { { ac_try="$ac_compiler $ac_option >&5"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3265 if test -s conftest.err; then
3267 ... rest of stderr output deleted ...
3268 10q' conftest.err >conftest.er1
3269 cat conftest.er1 >&5
3271 rm -f conftest.er1 conftest.err
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 ac_clean_files_save=$ac_clean_files
3288 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3289 # Try to create an executable without -o first, disregard a.out.
3290 # It will help us diagnose broken compilers, and finding out an intuition
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3293 $as_echo_n "checking whether the C compiler works... " >&6; }
3294 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3296 # The possible output files:
3297 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3300 for ac_file in $ac_files
3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3304 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3309 if { { ac_try="$ac_link_default"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_link_default") 2>&5
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; then :
3320 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3321 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3322 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3323 # so that the user can short-circuit this test for compilers unknown to
3325 for ac_file in $ac_files ''
3327 test -f "$ac_file" || continue
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3332 # We found the default executable, but exeext='' is most
3336 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3340 # We set ac_cv_exeext here because the later test for it is not
3341 # safe: cross compilers may not add the suffix if given an `-o'
3342 # argument, so we may need to know it at that point already.
3343 # Even if this section looks crufty: it has the advantage of
3350 test "$ac_cv_exeext" = no && ac_cv_exeext=
3355 if test -z "$ac_file"; then :
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error 77 "C compiler cannot create executables
3364 See \`config.log' for more details" "$LINENO" 5; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3367 $as_echo "yes" >&6; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3370 $as_echo_n "checking for C compiler default output file name... " >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3372 $as_echo "$ac_file" >&6; }
3373 ac_exeext=$ac_cv_exeext
3375 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3376 ac_clean_files=$ac_clean_files_save
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3378 $as_echo_n "checking for suffix of executables... " >&6; }
3379 if { { ac_try="$ac_link"
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link") 2>&5
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }; then :
3390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3392 # work properly (i.e., refer to `conftest.exe'), while it won't with
3394 for ac_file in conftest.exe conftest conftest.*; do
3395 test -f "$ac_file" || continue
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3398 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3407 See \`config.log' for more details" "$LINENO" 5; }
3409 rm -f conftest conftest$ac_cv_exeext
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3411 $as_echo "$ac_cv_exeext" >&6; }
3413 rm -f conftest.$ac_ext
3414 EXEEXT=$ac_cv_exeext
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3422 FILE *f = fopen ("conftest.out", "w");
3423 return ferror (f) || fclose (f) != 0;
3429 ac_clean_files="$ac_clean_files conftest.out"
3430 # Check that the compiler produces executables we can run. If not, either
3431 # the compiler is broken, or we cross compile.
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3433 $as_echo_n "checking whether we are cross compiling... " >&6; }
3434 if test "$cross_compiling" != yes; then
3435 { { ac_try="$ac_link"
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442 (eval "$ac_link") 2>&5
3444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445 test $ac_status = 0; }
3446 if { ac_try='./conftest$ac_cv_exeext'
3447 { { case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_try") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; }; then
3459 if test "$cross_compiling" = maybe; then
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot run C compiled programs.
3465 If you meant to cross compile, use \`--host'.
3466 See \`config.log' for more details" "$LINENO" 5; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3471 $as_echo "$cross_compiling" >&6; }
3473 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3474 ac_clean_files=$ac_clean_files_save
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3476 $as_echo_n "checking for suffix of object files... " >&6; }
3477 if ${ac_cv_objext+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 rm -f conftest.o conftest.obj
3492 if { { ac_try="$ac_compile"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498 $as_echo "$ac_try_echo"; } >&5
3499 (eval "$ac_compile") 2>&5
3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502 test $ac_status = 0; }; then :
3503 for ac_file in conftest.o conftest.obj conftest.*; do
3504 test -f "$ac_file" || continue;
3506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3507 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3512 $as_echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517 as_fn_error $? "cannot compute suffix of object files: cannot compile
3518 See \`config.log' for more details" "$LINENO" 5; }
3520 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3523 $as_echo "$ac_cv_objext" >&6; }
3524 OBJEXT=$ac_cv_objext
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3528 if ${ac_cv_c_compiler_gnu+:} false; then :
3529 $as_echo_n "(cached) " >&6
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3556 if test $ac_compiler_gnu = yes; then
3561 ac_test_CFLAGS=${CFLAGS+set}
3562 ac_save_CFLAGS=$CFLAGS
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3565 if ${ac_cv_prog_cc_g+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 ac_save_c_werror_flag=$ac_c_werror_flag
3569 ac_c_werror_flag=yes
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_c_werror_flag=$ac_save_c_werror_flag
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 ac_c_werror_flag=$ac_save_c_werror_flag
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3625 $as_echo "$ac_cv_prog_cc_g" >&6; }
3626 if test "$ac_test_CFLAGS" = set; then
3627 CFLAGS=$ac_save_CFLAGS
3628 elif test $ac_cv_prog_cc_g = yes; then
3629 if test "$GCC" = yes; then
3635 if test "$GCC" = yes; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3643 if ${ac_cv_prog_cc_c89+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 ac_cv_prog_cc_c89=no
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3654 struct buf { int x; };
3655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3656 static char *e (p, i)
3662 static char *f (char * (*g) (char **, int), char **p, ...)
3667 s = g (p, va_arg (v,int));
3672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3673 function prototypes and stuff, but not '\xHH' hex character constants.
3674 These don't provoke an error unfortunately, instead are silently treated
3675 as 'x'. The following induces an error, until -std is added to get
3676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3677 array size at least. It's necessary to write '\x00'==0 to get something
3678 that's true only with -std. */
3679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3682 inside strings and character constants. */
3684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3686 int test (int i, double x);
3687 struct s1 {int (*f) (int a);};
3688 struct s2 {int (*f) (double a);};
3689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3703 CC="$ac_save_CC $ac_arg"
3704 if ac_fn_c_try_compile "$LINENO"; then :
3705 ac_cv_prog_cc_c89=$ac_arg
3707 rm -f core conftest.err conftest.$ac_objext
3708 test "x$ac_cv_prog_cc_c89" != "xno" && break
3710 rm -f conftest.$ac_ext
3715 case "x$ac_cv_prog_cc_c89" in
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3718 $as_echo "none needed" >&6; } ;;
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3721 $as_echo "unsupported" >&6; } ;;
3723 CC="$CC $ac_cv_prog_cc_c89"
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3727 if test "x$ac_cv_prog_cc_c89" != xno; then :
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3743 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3744 if ${am_cv_prog_cc_c_o+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3758 # Make sure it works both with $CC and with simple cc.
3759 # Following AC_PROG_CC_C_O, we do the test twice because some
3760 # compilers refuse to overwrite an existing .o file with -o,
3761 # though they will create one.
3762 am_cv_prog_cc_c_o=yes
3764 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3765 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } \
3769 && test -f conftest2.$ac_objext; then
3772 am_cv_prog_cc_c_o=no
3776 rm -f core conftest*
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3780 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3781 if test "$am_cv_prog_cc_c_o" != yes; then
3782 # Losing compiler, so override with the script.
3783 # FIXME: It is wrong to rewrite CC.
3784 # But if we don't then we get into trouble of one sort or another.
3785 # A longer-term fix would be to have automake use am__CC in this case,
3786 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3787 CC="$am_aux_dir/compile $CC"
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3796 depcc="$CC" am_compiler_list=
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804 # We make a subdir and do the tests there. Otherwise we can end up
3805 # making bogus files that we don't know about and never remove. For
3806 # instance it was reported that on HP-UX the gcc test will end up
3807 # making a dummy file named 'D' -- because '-MD' means "put the output
3811 # Copy depcomp to subdir because otherwise we won't find it if we're
3812 # using a relative directory.
3813 cp "$am_depcomp" conftest.dir
3815 # We will build objects and dependencies in a subdirectory because
3816 # it helps to detect inapplicable dependency modes. For instance
3817 # both Tru64's cc and ICC support -MD to output dependencies as a
3818 # side effect of compilation, but ICC will put the dependencies in
3819 # the current directory while Tru64 will put them in the object
3823 am_cv_CC_dependencies_compiler_type=none
3824 if test "$am_compiler_list" = ""; then
3825 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3828 case " $depcc " in #(
3829 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3832 for depmode in $am_compiler_list; do
3833 # Setup a source with many dependencies, because some compilers
3834 # like to wrap large dependency lists on column 80 (with \), and
3835 # we should not choose a depcomp mode which is confused by this.
3837 # We need to recreate these files for each test, as the compiler may
3838 # overwrite some of them when testing with obscure command lines.
3839 # This happens at least with the AIX C compiler.
3841 for i in 1 2 3 4 5 6; do
3842 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3843 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3844 # Solaris 10 /bin/sh.
3845 echo '/* dummy */' > sub/conftst$i.h
3847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3849 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3850 # mode. It turns out that the SunPro C++ compiler does not properly
3851 # handle '-M -o', and we need to detect this. Also, some Intel
3852 # versions had trouble with output in subdirs.
3853 am__obj=sub/conftest.${OBJEXT-o}
3854 am__minus_obj="-o $am__obj"
3857 # This depmode causes a compiler race in universal mode.
3858 test "$am__universal" = false || continue
3861 # After this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested.
3863 if test "x$enable_dependency_tracking" = xyes; then
3869 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3870 # This compiler won't grok '-c -o', but also, the minuso test has
3871 # not run yet. These depmodes are late enough in the game, and
3872 # so weak that their functioning should not be impacted.
3873 am__obj=conftest.${OBJEXT-o}
3878 if depmode=$depmode \
3879 source=sub/conftest.c object=$am__obj \
3880 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3881 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3882 >/dev/null 2>conftest.err &&
3883 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3884 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3885 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3886 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3887 # icc doesn't choke on unknown options, it will just issue warnings
3888 # or remarks (even with -Werror). So we grep stderr for any message
3889 # that says an option was ignored or not supported.
3890 # When given -MP, icc 7.0 and 7.1 complain thusly:
3891 # icc: Command line warning: ignoring option '-M'; no argument required
3892 # The diagnosis changed in icc 8.0:
3893 # icc: Command line remark: option '-MP' not supported
3894 if (grep 'ignoring option' conftest.err ||
3895 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3896 am_cv_CC_dependencies_compiler_type=$depmode
3905 am_cv_CC_dependencies_compiler_type=none
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3911 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3914 test "x$enable_dependency_tracking" != xno \
3915 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3917 am__fastdepCC_FALSE='#'
3919 am__fastdepCC_TRUE='#'
3920 am__fastdepCC_FALSE=
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3931 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3932 # On Suns, sometimes $CPP names a directory.
3933 if test -n "$CPP" && test -d "$CPP"; then
3936 if test -z "$CPP"; then
3937 if ${ac_cv_prog_CPP+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 # Double quotes because CPP needs to be expanded
3941 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3944 for ac_c_preproc_warn_flag in '' yes
3946 # Use a header file that comes with gcc, so configuring glibc
3947 # with a fresh cross-compiler works.
3948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3949 # <limits.h> exists even on freestanding compilers.
3950 # On the NeXT, cc -E runs the code through the compiler's parser,
3951 # not just through cpp. "Syntax error" is here to catch this case.
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3955 # include <limits.h>
3957 # include <assert.h>
3961 if ac_fn_c_try_cpp "$LINENO"; then :
3964 # Broken: fails on valid input.
3967 rm -f conftest.err conftest.i conftest.$ac_ext
3969 # OK, works on sane cases. Now check whether nonexistent headers
3970 # can be detected and how.
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3973 #include <ac_nonexistent.h>
3975 if ac_fn_c_try_cpp "$LINENO"; then :
3976 # Broken: success on invalid input.
3979 # Passes both tests.
3983 rm -f conftest.err conftest.i conftest.$ac_ext
3986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3987 rm -f conftest.i conftest.err conftest.$ac_ext
3988 if $ac_preproc_ok; then :
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4001 $as_echo "$CPP" >&6; }
4003 for ac_c_preproc_warn_flag in '' yes
4005 # Use a header file that comes with gcc, so configuring glibc
4006 # with a fresh cross-compiler works.
4007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4008 # <limits.h> exists even on freestanding compilers.
4009 # On the NeXT, cc -E runs the code through the compiler's parser,
4010 # not just through cpp. "Syntax error" is here to catch this case.
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4014 # include <limits.h>
4016 # include <assert.h>
4020 if ac_fn_c_try_cpp "$LINENO"; then :
4023 # Broken: fails on valid input.
4026 rm -f conftest.err conftest.i conftest.$ac_ext
4028 # OK, works on sane cases. Now check whether nonexistent headers
4029 # can be detected and how.
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4032 #include <ac_nonexistent.h>
4034 if ac_fn_c_try_cpp "$LINENO"; then :
4035 # Broken: success on invalid input.
4038 # Passes both tests.
4042 rm -f conftest.err conftest.i conftest.$ac_ext
4045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4046 rm -f conftest.i conftest.err conftest.$ac_ext
4047 if $ac_preproc_ok; then :
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4053 See \`config.log' for more details" "$LINENO" 5; }
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4065 if ${ac_cv_path_GREP+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -z "$GREP"; then
4069 ac_path_GREP_found=false
4070 # Loop through the user's path and test for each of PROGNAME-LIST
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4075 test -z "$as_dir" && as_dir=.
4076 for ac_prog in grep ggrep; do
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4079 as_fn_executable_p "$ac_path_GREP" || continue
4080 # Check for GNU ac_path_GREP and select it if it is found.
4081 # Check for GNU $ac_path_GREP
4082 case `"$ac_path_GREP" --version 2>&1` in
4084 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4087 $as_echo_n 0123456789 >"conftest.in"
4090 cat "conftest.in" "conftest.in" >"conftest.tmp"
4091 mv "conftest.tmp" "conftest.in"
4092 cp "conftest.in" "conftest.nl"
4093 $as_echo 'GREP' >> "conftest.nl"
4094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4096 as_fn_arith $ac_count + 1 && ac_count=$as_val
4097 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4098 # Best one so far, save it but keep looking for a better one
4099 ac_cv_path_GREP="$ac_path_GREP"
4100 ac_path_GREP_max=$ac_count
4102 # 10*(2^10) chars as input seems more than enough
4103 test $ac_count -gt 10 && break
4105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4108 $ac_path_GREP_found && break 3
4113 if test -z "$ac_cv_path_GREP"; then
4114 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4117 ac_cv_path_GREP=$GREP
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4122 $as_echo "$ac_cv_path_GREP" >&6; }
4123 GREP="$ac_cv_path_GREP"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4127 $as_echo_n "checking for egrep... " >&6; }
4128 if ${ac_cv_path_EGREP+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4132 then ac_cv_path_EGREP="$GREP -E"
4134 if test -z "$EGREP"; then
4135 ac_path_EGREP_found=false
4136 # Loop through the user's path and test for each of PROGNAME-LIST
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4141 test -z "$as_dir" && as_dir=.
4142 for ac_prog in egrep; do
4143 for ac_exec_ext in '' $ac_executable_extensions; do
4144 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4145 as_fn_executable_p "$ac_path_EGREP" || continue
4146 # Check for GNU ac_path_EGREP and select it if it is found.
4147 # Check for GNU $ac_path_EGREP
4148 case `"$ac_path_EGREP" --version 2>&1` in
4150 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4153 $as_echo_n 0123456789 >"conftest.in"
4156 cat "conftest.in" "conftest.in" >"conftest.tmp"
4157 mv "conftest.tmp" "conftest.in"
4158 cp "conftest.in" "conftest.nl"
4159 $as_echo 'EGREP' >> "conftest.nl"
4160 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4162 as_fn_arith $ac_count + 1 && ac_count=$as_val
4163 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4164 # Best one so far, save it but keep looking for a better one
4165 ac_cv_path_EGREP="$ac_path_EGREP"
4166 ac_path_EGREP_max=$ac_count
4168 # 10*(2^10) chars as input seems more than enough
4169 test $ac_count -gt 10 && break
4171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4174 $ac_path_EGREP_found && break 3
4179 if test -z "$ac_cv_path_EGREP"; then
4180 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4183 ac_cv_path_EGREP=$EGREP
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4189 $as_echo "$ac_cv_path_EGREP" >&6; }
4190 EGREP="$ac_cv_path_EGREP"
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4194 $as_echo_n "checking for ANSI C header files... " >&6; }
4195 if ${ac_cv_header_stdc+:} false; then :
4196 $as_echo_n "(cached) " >&6
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4213 if ac_fn_c_try_compile "$LINENO"; then :
4214 ac_cv_header_stdc=yes
4216 ac_cv_header_stdc=no
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 if test $ac_cv_header_stdc = yes; then
4221 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4228 $EGREP "memchr" >/dev/null 2>&1; then :
4231 ac_cv_header_stdc=no
4237 if test $ac_cv_header_stdc = yes; then
4238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4245 $EGREP "free" >/dev/null 2>&1; then :
4248 ac_cv_header_stdc=no
4254 if test $ac_cv_header_stdc = yes; then
4255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4256 if test "$cross_compiling" = yes; then :
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 #if ((' ' & 0x0FF) == 0x020)
4264 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4265 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4267 # define ISLOWER(c) \
4268 (('a' <= (c) && (c) <= 'i') \
4269 || ('j' <= (c) && (c) <= 'r') \
4270 || ('s' <= (c) && (c) <= 'z'))
4271 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4274 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4279 for (i = 0; i < 256; i++)
4280 if (XOR (islower (i), ISLOWER (i))
4281 || toupper (i) != TOUPPER (i))
4286 if ac_fn_c_try_run "$LINENO"; then :
4289 ac_cv_header_stdc=no
4291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4292 conftest.$ac_objext conftest.beam conftest.$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4298 $as_echo "$ac_cv_header_stdc" >&6; }
4299 if test $ac_cv_header_stdc = yes; then
4301 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4305 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4306 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4307 inttypes.h stdint.h unistd.h
4309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4313 cat >>confdefs.h <<_ACEOF
4314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4323 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4324 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4331 if test "$MINIX" = yes; then
4333 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4336 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4339 $as_echo "#define _MINIX 1" >>confdefs.h
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4345 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4346 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4347 $as_echo_n "(cached) " >&6
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4352 # define __EXTENSIONS__ 1
4353 $ac_includes_default
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_safe_to_define___extensions__=yes
4365 ac_cv_safe_to_define___extensions__=no
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4370 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4371 test $ac_cv_safe_to_define___extensions__ = yes &&
4372 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4374 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4376 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4378 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4380 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4391 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -n "$CC"; then
4398 ac_cv_prog_CC="$CC" # Let the user override the test.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 if test -n "$CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4420 $as_echo "$CC" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4428 if test -z "$ac_cv_prog_CC"; then
4430 # Extract the first word of "gcc", so it can be a program name with args.
4431 set dummy gcc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 if test -n "$ac_ct_CC"; then
4438 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_ac_ct_CC="gcc"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4458 if test -n "$ac_ct_CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4460 $as_echo "$ac_ct_CC" >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4466 if test "x$ac_ct_CC" = x; then
4469 case $cross_compiling:$ac_tool_warned in
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4473 ac_tool_warned=yes ;;
4481 if test -z "$CC"; then
4482 if test -n "$ac_tool_prefix"; then
4483 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4484 set dummy ${ac_tool_prefix}cc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_CC="${ac_tool_prefix}cc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4513 $as_echo "$CC" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4522 if test -z "$CC"; then
4523 # Extract the first word of "cc", so it can be a program name with args.
4524 set dummy cc; ac_word=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if ${ac_cv_prog_CC+:} false; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$CC"; then
4531 ac_cv_prog_CC="$CC" # Let the user override the test.
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 test -z "$as_dir" && as_dir=.
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4542 ac_prog_rejected=yes
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test $ac_prog_rejected = yes; then
4554 # We found a bogon in the path, so make sure we never use it.
4555 set dummy $ac_cv_prog_CC
4557 if test $# != 0; then
4558 # We chose a different compiler from the bogus one.
4559 # However, it has the same basename, so the bogon will be chosen
4560 # first if we set CC to just the basename; use the full file name.
4562 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4568 if test -n "$CC"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4570 $as_echo "$CC" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4578 if test -z "$CC"; then
4579 if test -n "$ac_tool_prefix"; then
4580 for ac_prog in cl.exe
4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4583 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_CC+:} false; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$CC"; then
4590 ac_cv_prog_CC="$CC" # Let the user override the test.
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 if test -n "$CC"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4612 $as_echo "$CC" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$CC" && break
4622 if test -z "$CC"; then
4624 for ac_prog in cl.exe
4626 # Extract the first word of "$ac_prog", so it can be a program name with args.
4627 set dummy $ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -n "$ac_ct_CC"; then
4634 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_ac_ct_CC="$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4654 if test -n "$ac_ct_CC"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4656 $as_echo "$ac_ct_CC" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$ac_ct_CC" && break
4666 if test "x$ac_ct_CC" = x; then
4669 case $cross_compiling:$ac_tool_warned in
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned=yes ;;
4682 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error $? "no acceptable C compiler found in \$PATH
4685 See \`config.log' for more details" "$LINENO" 5; }
4687 # Provide some information about the compiler.
4688 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4691 for ac_option in --version -v -V -qversion; do
4692 { { ac_try="$ac_compiler $ac_option >&5"
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4698 $as_echo "$ac_try_echo"; } >&5
4699 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4701 if test -s conftest.err; then
4703 ... rest of stderr output deleted ...
4704 10q' conftest.err >conftest.er1
4705 cat conftest.er1 >&5
4707 rm -f conftest.er1 conftest.err
4708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4709 test $ac_status = 0; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4713 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4714 if ${ac_cv_c_compiler_gnu+:} false; then :
4715 $as_echo_n "(cached) " >&6
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4731 if ac_fn_c_try_compile "$LINENO"; then :
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4741 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4742 if test $ac_compiler_gnu = yes; then
4747 ac_test_CFLAGS=${CFLAGS+set}
4748 ac_save_CFLAGS=$CFLAGS
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4750 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4751 if ${ac_cv_prog_cc_g+:} false; then :
4752 $as_echo_n "(cached) " >&6
4754 ac_save_c_werror_flag=$ac_c_werror_flag
4755 ac_c_werror_flag=yes
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4769 if ac_fn_c_try_compile "$LINENO"; then :
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4784 if ac_fn_c_try_compile "$LINENO"; then :
4787 ac_c_werror_flag=$ac_save_c_werror_flag
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4800 if ac_fn_c_try_compile "$LINENO"; then :
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 ac_c_werror_flag=$ac_save_c_werror_flag
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4811 $as_echo "$ac_cv_prog_cc_g" >&6; }
4812 if test "$ac_test_CFLAGS" = set; then
4813 CFLAGS=$ac_save_CFLAGS
4814 elif test $ac_cv_prog_cc_g = yes; then
4815 if test "$GCC" = yes; then
4821 if test "$GCC" = yes; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4828 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4829 if ${ac_cv_prog_cc_c89+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 ac_cv_prog_cc_c89=no
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4840 struct buf { int x; };
4841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4842 static char *e (p, i)
4848 static char *f (char * (*g) (char **, int), char **p, ...)
4853 s = g (p, va_arg (v,int));
4858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4859 function prototypes and stuff, but not '\xHH' hex character constants.
4860 These don't provoke an error unfortunately, instead are silently treated
4861 as 'x'. The following induces an error, until -std is added to get
4862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4863 array size at least. It's necessary to write '\x00'==0 to get something
4864 that's true only with -std. */
4865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4868 inside strings and character constants. */
4870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4872 int test (int i, double x);
4873 struct s1 {int (*f) (int a);};
4874 struct s2 {int (*f) (double a);};
4875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4889 CC="$ac_save_CC $ac_arg"
4890 if ac_fn_c_try_compile "$LINENO"; then :
4891 ac_cv_prog_cc_c89=$ac_arg
4893 rm -f core conftest.err conftest.$ac_objext
4894 test "x$ac_cv_prog_cc_c89" != "xno" && break
4896 rm -f conftest.$ac_ext
4901 case "x$ac_cv_prog_cc_c89" in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4904 $as_echo "none needed" >&6; } ;;
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4907 $as_echo "unsupported" >&6; } ;;
4909 CC="$CC $ac_cv_prog_cc_c89"
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4911 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4913 if test "x$ac_cv_prog_cc_c89" != xno; then :
4918 ac_cpp='$CPP $CPPFLAGS'
4919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4929 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4930 if ${am_cv_prog_cc_c_o+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4944 # Make sure it works both with $CC and with simple cc.
4945 # Following AC_PROG_CC_C_O, we do the test twice because some
4946 # compilers refuse to overwrite an existing .o file with -o,
4947 # though they will create one.
4948 am_cv_prog_cc_c_o=yes
4950 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4951 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } \
4955 && test -f conftest2.$ac_objext; then
4958 am_cv_prog_cc_c_o=no
4962 rm -f core conftest*
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4966 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4967 if test "$am_cv_prog_cc_c_o" != yes; then
4968 # Losing compiler, so override with the script.
4969 # FIXME: It is wrong to rewrite CC.
4970 # But if we don't then we get into trouble of one sort or another.
4971 # A longer-term fix would be to have automake use am__CC in this case,
4972 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4973 CC="$am_aux_dir/compile $CC"
4976 ac_cpp='$CPP $CPPFLAGS'
4977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4982 depcc="$CC" am_compiler_list=
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4985 $as_echo_n "checking dependency style of $depcc... " >&6; }
4986 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4990 # We make a subdir and do the tests there. Otherwise we can end up
4991 # making bogus files that we don't know about and never remove. For
4992 # instance it was reported that on HP-UX the gcc test will end up
4993 # making a dummy file named 'D' -- because '-MD' means "put the output
4997 # Copy depcomp to subdir because otherwise we won't find it if we're
4998 # using a relative directory.
4999 cp "$am_depcomp" conftest.dir
5001 # We will build objects and dependencies in a subdirectory because
5002 # it helps to detect inapplicable dependency modes. For instance
5003 # both Tru64's cc and ICC support -MD to output dependencies as a
5004 # side effect of compilation, but ICC will put the dependencies in
5005 # the current directory while Tru64 will put them in the object
5009 am_cv_CC_dependencies_compiler_type=none
5010 if test "$am_compiler_list" = ""; then
5011 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5014 case " $depcc " in #(
5015 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5018 for depmode in $am_compiler_list; do
5019 # Setup a source with many dependencies, because some compilers
5020 # like to wrap large dependency lists on column 80 (with \), and
5021 # we should not choose a depcomp mode which is confused by this.
5023 # We need to recreate these files for each test, as the compiler may
5024 # overwrite some of them when testing with obscure command lines.
5025 # This happens at least with the AIX C compiler.
5027 for i in 1 2 3 4 5 6; do
5028 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5029 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5030 # Solaris 10 /bin/sh.
5031 echo '/* dummy */' > sub/conftst$i.h
5033 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5035 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5036 # mode. It turns out that the SunPro C++ compiler does not properly
5037 # handle '-M -o', and we need to detect this. Also, some Intel
5038 # versions had trouble with output in subdirs.
5039 am__obj=sub/conftest.${OBJEXT-o}
5040 am__minus_obj="-o $am__obj"
5043 # This depmode causes a compiler race in universal mode.
5044 test "$am__universal" = false || continue
5047 # After this tag, mechanisms are not by side-effect, so they'll
5048 # only be used when explicitly requested.
5049 if test "x$enable_dependency_tracking" = xyes; then
5055 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5056 # This compiler won't grok '-c -o', but also, the minuso test has
5057 # not run yet. These depmodes are late enough in the game, and
5058 # so weak that their functioning should not be impacted.
5059 am__obj=conftest.${OBJEXT-o}
5064 if depmode=$depmode \
5065 source=sub/conftest.c object=$am__obj \
5066 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5067 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5068 >/dev/null 2>conftest.err &&
5069 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5070 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5071 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5072 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5073 # icc doesn't choke on unknown options, it will just issue warnings
5074 # or remarks (even with -Werror). So we grep stderr for any message
5075 # that says an option was ignored or not supported.
5076 # When given -MP, icc 7.0 and 7.1 complain thusly:
5077 # icc: Command line warning: ignoring option '-M'; no argument required
5078 # The diagnosis changed in icc 8.0:
5079 # icc: Command line remark: option '-MP' not supported
5080 if (grep 'ignoring option' conftest.err ||
5081 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5082 am_cv_CC_dependencies_compiler_type=$depmode
5091 am_cv_CC_dependencies_compiler_type=none
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5096 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5097 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5100 test "x$enable_dependency_tracking" != xno \
5101 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5103 am__fastdepCC_FALSE='#'
5105 am__fastdepCC_TRUE='#'
5106 am__fastdepCC_FALSE=
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5111 $as_echo_n "checking whether ln -s works... " >&6; }
5113 if test "$LN_S" = "ln -s"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5115 $as_echo "yes" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5118 $as_echo "no, using $LN_S" >&6; }
5122 # Check whether --enable-largefile was given.
5123 if test "${enable_largefile+set}" = set; then :
5124 enableval=$enable_largefile;
5127 if test "$enable_largefile" != no; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5130 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5131 if ${ac_cv_sys_largefile_CC+:} false; then :
5132 $as_echo_n "(cached) " >&6
5134 ac_cv_sys_largefile_CC=no
5135 if test "$GCC" != yes; then
5138 # IRIX 6.2 and later do not support large files by default,
5139 # so use the C compiler's -n32 option if that helps.
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5142 #include <sys/types.h>
5143 /* Check that off_t can represent 2**63 - 1 correctly.
5144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5145 since some C++ compilers masquerading as C compilers
5146 incorrectly reject 9223372036854775807. */
5147 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5149 && LARGE_OFF_T % 2147483647 == 1)
5159 if ac_fn_c_try_compile "$LINENO"; then :
5162 rm -f core conftest.err conftest.$ac_objext
5164 if ac_fn_c_try_compile "$LINENO"; then :
5165 ac_cv_sys_largefile_CC=' -n32'; break
5167 rm -f core conftest.err conftest.$ac_objext
5171 rm -f conftest.$ac_ext
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5175 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5176 if test "$ac_cv_sys_largefile_CC" != no; then
5177 CC=$CC$ac_cv_sys_largefile_CC
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5181 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5182 if ${ac_cv_sys_file_offset_bits+:} false; then :
5183 $as_echo_n "(cached) " >&6
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 #include <sys/types.h>
5189 /* Check that off_t can represent 2**63 - 1 correctly.
5190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5191 since some C++ compilers masquerading as C compilers
5192 incorrectly reject 9223372036854775807. */
5193 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5195 && LARGE_OFF_T % 2147483647 == 1)
5205 if ac_fn_c_try_compile "$LINENO"; then :
5206 ac_cv_sys_file_offset_bits=no; break
5208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5211 #define _FILE_OFFSET_BITS 64
5212 #include <sys/types.h>
5213 /* Check that off_t can represent 2**63 - 1 correctly.
5214 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5215 since some C++ compilers masquerading as C compilers
5216 incorrectly reject 9223372036854775807. */
5217 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5218 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5219 && LARGE_OFF_T % 2147483647 == 1)
5229 if ac_fn_c_try_compile "$LINENO"; then :
5230 ac_cv_sys_file_offset_bits=64; break
5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5233 ac_cv_sys_file_offset_bits=unknown
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5238 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5239 case $ac_cv_sys_file_offset_bits in #(
5242 cat >>confdefs.h <<_ACEOF
5243 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5248 if test $ac_cv_sys_file_offset_bits = unknown; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5250 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5251 if ${ac_cv_sys_large_files+:} false; then :
5252 $as_echo_n "(cached) " >&6
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5257 #include <sys/types.h>
5258 /* Check that off_t can represent 2**63 - 1 correctly.
5259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5260 since some C++ compilers masquerading as C compilers
5261 incorrectly reject 9223372036854775807. */
5262 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5264 && LARGE_OFF_T % 2147483647 == 1)
5274 if ac_fn_c_try_compile "$LINENO"; then :
5275 ac_cv_sys_large_files=no; break
5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5280 #define _LARGE_FILES 1
5281 #include <sys/types.h>
5282 /* Check that off_t can represent 2**63 - 1 correctly.
5283 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5284 since some C++ compilers masquerading as C compilers
5285 incorrectly reject 9223372036854775807. */
5286 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5287 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5288 && LARGE_OFF_T % 2147483647 == 1)
5298 if ac_fn_c_try_compile "$LINENO"; then :
5299 ac_cv_sys_large_files=1; break
5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5302 ac_cv_sys_large_files=unknown
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5307 $as_echo "$ac_cv_sys_large_files" >&6; }
5308 case $ac_cv_sys_large_files in #(
5311 cat >>confdefs.h <<_ACEOF
5312 #define _LARGE_FILES $ac_cv_sys_large_files
5336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5339 cat >>confdefs.h <<_ACEOF
5340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5348 for ac_header in endian.h sys/endian.h libkern/OSByteOrder.h
5350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5353 cat >>confdefs.h <<_ACEOF
5354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5362 for ac_func in vasprintf
5364 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
5365 if test "x$ac_cv_func_vasprintf" = xyes; then :
5366 cat >>confdefs.h <<_ACEOF
5367 #define HAVE_VASPRINTF 1
5374 ac_fn_c_check_decl "$LINENO" "getmntent" "ac_cv_have_decl_getmntent" "#include <mntent.h>
5376 if test "x$ac_cv_have_decl_getmntent" = xyes; then :
5382 cat >>confdefs.h <<_ACEOF
5383 #define HAVE_DECL_GETMNTENT $ac_have_decl
5386 ac_fn_c_check_decl "$LINENO" "getmntinfo" "ac_cv_have_decl_getmntinfo" "#include <sys/mount.h>
5388 if test "x$ac_cv_have_decl_getmntinfo" = xyes; then :
5394 cat >>confdefs.h <<_ACEOF
5395 #define HAVE_DECL_GETMNTINFO $ac_have_decl
5399 # optional iconv support
5401 # Check whether --with-iconv was given.
5402 if test "${with_iconv+set}" = set; then :
5403 withval=$with_iconv;
5406 if test "x$with_iconv" != "xno"; then
5407 # Make sure we can run config.sub.
5408 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5409 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5412 $as_echo_n "checking build system type... " >&6; }
5413 if ${ac_cv_build+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 ac_build_alias=$build_alias
5417 test "x$ac_build_alias" = x &&
5418 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5419 test "x$ac_build_alias" = x &&
5420 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5421 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5422 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5426 $as_echo "$ac_cv_build" >&6; }
5427 case $ac_cv_build in
5429 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5432 ac_save_IFS=$IFS; IFS='-'
5438 # Remember, the first character of IFS is used to create $*,
5439 # except with old shells:
5442 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5446 $as_echo_n "checking host system type... " >&6; }
5447 if ${ac_cv_host+:} false; then :
5448 $as_echo_n "(cached) " >&6
5450 if test "x$host_alias" = x; then
5451 ac_cv_host=$ac_cv_build
5453 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5454 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5459 $as_echo "$ac_cv_host" >&6; }
5462 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5465 ac_save_IFS=$IFS; IFS='-'
5471 # Remember, the first character of IFS is used to create $*,
5472 # except with old shells:
5475 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5479 if test "X$prefix" = "XNONE"; then
5480 acl_final_prefix="$ac_default_prefix"
5482 acl_final_prefix="$prefix"
5484 if test "X$exec_prefix" = "XNONE"; then
5485 acl_final_exec_prefix='${prefix}'
5487 acl_final_exec_prefix="$exec_prefix"
5489 acl_save_prefix="$prefix"
5490 prefix="$acl_final_prefix"
5491 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5492 prefix="$acl_save_prefix"
5496 # Check whether --with-gnu-ld was given.
5497 if test "${with_gnu_ld+set}" = set; then :
5498 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5503 # Prepare PATH_SEPARATOR.
5504 # The user is always right.
5505 if test "${PATH_SEPARATOR+set}" != set; then
5506 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5507 # contains only /bin. Note that ksh looks also at the FPATH variable,
5508 # so we have to set that as well for the test.
5510 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5511 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5512 || PATH_SEPARATOR=';'
5517 if test "$GCC" = yes; then
5518 # Check if gcc -print-prog-name=ld gives a path.
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5520 $as_echo_n "checking for ld used by $CC... " >&6; }
5523 # gcc leaves a trailing carriage return which upsets mingw
5524 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5526 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5529 # Accept absolute paths.
5531 re_direlt='/[^/][^/]*/\.\./'
5532 # Canonicalize the pathname of ld
5533 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5534 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5535 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5537 test -z "$LD" && LD="$ac_prog"
5540 # If it fails, then pretend we aren't using GCC.
5544 # If it is relative, then search for the first ld in PATH.
5548 elif test "$with_gnu_ld" = yes; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5550 $as_echo_n "checking for GNU ld... " >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5553 $as_echo_n "checking for non-GNU ld... " >&6; }
5555 if ${acl_cv_path_LD+:} false; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -z "$LD"; then
5559 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5560 for ac_dir in $PATH; do
5562 test -z "$ac_dir" && ac_dir=.
5563 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5564 acl_cv_path_LD="$ac_dir/$ac_prog"
5565 # Check to see if the program is GNU ld. I'd rather use --version,
5566 # but apparently some variants of GNU ld only accept -v.
5567 # Break only if it was the GNU/non-GNU ld that we prefer.
5568 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5569 *GNU* | *'with BFD'*)
5570 test "$with_gnu_ld" != no && break
5573 test "$with_gnu_ld" != yes && break
5580 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5584 LD="$acl_cv_path_LD"
5585 if test -n "$LD"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5587 $as_echo "$LD" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5592 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5594 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5595 if ${acl_cv_prog_gnu_ld+:} false; then :
5596 $as_echo_n "(cached) " >&6
5598 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5599 case `$LD -v 2>&1 </dev/null` in
5600 *GNU* | *'with BFD'*)
5601 acl_cv_prog_gnu_ld=yes
5604 acl_cv_prog_gnu_ld=no
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5609 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5610 with_gnu_ld=$acl_cv_prog_gnu_ld
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5616 $as_echo_n "checking for shared library run path origin... " >&6; }
5617 if ${acl_cv_rpath+:} false; then :
5618 $as_echo_n "(cached) " >&6
5621 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5622 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5629 $as_echo "$acl_cv_rpath" >&6; }
5631 acl_libext="$acl_cv_libext"
5632 acl_shlibext="$acl_cv_shlibext"
5633 acl_libname_spec="$acl_cv_libname_spec"
5634 acl_library_names_spec="$acl_cv_library_names_spec"
5635 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5636 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5637 acl_hardcode_direct="$acl_cv_hardcode_direct"
5638 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5639 # Check whether --enable-rpath was given.
5640 if test "${enable_rpath+set}" = set; then :
5641 enableval=$enable_rpath; :
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5654 $as_echo_n "checking for 64-bit host... " >&6; }
5655 if ${gl_cv_solaris_64bit+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5667 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5668 gl_cv_solaris_64bit=yes
5670 gl_cv_solaris_64bit=no
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5677 $as_echo "$gl_cv_solaris_64bit" >&6; }
5678 if test $gl_cv_solaris_64bit = yes; then
5679 acl_libdirstem=lib/64
5681 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5682 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5687 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5688 if test -n "$searchpath"; then
5689 acl_save_IFS="${IFS= }"; IFS=":"
5690 for searchdir in $searchpath; do
5691 if test -d "$searchdir"; then
5692 case "$searchdir" in
5693 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5695 # Better ignore directories of this form. They are misleading.
5697 *) searchdir=`cd "$searchdir" && pwd`
5698 case "$searchdir" in
5699 */lib64 ) acl_libdirstem=lib64 ;;
5708 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5723 acl_save_prefix="$prefix"
5724 prefix="$acl_final_prefix"
5725 acl_save_exec_prefix="$exec_prefix"
5726 exec_prefix="$acl_final_exec_prefix"
5728 eval additional_includedir=\"$includedir\"
5729 eval additional_libdir=\"$libdir\"
5731 exec_prefix="$acl_save_exec_prefix"
5732 prefix="$acl_save_prefix"
5735 # Check whether --with-libiconv-prefix was given.
5736 if test "${with_libiconv_prefix+set}" = set; then :
5737 withval=$with_libiconv_prefix;
5738 if test "X$withval" = "Xno"; then
5741 if test "X$withval" = "X"; then
5743 acl_save_prefix="$prefix"
5744 prefix="$acl_final_prefix"
5745 acl_save_exec_prefix="$exec_prefix"
5746 exec_prefix="$acl_final_exec_prefix"
5748 eval additional_includedir=\"$includedir\"
5749 eval additional_libdir=\"$libdir\"
5751 exec_prefix="$acl_save_exec_prefix"
5752 prefix="$acl_save_prefix"
5755 additional_includedir="$withval/include"
5756 additional_libdir="$withval/$acl_libdirstem"
5757 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5758 && ! test -d "$withval/$acl_libdirstem"; then
5759 additional_libdir="$withval/$acl_libdirstem2"
5773 names_already_handled=
5774 names_next_round='iconv '
5775 while test -n "$names_next_round"; do
5776 names_this_round="$names_next_round"
5778 for name in $names_this_round; do
5780 for n in $names_already_handled; do
5781 if test "$n" = "$name"; then
5786 if test -z "$already_handled"; then
5787 names_already_handled="$names_already_handled $name"
5788 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5789 eval value=\"\$HAVE_LIB$uppername\"
5790 if test -n "$value"; then
5791 if test "$value" = yes; then
5792 eval value=\"\$LIB$uppername\"
5793 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5794 eval value=\"\$LTLIB$uppername\"
5795 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5804 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5805 if test -n "$acl_shlibext"; then
5806 shrext=".$acl_shlibext" # typically: shrext=.so
5810 if test $use_additional = yes; then
5811 dir="$additional_libdir"
5812 if test -n "$acl_shlibext"; then
5813 if test -f "$dir/$libname$shrext"; then
5815 found_so="$dir/$libname$shrext"
5817 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5818 ver=`(cd "$dir" && \
5819 for f in "$libname$shrext".*; do echo "$f"; done \
5820 | sed -e "s,^$libname$shrext\\\\.,," \
5821 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5822 | sed 1q ) 2>/dev/null`
5823 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5825 found_so="$dir/$libname$shrext.$ver"
5828 eval library_names=\"$acl_library_names_spec\"
5829 for f in $library_names; do
5830 if test -f "$dir/$f"; then
5839 if test "X$found_dir" = "X"; then
5840 if test -f "$dir/$libname.$acl_libext"; then
5842 found_a="$dir/$libname.$acl_libext"
5845 if test "X$found_dir" != "X"; then
5846 if test -f "$dir/$libname.la"; then
5847 found_la="$dir/$libname.la"
5851 if test "X$found_dir" = "X"; then
5852 for x in $LDFLAGS $LTLIBICONV; do
5854 acl_save_prefix="$prefix"
5855 prefix="$acl_final_prefix"
5856 acl_save_exec_prefix="$exec_prefix"
5857 exec_prefix="$acl_final_exec_prefix"
5859 exec_prefix="$acl_save_exec_prefix"
5860 prefix="$acl_save_prefix"
5864 dir=`echo "X$x" | sed -e 's/^X-L//'`
5865 if test -n "$acl_shlibext"; then
5866 if test -f "$dir/$libname$shrext"; then
5868 found_so="$dir/$libname$shrext"
5870 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5871 ver=`(cd "$dir" && \
5872 for f in "$libname$shrext".*; do echo "$f"; done \
5873 | sed -e "s,^$libname$shrext\\\\.,," \
5874 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5875 | sed 1q ) 2>/dev/null`
5876 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5878 found_so="$dir/$libname$shrext.$ver"
5881 eval library_names=\"$acl_library_names_spec\"
5882 for f in $library_names; do
5883 if test -f "$dir/$f"; then
5892 if test "X$found_dir" = "X"; then
5893 if test -f "$dir/$libname.$acl_libext"; then
5895 found_a="$dir/$libname.$acl_libext"
5898 if test "X$found_dir" != "X"; then
5899 if test -f "$dir/$libname.la"; then
5900 found_la="$dir/$libname.la"
5905 if test "X$found_dir" != "X"; then
5910 if test "X$found_dir" != "X"; then
5911 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5912 if test "X$found_so" != "X"; then
5913 if test "$enable_rpath" = no \
5914 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5915 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5916 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5919 for x in $ltrpathdirs; do
5920 if test "X$x" = "X$found_dir"; then
5925 if test -z "$haveit"; then
5926 ltrpathdirs="$ltrpathdirs $found_dir"
5928 if test "$acl_hardcode_direct" = yes; then
5929 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5931 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5932 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5934 for x in $rpathdirs; do
5935 if test "X$x" = "X$found_dir"; then
5940 if test -z "$haveit"; then
5941 rpathdirs="$rpathdirs $found_dir"
5945 for x in $LDFLAGS $LIBICONV; do
5947 acl_save_prefix="$prefix"
5948 prefix="$acl_final_prefix"
5949 acl_save_exec_prefix="$exec_prefix"
5950 exec_prefix="$acl_final_exec_prefix"
5952 exec_prefix="$acl_save_exec_prefix"
5953 prefix="$acl_save_prefix"
5955 if test "X$x" = "X-L$found_dir"; then
5960 if test -z "$haveit"; then
5961 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5963 if test "$acl_hardcode_minus_L" != no; then
5964 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5966 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5972 if test "X$found_a" != "X"; then
5973 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5975 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5978 additional_includedir=
5979 case "$found_dir" in
5980 */$acl_libdirstem | */$acl_libdirstem/)
5981 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5982 if test "$name" = 'iconv'; then
5983 LIBICONV_PREFIX="$basedir"
5985 additional_includedir="$basedir/include"
5987 */$acl_libdirstem2 | */$acl_libdirstem2/)
5988 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5989 if test "$name" = 'iconv'; then
5990 LIBICONV_PREFIX="$basedir"
5992 additional_includedir="$basedir/include"
5995 if test "X$additional_includedir" != "X"; then
5996 if test "X$additional_includedir" != "X/usr/include"; then
5998 if test "X$additional_includedir" = "X/usr/local/include"; then
5999 if test -n "$GCC"; then
6001 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6005 if test -z "$haveit"; then
6006 for x in $CPPFLAGS $INCICONV; do
6008 acl_save_prefix="$prefix"
6009 prefix="$acl_final_prefix"
6010 acl_save_exec_prefix="$exec_prefix"
6011 exec_prefix="$acl_final_exec_prefix"
6013 exec_prefix="$acl_save_exec_prefix"
6014 prefix="$acl_save_prefix"
6016 if test "X$x" = "X-I$additional_includedir"; then
6021 if test -z "$haveit"; then
6022 if test -d "$additional_includedir"; then
6023 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6029 if test -n "$found_la"; then
6030 save_libdir="$libdir"
6032 */* | *\\*) . "$found_la" ;;
6033 *) . "./$found_la" ;;
6035 libdir="$save_libdir"
6036 for dep in $dependency_libs; do
6039 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6040 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6041 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6043 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6044 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6045 if test -n "$GCC"; then
6047 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6051 if test -z "$haveit"; then
6053 for x in $LDFLAGS $LIBICONV; do
6055 acl_save_prefix="$prefix"
6056 prefix="$acl_final_prefix"
6057 acl_save_exec_prefix="$exec_prefix"
6058 exec_prefix="$acl_final_exec_prefix"
6060 exec_prefix="$acl_save_exec_prefix"
6061 prefix="$acl_save_prefix"
6063 if test "X$x" = "X-L$additional_libdir"; then
6068 if test -z "$haveit"; then
6069 if test -d "$additional_libdir"; then
6070 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6074 for x in $LDFLAGS $LTLIBICONV; do
6076 acl_save_prefix="$prefix"
6077 prefix="$acl_final_prefix"
6078 acl_save_exec_prefix="$exec_prefix"
6079 exec_prefix="$acl_final_exec_prefix"
6081 exec_prefix="$acl_save_exec_prefix"
6082 prefix="$acl_save_prefix"
6084 if test "X$x" = "X-L$additional_libdir"; then
6089 if test -z "$haveit"; then
6090 if test -d "$additional_libdir"; then
6091 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6098 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6099 if test "$enable_rpath" != no; then
6101 for x in $rpathdirs; do
6102 if test "X$x" = "X$dir"; then
6107 if test -z "$haveit"; then
6108 rpathdirs="$rpathdirs $dir"
6111 for x in $ltrpathdirs; do
6112 if test "X$x" = "X$dir"; then
6117 if test -z "$haveit"; then
6118 ltrpathdirs="$ltrpathdirs $dir"
6123 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6126 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6129 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6130 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6136 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6137 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6143 if test "X$rpathdirs" != "X"; then
6144 if test -n "$acl_hardcode_libdir_separator"; then
6146 for found_dir in $rpathdirs; do
6147 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6149 acl_save_libdir="$libdir"
6151 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6152 libdir="$acl_save_libdir"
6153 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6155 for found_dir in $rpathdirs; do
6156 acl_save_libdir="$libdir"
6158 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6159 libdir="$acl_save_libdir"
6160 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6164 if test "X$ltrpathdirs" != "X"; then
6165 for found_dir in $ltrpathdirs; do
6166 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6181 am_save_CPPFLAGS="$CPPFLAGS"
6183 for element in $INCICONV; do
6185 for x in $CPPFLAGS; do
6187 acl_save_prefix="$prefix"
6188 prefix="$acl_final_prefix"
6189 acl_save_exec_prefix="$exec_prefix"
6190 exec_prefix="$acl_final_exec_prefix"
6192 exec_prefix="$acl_save_exec_prefix"
6193 prefix="$acl_save_prefix"
6195 if test "X$x" = "X$element"; then
6200 if test -z "$haveit"; then
6201 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6207 $as_echo_n "checking for iconv... " >&6; }
6208 if ${am_cv_func_iconv+:} false; then :
6209 $as_echo_n "(cached) " >&6
6212 am_cv_func_iconv="no, consider installing GNU libiconv"
6214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6223 iconv_t cd = iconv_open("","");
6224 iconv(cd,NULL,NULL,NULL,NULL);
6230 if ac_fn_c_try_link "$LINENO"; then :
6231 am_cv_func_iconv=yes
6233 rm -f core conftest.err conftest.$ac_objext \
6234 conftest$ac_exeext conftest.$ac_ext
6235 if test "$am_cv_func_iconv" != yes; then
6236 am_save_LIBS="$LIBS"
6237 LIBS="$LIBS $LIBICONV"
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6247 iconv_t cd = iconv_open("","");
6248 iconv(cd,NULL,NULL,NULL,NULL);
6254 if ac_fn_c_try_link "$LINENO"; then :
6256 am_cv_func_iconv=yes
6258 rm -f core conftest.err conftest.$ac_objext \
6259 conftest$ac_exeext conftest.$ac_ext
6260 LIBS="$am_save_LIBS"
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6265 $as_echo "$am_cv_func_iconv" >&6; }
6266 if test "$am_cv_func_iconv" = yes; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6268 $as_echo_n "checking for working iconv... " >&6; }
6269 if ${am_cv_func_iconv_works+:} false; then :
6270 $as_echo_n "(cached) " >&6
6273 am_save_LIBS="$LIBS"
6274 if test $am_cv_lib_iconv = yes; then
6275 LIBS="$LIBS $LIBICONV"
6277 am_cv_func_iconv_works=no
6278 for ac_iconv_const in '' 'const'; do
6279 if test "$cross_compiling" = yes; then :
6281 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6282 *) am_cv_func_iconv_works="guessing yes" ;;
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6292 # define ICONV_CONST $ac_iconv_const
6299 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6302 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6303 if (cd_utf8_to_88591 != (iconv_t)(-1))
6305 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6307 ICONV_CONST char *inptr = input;
6308 size_t inbytesleft = strlen (input);
6310 size_t outbytesleft = sizeof (buf);
6311 size_t res = iconv (cd_utf8_to_88591,
6312 &inptr, &inbytesleft,
6313 &outptr, &outbytesleft);
6316 iconv_close (cd_utf8_to_88591);
6319 /* Test against Solaris 10 bug: Failures are not distinguishable from
6320 successful returns. */
6322 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6323 if (cd_ascii_to_88591 != (iconv_t)(-1))
6325 static ICONV_CONST char input[] = "\263";
6327 ICONV_CONST char *inptr = input;
6328 size_t inbytesleft = strlen (input);
6330 size_t outbytesleft = sizeof (buf);
6331 size_t res = iconv (cd_ascii_to_88591,
6332 &inptr, &inbytesleft,
6333 &outptr, &outbytesleft);
6336 iconv_close (cd_ascii_to_88591);
6339 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6341 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6342 if (cd_88591_to_utf8 != (iconv_t)(-1))
6344 static ICONV_CONST char input[] = "\304";
6345 static char buf[2] = { (char)0xDE, (char)0xAD };
6346 ICONV_CONST char *inptr = input;
6347 size_t inbytesleft = 1;
6349 size_t outbytesleft = 1;
6350 size_t res = iconv (cd_88591_to_utf8,
6351 &inptr, &inbytesleft,
6352 &outptr, &outbytesleft);
6353 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6355 iconv_close (cd_88591_to_utf8);
6358 #if 0 /* This bug could be worked around by the caller. */
6359 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6361 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6362 if (cd_88591_to_utf8 != (iconv_t)(-1))
6364 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6366 ICONV_CONST char *inptr = input;
6367 size_t inbytesleft = strlen (input);
6369 size_t outbytesleft = sizeof (buf);
6370 size_t res = iconv (cd_88591_to_utf8,
6371 &inptr, &inbytesleft,
6372 &outptr, &outbytesleft);
6375 iconv_close (cd_88591_to_utf8);
6379 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6381 if (/* Try standardized names. */
6382 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6383 /* Try IRIX, OSF/1 names. */
6384 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6385 /* Try AIX names. */
6386 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6387 /* Try HP-UX names. */
6388 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6396 if ac_fn_c_try_run "$LINENO"; then :
6397 am_cv_func_iconv_works=yes
6399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6400 conftest.$ac_objext conftest.beam conftest.$ac_ext
6403 test "$am_cv_func_iconv_works" = no || break
6405 LIBS="$am_save_LIBS"
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6409 $as_echo "$am_cv_func_iconv_works" >&6; }
6410 case "$am_cv_func_iconv_works" in
6411 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6412 *) am_func_iconv=yes ;;
6415 am_func_iconv=no am_cv_lib_iconv=no
6417 if test "$am_func_iconv" = yes; then
6419 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6422 if test "$am_cv_lib_iconv" = yes; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6424 $as_echo_n "checking how to link with libiconv... " >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6426 $as_echo "$LIBICONV" >&6; }
6428 CPPFLAGS="$am_save_CPPFLAGS"
6435 if test "$am_cv_func_iconv" = yes; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
6437 $as_echo_n "checking for iconv declaration... " >&6; }
6438 if ${am_cv_proto_iconv+:} false; then :
6439 $as_echo_n "(cached) " >&6
6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6451 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
6452 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6465 if ac_fn_c_try_compile "$LINENO"; then :
6466 am_cv_proto_iconv_arg1=""
6468 am_cv_proto_iconv_arg1="const"
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
6474 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
6476 $am_cv_proto_iconv" >&5
6478 $am_cv_proto_iconv" >&6; }
6480 cat >>confdefs.h <<_ACEOF
6481 #define ICONV_CONST $am_cv_proto_iconv_arg1
6489 # xxd (distributed with vim) is used in the testsuite
6490 # Extract the first word of "xxd", so it can be a program name with args.
6491 set dummy xxd; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_prog_XXD_FOUND+:} false; then :
6495 $as_echo_n "(cached) " >&6
6497 if test -n "$XXD_FOUND"; then
6498 ac_cv_prog_XXD_FOUND="$XXD_FOUND" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_XXD_FOUND="yes"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 XXD_FOUND=$ac_cv_prog_XXD_FOUND
6518 if test -n "$XXD_FOUND"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XXD_FOUND" >&5
6520 $as_echo "$XXD_FOUND" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6528 # check if automake is 1.11 or 1.12 for using a workaround for the parallel test harness
6529 # (we check for a minimum version of 1.11 above, so these are the only two values to check)
6530 if test $am__api_version = 1.11 -o $am__api_version = 1.12; then
6531 AUTOMAKE_TEST_COMPAT_TRUE=
6532 AUTOMAKE_TEST_COMPAT_FALSE='#'
6534 AUTOMAKE_TEST_COMPAT_TRUE='#'
6535 AUTOMAKE_TEST_COMPAT_FALSE=
6539 ac_config_files="$ac_config_files Makefile src/Makefile src/version.h manpages/Makefile manpages/mkfs.fat.8 manpages/fsck.fat.8 manpages/fatlabel.8 tests/Makefile"
6541 cat >confcache <<\_ACEOF
6542 # This file is a shell script that caches the results of configure
6543 # tests run on this system so they can be shared between configure
6544 # scripts and configure runs, see configure's option --config-cache.
6545 # It is not useful on other systems. If it contains results you don't
6546 # want to keep, you may remove or edit it.
6548 # config.status only pays attention to the cache file if you give it
6549 # the --recheck option to rerun configure.
6551 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6552 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6557 # The following way of writing the cache mishandles newlines in values,
6558 # but we know of no workaround that is simple, portable, and efficient.
6559 # So, we kill variables containing newlines.
6560 # Ultrix sh set writes to stderr and can't be redirected directly,
6561 # and sets the high bit in the cache file unless we assign to the vars.
6563 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6564 eval ac_val=\$$ac_var
6568 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6569 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6572 _ | IFS | as_nl) ;; #(
6573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6574 *) { eval $ac_var=; unset $ac_var;} ;;
6580 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6581 *${as_nl}ac_space=\ *)
6582 # `set' does not quote correctly, so add quotes: double-quote
6583 # substitution turns \\\\ into \\, and sed turns \\ into \.
6586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6589 # `set' quotes correctly as required by POSIX, so do not add quotes.
6590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6599 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6601 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6603 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6604 if test -w "$cache_file"; then
6605 if test "x$cache_file" != "x/dev/null"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6607 $as_echo "$as_me: updating cache $cache_file" >&6;}
6608 if test ! -f "$cache_file" || test -h "$cache_file"; then
6609 cat confcache >"$cache_file"
6611 case $cache_file in #(
6613 mv -f confcache "$cache_file"$$ &&
6614 mv -f "$cache_file"$$ "$cache_file" ;; #(
6616 mv -f confcache "$cache_file" ;;
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6622 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6627 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6628 # Let make expand exec_prefix.
6629 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6631 # Transform confdefs.h into DEFS.
6632 # Protect against shell expansion while executing Makefile rules.
6633 # Protect against Makefile macro expansion.
6635 # If the first sed substitution is executed (which looks for macros that
6636 # take arguments), then branch to the quote section. Otherwise,
6637 # look for a macro that doesn't take arguments.
6647 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6649 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6653 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6666 DEFS=`sed -n "$ac_script" confdefs.h`
6672 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6673 # 1. Remove the extension, and $U if already installed.
6674 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6675 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6677 # will be set to the directory where LIBOBJS objects are built.
6678 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6679 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6683 LTLIBOBJS=$ac_ltlibobjs
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6687 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6688 if test -n "$am_sleep_pid"; then
6689 # Hide warnings about reused PIDs.
6690 wait $am_sleep_pid 2>/dev/null
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6693 $as_echo "done" >&6; }
6694 if test -n "$EXEEXT"; then
6696 am__EXEEXT_FALSE='#'
6702 if test -z "${COMPAT_SYMLINKS_TRUE}" && test -z "${COMPAT_SYMLINKS_FALSE}"; then
6703 as_fn_error $? "conditional \"COMPAT_SYMLINKS\" was never defined.
6704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6706 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6707 as_fn_error $? "conditional \"AMDEP\" was never defined.
6708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6710 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6711 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6714 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6715 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6718 if test -z "${AUTOMAKE_TEST_COMPAT_TRUE}" && test -z "${AUTOMAKE_TEST_COMPAT_FALSE}"; then
6719 as_fn_error $? "conditional \"AUTOMAKE_TEST_COMPAT\" was never defined.
6720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6723 : "${CONFIG_STATUS=./config.status}"
6725 ac_clean_files_save=$ac_clean_files
6726 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6728 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6730 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6732 # Generated by $as_me.
6733 # Run this file to recreate the current configuration.
6734 # Compiler output produced by configure, useful for debugging
6735 # configure, is in config.log if it exists.
6741 SHELL=\${CONFIG_SHELL-$SHELL}
6744 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6745 ## -------------------- ##
6746 ## M4sh Initialization. ##
6747 ## -------------------- ##
6749 # Be more Bourne compatible
6750 DUALCASE=1; export DUALCASE # for MKS sh
6751 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6754 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6755 # is contrary to our usage. Disable this feature.
6756 alias -g '${1+"$@"}'='"$@"'
6757 setopt NO_GLOB_SUBST
6759 case `(set -o) 2>/dev/null` in #(
6771 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6772 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6775 # Prefer a ksh shell builtin over an external printf program on Solaris,
6776 # but without wasting forks for bash or zsh.
6777 if test -z "$BASH_VERSION$ZSH_VERSION" \
6778 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6779 as_echo='print -r --'
6780 as_echo_n='print -rn --'
6781 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6782 as_echo='printf %s\n'
6783 as_echo_n='printf %s'
6785 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6786 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6787 as_echo_n='/usr/ucb/echo -n'
6789 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6790 as_echo_n_body='eval
6794 expr "X$arg" : "X\\(.*\\)$as_nl";
6795 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6797 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6799 export as_echo_n_body
6800 as_echo_n='sh -c $as_echo_n_body as_echo'
6803 as_echo='sh -c $as_echo_body as_echo'
6806 # The user is always right.
6807 if test "${PATH_SEPARATOR+set}" != set; then
6809 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6810 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6817 # We need space, tab and new line, in precisely that order. Quoting is
6818 # there to prevent editors from complaining about space-tab.
6819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6820 # splitting by setting IFS to empty value.)
6823 # Find who we are. Look in the path if we contain no directory separator.
6826 *[\\/]* ) as_myself=$0 ;;
6827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6838 # We did not find ourselves, most probably we were run as `sh COMMAND'
6839 # in which case we are not to be found in the path.
6840 if test "x$as_myself" = x; then
6843 if test ! -f "$as_myself"; then
6844 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6848 # Unset variables that we do not need and which cause bugs (e.g. in
6849 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6850 # suppresses any "Segmentation fault" message there. '((' could
6851 # trigger a bug in pdksh 5.2.14.
6852 for as_var in BASH_ENV ENV MAIL MAILPATH
6853 do eval test x\${$as_var+set} = xset \
6854 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6867 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6870 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6871 # ----------------------------------------
6872 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6873 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6874 # script with STATUS, using 1 if that was 0.
6877 as_status=$1; test $as_status -eq 0 && as_status=1
6879 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6880 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6882 $as_echo "$as_me: error: $2" >&2
6883 as_fn_exit $as_status
6887 # as_fn_set_status STATUS
6888 # -----------------------
6889 # Set $? to STATUS, without forking.
6893 } # as_fn_set_status
6897 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6907 # Portably unset VAR.
6910 { eval $1=; unset $1;}
6912 as_unset=as_fn_unset
6913 # as_fn_append VAR VALUE
6914 # ----------------------
6915 # Append the text in VALUE to the end of the definition contained in VAR. Take
6916 # advantage of any shell optimizations that allow amortized linear growth over
6917 # repeated appends, instead of the typical quadratic growth present in naive
6919 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6920 eval 'as_fn_append ()
6931 # as_fn_arith ARG...
6932 # ------------------
6933 # Perform arithmetic evaluation on the ARGs, and store the result in the
6934 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6935 # must be portable across $(()) and expr.
6936 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6937 eval 'as_fn_arith ()
6944 as_val=`expr "$@" || test $? -eq 1`
6949 if expr a : '\(a\)' >/dev/null 2>&1 &&
6950 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6956 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6957 as_basename=basename
6962 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6968 as_me=`$as_basename -- "$0" ||
6969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6970 X"$0" : 'X\(//\)$' \| \
6971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6973 sed '/^.*\/\([^/][^/]*\)\/*$/{
6987 # Avoid depending upon Character Ranges.
6988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6991 as_cr_digits='0123456789'
6992 as_cr_alnum=$as_cr_Letters$as_cr_digits
6994 ECHO_C= ECHO_N= ECHO_T=
6995 case `echo -n x` in #(((((
6997 case `echo 'xy\c'` in
6998 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7000 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7007 rm -f conf$$ conf$$.exe conf$$.file
7008 if test -d conf$$.dir; then
7009 rm -f conf$$.dir/conf$$.file
7012 mkdir conf$$.dir 2>/dev/null
7014 if (echo >conf$$.file) 2>/dev/null; then
7015 if ln -s conf$$.file conf$$ 2>/dev/null; then
7017 # ... but there are two gotchas:
7018 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7019 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7020 # In both cases, we have to default to `cp -pR'.
7021 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7023 elif ln conf$$.file conf$$ 2>/dev/null; then
7031 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7032 rmdir conf$$.dir 2>/dev/null
7037 # Create "$as_dir" as a directory, including parents if necessary.
7042 -*) as_dir=./$as_dir;;
7044 test -d "$as_dir" || eval $as_mkdir_p || {
7048 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7049 *) as_qdir=$as_dir;;
7051 as_dirs="'$as_qdir' $as_dirs"
7052 as_dir=`$as_dirname -- "$as_dir" ||
7053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7054 X"$as_dir" : 'X\(//\)[^/]' \| \
7055 X"$as_dir" : 'X\(//\)$' \| \
7056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7057 $as_echo X"$as_dir" |
7058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7075 test -d "$as_dir" && break
7077 test -z "$as_dirs" || eval "mkdir $as_dirs"
7078 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7082 if mkdir -p . 2>/dev/null; then
7083 as_mkdir_p='mkdir -p "$as_dir"'
7085 test -d ./-p && rmdir ./-p
7090 # as_fn_executable_p FILE
7091 # -----------------------
7092 # Test if FILE is an executable regular file.
7093 as_fn_executable_p ()
7095 test -f "$1" && test -x "$1"
7096 } # as_fn_executable_p
7098 as_executable_p=as_fn_executable_p
7100 # Sed expression to map a string onto a valid CPP name.
7101 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7103 # Sed expression to map a string onto a valid variable name.
7104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7108 ## ----------------------------------- ##
7109 ## Main body of $CONFIG_STATUS script. ##
7110 ## ----------------------------------- ##
7112 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7115 # Save the log message, to keep $0 and so on meaningful, and to
7116 # report actual input values of CONFIG_FILES etc. instead of their
7117 # values after options handling.
7119 This file was extended by dosfstools $as_me 4.2, which was
7120 generated by GNU Autoconf 2.69. Invocation command line was
7122 CONFIG_FILES = $CONFIG_FILES
7123 CONFIG_HEADERS = $CONFIG_HEADERS
7124 CONFIG_LINKS = $CONFIG_LINKS
7125 CONFIG_COMMANDS = $CONFIG_COMMANDS
7128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7133 case $ac_config_files in *"
7134 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7140 # Files that config.status was made for.
7141 config_files="$ac_config_files"
7142 config_commands="$ac_config_commands"
7146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7148 \`$as_me' instantiates files and other configuration actions
7149 from templates according to the current configuration. Unless the files
7150 and actions are specified as TAGs, all are instantiated by default.
7152 Usage: $0 [OPTION]... [TAG]...
7154 -h, --help print this help, then exit
7155 -V, --version print version number and configuration settings, then exit
7156 --config print configuration, then exit
7157 -q, --quiet, --silent
7158 do not print progress messages
7159 -d, --debug don't remove temporary files
7160 --recheck update $as_me by reconfiguring in the same conditions
7161 --file=FILE[:TEMPLATE]
7162 instantiate the configuration file FILE
7164 Configuration files:
7167 Configuration commands:
7170 Report bugs to the package provider."
7173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7174 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7176 dosfstools config.status 4.2
7177 configured by $0, generated by GNU Autoconf 2.69,
7178 with options \\"\$ac_cs_config\\"
7180 Copyright (C) 2012 Free Software Foundation, Inc.
7181 This config.status script is free software; the Free Software Foundation
7182 gives unlimited permission to copy, distribute and modify it."
7189 test -n "\$AWK" || AWK=awk
7192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7193 # The default lists apply if the user does not specify any file.
7199 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7200 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7204 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7216 # Handling of the options.
7217 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7219 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7220 $as_echo "$ac_cs_version"; exit ;;
7221 --config | --confi | --conf | --con | --co | --c )
7222 $as_echo "$ac_cs_config"; exit ;;
7223 --debug | --debu | --deb | --de | --d | -d )
7225 --file | --fil | --fi | --f )
7228 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7229 '') as_fn_error $? "missing file argument" ;;
7231 as_fn_append CONFIG_FILES " '$ac_optarg'"
7232 ac_need_defaults=false;;
7233 --he | --h | --help | --hel | -h )
7234 $as_echo "$ac_cs_usage"; exit ;;
7235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7236 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7240 -*) as_fn_error $? "unrecognized option: \`$1'
7241 Try \`$0 --help' for more information." ;;
7243 *) as_fn_append ac_config_targets " $1"
7244 ac_need_defaults=false ;;
7250 ac_configure_extra_args=
7252 if $ac_cs_silent; then
7254 ac_configure_extra_args="$ac_configure_extra_args --silent"
7258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7259 if \$ac_cs_recheck; then
7260 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7262 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7263 CONFIG_SHELL='$SHELL'
7269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7274 ## Running $as_me. ##
7280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7284 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7290 # Handling of arguments.
7291 for ac_config_target in $ac_config_targets
7293 case $ac_config_target in
7294 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7295 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7296 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7297 "src/version.h") CONFIG_FILES="$CONFIG_FILES src/version.h" ;;
7298 "manpages/Makefile") CONFIG_FILES="$CONFIG_FILES manpages/Makefile" ;;
7299 "manpages/mkfs.fat.8") CONFIG_FILES="$CONFIG_FILES manpages/mkfs.fat.8" ;;
7300 "manpages/fsck.fat.8") CONFIG_FILES="$CONFIG_FILES manpages/fsck.fat.8" ;;
7301 "manpages/fatlabel.8") CONFIG_FILES="$CONFIG_FILES manpages/fatlabel.8" ;;
7302 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7304 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7309 # If the user did not use the arguments to specify the items to instantiate,
7310 # then the envvar interface is used. Set only those that are not.
7311 # We use the long form for the default assignment because of an extremely
7312 # bizarre bug on SunOS 4.1.3.
7313 if $ac_need_defaults; then
7314 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7315 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7318 # Have a temporary directory for convenience. Make it in the build tree
7319 # simply because there is no reason against having it here, and in addition,
7320 # creating and moving files from /tmp can sometimes cause problems.
7321 # Hook for its removal unless debugging.
7322 # Note that there is a small window in which the directory will not be cleaned:
7323 # after its creation but before its name has been assigned to `$tmp'.
7327 trap 'exit_status=$?
7329 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7331 trap 'as_fn_exit 1' 1 2 13 15
7333 # Create a (secure) tmp directory for tmp files.
7336 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7340 tmp=./conf$$-$RANDOM
7341 (umask 077 && mkdir "$tmp")
7342 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7345 # Set up the scripts for CONFIG_FILES section.
7346 # No need to generate them if there are no CONFIG_FILES.
7347 # This happens for instance with `./config.status config.h'.
7348 if test -n "$CONFIG_FILES"; then
7351 ac_cr=`echo X | tr X '\015'`
7352 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7353 # But we know of no other shell where ac_cr would be empty at this
7354 # point, so we can use a bashism as a fallback.
7355 if test "x$ac_cr" = x; then
7356 eval ac_cr=\$\'\\r\'
7358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7365 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7370 echo "cat >conf$$subs.awk <<_ACEOF" &&
7371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7374 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7377 for ac_last_try in false false false false false :; do
7378 . ./conf$$subs.sh ||
7379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7381 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7382 if test $ac_delim_n = $ac_delim_num; then
7384 elif $ac_last_try; then
7385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7393 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7397 s/^/S["/; s/!.*/"]=/
7407 s/\(.\{148\}\)..*/\1/
7409 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7421 s/\(.\{148\}\)..*/\1/
7423 s/["\\]/\\&/g; s/^/"/; s/$/"/
7427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7432 ' <conf$$subs.awk | sed '
7437 ' >>$CONFIG_STATUS || ac_write_fail=1
7438 rm -f conf$$subs.awk
7439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7441 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7442 for (key in S) S_is_set[key] = 1
7448 nfields = split(line, field, "@")
7450 len = length(field[1])
7451 for (i = 2; i < nfields; i++) {
7453 keylen = length(key)
7454 if (S_is_set[key]) {
7456 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7457 len += length(value) + length(field[++i])
7468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7469 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7470 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7473 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7474 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7477 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7478 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7479 # trailing colons and then remove the whole line if VPATH becomes empty
7480 # (actually we leave an empty line to preserve line numbers).
7481 if test "x$srcdir" = x.; then
7482 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7501 fi # test -n "$CONFIG_FILES"
7504 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7509 :[FHLC]) ac_mode=$ac_tag; continue;;
7511 case $ac_mode$ac_tag in
7513 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7514 :[FH]-) ac_tag=-:-;;
7515 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7532 -) ac_f="$ac_tmp/stdin";;
7533 *) # Look for the file first in the build tree, then in the source tree
7534 # (if the path is not absolute). The absolute path cannot be DOS-style,
7535 # because $ac_f cannot contain `:'.
7539 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7541 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7543 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7544 as_fn_append ac_file_inputs " '$ac_f'"
7547 # Let's still pretend it is `configure' which instantiates (i.e., don't
7548 # use $as_me), people would be surprised to read:
7549 # /* config.h. Generated by config.status. */
7550 configure_input='Generated from '`
7551 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7553 if test x"$ac_file" != x-; then
7554 configure_input="$ac_file. $configure_input"
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7556 $as_echo "$as_me: creating $ac_file" >&6;}
7558 # Neutralize special characters interpreted by sed in replacement strings.
7559 case $configure_input in #(
7560 *\&* | *\|* | *\\* )
7561 ac_sed_conf_input=`$as_echo "$configure_input" |
7562 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7563 *) ac_sed_conf_input=$configure_input;;
7567 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7573 ac_dir=`$as_dirname -- "$ac_file" ||
7574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7575 X"$ac_file" : 'X\(//\)[^/]' \| \
7576 X"$ac_file" : 'X\(//\)$' \| \
7577 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7578 $as_echo X"$ac_file" |
7579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7596 as_dir="$ac_dir"; as_fn_mkdir_p
7600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7602 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7603 # A ".." for each directory in $ac_dir_suffix.
7604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7605 case $ac_top_builddir_sub in
7606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7610 ac_abs_top_builddir=$ac_pwd
7611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7612 # for backward compatibility:
7613 ac_top_builddir=$ac_top_build_prefix
7616 .) # We are building in place.
7618 ac_top_srcdir=$ac_top_builddir_sub
7619 ac_abs_top_srcdir=$ac_pwd ;;
7620 [\\/]* | ?:[\\/]* ) # Absolute name.
7621 ac_srcdir=$srcdir$ac_dir_suffix;
7622 ac_top_srcdir=$srcdir
7623 ac_abs_top_srcdir=$srcdir ;;
7625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7626 ac_top_srcdir=$ac_top_build_prefix$srcdir
7627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7639 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7640 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7644 [\\/$]* | ?:[\\/]* ) ;;
7645 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7650 # If the template does not know about datarootdir, expand it.
7651 # FIXME: This hack should be removed a few years after 2.60.
7652 ac_datarootdir_hack=; ac_datarootdir_seen=
7663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7664 *datarootdir*) ac_datarootdir_seen=yes;;
7665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7667 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7670 ac_datarootdir_hack='
7671 s&@datadir@&$datadir&g
7672 s&@docdir@&$docdir&g
7673 s&@infodir@&$infodir&g
7674 s&@localedir@&$localedir&g
7675 s&@mandir@&$mandir&g
7676 s&\\\${datarootdir}&$datarootdir&g' ;;
7680 # Neutralize VPATH when `$srcdir' = `.'.
7681 # Shell code in configure.ac might set extrasub.
7682 # FIXME: do we really want to maintain this feature?
7683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7684 ac_sed_extra="$ac_vpsub
7687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7690 s|@configure_input@|$ac_sed_conf_input|;t t
7691 s&@top_builddir@&$ac_top_builddir_sub&;t t
7692 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7693 s&@srcdir@&$ac_srcdir&;t t
7694 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7695 s&@top_srcdir@&$ac_top_srcdir&;t t
7696 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7697 s&@builddir@&$ac_builddir&;t t
7698 s&@abs_builddir@&$ac_abs_builddir&;t t
7699 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7700 s&@INSTALL@&$ac_INSTALL&;t t
7701 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7702 $ac_datarootdir_hack
7704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7705 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7708 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7710 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7712 which seems to be undefined. Please make sure it is defined" >&5
7713 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7714 which seems to be undefined. Please make sure it is defined" >&2;}
7716 rm -f "$ac_tmp/stdin"
7718 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7719 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7725 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7726 $as_echo "$as_me: executing $ac_file commands" >&6;}
7731 case $ac_file$ac_mode in
7732 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7733 # Older Autoconf quotes --file arguments for eval, but not when files
7734 # are listed without --file. Let's play safe and only enable the eval
7735 # if we detect the quoting.
7736 # TODO: see whether this extra hack can be removed once we start
7737 # requiring Autoconf 2.70 or later.
7738 case $CONFIG_FILES in #(
7740 eval set x "$CONFIG_FILES" ;; #(
7742 set x $CONFIG_FILES ;; #(
7747 # Used to flag and report bootstrapping failures.
7751 # Strip MF so we end up with the name of the file.
7752 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7753 # Check whether this is an Automake generated Makefile which includes
7754 # dependency-tracking related rules and includes.
7755 # Grep'ing the whole file directly is not great: AIX grep has a line
7756 # limit of 2048, but all sed's we know have understand at least 4000.
7757 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7759 am_dirpart=`$as_dirname -- "$am_mf" ||
7760 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7761 X"$am_mf" : 'X\(//\)[^/]' \| \
7762 X"$am_mf" : 'X\(//\)$' \| \
7763 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7764 $as_echo X"$am_mf" |
7765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7782 am_filepart=`$as_basename -- "$am_mf" ||
7783 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7784 X"$am_mf" : 'X\(//\)$' \| \
7785 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7786 $as_echo X/"$am_mf" |
7787 sed '/^.*\/\([^/][^/]*\)\/*$/{
7800 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7801 && sed -e '/# am--include-marker/d' "$am_filepart" \
7802 | $MAKE -f - am--depfiles" >&5
7804 && sed -e '/# am--include-marker/d' "$am_filepart" \
7805 | $MAKE -f - am--depfiles) >&5 2>&5
7807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808 (exit $ac_status); } || am_rc=$?
7810 if test $am_rc -ne 0; then
7811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7813 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7814 for automatic dependency tracking. Try re-running configure with the
7815 '--disable-dependency-tracking' option to at least be able to build
7816 the package (albeit without support for automatic dependency tracking).
7817 See \`config.log' for more details" "$LINENO" 5; }
7819 { am_dirpart=; unset am_dirpart;}
7820 { am_filepart=; unset am_filepart;}
7821 { am_mf=; unset am_mf;}
7822 { am_rc=; unset am_rc;}
7823 rm -f conftest-deps.mk
7833 ac_clean_files=$ac_clean_files_save
7835 test $ac_write_fail = 0 ||
7836 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7839 # configure is writing to config.log, and then calls config.status.
7840 # config.status does its own redirection, appending to config.log.
7841 # Unfortunately, on DOS this fails, as config.log is still kept open
7842 # by configure, so config.status won't be able to write to it; its
7843 # output is simply discarded. So we exec the FD to /dev/null,
7844 # effectively closing config.log, so it can be properly (re)opened and
7845 # appended to by config.status. When coming back to configure, we
7846 # need to make the FD available again.
7847 if test "$no_create" != yes; then
7849 ac_config_status_args=
7850 test "$silent" = yes &&
7851 ac_config_status_args="$ac_config_status_args --quiet"
7853 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7855 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7856 # would make configure fail if this is the last instruction.
7857 $ac_cs_success || as_fn_exit 1
7859 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7861 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}