2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Free exFAT implementation 1.4.0.
5 # Report bugs to <relan@users.noreply.github.com>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
129 *v*x* | *x*v* ) as_opts=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
204 *) as_dir=$as_dir/ ;;
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270 $0: relan@users.noreply.github.com about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Do nothing but, unlike ":", preserve the value of $?.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 as_val=`expr "$@" || test $? -eq 1`
418 # Do nothing but, unlike ":", preserve the value of $?.
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
432 as_status=$1; test $as_status -eq 0 && as_status=1
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
518 # Exit status is that of the last command.
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
551 mkdir conf$$.dir 2>/dev/null
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 elif ln conf$$.file conf$$ 2>/dev/null; then
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
576 test -d ./-p && rmdir ./-p
581 as_executable_p=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" || exec 7<&0 </dev/null
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601 ac_default_prefix=/usr/local
603 ac_config_libobj_dir=.
610 # Identity of this package.
611 PACKAGE_NAME='Free exFAT implementation'
612 PACKAGE_TARNAME='fuse-exfat'
613 PACKAGE_VERSION='1.4.0'
614 PACKAGE_STRING='Free exFAT implementation 1.4.0'
615 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
616 PACKAGE_URL='https://github.com/relan/exfat'
618 ac_subst_vars='am__EXEEXT_FALSE
673 INSTALL_STRIP_PROGRAM
716 program_transform_name
730 enable_option_checking
732 enable_dependency_tracking
735 ac_precious_vars='build_alias
754 # Initialize some variables set by options.
756 ac_init_version=false
757 ac_unrecognized_opts=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
768 program_transform_name=s,x,x,
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir='${exec_prefix}/bin'
783 sbindir='${exec_prefix}/sbin'
784 libexecdir='${exec_prefix}/libexec'
785 datarootdir='${prefix}/share'
786 datadir='${datarootdir}'
787 sysconfdir='${prefix}/etc'
788 sharedstatedir='${prefix}/com'
789 localstatedir='${prefix}/var'
790 runstatedir='${localstatedir}/run'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\$ac_option
815 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 case $ac_dashdash$ac_option in
824 -bindir | --bindir | --bindi | --bind | --bin | --bi)
826 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
829 -build | --build | --buil | --bui | --bu)
830 ac_prev=build_alias ;;
831 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832 build_alias=$ac_optarg ;;
834 -cache-file | --cache-file | --cache-fil | --cache-fi \
835 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836 ac_prev=cache_file ;;
837 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839 cache_file=$ac_optarg ;;
842 cache_file=config.cache ;;
844 -datadir | --datadir | --datadi | --datad)
846 -datadir=* | --datadir=* | --datadi=* | --datad=*)
847 datadir=$ac_optarg ;;
849 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850 | --dataroo | --dataro | --datar)
851 ac_prev=datarootdir ;;
852 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854 datarootdir=$ac_optarg ;;
856 -disable-* | --disable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error $? "invalid feature name: \`$ac_useropt'"
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
870 eval enable_$ac_useropt=no ;;
872 -docdir | --docdir | --docdi | --doc | --do)
874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882 -enable-* | --enable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: \`$ac_useropt'"
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
896 eval enable_$ac_useropt=\$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
911 -help | --help | --hel | --he | -h)
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927 htmldir=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 # Obsolete; use --without-fp.
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1041 -runstatedir | --runstatedir | --runstatedi | --runstated \
1042 | --runstate | --runstat | --runsta | --runst | --runs \
1043 | --run | --ru | --r)
1044 ac_prev=runstatedir ;;
1045 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1046 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1047 | --run=* | --ru=* | --r=*)
1048 runstatedir=$ac_optarg ;;
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: \`$ac_useropt'"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: \`$ac_useropt'"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval with_$ac_useropt=no ;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error $? "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir runstatedir
1189 eval ac_val=\$$ac_var
1190 # Remove trailing slashes.
1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$]* | ?:[\\/]* ) continue;;
1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213 if test "x$build_alias" = x; then
1214 cross_compiling=maybe
1215 elif test "x$build_alias" != "x$host_alias"; then
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1223 test "$silent" = yes && exec 6>/dev/null
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229 as_fn_error $? "working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 as_fn_error $? "pwd does not report name of working directory"
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 printf "%s\n" X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures Free exFAT implementation 1.4.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking ...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/fuse-exfat]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364 --build=BUILD configure for building on BUILD [guessed]
1365 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive ) echo "Configuration of Free exFAT implementation 1.4.0:";;
1376 --disable-option-checking ignore unrecognized --enable/--with options
1377 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379 --enable-silent-rules less verbose build output (undo: "make V=1")
1380 --disable-silent-rules verbose build output (undo: "make V=0")
1381 --enable-dependency-tracking
1382 do not reject slow dependency extractors
1383 --disable-dependency-tracking
1384 speeds up one-time build
1385 --disable-largefile omit support for large files
1387 Some influential environment variables:
1388 CC C compiler command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1391 nonstandard directory <lib dir>
1392 LIBS libraries to pass to the linker, e.g. -l<library>
1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1394 you have headers in a nonstandard directory <include dir>
1395 PKG_CONFIG path to pkg-config utility
1397 directories to add to pkg-config's search path
1399 path overriding pkg-config's built-in search path
1401 C compiler flags for UBLIO, overriding pkg-config
1402 UBLIO_LIBS linker flags for UBLIO, overriding pkg-config
1404 C compiler flags for FUSE3, overriding pkg-config
1405 FUSE3_LIBS linker flags for FUSE3, overriding pkg-config
1407 C compiler flags for FUSE2, overriding pkg-config
1408 FUSE2_LIBS linker flags for FUSE2, overriding pkg-config
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to <relan@users.noreply.github.com>.
1414 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for configure.gnu first; this name is used for a wrapper for
1461 # Metaconfig's "Configure" on case-insensitive file systems.
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 printf "%s\n" "$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 Free exFAT implementation configure 1.4.0
1479 generated by GNU Autoconf 2.71
1481 Copyright (C) 2021 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 conftest.beam
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 printf "%s\n" "$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 printf "%s\n" "$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
1521 printf "%s\n" "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527 as_fn_set_status $ac_retval
1529 } # ac_fn_c_try_compile
1530 ac_configure_args_raw=
1535 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537 as_fn_append ac_configure_args_raw " '$ac_arg'"
1540 case $ac_configure_args_raw in
1544 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1545 ac_unsafe_a="$ac_unsafe_z#~"
1546 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1547 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1550 cat >config.log <<_ACEOF
1551 This file contains any messages produced by compilers while
1552 running configure, to aid debugging if configure makes a mistake.
1554 It was created by Free exFAT implementation $as_me 1.4.0, which was
1555 generated by GNU Autoconf 2.71. Invocation command line was
1557 $ $0$ac_configure_args_raw
1567 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1568 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1569 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1570 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1571 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1573 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1574 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1576 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1577 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1578 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1579 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1580 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1581 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1582 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 case $as_dir in #(((
1593 *) as_dir=$as_dir/ ;;
1595 printf "%s\n" "PATH: $as_dir"
1611 # Keep a trace of the command line.
1612 # Strip out --no-create and --no-recursion so they do not pile up.
1613 # Strip out --silent because we don't want to record it for future runs.
1614 # Also quote any args containing shell meta-characters.
1615 # Make two passes to allow for proper duplicate-argument suppression.
1619 ac_must_keep_next=false
1625 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1627 | -silent | --silent | --silen | --sile | --sil)
1630 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1633 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1635 as_fn_append ac_configure_args1 " '$ac_arg'"
1636 if test $ac_must_keep_next = true; then
1637 ac_must_keep_next=false # Got value, back to normal.
1640 *=* | --config-cache | -C | -disable-* | --disable-* \
1641 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1642 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1643 | -with-* | --with-* | -without-* | --without-* | --x)
1644 case "$ac_configure_args0 " in
1645 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1648 -* ) ac_must_keep_next=true ;;
1651 as_fn_append ac_configure_args " '$ac_arg'"
1656 { ac_configure_args0=; unset ac_configure_args0;}
1657 { ac_configure_args1=; unset ac_configure_args1;}
1659 # When interrupted or exit'd, cleanup temporary files, and complete
1660 # config.log. We remove comments because anyway the quotes in there
1661 # would cause problems or look ugly.
1662 # WARNING: Use '\'' to represent an apostrophe within the trap.
1663 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1664 trap 'exit_status=$?
1667 # Save into config.log some information that might help in debugging.
1671 printf "%s\n" "## ---------------- ##
1672 ## Cache variables. ##
1673 ## ---------------- ##"
1675 # The following way of writing the cache mishandles newlines in values,
1677 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1678 eval ac_val=\$$ac_var
1682 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1683 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1686 _ | IFS | as_nl) ;; #(
1687 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1688 *) { eval $ac_var=; unset $ac_var;} ;;
1693 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1694 *${as_nl}ac_space=\ *)
1696 "s/'\''/'\''\\\\'\'''\''/g;
1697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1707 printf "%s\n" "## ----------------- ##
1708 ## Output variables. ##
1709 ## ----------------- ##"
1711 for ac_var in $ac_subst_vars
1713 eval ac_val=\$$ac_var
1715 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1717 printf "%s\n" "$ac_var='\''$ac_val'\''"
1721 if test -n "$ac_subst_files"; then
1722 printf "%s\n" "## ------------------- ##
1723 ## File substitutions. ##
1724 ## ------------------- ##"
1726 for ac_var in $ac_subst_files
1728 eval ac_val=\$$ac_var
1730 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1732 printf "%s\n" "$ac_var='\''$ac_val'\''"
1737 if test -s confdefs.h; then
1738 printf "%s\n" "## ----------- ##
1745 test "$ac_signal" != 0 &&
1746 printf "%s\n" "$as_me: caught signal $ac_signal"
1747 printf "%s\n" "$as_me: exit $exit_status"
1749 rm -f core *.core core.conftest.* &&
1750 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1753 for ac_signal in 1 2 13 15; do
1754 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1758 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1759 rm -f -r conftest* confdefs.h
1761 printf "%s\n" "/* confdefs.h */" > confdefs.h
1763 # Predefined preprocessor variables.
1765 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1767 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1769 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1771 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1773 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1775 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1778 # Let the site file select an alternate cache file if it wants to.
1779 # Prefer an explicitly selected file to automatically selected ones.
1780 if test -n "$CONFIG_SITE"; then
1781 ac_site_files="$CONFIG_SITE"
1782 elif test "x$prefix" != xNONE; then
1783 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1785 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1788 for ac_site_file in $ac_site_files
1790 case $ac_site_file in #(
1794 ac_site_file=./$ac_site_file ;;
1796 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1798 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1799 sed 's/^/| /' "$ac_site_file" >&5
1801 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1802 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1803 as_fn_error $? "failed to load site script $ac_site_file
1804 See \`config.log' for more details" "$LINENO" 5; }
1808 if test -r "$cache_file"; then
1809 # Some versions of bash will fail to source /dev/null (special files
1810 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1811 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1813 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1815 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1816 *) . "./$cache_file";;
1820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1821 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1825 # Test code for whether the C compiler supports C89 (global declarations)
1826 ac_c_conftest_c89_globals='
1827 /* Does the compiler advertise C89 conformance?
1828 Do not test the value of __STDC__, because some compilers set it to 0
1829 while being otherwise adequately conformant. */
1830 #if !defined __STDC__
1831 # error "Compiler does not advertise C89 conformance"
1837 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1838 struct buf { int x; };
1839 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1840 static char *e (p, i)
1846 static char *f (char * (*g) (char **, int), char **p, ...)
1851 s = g (p, va_arg (v,int));
1856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1857 function prototypes and stuff, but not \xHH hex character constants.
1858 These do not provoke an error unfortunately, instead are silently treated
1859 as an "x". The following induces an error, until -std is added to get
1860 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1861 array size at least. It is necessary to write \x00 == 0 to get something
1862 that is true only with -std. */
1863 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1866 inside strings and character constants. */
1867 #define FOO(x) '\''x'\''
1868 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1870 int test (int i, double x);
1871 struct s1 {int (*f) (int a);};
1872 struct s2 {int (*f) (double a);};
1873 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1876 # Test code for whether the C compiler supports C89 (body of main).
1877 ac_c_conftest_c89_main='
1878 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1881 # Test code for whether the C compiler supports C99 (global declarations)
1882 ac_c_conftest_c99_globals='
1883 // Does the compiler advertise C99 conformance?
1884 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1885 # error "Compiler does not advertise C99 conformance"
1888 #include <stdbool.h>
1889 extern int puts (const char *);
1890 extern int printf (const char *, ...);
1891 extern int dprintf (int, const char *, ...);
1892 extern void *malloc (size_t);
1894 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1895 // dprintf is used instead of fprintf to avoid needing to declare
1897 #define debug(...) dprintf (2, __VA_ARGS__)
1898 #define showlist(...) puts (#__VA_ARGS__)
1899 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1901 test_varargs_macros (void)
1906 debug ("X = %d\n", x);
1907 showlist (The first, second, and third items.);
1908 report (x>y, "x is %d but y is %d", x, y);
1911 // Check long long types.
1912 #define BIG64 18446744073709551615ull
1913 #define BIG32 4294967295ul
1914 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1916 #error "your preprocessor is broken"
1920 #error "your preprocessor is broken"
1922 static long long int bignum = -9223372036854775807LL;
1923 static unsigned long long int ubignum = BIG64;
1925 struct incomplete_array
1933 const wchar_t *name;
1937 typedef const char *ccp;
1940 test_restrict (ccp restrict text)
1942 // See if C++-style comments work.
1943 // Iterate through items via the restricted pointer.
1944 // Also check for declarations in for loops.
1945 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1950 // Check varargs and va_copy.
1952 test_varargs (const char *format, ...)
1955 va_start (args, format);
1957 va_copy (args_copy, args);
1959 const char *str = "";
1967 case '\''s'\'': // string
1968 str = va_arg (args_copy, const char *);
1970 case '\''d'\'': // int
1971 number = va_arg (args_copy, int);
1973 case '\''f'\'': // float
1974 fnumber = va_arg (args_copy, double);
1983 return *str && number && fnumber;
1987 # Test code for whether the C compiler supports C99 (body of main).
1988 ac_c_conftest_c99_main='
1990 _Bool success = false;
1991 success |= (argc != 0);
1994 if (test_restrict ("String literal") == 0)
1996 char *restrict newvar = "Another string";
1999 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2000 test_varargs_macros ();
2002 // Check flexible array members.
2003 struct incomplete_array *ia =
2004 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2006 for (int i = 0; i < ia->datasize; ++i)
2007 ia->data[i] = i * 1.234;
2009 // Check named initializers.
2010 struct named_init ni = {
2012 .name = L"Test wide string",
2013 .average = 543.34343,
2018 int dynamic_array[ni.number];
2019 dynamic_array[0] = argv[0][0];
2020 dynamic_array[ni.number - 1] = 543;
2022 // work around unused variable warnings
2023 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2024 || dynamic_array[ni.number - 1] != 543);
2027 # Test code for whether the C compiler supports C11 (global declarations)
2028 ac_c_conftest_c11_globals='
2029 // Does the compiler advertise C11 conformance?
2030 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2031 # error "Compiler does not advertise C11 conformance"
2035 char _Alignas (double) aligned_as_double;
2036 char _Alignas (0) no_special_alignment;
2037 extern char aligned_as_int;
2038 char _Alignas (0) _Alignas (int) aligned_as_int;
2043 int_alignment = _Alignof (int),
2044 int_array_alignment = _Alignof (int[100]),
2045 char_alignment = _Alignof (char)
2047 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2050 int _Noreturn does_not_return (void) { for (;;) continue; }
2052 // Check _Static_assert.
2053 struct test_static_assert
2056 _Static_assert (sizeof (int) <= sizeof (long int),
2057 "_Static_assert does not work in struct");
2061 // Check UTF-8 literals.
2062 #define u8 syntax error!
2063 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2065 // Check duplicate typedefs.
2066 typedef long *long_ptr;
2067 typedef long int *long_ptr;
2068 typedef long_ptr long_ptr;
2070 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2074 struct { int i; int j; };
2075 struct { int k; long int l; } w;
2081 # Test code for whether the C compiler supports C11 (body of main).
2082 ac_c_conftest_c11_main='
2083 _Static_assert ((offsetof (struct anonymous, i)
2084 == offsetof (struct anonymous, w.k)),
2085 "Anonymous union alignment botch");
2091 # Test code for whether the C compiler supports C11 (complete).
2092 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2093 ${ac_c_conftest_c99_globals}
2094 ${ac_c_conftest_c11_globals}
2097 main (int argc, char **argv)
2100 ${ac_c_conftest_c89_main}
2101 ${ac_c_conftest_c99_main}
2102 ${ac_c_conftest_c11_main}
2107 # Test code for whether the C compiler supports C99 (complete).
2108 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2109 ${ac_c_conftest_c99_globals}
2112 main (int argc, char **argv)
2115 ${ac_c_conftest_c89_main}
2116 ${ac_c_conftest_c99_main}
2121 # Test code for whether the C compiler supports C89 (complete).
2122 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2125 main (int argc, char **argv)
2128 ${ac_c_conftest_c89_main}
2134 # Auxiliary files required by this configure script.
2135 ac_aux_files="config.guess config.sub ar-lib compile missing install-sh"
2137 # Locations in which to look for auxiliary files.
2138 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2140 # Search for a directory containing all of the required auxiliary files,
2141 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2142 # If we don't find one directory that contains all the files we need,
2143 # we report the set of missing files from the *first* directory in
2144 # $ac_aux_dir_candidates and give up.
2145 ac_missing_aux_files=""
2146 ac_first_candidate=:
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $ac_aux_dir_candidates
2153 case $as_dir in #(((
2156 *) as_dir=$as_dir/ ;;
2160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2161 ac_aux_dir_found=yes
2163 for ac_aux in $ac_aux_files
2165 # As a special case, if "install-sh" is required, that requirement
2166 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2167 # and $ac_install_sh is set appropriately for whichever one is found.
2168 if test x"$ac_aux" = x"install-sh"
2170 if test -f "${as_dir}install-sh"; then
2171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2172 ac_install_sh="${as_dir}install-sh -c"
2173 elif test -f "${as_dir}install.sh"; then
2174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2175 ac_install_sh="${as_dir}install.sh -c"
2176 elif test -f "${as_dir}shtool"; then
2177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2178 ac_install_sh="${as_dir}shtool install -c"
2181 if $ac_first_candidate; then
2182 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2188 if test -f "${as_dir}${ac_aux}"; then
2189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2192 if $ac_first_candidate; then
2193 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2200 if test "$ac_aux_dir_found" = yes; then
2201 ac_aux_dir="$as_dir"
2204 ac_first_candidate=false
2213 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2217 # These three variables are undocumented and unsupported,
2218 # and are intended to be withdrawn in a future Autoconf release.
2219 # They can cause serious problems if a builder's source tree is in a directory
2220 # whose full name contains unusual characters.
2221 if test -f "${ac_aux_dir}config.guess"; then
2222 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2224 if test -f "${ac_aux_dir}config.sub"; then
2225 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2227 if test -f "$ac_aux_dir/configure"; then
2228 ac_configure="$SHELL ${ac_aux_dir}configure"
2231 # Check that the precious variables saved in the cache have kept the same
2233 ac_cache_corrupted=false
2234 for ac_var in $ac_precious_vars; do
2235 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2236 eval ac_new_set=\$ac_env_${ac_var}_set
2237 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2238 eval ac_new_val=\$ac_env_${ac_var}_value
2239 case $ac_old_set,$ac_new_set in
2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243 ac_cache_corrupted=: ;;
2245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247 ac_cache_corrupted=: ;;
2250 if test "x$ac_old_val" != "x$ac_new_val"; then
2251 # differences in whitespace do not lead to failure.
2252 ac_old_val_w=`echo x $ac_old_val`
2253 ac_new_val_w=`echo x $ac_new_val`
2254 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257 ac_cache_corrupted=:
2259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261 eval $ac_var=\$ac_old_val
2263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2264 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2266 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2269 # Pass precious variables to config.status.
2270 if test "$ac_new_set" = set; then
2272 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273 *) ac_arg=$ac_var=$ac_new_val ;;
2275 case " $ac_configure_args " in
2276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2277 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2281 if $ac_cache_corrupted; then
2282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2286 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2287 and start over" "$LINENO" 5
2289 ## -------------------- ##
2290 ## Main body of script. ##
2291 ## -------------------- ##
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300 am__api_version='1.16'
2304 # Find a good install program. We prefer a C program (faster),
2305 # so one script is as good as another. But avoid the broken or
2306 # incompatible versions:
2307 # SysV /etc/install, /usr/sbin/install
2308 # SunOS /usr/etc/install
2309 # IRIX /sbin/install
2311 # AmigaOS /C/install, which installs bootblocks on floppy discs
2312 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2313 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2314 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2315 # OS/2's system install, which has a completely different semantic
2316 # ./install, which can be erroneously created by make from ./install.sh.
2317 # Reject install programs that cannot install multiple files.
2318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2319 printf %s "checking for a BSD-compatible install... " >&6; }
2320 if test -z "$INSTALL"; then
2321 if test ${ac_cv_path_install+y}
2323 printf %s "(cached) " >&6
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 case $as_dir in #(((
2332 *) as_dir=$as_dir/ ;;
2334 # Account for fact that we put trailing slashes in our PATH walk.
2337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2341 # OSF1 and SCO ODT 3.0 have their own names for install.
2342 # Don't use installbsd from OSF since it installs stuff as root
2344 for ac_prog in ginstall scoinst install; do
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2347 if test $ac_prog = install &&
2348 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # AIX install. It has an incompatible calling convention.
2351 elif test $ac_prog = install &&
2352 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353 # program-specific install script used by HP pwplus--don't use.
2356 rm -rf conftest.one conftest.two conftest.dir
2357 echo one > conftest.one
2358 echo two > conftest.two
2360 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2361 test -s conftest.one && test -s conftest.two &&
2362 test -s conftest.dir/conftest.one &&
2363 test -s conftest.dir/conftest.two
2365 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2378 rm -rf conftest.one conftest.two conftest.dir
2381 if test ${ac_cv_path_install+y}; then
2382 INSTALL=$ac_cv_path_install
2384 # As a last resort, use the slow shell script. Don't cache a
2385 # value for INSTALL within a source directory, because that will
2386 # break other packages using the cache if that directory is
2387 # removed, or if the value is a relative name.
2388 INSTALL=$ac_install_sh
2391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2392 printf "%s\n" "$INSTALL" >&6; }
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2403 printf %s "checking whether build environment is sane... " >&6; }
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name. Accept space and tab only in the latter.
2409 *[\\\"\#\$\&\'\`$am_lf]*)
2410 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2413 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2414 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2417 # Do 'set' in a subshell so we don't clobber the current shell's
2418 # arguments. Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2424 for am_try in 1 2; do
2425 echo "timestamp, slept: $am_has_slept" > conftest.file
2426 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427 if test "$*" = "X"; then
2429 set X `ls -t "$srcdir/configure" conftest.file`
2431 if test "$*" != "X $srcdir/configure conftest.file" \
2432 && test "$*" != "X conftest.file $srcdir/configure"; then
2434 # If neither matched, then we have a broken ls. This can happen
2435 # if, for instance, CONFIG_SHELL is bash and it inherits a
2436 # broken ls alias from the environment. This has actually
2437 # happened. Such a system could not be considered "sane".
2438 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2439 alias in your environment" "$LINENO" 5
2441 if test "$2" = conftest.file || test $am_try -eq 2; then
2448 test "$2" = conftest.file
2454 as_fn_error $? "newly created file is older than distributed files!
2455 Check your system clock" "$LINENO" 5
2457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2458 printf "%s\n" "yes" >&6; }
2459 # If we didn't sleep, we still need to ensure time stamps of config.status and
2460 # generated files are strictly newer.
2462 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2469 test "$program_prefix" != NONE &&
2470 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE &&
2473 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2480 # Expand $ac_aux_dir to an absolute path.
2481 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2484 if test x"${MISSING+set}" != xset; then
2485 MISSING="\${SHELL} '$am_aux_dir/missing'"
2487 # Use eval to expand $SHELL
2488 if eval "$MISSING --is-lightweight"; then
2489 am_missing_run="$MISSING "
2492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2493 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2496 if test x"${install_sh+set}" != xset; then
2499 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2501 install_sh="\${SHELL} $am_aux_dir/install-sh"
2505 # Installed binaries are usually stripped using 'strip' when the user
2506 # run "make install-strip". However 'strip' might not be the right
2507 # tool to use in cross-compilation environments, therefore Automake
2508 # will honor the 'STRIP' environment variable to overrule this program.
2509 if test "$cross_compiling" != no; then
2510 if test -n "$ac_tool_prefix"; then
2511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}strip; ac_word=$2
2513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 printf %s "checking for $ac_word... " >&6; }
2515 if test ${ac_cv_prog_STRIP+y}
2517 printf %s "(cached) " >&6
2519 if test -n "$STRIP"; then
2520 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 case $as_dir in #(((
2529 *) as_dir=$as_dir/ ;;
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2533 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2543 STRIP=$ac_cv_prog_STRIP
2544 if test -n "$STRIP"; then
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2546 printf "%s\n" "$STRIP" >&6; }
2548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 printf "%s\n" "no" >&6; }
2554 if test -z "$ac_cv_prog_STRIP"; then
2556 # Extract the first word of "strip", so it can be a program name with args.
2557 set dummy strip; ac_word=$2
2558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 printf %s "checking for $ac_word... " >&6; }
2560 if test ${ac_cv_prog_ac_ct_STRIP+y}
2562 printf %s "(cached) " >&6
2564 if test -n "$ac_ct_STRIP"; then
2565 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 case $as_dir in #(((
2574 *) as_dir=$as_dir/ ;;
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2578 ac_cv_prog_ac_ct_STRIP="strip"
2579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2589 if test -n "$ac_ct_STRIP"; then
2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591 printf "%s\n" "$ac_ct_STRIP" >&6; }
2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 printf "%s\n" "no" >&6; }
2597 if test "x$ac_ct_STRIP" = x; then
2600 case $cross_compiling:$ac_tool_warned in
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604 ac_tool_warned=yes ;;
2609 STRIP="$ac_cv_prog_STRIP"
2613 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2617 printf %s "checking for a race-free mkdir -p... " >&6; }
2618 if test -z "$MKDIR_P"; then
2619 if test ${ac_cv_path_mkdir+y}
2621 printf %s "(cached) " >&6
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2627 case $as_dir in #(((
2630 *) as_dir=$as_dir/ ;;
2632 for ac_prog in mkdir gmkdir; do
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2635 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2636 'mkdir ('*'coreutils) '* | \
2638 'mkdir (fileutils) '4.1*)
2639 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2649 test -d ./--version && rmdir ./--version
2650 if test ${ac_cv_path_mkdir+y}; then
2651 MKDIR_P="$ac_cv_path_mkdir -p"
2653 # As a last resort, use the slow shell script. Don't cache a
2654 # value for MKDIR_P within a source directory, because that will
2655 # break other packages using the cache if that directory is
2656 # removed, or if the value is a relative name.
2657 MKDIR_P="$ac_install_sh -d"
2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2661 printf "%s\n" "$MKDIR_P" >&6; }
2663 for ac_prog in gawk mawk nawk awk
2665 # Extract the first word of "$ac_prog", so it can be a program name with args.
2666 set dummy $ac_prog; ac_word=$2
2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 printf %s "checking for $ac_word... " >&6; }
2669 if test ${ac_cv_prog_AWK+y}
2671 printf %s "(cached) " >&6
2673 if test -n "$AWK"; then
2674 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 case $as_dir in #(((
2683 *) as_dir=$as_dir/ ;;
2685 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2687 ac_cv_prog_AWK="$ac_prog"
2688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2698 if test -n "$AWK"; then
2699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2700 printf "%s\n" "$AWK" >&6; }
2702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 printf "%s\n" "no" >&6; }
2707 test -n "$AWK" && break
2710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2711 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2713 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2714 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2716 printf %s "(cached) " >&6
2718 cat >conftest.make <<\_ACEOF
2721 @echo '@@@%%%=$(MAKE)=@@@%%%'
2723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2726 eval ac_cv_prog_make_${ac_make}_set=yes;;
2728 eval ac_cv_prog_make_${ac_make}_set=no;;
2732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 printf "%s\n" "yes" >&6; }
2737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 printf "%s\n" "no" >&6; }
2739 SET_MAKE="MAKE=${MAKE-make}"
2742 rm -rf .tst 2>/dev/null
2743 mkdir .tst 2>/dev/null
2744 if test -d .tst; then
2749 rmdir .tst 2>/dev/null
2751 # Check whether --enable-silent-rules was given.
2752 if test ${enable_silent_rules+y}
2754 enableval=$enable_silent_rules;
2757 case $enable_silent_rules in # (((
2758 yes) AM_DEFAULT_VERBOSITY=0;;
2759 no) AM_DEFAULT_VERBOSITY=1;;
2760 *) AM_DEFAULT_VERBOSITY=1;;
2762 am_make=${MAKE-make}
2763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2764 printf %s "checking whether $am_make supports nested variables... " >&6; }
2765 if test ${am_cv_make_support_nested_variables+y}
2767 printf %s "(cached) " >&6
2769 if printf "%s\n" 'TRUE=$(BAR$(V))
2775 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2776 am_cv_make_support_nested_variables=yes
2778 am_cv_make_support_nested_variables=no
2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2782 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2783 if test $am_cv_make_support_nested_variables = yes; then
2785 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2787 AM_V=$AM_DEFAULT_VERBOSITY
2788 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2792 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2793 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2794 # is not polluted with repeated "-I."
2795 am__isrc=' -I$(srcdir)'
2796 # test to see if srcdir already configured
2797 if test -f $srcdir/config.status; then
2798 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2802 # test whether we have cygpath
2803 if test -z "$CYGPATH_W"; then
2804 if (cygpath --version) >/dev/null 2>/dev/null; then
2805 CYGPATH_W='cygpath -w'
2812 # Define the identity of the package.
2813 PACKAGE='fuse-exfat'
2817 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2820 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2822 # Some tools Automake needs.
2824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2838 # For better backward compatibility. To be removed once Automake 1.9.x
2839 # dies out for good. For more background, see:
2840 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2841 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2842 mkdir_p='$(MKDIR_P)'
2844 # We need awk for the "check" target (and possibly the TAP driver). The
2845 # system "awk" is bad on some platforms.
2846 # Always define AMTAR for backward compatibility. Yes, it's still used
2847 # in the wild :-( We should find a proper way to deprecate it ...
2851 # We'll loop over all known methods to create a tar archive until one works.
2852 _am_tools='gnutar pax cpio none'
2854 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2860 # Variables for tags utilities; see am/tags.am
2861 if test -z "$CTAGS"; then
2865 if test -z "$ETAGS"; then
2869 if test -z "$CSCOPE"; then
2875 # POSIX will say in a future version that running "rm -f" with no argument
2876 # is OK; and we want to be able to make that assumption in our Makefile
2877 # recipes. So use an aggressive probe to check that the usage we want is
2878 # actually supported "in the wild" to an acceptable degree.
2879 # See automake bug#10828.
2880 # To make any issue more visible, cause the running configure to be aborted
2881 # by default if the 'rm' program in use doesn't match our expectations; the
2882 # user can still override this though.
2883 if rm -f && rm -fr && rm -rf; then : OK; else
2887 Your 'rm' program seems unable to run without file operands specified
2888 on the command line, even when the '-f' option is present. This is contrary
2889 to the behaviour of most rm programs out there, and not conforming with
2890 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2892 Please tell bug-automake@gnu.org about your system, including the value
2893 of your $PATH and any error possibly output before this message. This
2894 can help us improve future automake versions.
2897 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2898 echo 'Configuration will proceed anyway, since you have set the' >&2
2899 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2903 Aborting the configuration process, to ensure you take notice of the issue.
2905 You can download and install GNU coreutils to get an 'rm' implementation
2906 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2908 If you want to complete the configuration process using your problematic
2909 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2910 to "yes", and re-run configure.
2913 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 if test -n "$ac_tool_prefix"; then
2932 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2933 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 printf %s "checking for $ac_word... " >&6; }
2936 if test ${ac_cv_prog_CC+y}
2938 printf %s "(cached) " >&6
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 case $as_dir in #(((
2950 *) as_dir=$as_dir/ ;;
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2965 if test -n "$CC"; then
2966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 printf "%s\n" "$CC" >&6; }
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 printf "%s\n" "no" >&6; }
2975 if test -z "$ac_cv_prog_CC"; then
2977 # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 printf %s "checking for $ac_word... " >&6; }
2981 if test ${ac_cv_prog_ac_ct_CC+y}
2983 printf %s "(cached) " >&6
2985 if test -n "$ac_ct_CC"; then
2986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 case $as_dir in #(((
2995 *) as_dir=$as_dir/ ;;
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_CC="gcc"
3000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010 if test -n "$ac_ct_CC"; then
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3012 printf "%s\n" "$ac_ct_CC" >&6; }
3014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 printf "%s\n" "no" >&6; }
3018 if test "x$ac_ct_CC" = x; then
3021 case $cross_compiling:$ac_tool_warned in
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3033 if test -z "$CC"; then
3034 if test -n "$ac_tool_prefix"; then
3035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3036 set dummy ${ac_tool_prefix}cc; ac_word=$2
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 printf %s "checking for $ac_word... " >&6; }
3039 if test ${ac_cv_prog_CC+y}
3041 printf %s "(cached) " >&6
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC="$CC" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 case $as_dir in #(((
3053 *) as_dir=$as_dir/ ;;
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3057 ac_cv_prog_CC="${ac_tool_prefix}cc"
3058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3068 if test -n "$CC"; then
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 printf "%s\n" "$CC" >&6; }
3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 printf "%s\n" "no" >&6; }
3079 if test -z "$CC"; then
3080 # Extract the first word of "cc", so it can be a program name with args.
3081 set dummy cc; ac_word=$2
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 printf %s "checking for $ac_word... " >&6; }
3084 if test ${ac_cv_prog_CC+y}
3086 printf %s "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC="$CC" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 case $as_dir in #(((
3099 *) as_dir=$as_dir/ ;;
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3103 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3104 ac_prog_rejected=yes
3108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3115 if test $ac_prog_rejected = yes; then
3116 # We found a bogon in the path, so make sure we never use it.
3117 set dummy $ac_cv_prog_CC
3119 if test $# != 0; then
3120 # We chose a different compiler from the bogus one.
3121 # However, it has the same basename, so the bogon will be chosen
3122 # first if we set CC to just the basename; use the full file name.
3124 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3130 if test -n "$CC"; then
3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 printf "%s\n" "$CC" >&6; }
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 printf "%s\n" "no" >&6; }
3140 if test -z "$CC"; then
3141 if test -n "$ac_tool_prefix"; then
3142 for ac_prog in cl.exe
3144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 printf %s "checking for $ac_word... " >&6; }
3148 if test ${ac_cv_prog_CC+y}
3150 printf %s "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 case $as_dir in #(((
3162 *) as_dir=$as_dir/ ;;
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3166 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3177 if test -n "$CC"; then
3178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 printf "%s\n" "$CC" >&6; }
3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 printf "%s\n" "no" >&6; }
3186 test -n "$CC" && break
3189 if test -z "$CC"; then
3191 for ac_prog in cl.exe
3193 # Extract the first word of "$ac_prog", so it can be a program name with args.
3194 set dummy $ac_prog; ac_word=$2
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 printf %s "checking for $ac_word... " >&6; }
3197 if test ${ac_cv_prog_ac_ct_CC+y}
3199 printf %s "(cached) " >&6
3201 if test -n "$ac_ct_CC"; then
3202 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 case $as_dir in #(((
3211 *) as_dir=$as_dir/ ;;
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_ac_ct_CC="$ac_prog"
3216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 printf "%s\n" "$ac_ct_CC" >&6; }
3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 printf "%s\n" "no" >&6; }
3235 test -n "$ac_ct_CC" && break
3238 if test "x$ac_ct_CC" = x; then
3241 case $cross_compiling:$ac_tool_warned in
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245 ac_tool_warned=yes ;;
3252 if test -z "$CC"; then
3253 if test -n "$ac_tool_prefix"; then
3254 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}clang; ac_word=$2
3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 printf %s "checking for $ac_word... " >&6; }
3258 if test ${ac_cv_prog_CC+y}
3260 printf %s "(cached) " >&6
3262 if test -n "$CC"; then
3263 ac_cv_prog_CC="$CC" # Let the user override the test.
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 case $as_dir in #(((
3272 *) as_dir=$as_dir/ ;;
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3276 ac_cv_prog_CC="${ac_tool_prefix}clang"
3277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3287 if test -n "$CC"; then
3288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 printf "%s\n" "$CC" >&6; }
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 printf "%s\n" "no" >&6; }
3297 if test -z "$ac_cv_prog_CC"; then
3299 # Extract the first word of "clang", so it can be a program name with args.
3300 set dummy clang; ac_word=$2
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 printf %s "checking for $ac_word... " >&6; }
3303 if test ${ac_cv_prog_ac_ct_CC+y}
3305 printf %s "(cached) " >&6
3307 if test -n "$ac_ct_CC"; then
3308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 case $as_dir in #(((
3317 *) as_dir=$as_dir/ ;;
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_CC="clang"
3322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334 printf "%s\n" "$ac_ct_CC" >&6; }
3336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 printf "%s\n" "no" >&6; }
3340 if test "x$ac_ct_CC" = x; then
3343 case $cross_compiling:$ac_tool_warned in
3345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned=yes ;;
3358 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $? "no acceptable C compiler found in \$PATH
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 # Provide some information about the compiler.
3364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3367 for ac_option in --version -v -V -qversion -version; do
3368 { { ac_try="$ac_compiler $ac_option >&5"
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 printf "%s\n" "$ac_try_echo"; } >&5
3375 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3377 if test -s conftest.err; then
3379 ... rest of stderr output deleted ...
3380 10q' conftest.err >conftest.er1
3381 cat conftest.er1 >&5
3383 rm -f conftest.er1 conftest.err
3384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 ac_clean_files_save=$ac_clean_files
3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401 # Try to create an executable without -o first, disregard a.out.
3402 # It will help us diagnose broken compilers, and finding out an intuition
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405 printf %s "checking whether the C compiler works... " >&6; }
3406 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3408 # The possible output files:
3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3412 for ac_file in $ac_files
3415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3416 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3421 if { { ac_try="$ac_link_default"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 printf "%s\n" "$ac_try_echo"; } >&5
3428 (eval "$ac_link_default") 2>&5
3430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }
3433 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3434 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3435 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3436 # so that the user can short-circuit this test for compilers unknown to
3438 for ac_file in $ac_files ''
3440 test -f "$ac_file" || continue
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3445 # We found the default executable, but exeext='' is most
3449 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3451 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453 # We set ac_cv_exeext here because the later test for it is not
3454 # safe: cross compilers may not add the suffix if given an `-o'
3455 # argument, so we may need to know it at that point already.
3456 # Even if this section looks crufty: it has the advantage of
3463 test "$ac_cv_exeext" = no && ac_cv_exeext=
3468 if test -z "$ac_file"
3470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 printf "%s\n" "no" >&6; }
3472 printf "%s\n" "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3475 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3477 as_fn_error 77 "C compiler cannot create executables
3478 See \`config.log' for more details" "$LINENO" 5; }
3480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481 printf "%s\n" "yes" >&6; }
3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3484 printf %s "checking for C compiler default output file name... " >&6; }
3485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3486 printf "%s\n" "$ac_file" >&6; }
3487 ac_exeext=$ac_cv_exeext
3489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3490 ac_clean_files=$ac_clean_files_save
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3492 printf %s "checking for suffix of executables... " >&6; }
3493 if { { ac_try="$ac_link"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 printf "%s\n" "$ac_try_echo"; } >&5
3500 (eval "$ac_link") 2>&5
3502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }
3505 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3506 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3507 # work properly (i.e., refer to `conftest.exe'), while it won't with
3509 for ac_file in conftest.exe conftest conftest.*; do
3510 test -f "$ac_file" || continue
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3513 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3519 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3521 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3522 See \`config.log' for more details" "$LINENO" 5; }
3524 rm -f conftest conftest$ac_cv_exeext
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3526 printf "%s\n" "$ac_cv_exeext" >&6; }
3528 rm -f conftest.$ac_ext
3529 EXEEXT=$ac_cv_exeext
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3537 FILE *f = fopen ("conftest.out", "w");
3538 return ferror (f) || fclose (f) != 0;
3544 ac_clean_files="$ac_clean_files conftest.out"
3545 # Check that the compiler produces executables we can run. If not, either
3546 # the compiler is broken, or we cross compile.
3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3548 printf %s "checking whether we are cross compiling... " >&6; }
3549 if test "$cross_compiling" != yes; then
3550 { { ac_try="$ac_link"
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;;
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 printf "%s\n" "$ac_try_echo"; } >&5
3557 (eval "$ac_link") 2>&5
3559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }
3561 if { ac_try='./conftest$ac_cv_exeext'
3562 { { case "(($ac_try" in
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 printf "%s\n" "$ac_try_echo"; } >&5
3568 (eval "$ac_try") 2>&5
3570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571 test $ac_status = 0; }; }; then
3574 if test "$cross_compiling" = maybe; then
3577 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error 77 "cannot run C compiled programs.
3580 If you meant to cross compile, use \`--host'.
3581 See \`config.log' for more details" "$LINENO" 5; }
3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3586 printf "%s\n" "$cross_compiling" >&6; }
3588 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3589 ac_clean_files=$ac_clean_files_save
3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3591 printf %s "checking for suffix of object files... " >&6; }
3592 if test ${ac_cv_objext+y}
3594 printf %s "(cached) " >&6
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3607 rm -f conftest.o conftest.obj
3608 if { { ac_try="$ac_compile"
3610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611 *) ac_try_echo=$ac_try;;
3613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 printf "%s\n" "$ac_try_echo"; } >&5
3615 (eval "$ac_compile") 2>&5
3617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618 test $ac_status = 0; }
3620 for ac_file in conftest.o conftest.obj conftest.*; do
3621 test -f "$ac_file" || continue;
3623 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3624 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3629 printf "%s\n" "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of object files: cannot compile
3635 See \`config.log' for more details" "$LINENO" 5; }
3637 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3640 printf "%s\n" "$ac_cv_objext" >&6; }
3641 OBJEXT=$ac_cv_objext
3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3644 printf %s "checking whether the compiler supports GNU C... " >&6; }
3645 if test ${ac_cv_c_compiler_gnu+y}
3647 printf %s "(cached) " >&6
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"
3669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3674 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 if test $ac_compiler_gnu = yes; then
3682 ac_test_CFLAGS=${CFLAGS+y}
3683 ac_save_CFLAGS=$CFLAGS
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3685 printf %s "checking whether $CC accepts -g... " >&6; }
3686 if test ${ac_cv_prog_cc_g+y}
3688 printf %s "(cached) " >&6
3690 ac_save_c_werror_flag=$ac_c_werror_flag
3691 ac_c_werror_flag=yes
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3705 if ac_fn_c_try_compile "$LINENO"
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 if ac_fn_c_try_compile "$LINENO"
3725 ac_c_werror_flag=$ac_save_c_werror_flag
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3738 if ac_fn_c_try_compile "$LINENO"
3742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3747 ac_c_werror_flag=$ac_save_c_werror_flag
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3750 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3751 if test $ac_test_CFLAGS; then
3752 CFLAGS=$ac_save_CFLAGS
3753 elif test $ac_cv_prog_cc_g = yes; then
3754 if test "$GCC" = yes; then
3760 if test "$GCC" = yes; then
3767 if test x$ac_prog_cc_stdc = xno
3769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3770 printf %s "checking for $CC option to enable C11 features... " >&6; }
3771 if test ${ac_cv_prog_cc_c11+y}
3773 printf %s "(cached) " >&6
3775 ac_cv_prog_cc_c11=no
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3779 $ac_c_conftest_c11_program
3781 for ac_arg in '' -std=gnu11
3783 CC="$ac_save_CC $ac_arg"
3784 if ac_fn_c_try_compile "$LINENO"
3786 ac_cv_prog_cc_c11=$ac_arg
3788 rm -f core conftest.err conftest.$ac_objext conftest.beam
3789 test "x$ac_cv_prog_cc_c11" != "xno" && break
3791 rm -f conftest.$ac_ext
3795 if test "x$ac_cv_prog_cc_c11" = xno
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3798 printf "%s\n" "unsupported" >&6; }
3800 if test "x$ac_cv_prog_cc_c11" = x
3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3803 printf "%s\n" "none needed" >&6; }
3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3806 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3807 CC="$CC $ac_cv_prog_cc_c11"
3809 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3813 if test x$ac_prog_cc_stdc = xno
3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3816 printf %s "checking for $CC option to enable C99 features... " >&6; }
3817 if test ${ac_cv_prog_cc_c99+y}
3819 printf %s "(cached) " >&6
3821 ac_cv_prog_cc_c99=no
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3825 $ac_c_conftest_c99_program
3827 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3829 CC="$ac_save_CC $ac_arg"
3830 if ac_fn_c_try_compile "$LINENO"
3832 ac_cv_prog_cc_c99=$ac_arg
3834 rm -f core conftest.err conftest.$ac_objext conftest.beam
3835 test "x$ac_cv_prog_cc_c99" != "xno" && break
3837 rm -f conftest.$ac_ext
3841 if test "x$ac_cv_prog_cc_c99" = xno
3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3844 printf "%s\n" "unsupported" >&6; }
3846 if test "x$ac_cv_prog_cc_c99" = x
3848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3849 printf "%s\n" "none needed" >&6; }
3851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3852 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3853 CC="$CC $ac_cv_prog_cc_c99"
3855 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3859 if test x$ac_prog_cc_stdc = xno
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3862 printf %s "checking for $CC option to enable C89 features... " >&6; }
3863 if test ${ac_cv_prog_cc_c89+y}
3865 printf %s "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3871 $ac_c_conftest_c89_program
3873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3875 CC="$ac_save_CC $ac_arg"
3876 if ac_fn_c_try_compile "$LINENO"
3878 ac_cv_prog_cc_c89=$ac_arg
3880 rm -f core conftest.err conftest.$ac_objext conftest.beam
3881 test "x$ac_cv_prog_cc_c89" != "xno" && break
3883 rm -f conftest.$ac_ext
3887 if test "x$ac_cv_prog_cc_c89" = xno
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3890 printf "%s\n" "unsupported" >&6; }
3892 if test "x$ac_cv_prog_cc_c89" = x
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3895 printf "%s\n" "none needed" >&6; }
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3898 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3899 CC="$CC $ac_cv_prog_cc_c89"
3901 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3919 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3920 if test ${am_cv_prog_cc_c_o+y}
3922 printf %s "(cached) " >&6
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3935 # Make sure it works both with $CC and with simple cc.
3936 # Following AC_PROG_CC_C_O, we do the test twice because some
3937 # compilers refuse to overwrite an existing .o file with -o,
3938 # though they will create one.
3939 am_cv_prog_cc_c_o=yes
3941 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3942 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } \
3946 && test -f conftest2.$ac_objext; then
3949 am_cv_prog_cc_c_o=no
3953 rm -f core conftest*
3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3957 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3958 if test "$am_cv_prog_cc_c_o" != yes; then
3959 # Losing compiler, so override with the script.
3960 # FIXME: It is wrong to rewrite CC.
3961 # But if we don't then we get into trouble of one sort or another.
3962 # A longer-term fix would be to have automake use am__CC in this case,
3963 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3964 CC="$am_aux_dir/compile $CC"
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3972 DEPDIR="${am__leading_dot}deps"
3974 ac_config_commands="$ac_config_commands depfiles"
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3977 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3978 cat > confinc.mk << 'END'
3980 @echo this is the am__doit target >confinc.out
3985 # BSD make does it like this.
3986 echo '.include "confinc.mk" # ignored' > confmf.BSD
3987 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3988 echo 'include confinc.mk # ignored' > confmf.GNU
3990 for s in GNU BSD; do
3991 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3992 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }
3996 case $?:`cat confinc.out 2>/dev/null` in #(
3997 '0:this is the am__doit target') :
4000 am__include='.include' am__quote='"' ;; #(
4002 am__include='include' am__quote='' ;;
4007 if test "$am__include" != "#"; then
4008 _am_result="yes ($s style)"
4012 rm -f confinc.* confmf.*
4013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4014 printf "%s\n" "${_am_result}" >&6; }
4016 # Check whether --enable-dependency-tracking was given.
4017 if test ${enable_dependency_tracking+y}
4019 enableval=$enable_dependency_tracking;
4022 if test "x$enable_dependency_tracking" != xno; then
4023 am_depcomp="$ac_aux_dir/depcomp"
4027 if test "x$enable_dependency_tracking" != xno; then
4037 depcc="$CC" am_compiler_list=
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4040 printf %s "checking dependency style of $depcc... " >&6; }
4041 if test ${am_cv_CC_dependencies_compiler_type+y}
4043 printf %s "(cached) " >&6
4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4046 # We make a subdir and do the tests there. Otherwise we can end up
4047 # making bogus files that we don't know about and never remove. For
4048 # instance it was reported that on HP-UX the gcc test will end up
4049 # making a dummy file named 'D' -- because '-MD' means "put the output
4053 # Copy depcomp to subdir because otherwise we won't find it if we're
4054 # using a relative directory.
4055 cp "$am_depcomp" conftest.dir
4057 # We will build objects and dependencies in a subdirectory because
4058 # it helps to detect inapplicable dependency modes. For instance
4059 # both Tru64's cc and ICC support -MD to output dependencies as a
4060 # side effect of compilation, but ICC will put the dependencies in
4061 # the current directory while Tru64 will put them in the object
4065 am_cv_CC_dependencies_compiler_type=none
4066 if test "$am_compiler_list" = ""; then
4067 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4070 case " $depcc " in #(
4071 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4074 for depmode in $am_compiler_list; do
4075 # Setup a source with many dependencies, because some compilers
4076 # like to wrap large dependency lists on column 80 (with \), and
4077 # we should not choose a depcomp mode which is confused by this.
4079 # We need to recreate these files for each test, as the compiler may
4080 # overwrite some of them when testing with obscure command lines.
4081 # This happens at least with the AIX C compiler.
4083 for i in 1 2 3 4 5 6; do
4084 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4085 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4086 # Solaris 10 /bin/sh.
4087 echo '/* dummy */' > sub/conftst$i.h
4089 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4091 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4092 # mode. It turns out that the SunPro C++ compiler does not properly
4093 # handle '-M -o', and we need to detect this. Also, some Intel
4094 # versions had trouble with output in subdirs.
4095 am__obj=sub/conftest.${OBJEXT-o}
4096 am__minus_obj="-o $am__obj"
4099 # This depmode causes a compiler race in universal mode.
4100 test "$am__universal" = false || continue
4103 # After this tag, mechanisms are not by side-effect, so they'll
4104 # only be used when explicitly requested.
4105 if test "x$enable_dependency_tracking" = xyes; then
4111 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4112 # This compiler won't grok '-c -o', but also, the minuso test has
4113 # not run yet. These depmodes are late enough in the game, and
4114 # so weak that their functioning should not be impacted.
4115 am__obj=conftest.${OBJEXT-o}
4120 if depmode=$depmode \
4121 source=sub/conftest.c object=$am__obj \
4122 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4123 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4124 >/dev/null 2>conftest.err &&
4125 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4126 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4127 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4128 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4129 # icc doesn't choke on unknown options, it will just issue warnings
4130 # or remarks (even with -Werror). So we grep stderr for any message
4131 # that says an option was ignored or not supported.
4132 # When given -MP, icc 7.0 and 7.1 complain thusly:
4133 # icc: Command line warning: ignoring option '-M'; no argument required
4134 # The diagnosis changed in icc 8.0:
4135 # icc: Command line remark: option '-MP' not supported
4136 if (grep 'ignoring option' conftest.err ||
4137 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4138 am_cv_CC_dependencies_compiler_type=$depmode
4147 am_cv_CC_dependencies_compiler_type=none
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4152 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4153 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4156 test "x$enable_dependency_tracking" != xno \
4157 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4159 am__fastdepCC_FALSE='#'
4161 am__fastdepCC_TRUE='#'
4162 am__fastdepCC_FALSE=
4166 if test -n "$ac_tool_prefix"; then
4167 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4168 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 printf %s "checking for $ac_word... " >&6; }
4171 if test ${ac_cv_prog_RANLIB+y}
4173 printf %s "(cached) " >&6
4175 if test -n "$RANLIB"; then
4176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 case $as_dir in #(((
4185 *) as_dir=$as_dir/ ;;
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4199 RANLIB=$ac_cv_prog_RANLIB
4200 if test -n "$RANLIB"; then
4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4202 printf "%s\n" "$RANLIB" >&6; }
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 printf "%s\n" "no" >&6; }
4210 if test -z "$ac_cv_prog_RANLIB"; then
4211 ac_ct_RANLIB=$RANLIB
4212 # Extract the first word of "ranlib", so it can be a program name with args.
4213 set dummy ranlib; ac_word=$2
4214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 printf %s "checking for $ac_word... " >&6; }
4216 if test ${ac_cv_prog_ac_ct_RANLIB+y}
4218 printf %s "(cached) " >&6
4220 if test -n "$ac_ct_RANLIB"; then
4221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 case $as_dir in #(((
4230 *) as_dir=$as_dir/ ;;
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4234 ac_cv_prog_ac_ct_RANLIB="ranlib"
4235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4245 if test -n "$ac_ct_RANLIB"; then
4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4247 printf "%s\n" "$ac_ct_RANLIB" >&6; }
4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 printf "%s\n" "no" >&6; }
4253 if test "x$ac_ct_RANLIB" = x; then
4256 case $cross_compiling:$ac_tool_warned in
4258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4262 RANLIB=$ac_ct_RANLIB
4265 RANLIB="$ac_cv_prog_RANLIB"
4270 if test -n "$ac_tool_prefix"; then
4271 for ac_prog in ar lib "link -lib"
4273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 printf %s "checking for $ac_word... " >&6; }
4277 if test ${ac_cv_prog_AR+y}
4279 printf %s "(cached) " >&6
4281 if test -n "$AR"; then
4282 ac_cv_prog_AR="$AR" # Let the user override the test.
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 case $as_dir in #(((
4291 *) as_dir=$as_dir/ ;;
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4306 if test -n "$AR"; then
4307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4308 printf "%s\n" "$AR" >&6; }
4310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 printf "%s\n" "no" >&6; }
4315 test -n "$AR" && break
4318 if test -z "$AR"; then
4320 for ac_prog in ar lib "link -lib"
4322 # Extract the first word of "$ac_prog", so it can be a program name with args.
4323 set dummy $ac_prog; ac_word=$2
4324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 printf %s "checking for $ac_word... " >&6; }
4326 if test ${ac_cv_prog_ac_ct_AR+y}
4328 printf %s "(cached) " >&6
4330 if test -n "$ac_ct_AR"; then
4331 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337 case $as_dir in #(((
4340 *) as_dir=$as_dir/ ;;
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_ac_ct_AR="$ac_prog"
4345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4355 if test -n "$ac_ct_AR"; then
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4357 printf "%s\n" "$ac_ct_AR" >&6; }
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 printf "%s\n" "no" >&6; }
4364 test -n "$ac_ct_AR" && break
4367 if test "x$ac_ct_AR" = x; then
4370 case $cross_compiling:$ac_tool_warned in
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned=yes ;;
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4383 printf %s "checking the archiver ($AR) interface... " >&6; }
4384 if test ${am_cv_ar_interface+y}
4386 printf %s "(cached) " >&6
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 am_cv_ar_interface=ar
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4397 int some_variable = 0;
4399 if ac_fn_c_try_compile "$LINENO"
4401 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4402 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4403 (eval $am_ar_try) 2>&5
4405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4406 test $ac_status = 0; }
4407 if test "$ac_status" -eq 0; then
4408 am_cv_ar_interface=ar
4410 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4411 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4412 (eval $am_ar_try) 2>&5
4414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4415 test $ac_status = 0; }
4416 if test "$ac_status" -eq 0; then
4417 am_cv_ar_interface=lib
4419 am_cv_ar_interface=unknown
4422 rm -f conftest.lib libconftest.a
4425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4427 ac_cpp='$CPP $CPPFLAGS'
4428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4434 printf "%s\n" "$am_cv_ar_interface" >&6; }
4436 case $am_cv_ar_interface in
4440 # Microsoft lib, so override with the ar-lib wrapper script.
4441 # FIXME: It is wrong to rewrite AR.
4442 # But if we don't then we get into trouble of one sort or another.
4443 # A longer-term fix would be to have automake use am__AR in this case,
4444 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4446 AR="$am_aux_dir/ar-lib $AR"
4449 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4453 # Check whether --enable-largefile was given.
4454 if test ${enable_largefile+y}
4456 enableval=$enable_largefile;
4459 if test "$enable_largefile" != no; then
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4462 printf %s "checking for special C compiler options needed for large files... " >&6; }
4463 if test ${ac_cv_sys_largefile_CC+y}
4465 printf %s "(cached) " >&6
4467 ac_cv_sys_largefile_CC=no
4468 if test "$GCC" != yes; then
4471 # IRIX 6.2 and later do not support large files by default,
4472 # so use the C compiler's -n32 option if that helps.
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <sys/types.h>
4476 /* Check that off_t can represent 2**63 - 1 correctly.
4477 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4478 since some C++ compilers masquerading as C compilers
4479 incorrectly reject 9223372036854775807. */
4480 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4481 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4482 && LARGE_OFF_T % 2147483647 == 1)
4492 if ac_fn_c_try_compile "$LINENO"
4496 rm -f core conftest.err conftest.$ac_objext conftest.beam
4498 if ac_fn_c_try_compile "$LINENO"
4500 ac_cv_sys_largefile_CC=' -n32'; break
4502 rm -f core conftest.err conftest.$ac_objext conftest.beam
4506 rm -f conftest.$ac_ext
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4510 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
4511 if test "$ac_cv_sys_largefile_CC" != no; then
4512 CC=$CC$ac_cv_sys_largefile_CC
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4516 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4517 if test ${ac_cv_sys_file_offset_bits+y}
4519 printf %s "(cached) " >&6
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524 #include <sys/types.h>
4525 /* Check that off_t can represent 2**63 - 1 correctly.
4526 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4527 since some C++ compilers masquerading as C compilers
4528 incorrectly reject 9223372036854775807. */
4529 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4530 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4531 && LARGE_OFF_T % 2147483647 == 1)
4541 if ac_fn_c_try_compile "$LINENO"
4543 ac_cv_sys_file_offset_bits=no; break
4545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4548 #define _FILE_OFFSET_BITS 64
4549 #include <sys/types.h>
4550 /* Check that off_t can represent 2**63 - 1 correctly.
4551 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4552 since some C++ compilers masquerading as C compilers
4553 incorrectly reject 9223372036854775807. */
4554 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4555 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4556 && LARGE_OFF_T % 2147483647 == 1)
4566 if ac_fn_c_try_compile "$LINENO"
4568 ac_cv_sys_file_offset_bits=64; break
4570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4571 ac_cv_sys_file_offset_bits=unknown
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4576 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
4577 case $ac_cv_sys_file_offset_bits in #(
4580 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
4584 if test $ac_cv_sys_file_offset_bits = unknown; then
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4586 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
4587 if test ${ac_cv_sys_large_files+y}
4589 printf %s "(cached) " >&6
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4594 #include <sys/types.h>
4595 /* Check that off_t can represent 2**63 - 1 correctly.
4596 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4597 since some C++ compilers masquerading as C compilers
4598 incorrectly reject 9223372036854775807. */
4599 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4600 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4601 && LARGE_OFF_T % 2147483647 == 1)
4611 if ac_fn_c_try_compile "$LINENO"
4613 ac_cv_sys_large_files=no; break
4615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4618 #define _LARGE_FILES 1
4619 #include <sys/types.h>
4620 /* Check that off_t can represent 2**63 - 1 correctly.
4621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4622 since some C++ compilers masquerading as C compilers
4623 incorrectly reject 9223372036854775807. */
4624 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4626 && LARGE_OFF_T % 2147483647 == 1)
4636 if ac_fn_c_try_compile "$LINENO"
4638 ac_cv_sys_large_files=1; break
4640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4641 ac_cv_sys_large_files=unknown
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4646 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
4647 case $ac_cv_sys_large_files in #(
4650 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
4659 # Make sure we can run config.sub.
4660 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4661 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4664 printf %s "checking build system type... " >&6; }
4665 if test ${ac_cv_build+y}
4667 printf %s "(cached) " >&6
4669 ac_build_alias=$build_alias
4670 test "x$ac_build_alias" = x &&
4671 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4672 test "x$ac_build_alias" = x &&
4673 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4674 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4675 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4679 printf "%s\n" "$ac_cv_build" >&6; }
4680 case $ac_cv_build in
4682 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4685 ac_save_IFS=$IFS; IFS='-'
4691 # Remember, the first character of IFS is used to create $*,
4692 # except with old shells:
4695 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4699 printf %s "checking host system type... " >&6; }
4700 if test ${ac_cv_host+y}
4702 printf %s "(cached) " >&6
4704 if test "x$host_alias" = x; then
4705 ac_cv_host=$ac_cv_build
4707 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4708 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4713 printf "%s\n" "$ac_cv_host" >&6; }
4716 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4719 ac_save_IFS=$IFS; IFS='-'
4725 # Remember, the first character of IFS is used to create $*,
4726 # except with old shells:
4729 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4739 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4740 if test -n "$ac_tool_prefix"; then
4741 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4742 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 printf %s "checking for $ac_word... " >&6; }
4745 if test ${ac_cv_path_PKG_CONFIG+y}
4747 printf %s "(cached) " >&6
4751 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 case $as_dir in #(((
4761 *) as_dir=$as_dir/ ;;
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4765 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4776 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4777 if test -n "$PKG_CONFIG"; then
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4779 printf "%s\n" "$PKG_CONFIG" >&6; }
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 printf "%s\n" "no" >&6; }
4787 if test -z "$ac_cv_path_PKG_CONFIG"; then
4788 ac_pt_PKG_CONFIG=$PKG_CONFIG
4789 # Extract the first word of "pkg-config", so it can be a program name with args.
4790 set dummy pkg-config; ac_word=$2
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 printf %s "checking for $ac_word... " >&6; }
4793 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4795 printf %s "(cached) " >&6
4797 case $ac_pt_PKG_CONFIG in
4799 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 case $as_dir in #(((
4809 *) as_dir=$as_dir/ ;;
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4813 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4824 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4825 if test -n "$ac_pt_PKG_CONFIG"; then
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4827 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 printf "%s\n" "no" >&6; }
4833 if test "x$ac_pt_PKG_CONFIG" = x; then
4836 case $cross_compiling:$ac_tool_warned in
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4840 ac_tool_warned=yes ;;
4842 PKG_CONFIG=$ac_pt_PKG_CONFIG
4845 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4849 if test -n "$PKG_CONFIG"; then
4850 _pkg_min_version=0.9.0
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4852 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4853 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 printf "%s\n" "yes" >&6; }
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UBLIO" >&5
4865 printf %s "checking for UBLIO... " >&6; }
4867 if test -n "$UBLIO_CFLAGS"; then
4868 pkg_cv_UBLIO_CFLAGS="$UBLIO_CFLAGS"
4869 elif test -n "$PKG_CONFIG"; then
4870 if test -n "$PKG_CONFIG" && \
4871 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4872 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875 test $ac_status = 0; }; then
4876 pkg_cv_UBLIO_CFLAGS=`$PKG_CONFIG --cflags "libublio" 2>/dev/null`
4877 test "x$?" != "x0" && pkg_failed=yes
4884 if test -n "$UBLIO_LIBS"; then
4885 pkg_cv_UBLIO_LIBS="$UBLIO_LIBS"
4886 elif test -n "$PKG_CONFIG"; then
4887 if test -n "$PKG_CONFIG" && \
4888 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4889 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }; then
4893 pkg_cv_UBLIO_LIBS=`$PKG_CONFIG --libs "libublio" 2>/dev/null`
4894 test "x$?" != "x0" && pkg_failed=yes
4904 if test $pkg_failed = yes; then
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4909 _pkg_short_errors_supported=yes
4911 _pkg_short_errors_supported=no
4913 if test $_pkg_short_errors_supported = yes; then
4914 UBLIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libublio" 2>&1`
4916 UBLIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libublio" 2>&1`
4918 # Put the nasty error message in config.log where it belongs
4919 echo "$UBLIO_PKG_ERRORS" >&5
4922 elif test $pkg_failed = untried; then
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 printf "%s\n" "no" >&6; }
4927 UBLIO_CFLAGS=$pkg_cv_UBLIO_CFLAGS
4928 UBLIO_LIBS=$pkg_cv_UBLIO_LIBS
4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4930 printf "%s\n" "yes" >&6; }
4932 CFLAGS="$CFLAGS $UBLIO_CFLAGS"
4933 LIBS="$LIBS $UBLIO_LIBS"
4935 printf "%s\n" "#define USE_UBLIO 1" >>confdefs.h
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE3" >&5
4942 printf %s "checking for FUSE3... " >&6; }
4944 if test -n "$FUSE3_CFLAGS"; then
4945 pkg_cv_FUSE3_CFLAGS="$FUSE3_CFLAGS"
4946 elif test -n "$PKG_CONFIG"; then
4947 if test -n "$PKG_CONFIG" && \
4948 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
4949 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952 test $ac_status = 0; }; then
4953 pkg_cv_FUSE3_CFLAGS=`$PKG_CONFIG --cflags "fuse3" 2>/dev/null`
4954 test "x$?" != "x0" && pkg_failed=yes
4961 if test -n "$FUSE3_LIBS"; then
4962 pkg_cv_FUSE3_LIBS="$FUSE3_LIBS"
4963 elif test -n "$PKG_CONFIG"; then
4964 if test -n "$PKG_CONFIG" && \
4965 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
4966 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4969 test $ac_status = 0; }; then
4970 pkg_cv_FUSE3_LIBS=`$PKG_CONFIG --libs "fuse3" 2>/dev/null`
4971 test "x$?" != "x0" && pkg_failed=yes
4981 if test $pkg_failed = yes; then
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4986 _pkg_short_errors_supported=yes
4988 _pkg_short_errors_supported=no
4990 if test $_pkg_short_errors_supported = yes; then
4991 FUSE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse3" 2>&1`
4993 FUSE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse3" 2>&1`
4995 # Put the nasty error message in config.log where it belongs
4996 echo "$FUSE3_PKG_ERRORS" >&5
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE2" >&5
5001 printf %s "checking for FUSE2... " >&6; }
5003 if test -n "$FUSE2_CFLAGS"; then
5004 pkg_cv_FUSE2_CFLAGS="$FUSE2_CFLAGS"
5005 elif test -n "$PKG_CONFIG"; then
5006 if test -n "$PKG_CONFIG" && \
5007 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5008 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5011 test $ac_status = 0; }; then
5012 pkg_cv_FUSE2_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
5013 test "x$?" != "x0" && pkg_failed=yes
5020 if test -n "$FUSE2_LIBS"; then
5021 pkg_cv_FUSE2_LIBS="$FUSE2_LIBS"
5022 elif test -n "$PKG_CONFIG"; then
5023 if test -n "$PKG_CONFIG" && \
5024 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5025 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5028 test $ac_status = 0; }; then
5029 pkg_cv_FUSE2_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
5030 test "x$?" != "x0" && pkg_failed=yes
5040 if test $pkg_failed = yes; then
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 printf "%s\n" "no" >&6; }
5044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5045 _pkg_short_errors_supported=yes
5047 _pkg_short_errors_supported=no
5049 if test $_pkg_short_errors_supported = yes; then
5050 FUSE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5052 FUSE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5054 # Put the nasty error message in config.log where it belongs
5055 echo "$FUSE2_PKG_ERRORS" >&5
5057 as_fn_error $? "Package requirements (fuse >= 2.6) were not met:
5061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5062 installed software in a non-standard prefix.
5064 Alternatively, you may set the environment variables FUSE2_CFLAGS
5065 and FUSE2_LIBS to avoid the need to call pkg-config.
5066 See the pkg-config man page for more details." "$LINENO" 5
5067 elif test $pkg_failed = untried; then
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 printf "%s\n" "no" >&6; }
5070 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5072 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5073 is in your PATH or set the PKG_CONFIG environment variable to the full
5076 Alternatively, you may set the environment variables FUSE2_CFLAGS
5077 and FUSE2_LIBS to avoid the need to call pkg-config.
5078 See the pkg-config man page for more details.
5080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5081 See \`config.log' for more details" "$LINENO" 5; }
5083 FUSE2_CFLAGS=$pkg_cv_FUSE2_CFLAGS
5084 FUSE2_LIBS=$pkg_cv_FUSE2_LIBS
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 printf "%s\n" "yes" >&6; }
5088 printf "%s\n" "#define FUSE_USE_VERSION 26" >>confdefs.h
5091 elif test $pkg_failed = untried; then
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 printf "%s\n" "no" >&6; }
5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE2" >&5
5097 printf %s "checking for FUSE2... " >&6; }
5099 if test -n "$FUSE2_CFLAGS"; then
5100 pkg_cv_FUSE2_CFLAGS="$FUSE2_CFLAGS"
5101 elif test -n "$PKG_CONFIG"; then
5102 if test -n "$PKG_CONFIG" && \
5103 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5104 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }; then
5108 pkg_cv_FUSE2_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
5109 test "x$?" != "x0" && pkg_failed=yes
5116 if test -n "$FUSE2_LIBS"; then
5117 pkg_cv_FUSE2_LIBS="$FUSE2_LIBS"
5118 elif test -n "$PKG_CONFIG"; then
5119 if test -n "$PKG_CONFIG" && \
5120 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5121 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5124 test $ac_status = 0; }; then
5125 pkg_cv_FUSE2_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
5126 test "x$?" != "x0" && pkg_failed=yes
5136 if test $pkg_failed = yes; then
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5141 _pkg_short_errors_supported=yes
5143 _pkg_short_errors_supported=no
5145 if test $_pkg_short_errors_supported = yes; then
5146 FUSE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5148 FUSE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5150 # Put the nasty error message in config.log where it belongs
5151 echo "$FUSE2_PKG_ERRORS" >&5
5153 as_fn_error $? "Package requirements (fuse >= 2.6) were not met:
5157 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5158 installed software in a non-standard prefix.
5160 Alternatively, you may set the environment variables FUSE2_CFLAGS
5161 and FUSE2_LIBS to avoid the need to call pkg-config.
5162 See the pkg-config man page for more details." "$LINENO" 5
5163 elif test $pkg_failed = untried; then
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 printf "%s\n" "no" >&6; }
5166 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5168 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5169 is in your PATH or set the PKG_CONFIG environment variable to the full
5172 Alternatively, you may set the environment variables FUSE2_CFLAGS
5173 and FUSE2_LIBS to avoid the need to call pkg-config.
5174 See the pkg-config man page for more details.
5176 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5177 See \`config.log' for more details" "$LINENO" 5; }
5179 FUSE2_CFLAGS=$pkg_cv_FUSE2_CFLAGS
5180 FUSE2_LIBS=$pkg_cv_FUSE2_LIBS
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5182 printf "%s\n" "yes" >&6; }
5184 printf "%s\n" "#define FUSE_USE_VERSION 26" >>confdefs.h
5188 FUSE3_CFLAGS=$pkg_cv_FUSE3_CFLAGS
5189 FUSE3_LIBS=$pkg_cv_FUSE3_LIBS
5190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 printf "%s\n" "yes" >&6; }
5193 printf "%s\n" "#define FUSE_USE_VERSION 30" >>confdefs.h
5199 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5202 printf "%s\n" "#define _DEFAULT_SOURCE /**/" >>confdefs.h
5206 ac_config_headers="$ac_config_headers libexfat/config.h"
5208 ac_config_files="$ac_config_files libexfat/Makefile fuse/Makefile Makefile"
5210 cat >confcache <<\_ACEOF
5211 # This file is a shell script that caches the results of configure
5212 # tests run on this system so they can be shared between configure
5213 # scripts and configure runs, see configure's option --config-cache.
5214 # It is not useful on other systems. If it contains results you don't
5215 # want to keep, you may remove or edit it.
5217 # config.status only pays attention to the cache file if you give it
5218 # the --recheck option to rerun configure.
5220 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5221 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5226 # The following way of writing the cache mishandles newlines in values,
5227 # but we know of no workaround that is simple, portable, and efficient.
5228 # So, we kill variables containing newlines.
5229 # Ultrix sh set writes to stderr and can't be redirected directly,
5230 # and sets the high bit in the cache file unless we assign to the vars.
5232 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5233 eval ac_val=\$$ac_var
5237 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5238 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5241 _ | IFS | as_nl) ;; #(
5242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5243 *) { eval $ac_var=; unset $ac_var;} ;;
5249 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5250 *${as_nl}ac_space=\ *)
5251 # `set' does not quote correctly, so add quotes: double-quote
5252 # substitution turns \\\\ into \\, and sed turns \\ into \.
5255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5258 # `set' quotes correctly as required by POSIX, so do not add quotes.
5259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5268 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5273 if test -w "$cache_file"; then
5274 if test "x$cache_file" != "x/dev/null"; then
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5276 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5277 if test ! -f "$cache_file" || test -h "$cache_file"; then
5278 cat confcache >"$cache_file"
5280 case $cache_file in #(
5282 mv -f confcache "$cache_file"$$ &&
5283 mv -f "$cache_file"$$ "$cache_file" ;; #(
5285 mv -f confcache "$cache_file" ;;
5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5291 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5296 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5297 # Let make expand exec_prefix.
5298 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5300 DEFS=-DHAVE_CONFIG_H
5305 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5306 # 1. Remove the extension, and $U if already installed.
5307 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5308 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5309 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5310 # will be set to the directory where LIBOBJS objects are built.
5311 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5312 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5316 LTLIBOBJS=$ac_ltlibobjs
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5320 printf %s "checking that generated files are newer than configure... " >&6; }
5321 if test -n "$am_sleep_pid"; then
5322 # Hide warnings about reused PIDs.
5323 wait $am_sleep_pid 2>/dev/null
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5326 printf "%s\n" "done" >&6; }
5327 if test -n "$EXEEXT"; then
5329 am__EXEEXT_FALSE='#'
5335 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5336 as_fn_error $? "conditional \"AMDEP\" was never defined.
5337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5339 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5340 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5344 : "${CONFIG_STATUS=./config.status}"
5346 ac_clean_files_save=$ac_clean_files
5347 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5349 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5351 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5353 # Generated by $as_me.
5354 # Run this file to recreate the current configuration.
5355 # Compiler output produced by configure, useful for debugging
5356 # configure, is in config.log if it exists.
5362 SHELL=\${CONFIG_SHELL-$SHELL}
5365 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5366 ## -------------------- ##
5367 ## M4sh Initialization. ##
5368 ## -------------------- ##
5370 # Be more Bourne compatible
5371 DUALCASE=1; export DUALCASE # for MKS sh
5373 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5377 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5378 # is contrary to our usage. Disable this feature.
5379 alias -g '${1+"$@"}'='"$@"'
5380 setopt NO_GLOB_SUBST
5382 case `(set -o) 2>/dev/null` in #(
5392 # Reset variables that may have inherited troublesome values from
5395 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5396 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5397 # side effect of setting IFS to empty, thus disabling word splitting.)
5398 # Quoting is to prevent editors from complaining about space-tab.
5408 # Ensure predictable behavior from utilities with locale-dependent output.
5414 # We cannot yet rely on "unset" to work, but we need these variables
5415 # to be unset--not just set to an empty or harmless value--now, to
5416 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5417 # also avoids known problems related to "unset" and subshell syntax
5418 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5419 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5420 do eval test \${$as_var+y} \
5421 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5424 # Ensure that fds 0, 1, and 2 are open.
5425 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5426 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5427 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5429 # The user is always right.
5430 if ${PATH_SEPARATOR+false} :; then
5432 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5433 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5439 # Find who we are. Look in the path if we contain no directory separator.
5442 *[\\/]* ) as_myself=$0 ;;
5443 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 case $as_dir in #(((
5450 *) as_dir=$as_dir/ ;;
5452 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5458 # We did not find ourselves, most probably we were run as `sh COMMAND'
5459 # in which case we are not to be found in the path.
5460 if test "x$as_myself" = x; then
5463 if test ! -f "$as_myself"; then
5464 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5470 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5471 # ----------------------------------------
5472 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5473 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5474 # script with STATUS, using 1 if that was 0.
5477 as_status=$1; test $as_status -eq 0 && as_status=1
5479 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5482 printf "%s\n" "$as_me: error: $2" >&2
5483 as_fn_exit $as_status
5488 # as_fn_set_status STATUS
5489 # -----------------------
5490 # Set $? to STATUS, without forking.
5494 } # as_fn_set_status
5498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5508 # Portably unset VAR.
5511 { eval $1=; unset $1;}
5513 as_unset=as_fn_unset
5515 # as_fn_append VAR VALUE
5516 # ----------------------
5517 # Append the text in VALUE to the end of the definition contained in VAR. Take
5518 # advantage of any shell optimizations that allow amortized linear growth over
5519 # repeated appends, instead of the typical quadratic growth present in naive
5521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5523 eval 'as_fn_append ()
5534 # as_fn_arith ARG...
5535 # ------------------
5536 # Perform arithmetic evaluation on the ARGs, and store the result in the
5537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5538 # must be portable across $(()) and expr.
5539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5541 eval 'as_fn_arith ()
5548 as_val=`expr "$@" || test $? -eq 1`
5553 if expr a : '\(a\)' >/dev/null 2>&1 &&
5554 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5560 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5561 as_basename=basename
5566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5572 as_me=`$as_basename -- "$0" ||
5573 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5574 X"$0" : 'X\(//\)$' \| \
5575 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5576 printf "%s\n" X/"$0" |
5577 sed '/^.*\/\([^/][^/]*\)\/*$/{
5591 # Avoid depending upon Character Ranges.
5592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5595 as_cr_digits='0123456789'
5596 as_cr_alnum=$as_cr_Letters$as_cr_digits
5599 # Determine whether it's possible to make 'echo' print without a newline.
5600 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5601 # for compatibility with existing Makefiles.
5602 ECHO_C= ECHO_N= ECHO_T=
5603 case `echo -n x` in #(((((
5605 case `echo 'xy\c'` in
5606 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5608 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5615 # For backward compatibility with old third-party macros, we provide
5616 # the shell variables $as_echo and $as_echo_n. New code should use
5617 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5618 as_echo='printf %s\n'
5619 as_echo_n='printf %s'
5621 rm -f conf$$ conf$$.exe conf$$.file
5622 if test -d conf$$.dir; then
5623 rm -f conf$$.dir/conf$$.file
5626 mkdir conf$$.dir 2>/dev/null
5628 if (echo >conf$$.file) 2>/dev/null; then
5629 if ln -s conf$$.file conf$$ 2>/dev/null; then
5631 # ... but there are two gotchas:
5632 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5633 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5634 # In both cases, we have to default to `cp -pR'.
5635 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5637 elif ln conf$$.file conf$$ 2>/dev/null; then
5645 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5646 rmdir conf$$.dir 2>/dev/null
5651 # Create "$as_dir" as a directory, including parents if necessary.
5656 -*) as_dir=./$as_dir;;
5658 test -d "$as_dir" || eval $as_mkdir_p || {
5662 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5663 *) as_qdir=$as_dir;;
5665 as_dirs="'$as_qdir' $as_dirs"
5666 as_dir=`$as_dirname -- "$as_dir" ||
5667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5668 X"$as_dir" : 'X\(//\)[^/]' \| \
5669 X"$as_dir" : 'X\(//\)$' \| \
5670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5671 printf "%s\n" X"$as_dir" |
5672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5689 test -d "$as_dir" && break
5691 test -z "$as_dirs" || eval "mkdir $as_dirs"
5692 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5696 if mkdir -p . 2>/dev/null; then
5697 as_mkdir_p='mkdir -p "$as_dir"'
5699 test -d ./-p && rmdir ./-p
5704 # as_fn_executable_p FILE
5705 # -----------------------
5706 # Test if FILE is an executable regular file.
5707 as_fn_executable_p ()
5709 test -f "$1" && test -x "$1"
5710 } # as_fn_executable_p
5712 as_executable_p=as_fn_executable_p
5714 # Sed expression to map a string onto a valid CPP name.
5715 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5717 # Sed expression to map a string onto a valid variable name.
5718 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5722 ## ----------------------------------- ##
5723 ## Main body of $CONFIG_STATUS script. ##
5724 ## ----------------------------------- ##
5726 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5729 # Save the log message, to keep $0 and so on meaningful, and to
5730 # report actual input values of CONFIG_FILES etc. instead of their
5731 # values after options handling.
5733 This file was extended by Free exFAT implementation $as_me 1.4.0, which was
5734 generated by GNU Autoconf 2.71. Invocation command line was
5736 CONFIG_FILES = $CONFIG_FILES
5737 CONFIG_HEADERS = $CONFIG_HEADERS
5738 CONFIG_LINKS = $CONFIG_LINKS
5739 CONFIG_COMMANDS = $CONFIG_COMMANDS
5742 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5747 case $ac_config_files in *"
5748 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5751 case $ac_config_headers in *"
5752 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5757 # Files that config.status was made for.
5758 config_files="$ac_config_files"
5759 config_headers="$ac_config_headers"
5760 config_commands="$ac_config_commands"
5764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5766 \`$as_me' instantiates files and other configuration actions
5767 from templates according to the current configuration. Unless the files
5768 and actions are specified as TAGs, all are instantiated by default.
5770 Usage: $0 [OPTION]... [TAG]...
5772 -h, --help print this help, then exit
5773 -V, --version print version number and configuration settings, then exit
5774 --config print configuration, then exit
5775 -q, --quiet, --silent
5776 do not print progress messages
5777 -d, --debug don't remove temporary files
5778 --recheck update $as_me by reconfiguring in the same conditions
5779 --file=FILE[:TEMPLATE]
5780 instantiate the configuration file FILE
5781 --header=FILE[:TEMPLATE]
5782 instantiate the configuration header FILE
5784 Configuration files:
5787 Configuration headers:
5790 Configuration commands:
5793 Report bugs to <relan@users.noreply.github.com>.
5794 Free exFAT implementation home page: <https://github.com/relan/exfat>."
5797 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5798 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5800 ac_cs_config='$ac_cs_config_escaped'
5802 Free exFAT implementation config.status 1.4.0
5803 configured by $0, generated by GNU Autoconf 2.71,
5804 with options \\"\$ac_cs_config\\"
5806 Copyright (C) 2021 Free Software Foundation, Inc.
5807 This config.status script is free software; the Free Software Foundation
5808 gives unlimited permission to copy, distribute and modify it."
5815 test -n "\$AWK" || AWK=awk
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5819 # The default lists apply if the user does not specify any file.
5825 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5826 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5842 # Handling of the options.
5843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5845 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5846 printf "%s\n" "$ac_cs_version"; exit ;;
5847 --config | --confi | --conf | --con | --co | --c )
5848 printf "%s\n" "$ac_cs_config"; exit ;;
5849 --debug | --debu | --deb | --de | --d | -d )
5851 --file | --fil | --fi | --f )
5854 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5855 '') as_fn_error $? "missing file argument" ;;
5857 as_fn_append CONFIG_FILES " '$ac_optarg'"
5858 ac_need_defaults=false;;
5859 --header | --heade | --head | --hea )
5862 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5864 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5865 ac_need_defaults=false;;
5867 # Conflict between --help and --header
5868 as_fn_error $? "ambiguous option: \`$1'
5869 Try \`$0 --help' for more information.";;
5870 --help | --hel | -h )
5871 printf "%s\n" "$ac_cs_usage"; exit ;;
5872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5877 -*) as_fn_error $? "unrecognized option: \`$1'
5878 Try \`$0 --help' for more information." ;;
5880 *) as_fn_append ac_config_targets " $1"
5881 ac_need_defaults=false ;;
5887 ac_configure_extra_args=
5889 if $ac_cs_silent; then
5891 ac_configure_extra_args="$ac_configure_extra_args --silent"
5895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5896 if \$ac_cs_recheck; then
5897 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5899 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5900 CONFIG_SHELL='$SHELL'
5906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5911 ## Running $as_me. ##
5913 printf "%s\n" "$ac_log"
5917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5921 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5927 # Handling of arguments.
5928 for ac_config_target in $ac_config_targets
5930 case $ac_config_target in
5931 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5932 "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
5933 "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
5934 "fuse/Makefile") CONFIG_FILES="$CONFIG_FILES fuse/Makefile" ;;
5935 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5937 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5942 # If the user did not use the arguments to specify the items to instantiate,
5943 # then the envvar interface is used. Set only those that are not.
5944 # We use the long form for the default assignment because of an extremely
5945 # bizarre bug on SunOS 4.1.3.
5946 if $ac_need_defaults; then
5947 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5948 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5949 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5952 # Have a temporary directory for convenience. Make it in the build tree
5953 # simply because there is no reason against having it here, and in addition,
5954 # creating and moving files from /tmp can sometimes cause problems.
5955 # Hook for its removal unless debugging.
5956 # Note that there is a small window in which the directory will not be cleaned:
5957 # after its creation but before its name has been assigned to `$tmp'.
5961 trap 'exit_status=$?
5963 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5965 trap 'as_fn_exit 1' 1 2 13 15
5967 # Create a (secure) tmp directory for tmp files.
5970 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5974 tmp=./conf$$-$RANDOM
5975 (umask 077 && mkdir "$tmp")
5976 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5979 # Set up the scripts for CONFIG_FILES section.
5980 # No need to generate them if there are no CONFIG_FILES.
5981 # This happens for instance with `./config.status config.h'.
5982 if test -n "$CONFIG_FILES"; then
5985 ac_cr=`echo X | tr X '\015'`
5986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5987 # But we know of no other shell where ac_cr would be empty at this
5988 # point, so we can use a bashism as a fallback.
5989 if test "x$ac_cr" = x; then
5990 eval ac_cr=\$\'\\r\'
5992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6004 echo "cat >conf$$subs.awk <<_ACEOF" &&
6005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6008 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6011 for ac_last_try in false false false false false :; do
6012 . ./conf$$subs.sh ||
6013 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6015 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6016 if test $ac_delim_n = $ac_delim_num; then
6018 elif $ac_last_try; then
6019 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6031 s/^/S["/; s/!.*/"]=/
6041 s/\(.\{148\}\)..*/\1/
6043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6055 s/\(.\{148\}\)..*/\1/
6057 s/["\\]/\\&/g; s/^/"/; s/$/"/
6061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6066 ' <conf$$subs.awk | sed '
6071 ' >>$CONFIG_STATUS || ac_write_fail=1
6072 rm -f conf$$subs.awk
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6075 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6076 for (key in S) S_is_set[key] = 1
6082 nfields = split(line, field, "@")
6084 len = length(field[1])
6085 for (i = 2; i < nfields; i++) {
6087 keylen = length(key)
6088 if (S_is_set[key]) {
6090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6091 len += length(value) + length(field[++i])
6102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6104 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6107 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6108 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6113 # trailing colons and then remove the whole line if VPATH becomes empty
6114 # (actually we leave an empty line to preserve line numbers).
6115 if test "x$srcdir" = x.; then
6116 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6135 fi # test -n "$CONFIG_FILES"
6137 # Set up the scripts for CONFIG_HEADERS section.
6138 # No need to generate them if there are no CONFIG_HEADERS.
6139 # This happens for instance with `./config.status Makefile'.
6140 if test -n "$CONFIG_HEADERS"; then
6141 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6145 # Transform confdefs.h into an awk script `defines.awk', embedded as
6146 # here-document in config.status, that substitutes the proper values into
6147 # config.h.in to produce config.h.
6149 # Create a delimiter string that does not exist in confdefs.h, to ease
6150 # handling of long lines.
6152 for ac_last_try in false false :; do
6153 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6154 if test -z "$ac_tt"; then
6156 elif $ac_last_try; then
6157 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6163 # For the awk script, D is an array of macro values keyed by name,
6164 # likewise P contains macro parameters if any. Preserve backslash
6165 # newline sequences.
6167 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6169 s/.\{148\}/&'"$ac_delim"'/g
6172 s/^[ ]*#[ ]*define[ ][ ]*/ /
6179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6186 D["\1"]=" \3\\\\\\n"\\/p
6188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6193 s/.\{148\}/&'"$ac_delim"'/g
6198 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6201 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6203 ' <confdefs.h | sed '
6204 s/'"$ac_delim"'/"\\\
6205 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6208 for (key in D) D_is_set[key] = 1
6211 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6213 split(line, arg, " ")
6214 if (arg[1] == "#") {
6218 defundef = substr(arg[1], 2)
6221 split(mac1, mac2, "(") #)
6223 prefix = substr(line, 1, index(line, defundef) - 1)
6224 if (D_is_set[macro]) {
6225 # Preserve the white space surrounding the "#".
6226 print prefix "define", macro P[macro] D[macro]
6229 # Replace #undef with comments. This is necessary, for example,
6230 # in the case of _POSIX_SOURCE, which is predefined and required
6231 # on some systems where configure will not decide to define it.
6232 if (defundef == "undef") {
6233 print "/*", prefix defundef, macro, "*/"
6241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6242 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6243 fi # test -n "$CONFIG_HEADERS"
6246 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6251 :[FHLC]) ac_mode=$ac_tag; continue;;
6253 case $ac_mode$ac_tag in
6255 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6256 :[FH]-) ac_tag=-:-;;
6257 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6274 -) ac_f="$ac_tmp/stdin";;
6275 *) # Look for the file first in the build tree, then in the source tree
6276 # (if the path is not absolute). The absolute path cannot be DOS-style,
6277 # because $ac_f cannot contain `:'.
6281 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6283 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6285 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6286 as_fn_append ac_file_inputs " '$ac_f'"
6289 # Let's still pretend it is `configure' which instantiates (i.e., don't
6290 # use $as_me), people would be surprised to read:
6291 # /* config.h. Generated by config.status. */
6292 configure_input='Generated from '`
6293 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6295 if test x"$ac_file" != x-; then
6296 configure_input="$ac_file. $configure_input"
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6298 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6300 # Neutralize special characters interpreted by sed in replacement strings.
6301 case $configure_input in #(
6302 *\&* | *\|* | *\\* )
6303 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6304 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6305 *) ac_sed_conf_input=$configure_input;;
6309 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6310 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6315 ac_dir=`$as_dirname -- "$ac_file" ||
6316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6317 X"$ac_file" : 'X\(//\)[^/]' \| \
6318 X"$ac_file" : 'X\(//\)$' \| \
6319 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6320 printf "%s\n" X"$ac_file" |
6321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6338 as_dir="$ac_dir"; as_fn_mkdir_p
6342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6344 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6345 # A ".." for each directory in $ac_dir_suffix.
6346 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6347 case $ac_top_builddir_sub in
6348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6352 ac_abs_top_builddir=$ac_pwd
6353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6354 # for backward compatibility:
6355 ac_top_builddir=$ac_top_build_prefix
6358 .) # We are building in place.
6360 ac_top_srcdir=$ac_top_builddir_sub
6361 ac_abs_top_srcdir=$ac_pwd ;;
6362 [\\/]* | ?:[\\/]* ) # Absolute name.
6363 ac_srcdir=$srcdir$ac_dir_suffix;
6364 ac_top_srcdir=$srcdir
6365 ac_abs_top_srcdir=$srcdir ;;
6367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6368 ac_top_srcdir=$ac_top_build_prefix$srcdir
6369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6381 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6382 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6386 [\\/$]* | ?:[\\/]* ) ;;
6387 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6392 # If the template does not know about datarootdir, expand it.
6393 # FIXME: This hack should be removed a few years after 2.60.
6394 ac_datarootdir_hack=; ac_datarootdir_seen=
6405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6406 *datarootdir*) ac_datarootdir_seen=yes;;
6407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6409 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6412 ac_datarootdir_hack='
6413 s&@datadir@&$datadir&g
6414 s&@docdir@&$docdir&g
6415 s&@infodir@&$infodir&g
6416 s&@localedir@&$localedir&g
6417 s&@mandir@&$mandir&g
6418 s&\\\${datarootdir}&$datarootdir&g' ;;
6422 # Neutralize VPATH when `$srcdir' = `.'.
6423 # Shell code in configure.ac might set extrasub.
6424 # FIXME: do we really want to maintain this feature?
6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6426 ac_sed_extra="$ac_vpsub
6429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6432 s|@configure_input@|$ac_sed_conf_input|;t t
6433 s&@top_builddir@&$ac_top_builddir_sub&;t t
6434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6435 s&@srcdir@&$ac_srcdir&;t t
6436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6437 s&@top_srcdir@&$ac_top_srcdir&;t t
6438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6439 s&@builddir@&$ac_builddir&;t t
6440 s&@abs_builddir@&$ac_abs_builddir&;t t
6441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6442 s&@INSTALL@&$ac_INSTALL&;t t
6443 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6444 $ac_datarootdir_hack
6446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6447 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6450 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6451 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6452 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6454 which seems to be undefined. Please make sure it is defined" >&5
6455 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6456 which seems to be undefined. Please make sure it is defined" >&2;}
6458 rm -f "$ac_tmp/stdin"
6460 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6461 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6469 if test x"$ac_file" != x-; then
6471 printf "%s\n" "/* $configure_input */" >&1 \
6472 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6473 } >"$ac_tmp/config.h" \
6474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6475 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6477 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6480 mv "$ac_tmp/config.h" "$ac_file" \
6481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6484 printf "%s\n" "/* $configure_input */" >&1 \
6485 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6486 || as_fn_error $? "could not create -" "$LINENO" 5
6488 # Compute "$ac_file"'s index in $config_headers.
6491 for _am_header in $config_headers :; do
6493 $_am_arg | $_am_arg:* )
6496 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 X"$_am_arg" : 'X\(//\)[^/]' \| \
6502 X"$_am_arg" : 'X\(//\)$' \| \
6503 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6504 printf "%s\n" X"$_am_arg" |
6505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6521 s/.*/./; q'`/stamp-h$_am_stamp_count
6524 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6525 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6530 case $ac_file$ac_mode in
6531 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6532 # Older Autoconf quotes --file arguments for eval, but not when files
6533 # are listed without --file. Let's play safe and only enable the eval
6534 # if we detect the quoting.
6535 # TODO: see whether this extra hack can be removed once we start
6536 # requiring Autoconf 2.70 or later.
6537 case $CONFIG_FILES in #(
6539 eval set x "$CONFIG_FILES" ;; #(
6541 set x $CONFIG_FILES ;; #(
6546 # Used to flag and report bootstrapping failures.
6550 # Strip MF so we end up with the name of the file.
6551 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6552 # Check whether this is an Automake generated Makefile which includes
6553 # dependency-tracking related rules and includes.
6554 # Grep'ing the whole file directly is not great: AIX grep has a line
6555 # limit of 2048, but all sed's we know have understand at least 4000.
6556 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6558 am_dirpart=`$as_dirname -- "$am_mf" ||
6559 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6560 X"$am_mf" : 'X\(//\)[^/]' \| \
6561 X"$am_mf" : 'X\(//\)$' \| \
6562 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6563 printf "%s\n" X"$am_mf" |
6564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6581 am_filepart=`$as_basename -- "$am_mf" ||
6582 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6583 X"$am_mf" : 'X\(//\)$' \| \
6584 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6585 printf "%s\n" X/"$am_mf" |
6586 sed '/^.*\/\([^/][^/]*\)\/*$/{
6599 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6600 && sed -e '/# am--include-marker/d' "$am_filepart" \
6601 | $MAKE -f - am--depfiles" >&5
6603 && sed -e '/# am--include-marker/d' "$am_filepart" \
6604 | $MAKE -f - am--depfiles) >&5 2>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } || am_rc=$?
6609 if test $am_rc -ne 0; then
6610 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6612 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6613 for automatic dependency tracking. If GNU make was not used, consider
6614 re-running the configure script with MAKE=\"gmake\" (or whatever is
6615 necessary). You can also try re-running configure with the
6616 '--disable-dependency-tracking' option to at least be able to build
6617 the package (albeit without support for automatic dependency tracking).
6618 See \`config.log' for more details" "$LINENO" 5; }
6620 { am_dirpart=; unset am_dirpart;}
6621 { am_filepart=; unset am_filepart;}
6622 { am_mf=; unset am_mf;}
6623 { am_rc=; unset am_rc;}
6624 rm -f conftest-deps.mk
6634 ac_clean_files=$ac_clean_files_save
6636 test $ac_write_fail = 0 ||
6637 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6640 # configure is writing to config.log, and then calls config.status.
6641 # config.status does its own redirection, appending to config.log.
6642 # Unfortunately, on DOS this fails, as config.log is still kept open
6643 # by configure, so config.status won't be able to write to it; its
6644 # output is simply discarded. So we exec the FD to /dev/null,
6645 # effectively closing config.log, so it can be properly (re)opened and
6646 # appended to by config.status. When coming back to configure, we
6647 # need to make the FD available again.
6648 if test "$no_create" != yes; then
6650 ac_config_status_args=
6651 test "$silent" = yes &&
6652 ac_config_status_args="$ac_config_status_args --quiet"
6654 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6656 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6657 # would make configure fail if this is the last instruction.
6658 $ac_cs_success || as_fn_exit 1
6660 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6662 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}