2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Free exFAT implementation 1.2.2.
5 # Report bugs to <relan@users.noreply.github.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: relan@users.noreply.github.com about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='Free exFAT implementation'
581 PACKAGE_TARNAME='exfat-utils'
582 PACKAGE_VERSION='1.2.2'
583 PACKAGE_STRING='Free exFAT implementation 1.2.2'
584 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
585 PACKAGE_URL='https://github.com/relan/exfat'
587 ac_subst_vars='am__EXEEXT_FALSE
623 INSTALL_STRIP_PROGRAM
665 program_transform_name
678 enable_option_checking
680 enable_dependency_tracking
683 ac_precious_vars='build_alias
693 # Initialize some variables set by options.
695 ac_init_version=false
696 ac_unrecognized_opts=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name=s,x,x,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir='${exec_prefix}/bin'
722 sbindir='${exec_prefix}/sbin'
723 libexecdir='${exec_prefix}/libexec'
724 datarootdir='${prefix}/share'
725 datadir='${datarootdir}'
726 sysconfdir='${prefix}/etc'
727 sharedstatedir='${prefix}/com'
728 localstatedir='${prefix}/var'
729 includedir='${prefix}/include'
730 oldincludedir='/usr/include'
731 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir='${datarootdir}/info'
737 libdir='${exec_prefix}/lib'
738 localedir='${datarootdir}/locale'
739 mandir='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\$ac_option
753 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;;
774 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;;
782 cache_file=config.cache ;;
784 -datadir | --datadir | --datadi | --datad)
786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;;
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;;
796 -disable-* | --disable-*)
797 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 as_fn_error $? "invalid feature name: $ac_useropt"
801 ac_useropt_orig=$ac_useropt
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep=', ';;
810 eval enable_$ac_useropt=no ;;
812 -docdir | --docdir | --docdi | --doc | --do)
814 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
817 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
819 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
822 -enable-* | --enable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=\$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev=exec_prefix ;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
851 -help | --help | --hel | --he | -h)
853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854 ac_init_help=recursive ;;
855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856 ac_init_help=short ;;
858 -host | --host | --hos | --ho)
859 ac_prev=host_alias ;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 htmldir=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev=includedir ;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev=libexecdir ;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev=localstatedir ;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 # Obsolete; use --without-fp.
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev=oldincludedir ;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev=program_prefix ;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev=program_suffix ;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev=program_transform_name ;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 -psdir | --psdir | --psdi | --psd | --ps)
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 sbindir=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 sharedstatedir=$ac_optarg ;;
998 -site | --site | --sit)
1000 -site=* | --site=* | --sit=*)
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1027 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error $? "invalid package name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1040 eval with_$ac_useropt=\$ac_optarg ;;
1042 -without-* | --without-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1056 eval with_$ac_useropt=no ;;
1059 # Obsolete; use --with-x.
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1076 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1077 Try \`$0 --help' for more information"
1081 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' | [0-9]* | *[!_$as_cr_alnum]* )
1085 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1101 if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error $? "missing argument to $ac_option"
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1109 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 # Check all directory arguments for consistency.
1115 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val=\$$ac_var
1121 # Remove trailing slashes.
1124 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\$ac_val;;
1127 # Be sure to have absolute directory names.
1129 [\\/$]* | ?:[\\/]* ) continue;;
1130 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1132 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x; then
1144 if test "x$build_alias" = x; then
1145 cross_compiling=maybe
1146 elif test "x$build_alias" != "x$host_alias"; then
1152 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154 test "$silent" = yes && exec 6>/dev/null
1157 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1158 ac_ls_di=`ls -di .` &&
1159 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1160 as_fn_error $? "working directory cannot be determined"
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 as_fn_error $? "pwd does not report name of working directory"
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir=`$as_dirname -- "$as_myself" ||
1170 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$as_myself" : 'X\(//\)[^/]' \| \
1172 X"$as_myself" : 'X\(//\)$' \| \
1173 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1174 $as_echo X"$as_myself" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1203 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1205 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1207 # When building in place, set srcdir=.
1208 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 # Remove unnecessary trailing slashes from srcdir.
1212 # Double slashes in file names in object file debugging info
1213 # mess up M-x gdb in Emacs.
1215 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217 for ac_var in $ac_precious_vars; do
1218 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_${ac_var}_value=\$${ac_var}
1220 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1225 # Report the --help message.
1227 if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1231 \`configure' configures Free exFAT implementation 1.2.2 to adapt to many kinds of systems.
1233 Usage: $0 [OPTION]... [VAR=VALUE]...
1235 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236 VAR=VALUE. See below for descriptions of some of the useful variables.
1238 Defaults for the options are specified in brackets.
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking ...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251 Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 By default, \`make install' will install all the files in
1258 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260 for instance \`--prefix=\$HOME'.
1262 For better control, use the options below.
1264 Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/exfat-utils]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1289 --program-prefix=PREFIX prepend PREFIX to installed program names
1290 --program-suffix=SUFFIX append SUFFIX to installed program names
1291 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1295 if test -n "$ac_init_help"; then
1296 case $ac_init_help in
1297 short | recursive ) echo "Configuration of Free exFAT implementation 1.2.2:";;
1302 --disable-option-checking ignore unrecognized --enable/--with options
1303 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1304 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1305 --enable-silent-rules less verbose build output (undo: "make V=1")
1306 --disable-silent-rules verbose build output (undo: "make V=0")
1307 --enable-dependency-tracking
1308 do not reject slow dependency extractors
1309 --disable-dependency-tracking
1310 speeds up one-time build
1311 --disable-largefile omit support for large files
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to <relan@users.noreply.github.com>.
1326 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1389 Free exFAT implementation configure 1.2.2
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by Free exFAT implementation $as_me 1.2.2, which was
1445 generated by GNU Autoconf 2.69. Invocation command line was
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_must_keep_next=false
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 -* ) ac_must_keep_next=true ;;
1537 as_fn_append ac_configure_args " '$ac_arg'"
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 $as_echo "$ac_var='\''$ac_val'\''"
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 $as_echo "$ac_var='\''$ac_val'\''"
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5; }
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1724 # Check that the precious variables saved in the cache have kept the same
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x $ac_old_val`
1746 ac_new_val_w=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted=:
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1792 am__api_version='1.15'
1795 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1796 if test -f "$ac_dir/install-sh"; then
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1800 elif test -f "$ac_dir/install.sh"; then
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1804 elif test -f "$ac_dir/shtool"; then
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1810 if test -z "$ac_aux_dir"; then
1811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1814 # These three variables are undocumented and unsupported,
1815 # and are intended to be withdrawn in a future Autoconf release.
1816 # They can cause serious problems if a builder's source tree is in a directory
1817 # whose full name contains unusual characters.
1818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1820 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1823 # Find a good install program. We prefer a C program (faster),
1824 # so one script is as good as another. But avoid the broken or
1825 # incompatible versions:
1826 # SysV /etc/install, /usr/sbin/install
1827 # SunOS /usr/etc/install
1828 # IRIX /sbin/install
1830 # AmigaOS /C/install, which installs bootblocks on floppy discs
1831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1834 # OS/2's system install, which has a completely different semantic
1835 # ./install, which can be erroneously created by make from ./install.sh.
1836 # Reject install programs that cannot install multiple files.
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1838 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1839 if test -z "$INSTALL"; then
1840 if ${ac_cv_path_install+:} false; then :
1841 $as_echo_n "(cached) " >&6
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 # Account for people who put trailing slashes in PATH elements.
1849 case $as_dir/ in #((
1850 ./ | .// | /[cC]/* | \
1851 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1852 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1855 # OSF1 and SCO ODT 3.0 have their own names for install.
1856 # Don't use installbsd from OSF since it installs stuff as root
1858 for ac_prog in ginstall scoinst install; do
1859 for ac_exec_ext in '' $ac_executable_extensions; do
1860 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1861 if test $ac_prog = install &&
1862 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1863 # AIX install. It has an incompatible calling convention.
1865 elif test $ac_prog = install &&
1866 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1867 # program-specific install script used by HP pwplus--don't use.
1870 rm -rf conftest.one conftest.two conftest.dir
1871 echo one > conftest.one
1872 echo two > conftest.two
1874 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1875 test -s conftest.one && test -s conftest.two &&
1876 test -s conftest.dir/conftest.one &&
1877 test -s conftest.dir/conftest.two
1879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1892 rm -rf conftest.one conftest.two conftest.dir
1895 if test "${ac_cv_path_install+set}" = set; then
1896 INSTALL=$ac_cv_path_install
1898 # As a last resort, use the slow shell script. Don't cache a
1899 # value for INSTALL within a source directory, because that will
1900 # break other packages using the cache if that directory is
1901 # removed, or if the value is a relative name.
1902 INSTALL=$ac_install_sh
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1906 $as_echo "$INSTALL" >&6; }
1908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1909 # It thinks the first close brace ends the variable substitution.
1910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1914 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1917 $as_echo_n "checking whether build environment is sane... " >&6; }
1918 # Reject unsafe characters in $srcdir or the absolute working directory
1919 # name. Accept space and tab only in the latter.
1923 *[\\\"\#\$\&\'\`$am_lf]*)
1924 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1927 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1928 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1931 # Do 'set' in a subshell so we don't clobber the current shell's
1932 # arguments. Must try -L first in case configure is actually a
1933 # symlink; some systems play weird games with the mod time of symlinks
1934 # (eg FreeBSD returns the mod time of the symlink's containing
1938 for am_try in 1 2; do
1939 echo "timestamp, slept: $am_has_slept" > conftest.file
1940 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1941 if test "$*" = "X"; then
1943 set X `ls -t "$srcdir/configure" conftest.file`
1945 if test "$*" != "X $srcdir/configure conftest.file" \
1946 && test "$*" != "X conftest.file $srcdir/configure"; then
1948 # If neither matched, then we have a broken ls. This can happen
1949 # if, for instance, CONFIG_SHELL is bash and it inherits a
1950 # broken ls alias from the environment. This has actually
1951 # happened. Such a system could not be considered "sane".
1952 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1953 alias in your environment" "$LINENO" 5
1955 if test "$2" = conftest.file || test $am_try -eq 2; then
1962 test "$2" = conftest.file
1968 as_fn_error $? "newly created file is older than distributed files!
1969 Check your system clock" "$LINENO" 5
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1972 $as_echo "yes" >&6; }
1973 # If we didn't sleep, we still need to ensure time stamps of config.status and
1974 # generated files are strictly newer.
1976 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1983 test "$program_prefix" != NONE &&
1984 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1985 # Use a double $ so make ignores it.
1986 test "$program_suffix" != NONE &&
1987 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1988 # Double any \ or $.
1989 # By default was `s,x,x', remove it if useless.
1990 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1991 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1993 # Expand $ac_aux_dir to an absolute path.
1994 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1996 if test x"${MISSING+set}" != xset; then
1999 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2001 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2004 # Use eval to expand $SHELL
2005 if eval "$MISSING --is-lightweight"; then
2006 am_missing_run="$MISSING "
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2010 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2013 if test x"${install_sh+set}" != xset; then
2016 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2018 install_sh="\${SHELL} $am_aux_dir/install-sh"
2022 # Installed binaries are usually stripped using 'strip' when the user
2023 # run "make install-strip". However 'strip' might not be the right
2024 # tool to use in cross-compilation environments, therefore Automake
2025 # will honor the 'STRIP' environment variable to overrule this program.
2026 if test "$cross_compiling" != no; then
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}strip; ac_word=$2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031 $as_echo_n "checking for $ac_word... " >&6; }
2032 if ${ac_cv_prog_STRIP+:} false; then :
2033 $as_echo_n "(cached) " >&6
2035 if test -n "$STRIP"; then
2036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 STRIP=$ac_cv_prog_STRIP
2056 if test -n "$STRIP"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2058 $as_echo "$STRIP" >&6; }
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061 $as_echo "no" >&6; }
2066 if test -z "$ac_cv_prog_STRIP"; then
2068 # Extract the first word of "strip", so it can be a program name with args.
2069 set dummy strip; ac_word=$2
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071 $as_echo_n "checking for $ac_word... " >&6; }
2072 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2073 $as_echo_n "(cached) " >&6
2075 if test -n "$ac_ct_STRIP"; then
2076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_ac_ct_STRIP="strip"
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2096 if test -n "$ac_ct_STRIP"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2098 $as_echo "$ac_ct_STRIP" >&6; }
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101 $as_echo "no" >&6; }
2104 if test "x$ac_ct_STRIP" = x; then
2107 case $cross_compiling:$ac_tool_warned in
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2111 ac_tool_warned=yes ;;
2116 STRIP="$ac_cv_prog_STRIP"
2120 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2123 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2124 if test -z "$MKDIR_P"; then
2125 if ${ac_cv_path_mkdir+:} false; then :
2126 $as_echo_n "(cached) " >&6
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2132 test -z "$as_dir" && as_dir=.
2133 for ac_prog in mkdir gmkdir; do
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2136 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2137 'mkdir (GNU coreutils) '* | \
2138 'mkdir (coreutils) '* | \
2139 'mkdir (fileutils) '4.1*)
2140 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2150 test -d ./--version && rmdir ./--version
2151 if test "${ac_cv_path_mkdir+set}" = set; then
2152 MKDIR_P="$ac_cv_path_mkdir -p"
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for MKDIR_P within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 MKDIR_P="$ac_install_sh -d"
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2162 $as_echo "$MKDIR_P" >&6; }
2164 for ac_prog in gawk mawk nawk awk
2166 # Extract the first word of "$ac_prog", so it can be a program name with args.
2167 set dummy $ac_prog; ac_word=$2
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if ${ac_cv_prog_AWK+:} false; then :
2171 $as_echo_n "(cached) " >&6
2173 if test -n "$AWK"; then
2174 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_prog_AWK="$ac_prog"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 if test -n "$AWK"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2196 $as_echo "$AWK" >&6; }
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2199 $as_echo "no" >&6; }
2203 test -n "$AWK" && break
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2207 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2209 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2210 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2211 $as_echo_n "(cached) " >&6
2213 cat >conftest.make <<\_ACEOF
2216 @echo '@@@%%%=$(MAKE)=@@@%%%'
2218 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2219 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2221 eval ac_cv_prog_make_${ac_make}_set=yes;;
2223 eval ac_cv_prog_make_${ac_make}_set=no;;
2227 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2229 $as_echo "yes" >&6; }
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233 $as_echo "no" >&6; }
2234 SET_MAKE="MAKE=${MAKE-make}"
2237 rm -rf .tst 2>/dev/null
2238 mkdir .tst 2>/dev/null
2239 if test -d .tst; then
2244 rmdir .tst 2>/dev/null
2246 # Check whether --enable-silent-rules was given.
2247 if test "${enable_silent_rules+set}" = set; then :
2248 enableval=$enable_silent_rules;
2251 case $enable_silent_rules in # (((
2252 yes) AM_DEFAULT_VERBOSITY=0;;
2253 no) AM_DEFAULT_VERBOSITY=1;;
2254 *) AM_DEFAULT_VERBOSITY=1;;
2256 am_make=${MAKE-make}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2258 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2259 if ${am_cv_make_support_nested_variables+:} false; then :
2260 $as_echo_n "(cached) " >&6
2262 if $as_echo 'TRUE=$(BAR$(V))
2268 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2269 am_cv_make_support_nested_variables=yes
2271 am_cv_make_support_nested_variables=no
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2275 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2276 if test $am_cv_make_support_nested_variables = yes; then
2278 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2280 AM_V=$AM_DEFAULT_VERBOSITY
2281 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2285 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2286 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2287 # is not polluted with repeated "-I."
2288 am__isrc=' -I$(srcdir)'
2289 # test to see if srcdir already configured
2290 if test -f $srcdir/config.status; then
2291 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2295 # test whether we have cygpath
2296 if test -z "$CYGPATH_W"; then
2297 if (cygpath --version) >/dev/null 2>/dev/null; then
2298 CYGPATH_W='cygpath -w'
2305 # Define the identity of the package.
2306 PACKAGE='exfat-utils'
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE "$PACKAGE"
2315 cat >>confdefs.h <<_ACEOF
2316 #define VERSION "$VERSION"
2319 # Some tools Automake needs.
2321 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2324 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2327 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2330 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2333 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2335 # For better backward compatibility. To be removed once Automake 1.9.x
2336 # dies out for good. For more background, see:
2337 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2338 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2339 mkdir_p='$(MKDIR_P)'
2341 # We need awk for the "check" target (and possibly the TAP driver). The
2342 # system "awk" is bad on some platforms.
2343 # Always define AMTAR for backward compatibility. Yes, it's still used
2344 # in the wild :-( We should find a proper way to deprecate it ...
2348 # We'll loop over all known methods to create a tar archive until one works.
2349 _am_tools='gnutar pax cpio none'
2351 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2358 # POSIX will say in a future version that running "rm -f" with no argument
2359 # is OK; and we want to be able to make that assumption in our Makefile
2360 # recipes. So use an aggressive probe to check that the usage we want is
2361 # actually supported "in the wild" to an acceptable degree.
2362 # See automake bug#10828.
2363 # To make any issue more visible, cause the running configure to be aborted
2364 # by default if the 'rm' program in use doesn't match our expectations; the
2365 # user can still override this though.
2366 if rm -f && rm -fr && rm -rf; then : OK; else
2370 Your 'rm' program seems unable to run without file operands specified
2371 on the command line, even when the '-f' option is present. This is contrary
2372 to the behaviour of most rm programs out there, and not conforming with
2373 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2375 Please tell bug-automake@gnu.org about your system, including the value
2376 of your $PATH and any error possibly output before this message. This
2377 can help us improve future automake versions.
2380 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2381 echo 'Configuration will proceed anyway, since you have set the' >&2
2382 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2386 Aborting the configuration process, to ensure you take notice of the issue.
2388 You can download and install GNU coreutils to get an 'rm' implementation
2389 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2391 If you want to complete the configuration process using your problematic
2392 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2393 to "yes", and re-run configure.
2396 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2401 ac_cpp='$CPP $CPPFLAGS'
2402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405 if test -n "$ac_tool_prefix"; then
2406 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2407 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if ${ac_cv_prog_CC+:} false; then :
2411 $as_echo_n "(cached) " >&6
2413 if test -n "$CC"; then
2414 ac_cv_prog_CC="$CC" # Let the user override the test.
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir=.
2421 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 if test -n "$CC"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436 $as_echo "$CC" >&6; }
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2444 if test -z "$ac_cv_prog_CC"; then
2446 # Extract the first word of "gcc", so it can be a program name with args.
2447 set dummy gcc; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 if test -n "$ac_ct_CC"; then
2454 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 ac_cv_prog_ac_ct_CC="gcc"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2474 if test -n "$ac_ct_CC"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2476 $as_echo "$ac_ct_CC" >&6; }
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2482 if test "x$ac_ct_CC" = x; then
2485 case $cross_compiling:$ac_tool_warned in
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2489 ac_tool_warned=yes ;;
2497 if test -z "$CC"; then
2498 if test -n "$ac_tool_prefix"; then
2499 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2500 set dummy ${ac_tool_prefix}cc; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_CC+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$CC"; then
2507 ac_cv_prog_CC="$CC" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_CC="${ac_tool_prefix}cc"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 if test -n "$CC"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2529 $as_echo "$CC" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2538 if test -z "$CC"; then
2539 # Extract the first word of "cc", so it can be a program name with args.
2540 set dummy cc; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_CC+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2558 ac_prog_rejected=yes
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test $ac_prog_rejected = yes; then
2570 # We found a bogon in the path, so make sure we never use it.
2571 set dummy $ac_cv_prog_CC
2573 if test $# != 0; then
2574 # We chose a different compiler from the bogus one.
2575 # However, it has the same basename, so the bogon will be chosen
2576 # first if we set CC to just the basename; use the full file name.
2578 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2584 if test -n "$CC"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2586 $as_echo "$CC" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2594 if test -z "$CC"; then
2595 if test -n "$ac_tool_prefix"; then
2596 for ac_prog in cl.exe
2598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_CC+:} false; then :
2603 $as_echo_n "(cached) " >&6
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 if test -n "$CC"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2628 $as_echo "$CC" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2635 test -n "$CC" && break
2638 if test -z "$CC"; then
2640 for ac_prog in cl.exe
2642 # Extract the first word of "$ac_prog", so it can be a program name with args.
2643 set dummy $ac_prog; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$ac_ct_CC"; then
2650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_prog_ac_ct_CC="$ac_prog"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2670 if test -n "$ac_ct_CC"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2672 $as_echo "$ac_ct_CC" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2679 test -n "$ac_ct_CC" && break
2682 if test "x$ac_ct_CC" = x; then
2685 case $cross_compiling:$ac_tool_warned in
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689 ac_tool_warned=yes ;;
2698 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $? "no acceptable C compiler found in \$PATH
2701 See \`config.log' for more details" "$LINENO" 5; }
2703 # Provide some information about the compiler.
2704 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2707 for ac_option in --version -v -V -qversion; do
2708 { { ac_try="$ac_compiler $ac_option >&5"
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2717 if test -s conftest.err; then
2719 ... rest of stderr output deleted ...
2720 10q' conftest.err >conftest.er1
2721 cat conftest.er1 >&5
2723 rm -f conftest.er1 conftest.err
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; }
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2739 ac_clean_files_save=$ac_clean_files
2740 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2741 # Try to create an executable without -o first, disregard a.out.
2742 # It will help us diagnose broken compilers, and finding out an intuition
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2745 $as_echo_n "checking whether the C compiler works... " >&6; }
2746 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2748 # The possible output files:
2749 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2752 for ac_file in $ac_files
2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2756 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2761 if { { ac_try="$ac_link_default"
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 $as_echo "$ac_try_echo"; } >&5
2768 (eval "$ac_link_default") 2>&5
2770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2771 test $ac_status = 0; }; then :
2772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2774 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2775 # so that the user can short-circuit this test for compilers unknown to
2777 for ac_file in $ac_files ''
2779 test -f "$ac_file" || continue
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2784 # We found the default executable, but exeext='' is most
2788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2790 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 # We set ac_cv_exeext here because the later test for it is not
2793 # safe: cross compilers may not add the suffix if given an `-o'
2794 # argument, so we may need to know it at that point already.
2795 # Even if this section looks crufty: it has the advantage of
2802 test "$ac_cv_exeext" = no && ac_cv_exeext=
2807 if test -z "$ac_file"; then :
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error 77 "C compiler cannot create executables
2816 See \`config.log' for more details" "$LINENO" 5; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2819 $as_echo "yes" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2822 $as_echo_n "checking for C compiler default output file name... " >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2824 $as_echo "$ac_file" >&6; }
2825 ac_exeext=$ac_cv_exeext
2827 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2828 ac_clean_files=$ac_clean_files_save
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2830 $as_echo_n "checking for suffix of executables... " >&6; }
2831 if { { ac_try="$ac_link"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 $as_echo "$ac_try_echo"; } >&5
2838 (eval "$ac_link") 2>&5
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; }; then :
2842 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2843 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2844 # work properly (i.e., refer to `conftest.exe'), while it won't with
2846 for ac_file in conftest.exe conftest conftest.*; do
2847 test -f "$ac_file" || continue
2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2850 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2858 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2859 See \`config.log' for more details" "$LINENO" 5; }
2861 rm -f conftest conftest$ac_cv_exeext
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2863 $as_echo "$ac_cv_exeext" >&6; }
2865 rm -f conftest.$ac_ext
2866 EXEEXT=$ac_cv_exeext
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2874 FILE *f = fopen ("conftest.out", "w");
2875 return ferror (f) || fclose (f) != 0;
2881 ac_clean_files="$ac_clean_files conftest.out"
2882 # Check that the compiler produces executables we can run. If not, either
2883 # the compiler is broken, or we cross compile.
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2885 $as_echo_n "checking whether we are cross compiling... " >&6; }
2886 if test "$cross_compiling" != yes; then
2887 { { ac_try="$ac_link"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_link") 2>&5
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }
2898 if { ac_try='./conftest$ac_cv_exeext'
2899 { { case "(($ac_try" in
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_try") 2>&5
2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; }; }; then
2911 if test "$cross_compiling" = maybe; then
2914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2916 as_fn_error $? "cannot run C compiled programs.
2917 If you meant to cross compile, use \`--host'.
2918 See \`config.log' for more details" "$LINENO" 5; }
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2923 $as_echo "$cross_compiling" >&6; }
2925 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2926 ac_clean_files=$ac_clean_files_save
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2928 $as_echo_n "checking for suffix of object files... " >&6; }
2929 if ${ac_cv_objext+:} false; then :
2930 $as_echo_n "(cached) " >&6
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2943 rm -f conftest.o conftest.obj
2944 if { { ac_try="$ac_compile"
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 $as_echo "$ac_try_echo"; } >&5
2951 (eval "$ac_compile") 2>&5
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; }; then :
2955 for ac_file in conftest.o conftest.obj conftest.*; do
2956 test -f "$ac_file" || continue;
2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2959 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $? "cannot compute suffix of object files: cannot compile
2970 See \`config.log' for more details" "$LINENO" 5; }
2972 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2975 $as_echo "$ac_cv_objext" >&6; }
2976 OBJEXT=$ac_cv_objext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2980 if ${ac_cv_c_compiler_gnu+:} false; then :
2981 $as_echo_n "(cached) " >&6
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2997 if ac_fn_c_try_compile "$LINENO"; then :
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3008 if test $ac_compiler_gnu = yes; then
3013 ac_test_CFLAGS=${CFLAGS+set}
3014 ac_save_CFLAGS=$CFLAGS
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3017 if ${ac_cv_prog_cc_g+:} false; then :
3018 $as_echo_n "(cached) " >&6
3020 ac_save_c_werror_flag=$ac_c_werror_flag
3021 ac_c_werror_flag=yes
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3050 if ac_fn_c_try_compile "$LINENO"; then :
3053 ac_c_werror_flag=$ac_save_c_werror_flag
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3066 if ac_fn_c_try_compile "$LINENO"; then :
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 ac_c_werror_flag=$ac_save_c_werror_flag
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3077 $as_echo "$ac_cv_prog_cc_g" >&6; }
3078 if test "$ac_test_CFLAGS" = set; then
3079 CFLAGS=$ac_save_CFLAGS
3080 elif test $ac_cv_prog_cc_g = yes; then
3081 if test "$GCC" = yes; then
3087 if test "$GCC" = yes; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3095 if ${ac_cv_prog_cc_c89+:} false; then :
3096 $as_echo_n "(cached) " >&6
3098 ac_cv_prog_cc_c89=no
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3106 struct buf { int x; };
3107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3108 static char *e (p, i)
3114 static char *f (char * (*g) (char **, int), char **p, ...)
3119 s = g (p, va_arg (v,int));
3124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3125 function prototypes and stuff, but not '\xHH' hex character constants.
3126 These don't provoke an error unfortunately, instead are silently treated
3127 as 'x'. The following induces an error, until -std is added to get
3128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3129 array size at least. It's necessary to write '\x00'==0 to get something
3130 that's true only with -std. */
3131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3134 inside strings and character constants. */
3136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3138 int test (int i, double x);
3139 struct s1 {int (*f) (int a);};
3140 struct s2 {int (*f) (double a);};
3141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3155 CC="$ac_save_CC $ac_arg"
3156 if ac_fn_c_try_compile "$LINENO"; then :
3157 ac_cv_prog_cc_c89=$ac_arg
3159 rm -f core conftest.err conftest.$ac_objext
3160 test "x$ac_cv_prog_cc_c89" != "xno" && break
3162 rm -f conftest.$ac_ext
3167 case "x$ac_cv_prog_cc_c89" in
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3170 $as_echo "none needed" >&6; } ;;
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3173 $as_echo "unsupported" >&6; } ;;
3175 CC="$CC $ac_cv_prog_cc_c89"
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3177 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3179 if test "x$ac_cv_prog_cc_c89" != xno; then :
3184 ac_cpp='$CPP $CPPFLAGS'
3185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3190 ac_cpp='$CPP $CPPFLAGS'
3191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3195 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3196 if ${am_cv_prog_cc_c_o+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3210 # Make sure it works both with $CC and with simple cc.
3211 # Following AC_PROG_CC_C_O, we do the test twice because some
3212 # compilers refuse to overwrite an existing .o file with -o,
3213 # though they will create one.
3214 am_cv_prog_cc_c_o=yes
3216 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3217 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } \
3221 && test -f conftest2.$ac_objext; then
3224 am_cv_prog_cc_c_o=no
3228 rm -f core conftest*
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3232 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3233 if test "$am_cv_prog_cc_c_o" != yes; then
3234 # Losing compiler, so override with the script.
3235 # FIXME: It is wrong to rewrite CC.
3236 # But if we don't then we get into trouble of one sort or another.
3237 # A longer-term fix would be to have automake use am__CC in this case,
3238 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3239 CC="$am_aux_dir/compile $CC"
3242 ac_cpp='$CPP $CPPFLAGS'
3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247 DEPDIR="${am__leading_dot}deps"
3249 ac_config_commands="$ac_config_commands depfiles"
3252 am_make=${MAKE-make}
3253 cat > confinc << 'END'
3255 @echo this is the am__doit target
3258 # If we don't find an include directive, just comment out the code.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3260 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3264 # First try GNU make style include.
3265 echo "include confinc" > confmf
3266 # Ignore all kinds of additional output from 'make'.
3267 case `$am_make -s -f confmf 2> /dev/null` in #(
3268 *the\ am__doit\ target*)
3274 # Now try BSD make style include.
3275 if test "$am__include" = "#"; then
3276 echo '.include "confinc"' > confmf
3277 case `$am_make -s -f confmf 2> /dev/null` in #(
3278 *the\ am__doit\ target*)
3279 am__include=.include
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3288 $as_echo "$_am_result" >&6; }
3289 rm -f confinc confmf
3291 # Check whether --enable-dependency-tracking was given.
3292 if test "${enable_dependency_tracking+set}" = set; then :
3293 enableval=$enable_dependency_tracking;
3296 if test "x$enable_dependency_tracking" != xno; then
3297 am_depcomp="$ac_aux_dir/depcomp"
3301 if test "x$enable_dependency_tracking" != xno; then
3311 depcc="$CC" am_compiler_list=
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3314 $as_echo_n "checking dependency style of $depcc... " >&6; }
3315 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3319 # We make a subdir and do the tests there. Otherwise we can end up
3320 # making bogus files that we don't know about and never remove. For
3321 # instance it was reported that on HP-UX the gcc test will end up
3322 # making a dummy file named 'D' -- because '-MD' means "put the output
3326 # Copy depcomp to subdir because otherwise we won't find it if we're
3327 # using a relative directory.
3328 cp "$am_depcomp" conftest.dir
3330 # We will build objects and dependencies in a subdirectory because
3331 # it helps to detect inapplicable dependency modes. For instance
3332 # both Tru64's cc and ICC support -MD to output dependencies as a
3333 # side effect of compilation, but ICC will put the dependencies in
3334 # the current directory while Tru64 will put them in the object
3338 am_cv_CC_dependencies_compiler_type=none
3339 if test "$am_compiler_list" = ""; then
3340 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3343 case " $depcc " in #(
3344 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3347 for depmode in $am_compiler_list; do
3348 # Setup a source with many dependencies, because some compilers
3349 # like to wrap large dependency lists on column 80 (with \), and
3350 # we should not choose a depcomp mode which is confused by this.
3352 # We need to recreate these files for each test, as the compiler may
3353 # overwrite some of them when testing with obscure command lines.
3354 # This happens at least with the AIX C compiler.
3356 for i in 1 2 3 4 5 6; do
3357 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3358 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3359 # Solaris 10 /bin/sh.
3360 echo '/* dummy */' > sub/conftst$i.h
3362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3364 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3365 # mode. It turns out that the SunPro C++ compiler does not properly
3366 # handle '-M -o', and we need to detect this. Also, some Intel
3367 # versions had trouble with output in subdirs.
3368 am__obj=sub/conftest.${OBJEXT-o}
3369 am__minus_obj="-o $am__obj"
3372 # This depmode causes a compiler race in universal mode.
3373 test "$am__universal" = false || continue
3376 # After this tag, mechanisms are not by side-effect, so they'll
3377 # only be used when explicitly requested.
3378 if test "x$enable_dependency_tracking" = xyes; then
3384 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3385 # This compiler won't grok '-c -o', but also, the minuso test has
3386 # not run yet. These depmodes are late enough in the game, and
3387 # so weak that their functioning should not be impacted.
3388 am__obj=conftest.${OBJEXT-o}
3393 if depmode=$depmode \
3394 source=sub/conftest.c object=$am__obj \
3395 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3396 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3397 >/dev/null 2>conftest.err &&
3398 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3399 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3400 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3401 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3402 # icc doesn't choke on unknown options, it will just issue warnings
3403 # or remarks (even with -Werror). So we grep stderr for any message
3404 # that says an option was ignored or not supported.
3405 # When given -MP, icc 7.0 and 7.1 complain thusly:
3406 # icc: Command line warning: ignoring option '-M'; no argument required
3407 # The diagnosis changed in icc 8.0:
3408 # icc: Command line remark: option '-MP' not supported
3409 if (grep 'ignoring option' conftest.err ||
3410 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3411 am_cv_CC_dependencies_compiler_type=$depmode
3420 am_cv_CC_dependencies_compiler_type=none
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3425 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3426 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3429 test "x$enable_dependency_tracking" != xno \
3430 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3432 am__fastdepCC_FALSE='#'
3434 am__fastdepCC_TRUE='#'
3435 am__fastdepCC_FALSE=
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3440 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3441 if ${ac_cv_prog_cc_c99+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 ac_cv_prog_cc_c99=no
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3449 #include <stdbool.h>
3454 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3455 #define debug(...) fprintf (stderr, __VA_ARGS__)
3456 #define showlist(...) puts (#__VA_ARGS__)
3457 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3459 test_varargs_macros (void)
3464 debug ("X = %d\n", x);
3465 showlist (The first, second, and third items.);
3466 report (x>y, "x is %d but y is %d", x, y);
3469 // Check long long types.
3470 #define BIG64 18446744073709551615ull
3471 #define BIG32 4294967295ul
3472 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3474 your preprocessor is broken;
3478 your preprocessor is broken;
3480 static long long int bignum = -9223372036854775807LL;
3481 static unsigned long long int ubignum = BIG64;
3483 struct incomplete_array
3491 const wchar_t *name;
3495 typedef const char *ccp;
3498 test_restrict (ccp restrict text)
3500 // See if C++-style comments work.
3501 // Iterate through items via the restricted pointer.
3502 // Also check for declarations in for loops.
3503 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3508 // Check varargs and va_copy.
3510 test_varargs (const char *format, ...)
3513 va_start (args, format);
3515 va_copy (args_copy, args);
3526 str = va_arg (args_copy, const char *);
3529 number = va_arg (args_copy, int);
3532 fnumber = va_arg (args_copy, double);
3547 _Bool success = false;
3550 if (test_restrict ("String literal") == 0)
3552 char *restrict newvar = "Another string";
3555 test_varargs ("s, d' f .", "string", 65, 34.234);
3556 test_varargs_macros ();
3558 // Check flexible array members.
3559 struct incomplete_array *ia =
3560 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3562 for (int i = 0; i < ia->datasize; ++i)
3563 ia->data[i] = i * 1.234;
3565 // Check named initializers.
3566 struct named_init ni = {
3568 .name = L"Test wide string",
3569 .average = 543.34343,
3574 int dynamic_array[ni.number];
3575 dynamic_array[ni.number - 1] = 543;
3577 // work around unused variable warnings
3578 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3579 || dynamic_array[ni.number - 1] != 543);
3585 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3587 CC="$ac_save_CC $ac_arg"
3588 if ac_fn_c_try_compile "$LINENO"; then :
3589 ac_cv_prog_cc_c99=$ac_arg
3591 rm -f core conftest.err conftest.$ac_objext
3592 test "x$ac_cv_prog_cc_c99" != "xno" && break
3594 rm -f conftest.$ac_ext
3599 case "x$ac_cv_prog_cc_c99" in
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3602 $as_echo "none needed" >&6; } ;;
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3605 $as_echo "unsupported" >&6; } ;;
3607 CC="$CC $ac_cv_prog_cc_c99"
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3609 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3611 if test "x$ac_cv_prog_cc_c99" != xno; then :
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3618 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_RANLIB+:} false; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$RANLIB"; then
3625 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 RANLIB=$ac_cv_prog_RANLIB
3645 if test -n "$RANLIB"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3647 $as_echo "$RANLIB" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3655 if test -z "$ac_cv_prog_RANLIB"; then
3656 ac_ct_RANLIB=$RANLIB
3657 # Extract the first word of "ranlib", so it can be a program name with args.
3658 set dummy ranlib; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$ac_ct_RANLIB"; then
3665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_RANLIB="ranlib"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3685 if test -n "$ac_ct_RANLIB"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3687 $as_echo "$ac_ct_RANLIB" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3693 if test "x$ac_ct_RANLIB" = x; then
3696 case $cross_compiling:$ac_tool_warned in
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3700 ac_tool_warned=yes ;;
3702 RANLIB=$ac_ct_RANLIB
3705 RANLIB="$ac_cv_prog_RANLIB"
3709 if test -n "$ac_tool_prefix"; then
3710 for ac_prog in ar lib "link -lib"
3712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_AR+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$AR"; then
3720 ac_cv_prog_AR="$AR" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3729 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 if test -n "$AR"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3742 $as_echo "$AR" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3749 test -n "$AR" && break
3752 if test -z "$AR"; then
3754 for ac_prog in ar lib "link -lib"
3756 # Extract the first word of "$ac_prog", so it can be a program name with args.
3757 set dummy $ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$ac_ct_AR"; then
3764 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_ac_ct_AR="$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3784 if test -n "$ac_ct_AR"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3786 $as_echo "$ac_ct_AR" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$ac_ct_AR" && break
3796 if test "x$ac_ct_AR" = x; then
3799 case $cross_compiling:$ac_tool_warned in
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3803 ac_tool_warned=yes ;;
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3812 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3813 if ${am_cv_ar_interface+:} false; then :
3814 $as_echo_n "(cached) " >&6
3817 ac_cpp='$CPP $CPPFLAGS'
3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3822 am_cv_ar_interface=ar
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3825 int some_variable = 0;
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3830 (eval $am_ar_try) 2>&5
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }
3834 if test "$ac_status" -eq 0; then
3835 am_cv_ar_interface=ar
3837 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3838 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3839 (eval $am_ar_try) 2>&5
3841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3842 test $ac_status = 0; }
3843 if test "$ac_status" -eq 0; then
3844 am_cv_ar_interface=lib
3846 am_cv_ar_interface=unknown
3849 rm -f conftest.lib libconftest.a
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3861 $as_echo "$am_cv_ar_interface" >&6; }
3863 case $am_cv_ar_interface in
3867 # Microsoft lib, so override with the ar-lib wrapper script.
3868 # FIXME: It is wrong to rewrite AR.
3869 # But if we don't then we get into trouble of one sort or another.
3870 # A longer-term fix would be to have automake use am__AR in this case,
3871 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3873 AR="$am_aux_dir/ar-lib $AR"
3876 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3880 # Check whether --enable-largefile was given.
3881 if test "${enable_largefile+set}" = set; then :
3882 enableval=$enable_largefile;
3885 if test "$enable_largefile" != no; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3888 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3889 if ${ac_cv_sys_largefile_CC+:} false; then :
3890 $as_echo_n "(cached) " >&6
3892 ac_cv_sys_largefile_CC=no
3893 if test "$GCC" != yes; then
3896 # IRIX 6.2 and later do not support large files by default,
3897 # so use the C compiler's -n32 option if that helps.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3900 #include <sys/types.h>
3901 /* Check that off_t can represent 2**63 - 1 correctly.
3902 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3903 since some C++ compilers masquerading as C compilers
3904 incorrectly reject 9223372036854775807. */
3905 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3906 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3907 && LARGE_OFF_T % 2147483647 == 1)
3917 if ac_fn_c_try_compile "$LINENO"; then :
3920 rm -f core conftest.err conftest.$ac_objext
3922 if ac_fn_c_try_compile "$LINENO"; then :
3923 ac_cv_sys_largefile_CC=' -n32'; break
3925 rm -f core conftest.err conftest.$ac_objext
3929 rm -f conftest.$ac_ext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3933 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3934 if test "$ac_cv_sys_largefile_CC" != no; then
3935 CC=$CC$ac_cv_sys_largefile_CC
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3939 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3940 if ${ac_cv_sys_file_offset_bits+:} false; then :
3941 $as_echo_n "(cached) " >&6
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3946 #include <sys/types.h>
3947 /* Check that off_t can represent 2**63 - 1 correctly.
3948 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3949 since some C++ compilers masquerading as C compilers
3950 incorrectly reject 9223372036854775807. */
3951 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3952 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3953 && LARGE_OFF_T % 2147483647 == 1)
3963 if ac_fn_c_try_compile "$LINENO"; then :
3964 ac_cv_sys_file_offset_bits=no; break
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969 #define _FILE_OFFSET_BITS 64
3970 #include <sys/types.h>
3971 /* Check that off_t can represent 2**63 - 1 correctly.
3972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3973 since some C++ compilers masquerading as C compilers
3974 incorrectly reject 9223372036854775807. */
3975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3977 && LARGE_OFF_T % 2147483647 == 1)
3987 if ac_fn_c_try_compile "$LINENO"; then :
3988 ac_cv_sys_file_offset_bits=64; break
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 ac_cv_sys_file_offset_bits=unknown
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3996 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3997 case $ac_cv_sys_file_offset_bits in #(
4000 cat >>confdefs.h <<_ACEOF
4001 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4006 if test $ac_cv_sys_file_offset_bits = unknown; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4008 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4009 if ${ac_cv_sys_large_files+:} false; then :
4010 $as_echo_n "(cached) " >&6
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4015 #include <sys/types.h>
4016 /* Check that off_t can represent 2**63 - 1 correctly.
4017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4018 since some C++ compilers masquerading as C compilers
4019 incorrectly reject 9223372036854775807. */
4020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4022 && LARGE_OFF_T % 2147483647 == 1)
4032 if ac_fn_c_try_compile "$LINENO"; then :
4033 ac_cv_sys_large_files=no; break
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4038 #define _LARGE_FILES 1
4039 #include <sys/types.h>
4040 /* Check that off_t can represent 2**63 - 1 correctly.
4041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4042 since some C++ compilers masquerading as C compilers
4043 incorrectly reject 9223372036854775807. */
4044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4046 && LARGE_OFF_T % 2147483647 == 1)
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 ac_cv_sys_large_files=1; break
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 ac_cv_sys_large_files=unknown
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4065 $as_echo "$ac_cv_sys_large_files" >&6; }
4066 case $ac_cv_sys_large_files in #(
4069 cat >>confdefs.h <<_ACEOF
4070 #define _LARGE_FILES $ac_cv_sys_large_files
4080 ac_config_headers="$ac_config_headers libexfat/config.h"
4082 ac_config_files="$ac_config_files libexfat/Makefile dump/Makefile fsck/Makefile label/Makefile mkfs/Makefile Makefile"
4084 cat >confcache <<\_ACEOF
4085 # This file is a shell script that caches the results of configure
4086 # tests run on this system so they can be shared between configure
4087 # scripts and configure runs, see configure's option --config-cache.
4088 # It is not useful on other systems. If it contains results you don't
4089 # want to keep, you may remove or edit it.
4091 # config.status only pays attention to the cache file if you give it
4092 # the --recheck option to rerun configure.
4094 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4095 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4100 # The following way of writing the cache mishandles newlines in values,
4101 # but we know of no workaround that is simple, portable, and efficient.
4102 # So, we kill variables containing newlines.
4103 # Ultrix sh set writes to stderr and can't be redirected directly,
4104 # and sets the high bit in the cache file unless we assign to the vars.
4106 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4107 eval ac_val=\$$ac_var
4111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4115 _ | IFS | as_nl) ;; #(
4116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4117 *) { eval $ac_var=; unset $ac_var;} ;;
4123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4124 *${as_nl}ac_space=\ *)
4125 # `set' does not quote correctly, so add quotes: double-quote
4126 # substitution turns \\\\ into \\, and sed turns \\ into \.
4129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4132 # `set' quotes correctly as required by POSIX, so do not add quotes.
4133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4146 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4147 if test -w "$cache_file"; then
4148 if test "x$cache_file" != "x/dev/null"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4150 $as_echo "$as_me: updating cache $cache_file" >&6;}
4151 if test ! -f "$cache_file" || test -h "$cache_file"; then
4152 cat confcache >"$cache_file"
4154 case $cache_file in #(
4156 mv -f confcache "$cache_file"$$ &&
4157 mv -f "$cache_file"$$ "$cache_file" ;; #(
4159 mv -f confcache "$cache_file" ;;
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4165 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4170 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4171 # Let make expand exec_prefix.
4172 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4174 DEFS=-DHAVE_CONFIG_H
4179 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4180 # 1. Remove the extension, and $U if already installed.
4181 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4182 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4183 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4184 # will be set to the directory where LIBOBJS objects are built.
4185 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4186 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4190 LTLIBOBJS=$ac_ltlibobjs
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4194 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4195 if test -n "$am_sleep_pid"; then
4196 # Hide warnings about reused PIDs.
4197 wait $am_sleep_pid 2>/dev/null
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4200 $as_echo "done" >&6; }
4201 if test -n "$EXEEXT"; then
4203 am__EXEEXT_FALSE='#'
4209 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4210 as_fn_error $? "conditional \"AMDEP\" was never defined.
4211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4213 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4214 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4218 : "${CONFIG_STATUS=./config.status}"
4220 ac_clean_files_save=$ac_clean_files
4221 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4223 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4227 # Generated by $as_me.
4228 # Run this file to recreate the current configuration.
4229 # Compiler output produced by configure, useful for debugging
4230 # configure, is in config.log if it exists.
4236 SHELL=\${CONFIG_SHELL-$SHELL}
4239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4240 ## -------------------- ##
4241 ## M4sh Initialization. ##
4242 ## -------------------- ##
4244 # Be more Bourne compatible
4245 DUALCASE=1; export DUALCASE # for MKS sh
4246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4249 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4250 # is contrary to our usage. Disable this feature.
4251 alias -g '${1+"$@"}'='"$@"'
4252 setopt NO_GLOB_SUBST
4254 case `(set -o) 2>/dev/null` in #(
4266 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4267 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4268 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4269 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4270 # Prefer a ksh shell builtin over an external printf program on Solaris,
4271 # but without wasting forks for bash or zsh.
4272 if test -z "$BASH_VERSION$ZSH_VERSION" \
4273 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4274 as_echo='print -r --'
4275 as_echo_n='print -rn --'
4276 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4277 as_echo='printf %s\n'
4278 as_echo_n='printf %s'
4280 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4281 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4282 as_echo_n='/usr/ucb/echo -n'
4284 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4285 as_echo_n_body='eval
4289 expr "X$arg" : "X\\(.*\\)$as_nl";
4290 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4292 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4294 export as_echo_n_body
4295 as_echo_n='sh -c $as_echo_n_body as_echo'
4298 as_echo='sh -c $as_echo_body as_echo'
4301 # The user is always right.
4302 if test "${PATH_SEPARATOR+set}" != set; then
4304 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4305 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4312 # We need space, tab and new line, in precisely that order. Quoting is
4313 # there to prevent editors from complaining about space-tab.
4314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4315 # splitting by setting IFS to empty value.)
4318 # Find who we are. Look in the path if we contain no directory separator.
4321 *[\\/]* ) as_myself=$0 ;;
4322 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir=.
4327 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4333 # We did not find ourselves, most probably we were run as `sh COMMAND'
4334 # in which case we are not to be found in the path.
4335 if test "x$as_myself" = x; then
4338 if test ! -f "$as_myself"; then
4339 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4343 # Unset variables that we do not need and which cause bugs (e.g. in
4344 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4345 # suppresses any "Segmentation fault" message there. '((' could
4346 # trigger a bug in pdksh 5.2.14.
4347 for as_var in BASH_ENV ENV MAIL MAILPATH
4348 do eval test x\${$as_var+set} = xset \
4349 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4362 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4365 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4366 # ----------------------------------------
4367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4369 # script with STATUS, using 1 if that was 0.
4372 as_status=$1; test $as_status -eq 0 && as_status=1
4374 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4377 $as_echo "$as_me: error: $2" >&2
4378 as_fn_exit $as_status
4382 # as_fn_set_status STATUS
4383 # -----------------------
4384 # Set $? to STATUS, without forking.
4388 } # as_fn_set_status
4392 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4402 # Portably unset VAR.
4405 { eval $1=; unset $1;}
4407 as_unset=as_fn_unset
4408 # as_fn_append VAR VALUE
4409 # ----------------------
4410 # Append the text in VALUE to the end of the definition contained in VAR. Take
4411 # advantage of any shell optimizations that allow amortized linear growth over
4412 # repeated appends, instead of the typical quadratic growth present in naive
4414 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4415 eval 'as_fn_append ()
4426 # as_fn_arith ARG...
4427 # ------------------
4428 # Perform arithmetic evaluation on the ARGs, and store the result in the
4429 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4430 # must be portable across $(()) and expr.
4431 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4432 eval 'as_fn_arith ()
4439 as_val=`expr "$@" || test $? -eq 1`
4444 if expr a : '\(a\)' >/dev/null 2>&1 &&
4445 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4451 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4452 as_basename=basename
4457 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4463 as_me=`$as_basename -- "$0" ||
4464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4465 X"$0" : 'X\(//\)$' \| \
4466 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4468 sed '/^.*\/\([^/][^/]*\)\/*$/{
4482 # Avoid depending upon Character Ranges.
4483 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4484 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4485 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4486 as_cr_digits='0123456789'
4487 as_cr_alnum=$as_cr_Letters$as_cr_digits
4489 ECHO_C= ECHO_N= ECHO_T=
4490 case `echo -n x` in #(((((
4492 case `echo 'xy\c'` in
4493 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4495 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4502 rm -f conf$$ conf$$.exe conf$$.file
4503 if test -d conf$$.dir; then
4504 rm -f conf$$.dir/conf$$.file
4507 mkdir conf$$.dir 2>/dev/null
4509 if (echo >conf$$.file) 2>/dev/null; then
4510 if ln -s conf$$.file conf$$ 2>/dev/null; then
4512 # ... but there are two gotchas:
4513 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4514 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4515 # In both cases, we have to default to `cp -pR'.
4516 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4518 elif ln conf$$.file conf$$ 2>/dev/null; then
4526 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4527 rmdir conf$$.dir 2>/dev/null
4532 # Create "$as_dir" as a directory, including parents if necessary.
4537 -*) as_dir=./$as_dir;;
4539 test -d "$as_dir" || eval $as_mkdir_p || {
4543 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4544 *) as_qdir=$as_dir;;
4546 as_dirs="'$as_qdir' $as_dirs"
4547 as_dir=`$as_dirname -- "$as_dir" ||
4548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4549 X"$as_dir" : 'X\(//\)[^/]' \| \
4550 X"$as_dir" : 'X\(//\)$' \| \
4551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4552 $as_echo X"$as_dir" |
4553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4570 test -d "$as_dir" && break
4572 test -z "$as_dirs" || eval "mkdir $as_dirs"
4573 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4577 if mkdir -p . 2>/dev/null; then
4578 as_mkdir_p='mkdir -p "$as_dir"'
4580 test -d ./-p && rmdir ./-p
4585 # as_fn_executable_p FILE
4586 # -----------------------
4587 # Test if FILE is an executable regular file.
4588 as_fn_executable_p ()
4590 test -f "$1" && test -x "$1"
4591 } # as_fn_executable_p
4593 as_executable_p=as_fn_executable_p
4595 # Sed expression to map a string onto a valid CPP name.
4596 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4598 # Sed expression to map a string onto a valid variable name.
4599 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4603 ## ----------------------------------- ##
4604 ## Main body of $CONFIG_STATUS script. ##
4605 ## ----------------------------------- ##
4607 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4610 # Save the log message, to keep $0 and so on meaningful, and to
4611 # report actual input values of CONFIG_FILES etc. instead of their
4612 # values after options handling.
4614 This file was extended by Free exFAT implementation $as_me 1.2.2, which was
4615 generated by GNU Autoconf 2.69. Invocation command line was
4617 CONFIG_FILES = $CONFIG_FILES
4618 CONFIG_HEADERS = $CONFIG_HEADERS
4619 CONFIG_LINKS = $CONFIG_LINKS
4620 CONFIG_COMMANDS = $CONFIG_COMMANDS
4623 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4628 case $ac_config_files in *"
4629 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4632 case $ac_config_headers in *"
4633 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4638 # Files that config.status was made for.
4639 config_files="$ac_config_files"
4640 config_headers="$ac_config_headers"
4641 config_commands="$ac_config_commands"
4645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4647 \`$as_me' instantiates files and other configuration actions
4648 from templates according to the current configuration. Unless the files
4649 and actions are specified as TAGs, all are instantiated by default.
4651 Usage: $0 [OPTION]... [TAG]...
4653 -h, --help print this help, then exit
4654 -V, --version print version number and configuration settings, then exit
4655 --config print configuration, then exit
4656 -q, --quiet, --silent
4657 do not print progress messages
4658 -d, --debug don't remove temporary files
4659 --recheck update $as_me by reconfiguring in the same conditions
4660 --file=FILE[:TEMPLATE]
4661 instantiate the configuration file FILE
4662 --header=FILE[:TEMPLATE]
4663 instantiate the configuration header FILE
4665 Configuration files:
4668 Configuration headers:
4671 Configuration commands:
4674 Report bugs to <relan@users.noreply.github.com>.
4675 Free exFAT implementation home page: <https://github.com/relan/exfat>."
4678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4679 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4681 Free exFAT implementation config.status 1.2.2
4682 configured by $0, generated by GNU Autoconf 2.69,
4683 with options \\"\$ac_cs_config\\"
4685 Copyright (C) 2012 Free Software Foundation, Inc.
4686 This config.status script is free software; the Free Software Foundation
4687 gives unlimited permission to copy, distribute and modify it."
4694 test -n "\$AWK" || AWK=awk
4697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4698 # The default lists apply if the user does not specify any file.
4704 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4705 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4709 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4721 # Handling of the options.
4722 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4724 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4725 $as_echo "$ac_cs_version"; exit ;;
4726 --config | --confi | --conf | --con | --co | --c )
4727 $as_echo "$ac_cs_config"; exit ;;
4728 --debug | --debu | --deb | --de | --d | -d )
4730 --file | --fil | --fi | --f )
4733 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4734 '') as_fn_error $? "missing file argument" ;;
4736 as_fn_append CONFIG_FILES " '$ac_optarg'"
4737 ac_need_defaults=false;;
4738 --header | --heade | --head | --hea )
4741 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4743 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4744 ac_need_defaults=false;;
4746 # Conflict between --help and --header
4747 as_fn_error $? "ambiguous option: \`$1'
4748 Try \`$0 --help' for more information.";;
4749 --help | --hel | -h )
4750 $as_echo "$ac_cs_usage"; exit ;;
4751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4752 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4756 -*) as_fn_error $? "unrecognized option: \`$1'
4757 Try \`$0 --help' for more information." ;;
4759 *) as_fn_append ac_config_targets " $1"
4760 ac_need_defaults=false ;;
4766 ac_configure_extra_args=
4768 if $ac_cs_silent; then
4770 ac_configure_extra_args="$ac_configure_extra_args --silent"
4774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4775 if \$ac_cs_recheck; then
4776 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4778 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4779 CONFIG_SHELL='$SHELL'
4785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4789 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4790 ## Running $as_me. ##
4796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4800 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4806 # Handling of arguments.
4807 for ac_config_target in $ac_config_targets
4809 case $ac_config_target in
4810 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4811 "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
4812 "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
4813 "dump/Makefile") CONFIG_FILES="$CONFIG_FILES dump/Makefile" ;;
4814 "fsck/Makefile") CONFIG_FILES="$CONFIG_FILES fsck/Makefile" ;;
4815 "label/Makefile") CONFIG_FILES="$CONFIG_FILES label/Makefile" ;;
4816 "mkfs/Makefile") CONFIG_FILES="$CONFIG_FILES mkfs/Makefile" ;;
4817 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4819 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4824 # If the user did not use the arguments to specify the items to instantiate,
4825 # then the envvar interface is used. Set only those that are not.
4826 # We use the long form for the default assignment because of an extremely
4827 # bizarre bug on SunOS 4.1.3.
4828 if $ac_need_defaults; then
4829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4830 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4831 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4834 # Have a temporary directory for convenience. Make it in the build tree
4835 # simply because there is no reason against having it here, and in addition,
4836 # creating and moving files from /tmp can sometimes cause problems.
4837 # Hook for its removal unless debugging.
4838 # Note that there is a small window in which the directory will not be cleaned:
4839 # after its creation but before its name has been assigned to `$tmp'.
4843 trap 'exit_status=$?
4845 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4847 trap 'as_fn_exit 1' 1 2 13 15
4849 # Create a (secure) tmp directory for tmp files.
4852 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4856 tmp=./conf$$-$RANDOM
4857 (umask 077 && mkdir "$tmp")
4858 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4861 # Set up the scripts for CONFIG_FILES section.
4862 # No need to generate them if there are no CONFIG_FILES.
4863 # This happens for instance with `./config.status config.h'.
4864 if test -n "$CONFIG_FILES"; then
4867 ac_cr=`echo X | tr X '\015'`
4868 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4869 # But we know of no other shell where ac_cr would be empty at this
4870 # point, so we can use a bashism as a fallback.
4871 if test "x$ac_cr" = x; then
4872 eval ac_cr=\$\'\\r\'
4874 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4875 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4881 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4886 echo "cat >conf$$subs.awk <<_ACEOF" &&
4887 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4890 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4891 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4893 for ac_last_try in false false false false false :; do
4894 . ./conf$$subs.sh ||
4895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4897 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4898 if test $ac_delim_n = $ac_delim_num; then
4900 elif $ac_last_try; then
4901 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4903 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4909 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4913 s/^/S["/; s/!.*/"]=/
4923 s/\(.\{148\}\)..*/\1/
4925 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4930 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4937 s/\(.\{148\}\)..*/\1/
4939 s/["\\]/\\&/g; s/^/"/; s/$/"/
4943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4948 ' <conf$$subs.awk | sed '
4953 ' >>$CONFIG_STATUS || ac_write_fail=1
4954 rm -f conf$$subs.awk
4955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4957 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4958 for (key in S) S_is_set[key] = 1
4964 nfields = split(line, field, "@")
4966 len = length(field[1])
4967 for (i = 2; i < nfields; i++) {
4969 keylen = length(key)
4970 if (S_is_set[key]) {
4972 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4973 len += length(value) + length(field[++i])
4984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4985 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4986 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4989 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4990 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4993 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4994 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4995 # trailing colons and then remove the whole line if VPATH becomes empty
4996 # (actually we leave an empty line to preserve line numbers).
4997 if test "x$srcdir" = x.; then
4998 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5017 fi # test -n "$CONFIG_FILES"
5019 # Set up the scripts for CONFIG_HEADERS section.
5020 # No need to generate them if there are no CONFIG_HEADERS.
5021 # This happens for instance with `./config.status Makefile'.
5022 if test -n "$CONFIG_HEADERS"; then
5023 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5027 # Transform confdefs.h into an awk script `defines.awk', embedded as
5028 # here-document in config.status, that substitutes the proper values into
5029 # config.h.in to produce config.h.
5031 # Create a delimiter string that does not exist in confdefs.h, to ease
5032 # handling of long lines.
5034 for ac_last_try in false false :; do
5035 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5036 if test -z "$ac_tt"; then
5038 elif $ac_last_try; then
5039 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5045 # For the awk script, D is an array of macro values keyed by name,
5046 # likewise P contains macro parameters if any. Preserve backslash
5047 # newline sequences.
5049 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5051 s/.\{148\}/&'"$ac_delim"'/g
5054 s/^[ ]*#[ ]*define[ ][ ]*/ /
5061 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5063 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5067 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5068 D["\1"]=" \3\\\\\\n"\\/p
5070 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5075 s/.\{148\}/&'"$ac_delim"'/g
5080 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5083 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5085 ' <confdefs.h | sed '
5086 s/'"$ac_delim"'/"\\\
5087 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5090 for (key in D) D_is_set[key] = 1
5093 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5095 split(line, arg, " ")
5096 if (arg[1] == "#") {
5100 defundef = substr(arg[1], 2)
5103 split(mac1, mac2, "(") #)
5105 prefix = substr(line, 1, index(line, defundef) - 1)
5106 if (D_is_set[macro]) {
5107 # Preserve the white space surrounding the "#".
5108 print prefix "define", macro P[macro] D[macro]
5111 # Replace #undef with comments. This is necessary, for example,
5112 # in the case of _POSIX_SOURCE, which is predefined and required
5113 # on some systems where configure will not decide to define it.
5114 if (defundef == "undef") {
5115 print "/*", prefix defundef, macro, "*/"
5123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5125 fi # test -n "$CONFIG_HEADERS"
5128 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5133 :[FHLC]) ac_mode=$ac_tag; continue;;
5135 case $ac_mode$ac_tag in
5137 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5138 :[FH]-) ac_tag=-:-;;
5139 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5156 -) ac_f="$ac_tmp/stdin";;
5157 *) # Look for the file first in the build tree, then in the source tree
5158 # (if the path is not absolute). The absolute path cannot be DOS-style,
5159 # because $ac_f cannot contain `:'.
5163 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5165 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5167 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5168 as_fn_append ac_file_inputs " '$ac_f'"
5171 # Let's still pretend it is `configure' which instantiates (i.e., don't
5172 # use $as_me), people would be surprised to read:
5173 # /* config.h. Generated by config.status. */
5174 configure_input='Generated from '`
5175 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5177 if test x"$ac_file" != x-; then
5178 configure_input="$ac_file. $configure_input"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5180 $as_echo "$as_me: creating $ac_file" >&6;}
5182 # Neutralize special characters interpreted by sed in replacement strings.
5183 case $configure_input in #(
5184 *\&* | *\|* | *\\* )
5185 ac_sed_conf_input=`$as_echo "$configure_input" |
5186 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5187 *) ac_sed_conf_input=$configure_input;;
5191 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5192 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5197 ac_dir=`$as_dirname -- "$ac_file" ||
5198 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5199 X"$ac_file" : 'X\(//\)[^/]' \| \
5200 X"$ac_file" : 'X\(//\)$' \| \
5201 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5202 $as_echo X"$ac_file" |
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5220 as_dir="$ac_dir"; as_fn_mkdir_p
5224 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5226 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5227 # A ".." for each directory in $ac_dir_suffix.
5228 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5229 case $ac_top_builddir_sub in
5230 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5231 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5234 ac_abs_top_builddir=$ac_pwd
5235 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5236 # for backward compatibility:
5237 ac_top_builddir=$ac_top_build_prefix
5240 .) # We are building in place.
5242 ac_top_srcdir=$ac_top_builddir_sub
5243 ac_abs_top_srcdir=$ac_pwd ;;
5244 [\\/]* | ?:[\\/]* ) # Absolute name.
5245 ac_srcdir=$srcdir$ac_dir_suffix;
5246 ac_top_srcdir=$srcdir
5247 ac_abs_top_srcdir=$srcdir ;;
5249 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5250 ac_top_srcdir=$ac_top_build_prefix$srcdir
5251 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5253 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5263 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5264 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5268 [\\/$]* | ?:[\\/]* ) ;;
5269 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5274 # If the template does not know about datarootdir, expand it.
5275 # FIXME: This hack should be removed a few years after 2.60.
5276 ac_datarootdir_hack=; ac_datarootdir_seen=
5287 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5288 *datarootdir*) ac_datarootdir_seen=yes;;
5289 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5291 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5294 ac_datarootdir_hack='
5295 s&@datadir@&$datadir&g
5296 s&@docdir@&$docdir&g
5297 s&@infodir@&$infodir&g
5298 s&@localedir@&$localedir&g
5299 s&@mandir@&$mandir&g
5300 s&\\\${datarootdir}&$datarootdir&g' ;;
5304 # Neutralize VPATH when `$srcdir' = `.'.
5305 # Shell code in configure.ac might set extrasub.
5306 # FIXME: do we really want to maintain this feature?
5307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5308 ac_sed_extra="$ac_vpsub
5311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5313 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5314 s|@configure_input@|$ac_sed_conf_input|;t t
5315 s&@top_builddir@&$ac_top_builddir_sub&;t t
5316 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5317 s&@srcdir@&$ac_srcdir&;t t
5318 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5319 s&@top_srcdir@&$ac_top_srcdir&;t t
5320 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5321 s&@builddir@&$ac_builddir&;t t
5322 s&@abs_builddir@&$ac_abs_builddir&;t t
5323 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5324 s&@INSTALL@&$ac_INSTALL&;t t
5325 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5326 $ac_datarootdir_hack
5328 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5329 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5331 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5332 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5333 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5334 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5336 which seems to be undefined. Please make sure it is defined" >&5
5337 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5338 which seems to be undefined. Please make sure it is defined" >&2;}
5340 rm -f "$ac_tmp/stdin"
5342 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5343 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5351 if test x"$ac_file" != x-; then
5353 $as_echo "/* $configure_input */" \
5354 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5355 } >"$ac_tmp/config.h" \
5356 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5357 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5359 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5362 mv "$ac_tmp/config.h" "$ac_file" \
5363 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5366 $as_echo "/* $configure_input */" \
5367 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5368 || as_fn_error $? "could not create -" "$LINENO" 5
5370 # Compute "$ac_file"'s index in $config_headers.
5373 for _am_header in $config_headers :; do
5375 $_am_arg | $_am_arg:* )
5378 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5381 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5382 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5383 X"$_am_arg" : 'X\(//\)[^/]' \| \
5384 X"$_am_arg" : 'X\(//\)$' \| \
5385 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5386 $as_echo X"$_am_arg" |
5387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5403 s/.*/./; q'`/stamp-h$_am_stamp_count
5406 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5407 $as_echo "$as_me: executing $ac_file commands" >&6;}
5412 case $ac_file$ac_mode in
5413 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5414 # Older Autoconf quotes --file arguments for eval, but not when files
5415 # are listed without --file. Let's play safe and only enable the eval
5416 # if we detect the quoting.
5417 case $CONFIG_FILES in
5418 *\'*) eval set x "$CONFIG_FILES" ;;
5419 *) set x $CONFIG_FILES ;;
5424 # Strip MF so we end up with the name of the file.
5425 mf=`echo "$mf" | sed -e 's/:.*$//'`
5426 # Check whether this is an Automake generated Makefile or not.
5427 # We used to match only the files named 'Makefile.in', but
5428 # some people rename them; so instead we look at the file content.
5429 # Grep'ing the first line is not enough: some people post-process
5430 # each Makefile.in and add a new line on top of each file to say so.
5431 # Grep'ing the whole file is not good either: AIX grep has a line
5432 # limit of 2048, but all sed's we know have understand at least 4000.
5433 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5434 dirpart=`$as_dirname -- "$mf" ||
5435 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5436 X"$mf" : 'X\(//\)[^/]' \| \
5437 X"$mf" : 'X\(//\)$' \| \
5438 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5460 # Extract the definition of DEPDIR, am__include, and am__quote
5461 # from the Makefile without running 'make'.
5462 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5463 test -z "$DEPDIR" && continue
5464 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5465 test -z "$am__include" && continue
5466 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5467 # Find all dependency output files, they are included files with
5468 # $(DEPDIR) in their names. We invoke sed twice because it is the
5469 # simplest approach to changing $(DEPDIR) to its actual value in the
5471 for file in `sed -n "
5472 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5473 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5474 # Make sure the directory exists.
5475 test -f "$dirpart/$file" && continue
5476 fdir=`$as_dirname -- "$file" ||
5477 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5478 X"$file" : 'X\(//\)[^/]' \| \
5479 X"$file" : 'X\(//\)$' \| \
5480 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5499 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5500 # echo "creating $dirpart/$file"
5501 echo '# dummy' > "$dirpart/$file"
5513 ac_clean_files=$ac_clean_files_save
5515 test $ac_write_fail = 0 ||
5516 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5519 # configure is writing to config.log, and then calls config.status.
5520 # config.status does its own redirection, appending to config.log.
5521 # Unfortunately, on DOS this fails, as config.log is still kept open
5522 # by configure, so config.status won't be able to write to it; its
5523 # output is simply discarded. So we exec the FD to /dev/null,
5524 # effectively closing config.log, so it can be properly (re)opened and
5525 # appended to by config.status. When coming back to configure, we
5526 # need to make the FD available again.
5527 if test "$no_create" != yes; then
5529 ac_config_status_args=
5530 test "$silent" = yes &&
5531 ac_config_status_args="$ac_config_status_args --quiet"
5533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5536 # would make configure fail if this is the last instruction.
5537 $ac_cs_success || as_fn_exit 1
5539 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5541 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}