2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Free exFAT implementation 1.3.0.
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.3.0'
583 PACKAGE_STRING='Free exFAT implementation 1.3.0'
584 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
585 PACKAGE_URL='https://github.com/relan/exfat'
587 ac_subst_vars='am__EXEEXT_FALSE
628 INSTALL_STRIP_PROGRAM
670 program_transform_name
683 enable_option_checking
685 enable_dependency_tracking
688 ac_precious_vars='build_alias
703 # Initialize some variables set by options.
705 ac_init_version=false
706 ac_unrecognized_opts=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
717 program_transform_name=s,x,x,
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir='${exec_prefix}/bin'
732 sbindir='${exec_prefix}/sbin'
733 libexecdir='${exec_prefix}/libexec'
734 datarootdir='${prefix}/share'
735 datadir='${datarootdir}'
736 sysconfdir='${prefix}/etc'
737 sharedstatedir='${prefix}/com'
738 localstatedir='${prefix}/var'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir='${datarootdir}/info'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 # Accept the important Cygnus configure options, so we can diagnose typos.
770 case $ac_dashdash$ac_option in
774 -bindir | --bindir | --bindi | --bind | --bin | --bi)
776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 -build | --build | --buil | --bui | --bu)
780 ac_prev=build_alias ;;
781 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782 build_alias=$ac_optarg ;;
784 -cache-file | --cache-file | --cache-fil | --cache-fi \
785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786 ac_prev=cache_file ;;
787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789 cache_file=$ac_optarg ;;
792 cache_file=config.cache ;;
794 -datadir | --datadir | --datadi | --datad)
796 -datadir=* | --datadir=* | --datadi=* | --datad=*)
797 datadir=$ac_optarg ;;
799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800 | --dataroo | --dataro | --datar)
801 ac_prev=datarootdir ;;
802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804 datarootdir=$ac_optarg ;;
806 -disable-* | --disable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error $? "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
820 eval enable_$ac_useropt=no ;;
822 -docdir | --docdir | --docdi | --doc | --do)
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 -enable-* | --enable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
861 -help | --help | --hel | --he | -h)
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 # Obsolete; use --without-fp.
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 -psdir | --psdir | --psdi | --psd | --ps)
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1010 -site=* | --site=* | --sit=*)
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid package name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval with_$ac_useropt=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=no ;;
1069 # Obsolete; use --with-x.
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information"
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 as_fn_error $? "missing argument to $ac_option"
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 # Check all directory arguments for consistency.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val=\$$ac_var
1131 # Remove trailing slashes.
1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135 eval $ac_var=\$ac_val;;
1137 # Be sure to have absolute directory names.
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 elif test "x$build_alias" != "x$host_alias"; then
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1241 \`configure' configures Free exFAT implementation 1.3.0 to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/exfat-utils]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1305 if test -n "$ac_init_help"; then
1306 case $ac_init_help in
1307 short | recursive ) echo "Configuration of Free exFAT implementation 1.3.0:";;
1312 --disable-option-checking ignore unrecognized --enable/--with options
1313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1315 --enable-silent-rules less verbose build output (undo: "make V=1")
1316 --disable-silent-rules verbose build output (undo: "make V=0")
1317 --enable-dependency-tracking
1318 do not reject slow dependency extractors
1319 --disable-dependency-tracking
1320 speeds up one-time build
1321 --disable-largefile omit support for large files
1323 Some influential environment variables:
1324 CC C compiler command
1325 CFLAGS C compiler flags
1326 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1327 nonstandard directory <lib dir>
1328 LIBS libraries to pass to the linker, e.g. -l<library>
1329 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1330 you have headers in a nonstandard directory <include dir>
1331 PKG_CONFIG path to pkg-config utility
1333 directories to add to pkg-config's search path
1335 path overriding pkg-config's built-in search path
1337 C compiler flags for UBLIO, overriding pkg-config
1338 UBLIO_LIBS linker flags for UBLIO, overriding pkg-config
1340 Use these variables to override the choices made by `configure' or to help
1341 it to find libraries and programs with nonstandard names/locations.
1343 Report bugs to <relan@users.noreply.github.com>.
1344 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1349 if test "$ac_init_help" = "recursive"; then
1350 # If there are subdirs, report their specific --help.
1351 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352 test -d "$ac_dir" ||
1353 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1361 # A ".." for each directory in $ac_dir_suffix.
1362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1363 case $ac_top_builddir_sub in
1364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368 ac_abs_top_builddir=$ac_pwd
1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370 # for backward compatibility:
1371 ac_top_builddir=$ac_top_build_prefix
1374 .) # We are building in place.
1376 ac_top_srcdir=$ac_top_builddir_sub
1377 ac_abs_top_srcdir=$ac_pwd ;;
1378 [\\/]* | ?:[\\/]* ) # Absolute name.
1379 ac_srcdir=$srcdir$ac_dir_suffix;
1380 ac_top_srcdir=$srcdir
1381 ac_abs_top_srcdir=$srcdir ;;
1383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384 ac_top_srcdir=$ac_top_build_prefix$srcdir
1385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389 cd "$ac_dir" || { ac_status=$?; continue; }
1390 # Check for guested configure.
1391 if test -f "$ac_srcdir/configure.gnu"; then
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394 elif test -f "$ac_srcdir/configure"; then
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1398 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1400 cd "$ac_pwd" || { ac_status=$?; break; }
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1407 Free exFAT implementation configure 1.3.0
1408 generated by GNU Autoconf 2.69
1410 Copyright (C) 2012 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1417 ## ------------------------ ##
1418 ## Autoconf initialization. ##
1419 ## ------------------------ ##
1421 # ac_fn_c_try_compile LINENO
1422 # --------------------------
1423 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1424 ac_fn_c_try_compile ()
1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427 rm -f conftest.$ac_objext
1428 if { { ac_try="$ac_compile"
1430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431 *) ac_try_echo=$ac_try;;
1433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434 $as_echo "$ac_try_echo"; } >&5
1435 (eval "$ac_compile") 2>conftest.err
1437 if test -s conftest.err; then
1438 grep -v '^ *+' conftest.err >conftest.er1
1439 cat conftest.er1 >&5
1440 mv -f conftest.er1 conftest.err
1442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 test $ac_status = 0; } && {
1444 test -z "$ac_c_werror_flag" ||
1445 test ! -s conftest.err
1446 } && test -s conftest.$ac_objext; then :
1449 $as_echo "$as_me: failed program was:" >&5
1450 sed 's/^/| /' conftest.$ac_ext >&5
1454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455 as_fn_set_status $ac_retval
1457 } # ac_fn_c_try_compile
1458 cat >config.log <<_ACEOF
1459 This file contains any messages produced by compilers while
1460 running configure, to aid debugging if configure makes a mistake.
1462 It was created by Free exFAT implementation $as_me 1.3.0, which was
1463 generated by GNU Autoconf 2.69. Invocation command line was
1475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 $as_echo "PATH: $as_dir"
1515 # Keep a trace of the command line.
1516 # Strip out --no-create and --no-recursion so they do not pile up.
1517 # Strip out --silent because we don't want to record it for future runs.
1518 # Also quote any args containing shell meta-characters.
1519 # Make two passes to allow for proper duplicate-argument suppression.
1523 ac_must_keep_next=false
1529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531 | -silent | --silent | --silen | --sile | --sil)
1534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1539 as_fn_append ac_configure_args1 " '$ac_arg'"
1540 if test $ac_must_keep_next = true; then
1541 ac_must_keep_next=false # Got value, back to normal.
1544 *=* | --config-cache | -C | -disable-* | --disable-* \
1545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1547 | -with-* | --with-* | -without-* | --without-* | --x)
1548 case "$ac_configure_args0 " in
1549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552 -* ) ac_must_keep_next=true ;;
1555 as_fn_append ac_configure_args " '$ac_arg'"
1560 { ac_configure_args0=; unset ac_configure_args0;}
1561 { ac_configure_args1=; unset ac_configure_args1;}
1563 # When interrupted or exit'd, cleanup temporary files, and complete
1564 # config.log. We remove comments because anyway the quotes in there
1565 # would cause problems or look ugly.
1566 # WARNING: Use '\'' to represent an apostrophe within the trap.
1567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568 trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1573 $as_echo "## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##"
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1588 _ | IFS | as_nl) ;; #(
1589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1590 *) { eval $ac_var=; unset $ac_var;} ;;
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1609 $as_echo "## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##"
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 $as_echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1624 $as_echo "## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##"
1628 for ac_var in $ac_subst_files
1630 eval ac_val=\$$ac_var
1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 $as_echo "$ac_var='\''$ac_val'\''"
1639 if test -s confdefs.h; then
1640 $as_echo "## ----------- ##
1647 test "$ac_signal" != 0 &&
1648 $as_echo "$as_me: caught signal $ac_signal"
1649 $as_echo "$as_me: exit $exit_status"
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655 for ac_signal in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest* confdefs.h
1663 $as_echo "/* confdefs.h */" > confdefs.h
1665 # Predefined preprocessor variables.
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_NAME "$PACKAGE_NAME"
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_STRING "$PACKAGE_STRING"
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_URL "$PACKAGE_URL"
1692 # Let the site file select an alternate cache file if it wants to.
1693 # Prefer an explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 # We do not want a PATH search for config.site.
1698 case $CONFIG_SITE in #((
1699 -*) ac_site_file1=./$CONFIG_SITE;;
1700 */*) ac_site_file1=$CONFIG_SITE;;
1701 *) ac_site_file1=./$CONFIG_SITE;;
1703 elif test "x$prefix" != xNONE; then
1704 ac_site_file1=$prefix/share/config.site
1705 ac_site_file2=$prefix/etc/config.site
1707 ac_site_file1=$ac_default_prefix/share/config.site
1708 ac_site_file2=$ac_default_prefix/etc/config.site
1710 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1712 test "x$ac_site_file" = xNONE && continue
1713 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1715 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1716 sed 's/^/| /' "$ac_site_file" >&5
1718 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1720 as_fn_error $? "failed to load site script $ac_site_file
1721 See \`config.log' for more details" "$LINENO" 5; }
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special files
1727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1730 $as_echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1738 $as_echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 # differences in whitespace do not lead to failure.
1763 ac_old_val_w=`echo x $ac_old_val`
1764 ac_new_val_w=`echo x $ac_new_val`
1765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 ac_cache_corrupted=:
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772 eval $ac_var=\$ac_old_val
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1780 # Pass precious variables to config.status.
1781 if test "$ac_new_set" = set; then
1783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 *) ac_arg=$ac_var=$ac_new_val ;;
1786 case " $ac_configure_args " in
1787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1792 if $ac_cache_corrupted; then
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1799 ## -------------------- ##
1800 ## Main body of script. ##
1801 ## -------------------- ##
1804 ac_cpp='$CPP $CPPFLAGS'
1805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1810 am__api_version='1.15'
1813 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1814 if test -f "$ac_dir/install-sh"; then
1816 ac_install_sh="$ac_aux_dir/install-sh -c"
1818 elif test -f "$ac_dir/install.sh"; then
1820 ac_install_sh="$ac_aux_dir/install.sh -c"
1822 elif test -f "$ac_dir/shtool"; then
1824 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 if test -z "$ac_aux_dir"; then
1829 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1832 # These three variables are undocumented and unsupported,
1833 # and are intended to be withdrawn in a future Autoconf release.
1834 # They can cause serious problems if a builder's source tree is in a directory
1835 # whose full name contains unusual characters.
1836 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1837 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1838 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1841 # Find a good install program. We prefer a C program (faster),
1842 # so one script is as good as another. But avoid the broken or
1843 # incompatible versions:
1844 # SysV /etc/install, /usr/sbin/install
1845 # SunOS /usr/etc/install
1846 # IRIX /sbin/install
1848 # AmigaOS /C/install, which installs bootblocks on floppy discs
1849 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1850 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1851 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1852 # OS/2's system install, which has a completely different semantic
1853 # ./install, which can be erroneously created by make from ./install.sh.
1854 # Reject install programs that cannot install multiple files.
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1856 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1857 if test -z "$INSTALL"; then
1858 if ${ac_cv_path_install+:} false; then :
1859 $as_echo_n "(cached) " >&6
1861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir=.
1866 # Account for people who put trailing slashes in PATH elements.
1867 case $as_dir/ in #((
1868 ./ | .// | /[cC]/* | \
1869 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1870 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1873 # OSF1 and SCO ODT 3.0 have their own names for install.
1874 # Don't use installbsd from OSF since it installs stuff as root
1876 for ac_prog in ginstall scoinst install; do
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1879 if test $ac_prog = install &&
1880 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1881 # AIX install. It has an incompatible calling convention.
1883 elif test $ac_prog = install &&
1884 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885 # program-specific install script used by HP pwplus--don't use.
1888 rm -rf conftest.one conftest.two conftest.dir
1889 echo one > conftest.one
1890 echo two > conftest.two
1892 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1893 test -s conftest.one && test -s conftest.two &&
1894 test -s conftest.dir/conftest.one &&
1895 test -s conftest.dir/conftest.two
1897 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1910 rm -rf conftest.one conftest.two conftest.dir
1913 if test "${ac_cv_path_install+set}" = set; then
1914 INSTALL=$ac_cv_path_install
1916 # As a last resort, use the slow shell script. Don't cache a
1917 # value for INSTALL within a source directory, because that will
1918 # break other packages using the cache if that directory is
1919 # removed, or if the value is a relative name.
1920 INSTALL=$ac_install_sh
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1924 $as_echo "$INSTALL" >&6; }
1926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1927 # It thinks the first close brace ends the variable substitution.
1928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1932 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1935 $as_echo_n "checking whether build environment is sane... " >&6; }
1936 # Reject unsafe characters in $srcdir or the absolute working directory
1937 # name. Accept space and tab only in the latter.
1941 *[\\\"\#\$\&\'\`$am_lf]*)
1942 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1945 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1946 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1949 # Do 'set' in a subshell so we don't clobber the current shell's
1950 # arguments. Must try -L first in case configure is actually a
1951 # symlink; some systems play weird games with the mod time of symlinks
1952 # (eg FreeBSD returns the mod time of the symlink's containing
1956 for am_try in 1 2; do
1957 echo "timestamp, slept: $am_has_slept" > conftest.file
1958 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1959 if test "$*" = "X"; then
1961 set X `ls -t "$srcdir/configure" conftest.file`
1963 if test "$*" != "X $srcdir/configure conftest.file" \
1964 && test "$*" != "X conftest.file $srcdir/configure"; then
1966 # If neither matched, then we have a broken ls. This can happen
1967 # if, for instance, CONFIG_SHELL is bash and it inherits a
1968 # broken ls alias from the environment. This has actually
1969 # happened. Such a system could not be considered "sane".
1970 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1971 alias in your environment" "$LINENO" 5
1973 if test "$2" = conftest.file || test $am_try -eq 2; then
1980 test "$2" = conftest.file
1986 as_fn_error $? "newly created file is older than distributed files!
1987 Check your system clock" "$LINENO" 5
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1990 $as_echo "yes" >&6; }
1991 # If we didn't sleep, we still need to ensure time stamps of config.status and
1992 # generated files are strictly newer.
1994 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2001 test "$program_prefix" != NONE &&
2002 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2003 # Use a double $ so make ignores it.
2004 test "$program_suffix" != NONE &&
2005 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2006 # Double any \ or $.
2007 # By default was `s,x,x', remove it if useless.
2008 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2009 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2011 # Expand $ac_aux_dir to an absolute path.
2012 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2014 if test x"${MISSING+set}" != xset; then
2017 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2019 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2022 # Use eval to expand $SHELL
2023 if eval "$MISSING --is-lightweight"; then
2024 am_missing_run="$MISSING "
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2028 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2031 if test x"${install_sh+set}" != xset; then
2034 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2036 install_sh="\${SHELL} $am_aux_dir/install-sh"
2040 # Installed binaries are usually stripped using 'strip' when the user
2041 # run "make install-strip". However 'strip' might not be the right
2042 # tool to use in cross-compilation environments, therefore Automake
2043 # will honor the 'STRIP' environment variable to overrule this program.
2044 if test "$cross_compiling" != no; then
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2047 set dummy ${ac_tool_prefix}strip; ac_word=$2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if ${ac_cv_prog_STRIP+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 if test -n "$STRIP"; then
2054 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 STRIP=$ac_cv_prog_STRIP
2074 if test -n "$STRIP"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2076 $as_echo "$STRIP" >&6; }
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079 $as_echo "no" >&6; }
2084 if test -z "$ac_cv_prog_STRIP"; then
2086 # Extract the first word of "strip", so it can be a program name with args.
2087 set dummy strip; ac_word=$2
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089 $as_echo_n "checking for $ac_word... " >&6; }
2090 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2091 $as_echo_n "(cached) " >&6
2093 if test -n "$ac_ct_STRIP"; then
2094 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_ac_ct_STRIP="strip"
2104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2114 if test -n "$ac_ct_STRIP"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2116 $as_echo "$ac_ct_STRIP" >&6; }
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119 $as_echo "no" >&6; }
2122 if test "x$ac_ct_STRIP" = x; then
2125 case $cross_compiling:$ac_tool_warned in
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2129 ac_tool_warned=yes ;;
2134 STRIP="$ac_cv_prog_STRIP"
2138 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2141 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2142 if test -z "$MKDIR_P"; then
2143 if ${ac_cv_path_mkdir+:} false; then :
2144 $as_echo_n "(cached) " >&6
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2150 test -z "$as_dir" && as_dir=.
2151 for ac_prog in mkdir gmkdir; do
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2154 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2155 'mkdir (GNU coreutils) '* | \
2156 'mkdir (coreutils) '* | \
2157 'mkdir (fileutils) '4.1*)
2158 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2168 test -d ./--version && rmdir ./--version
2169 if test "${ac_cv_path_mkdir+set}" = set; then
2170 MKDIR_P="$ac_cv_path_mkdir -p"
2172 # As a last resort, use the slow shell script. Don't cache a
2173 # value for MKDIR_P within a source directory, because that will
2174 # break other packages using the cache if that directory is
2175 # removed, or if the value is a relative name.
2176 MKDIR_P="$ac_install_sh -d"
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2180 $as_echo "$MKDIR_P" >&6; }
2182 for ac_prog in gawk mawk nawk awk
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if ${ac_cv_prog_AWK+:} false; then :
2189 $as_echo_n "(cached) " >&6
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_AWK="$ac_prog"
2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$AWK"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2214 $as_echo "$AWK" >&6; }
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2221 test -n "$AWK" && break
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2227 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2228 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 cat >conftest.make <<\_ACEOF
2234 @echo '@@@%%%=$(MAKE)=@@@%%%'
2236 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2237 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2239 eval ac_cv_prog_make_${ac_make}_set=yes;;
2241 eval ac_cv_prog_make_${ac_make}_set=no;;
2245 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2247 $as_echo "yes" >&6; }
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2252 SET_MAKE="MAKE=${MAKE-make}"
2255 rm -rf .tst 2>/dev/null
2256 mkdir .tst 2>/dev/null
2257 if test -d .tst; then
2262 rmdir .tst 2>/dev/null
2264 # Check whether --enable-silent-rules was given.
2265 if test "${enable_silent_rules+set}" = set; then :
2266 enableval=$enable_silent_rules;
2269 case $enable_silent_rules in # (((
2270 yes) AM_DEFAULT_VERBOSITY=0;;
2271 no) AM_DEFAULT_VERBOSITY=1;;
2272 *) AM_DEFAULT_VERBOSITY=1;;
2274 am_make=${MAKE-make}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2276 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2277 if ${am_cv_make_support_nested_variables+:} false; then :
2278 $as_echo_n "(cached) " >&6
2280 if $as_echo 'TRUE=$(BAR$(V))
2286 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2287 am_cv_make_support_nested_variables=yes
2289 am_cv_make_support_nested_variables=no
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2293 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2294 if test $am_cv_make_support_nested_variables = yes; then
2296 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2298 AM_V=$AM_DEFAULT_VERBOSITY
2299 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2303 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2304 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2305 # is not polluted with repeated "-I."
2306 am__isrc=' -I$(srcdir)'
2307 # test to see if srcdir already configured
2308 if test -f $srcdir/config.status; then
2309 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2313 # test whether we have cygpath
2314 if test -z "$CYGPATH_W"; then
2315 if (cygpath --version) >/dev/null 2>/dev/null; then
2316 CYGPATH_W='cygpath -w'
2323 # Define the identity of the package.
2324 PACKAGE='exfat-utils'
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE "$PACKAGE"
2333 cat >>confdefs.h <<_ACEOF
2334 #define VERSION "$VERSION"
2337 # Some tools Automake needs.
2339 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2342 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2345 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2348 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2351 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2353 # For better backward compatibility. To be removed once Automake 1.9.x
2354 # dies out for good. For more background, see:
2355 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2356 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2357 mkdir_p='$(MKDIR_P)'
2359 # We need awk for the "check" target (and possibly the TAP driver). The
2360 # system "awk" is bad on some platforms.
2361 # Always define AMTAR for backward compatibility. Yes, it's still used
2362 # in the wild :-( We should find a proper way to deprecate it ...
2366 # We'll loop over all known methods to create a tar archive until one works.
2367 _am_tools='gnutar pax cpio none'
2369 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2376 # POSIX will say in a future version that running "rm -f" with no argument
2377 # is OK; and we want to be able to make that assumption in our Makefile
2378 # recipes. So use an aggressive probe to check that the usage we want is
2379 # actually supported "in the wild" to an acceptable degree.
2380 # See automake bug#10828.
2381 # To make any issue more visible, cause the running configure to be aborted
2382 # by default if the 'rm' program in use doesn't match our expectations; the
2383 # user can still override this though.
2384 if rm -f && rm -fr && rm -rf; then : OK; else
2388 Your 'rm' program seems unable to run without file operands specified
2389 on the command line, even when the '-f' option is present. This is contrary
2390 to the behaviour of most rm programs out there, and not conforming with
2391 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2393 Please tell bug-automake@gnu.org about your system, including the value
2394 of your $PATH and any error possibly output before this message. This
2395 can help us improve future automake versions.
2398 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2399 echo 'Configuration will proceed anyway, since you have set the' >&2
2400 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2404 Aborting the configuration process, to ensure you take notice of the issue.
2406 You can download and install GNU coreutils to get an 'rm' implementation
2407 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2409 If you want to complete the configuration process using your problematic
2410 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2411 to "yes", and re-run configure.
2414 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2423 if test -n "$ac_tool_prefix"; then
2424 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2425 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if ${ac_cv_prog_CC+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 if test -n "$CC"; then
2432 ac_cv_prog_CC="$CC" # Let the user override the test.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test -n "$CC"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2454 $as_echo "$CC" >&6; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2457 $as_echo "no" >&6; }
2462 if test -z "$ac_cv_prog_CC"; then
2464 # Extract the first word of "gcc", so it can be a program name with args.
2465 set dummy gcc; ac_word=$2
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2469 $as_echo_n "(cached) " >&6
2471 if test -n "$ac_ct_CC"; then
2472 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir=.
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2481 ac_cv_prog_ac_ct_CC="gcc"
2482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2492 if test -n "$ac_ct_CC"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2494 $as_echo "$ac_ct_CC" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2500 if test "x$ac_ct_CC" = x; then
2503 case $cross_compiling:$ac_tool_warned in
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2507 ac_tool_warned=yes ;;
2515 if test -z "$CC"; then
2516 if test -n "$ac_tool_prefix"; then
2517 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2518 set dummy ${ac_tool_prefix}cc; ac_word=$2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if ${ac_cv_prog_CC+:} false; then :
2522 $as_echo_n "(cached) " >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534 ac_cv_prog_CC="${ac_tool_prefix}cc"
2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 if test -n "$CC"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2547 $as_echo "$CC" >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2556 if test -z "$CC"; then
2557 # Extract the first word of "cc", so it can be a program name with args.
2558 set dummy cc; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_CC+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC="$CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2576 ac_prog_rejected=yes
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 if test $ac_prog_rejected = yes; then
2588 # We found a bogon in the path, so make sure we never use it.
2589 set dummy $ac_cv_prog_CC
2591 if test $# != 0; then
2592 # We chose a different compiler from the bogus one.
2593 # However, it has the same basename, so the bogon will be chosen
2594 # first if we set CC to just the basename; use the full file name.
2596 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2602 if test -n "$CC"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2604 $as_echo "$CC" >&6; }
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607 $as_echo "no" >&6; }
2612 if test -z "$CC"; then
2613 if test -n "$ac_tool_prefix"; then
2614 for ac_prog in cl.exe
2616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC="$CC" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 if test -n "$CC"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2646 $as_echo "$CC" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2653 test -n "$CC" && break
2656 if test -z "$CC"; then
2658 for ac_prog in cl.exe
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy $ac_prog; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$ac_ct_CC"; then
2668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_ac_ct_CC="$ac_prog"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2688 if test -n "$ac_ct_CC"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2690 $as_echo "$ac_ct_CC" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2697 test -n "$ac_ct_CC" && break
2700 if test "x$ac_ct_CC" = x; then
2703 case $cross_compiling:$ac_tool_warned in
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2707 ac_tool_warned=yes ;;
2716 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2718 as_fn_error $? "no acceptable C compiler found in \$PATH
2719 See \`config.log' for more details" "$LINENO" 5; }
2721 # Provide some information about the compiler.
2722 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2725 for ac_option in --version -v -V -qversion; do
2726 { { ac_try="$ac_compiler $ac_option >&5"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 $as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2735 if test -s conftest.err; then
2737 ... rest of stderr output deleted ...
2738 10q' conftest.err >conftest.er1
2739 cat conftest.er1 >&5
2741 rm -f conftest.er1 conftest.err
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2757 ac_clean_files_save=$ac_clean_files
2758 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2759 # Try to create an executable without -o first, disregard a.out.
2760 # It will help us diagnose broken compilers, and finding out an intuition
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2763 $as_echo_n "checking whether the C compiler works... " >&6; }
2764 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2766 # The possible output files:
2767 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2770 for ac_file in $ac_files
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2774 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2779 if { { ac_try="$ac_link_default"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_link_default") 2>&5
2788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; }; then :
2790 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2791 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2792 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2793 # so that the user can short-circuit this test for compilers unknown to
2795 for ac_file in $ac_files ''
2797 test -f "$ac_file" || continue
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2802 # We found the default executable, but exeext='' is most
2806 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2808 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2810 # We set ac_cv_exeext here because the later test for it is not
2811 # safe: cross compilers may not add the suffix if given an `-o'
2812 # argument, so we may need to know it at that point already.
2813 # Even if this section looks crufty: it has the advantage of
2820 test "$ac_cv_exeext" = no && ac_cv_exeext=
2825 if test -z "$ac_file"; then :
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828 $as_echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 as_fn_error 77 "C compiler cannot create executables
2834 See \`config.log' for more details" "$LINENO" 5; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2840 $as_echo_n "checking for C compiler default output file name... " >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2842 $as_echo "$ac_file" >&6; }
2843 ac_exeext=$ac_cv_exeext
2845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2846 ac_clean_files=$ac_clean_files_save
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2848 $as_echo_n "checking for suffix of executables... " >&6; }
2849 if { { ac_try="$ac_link"
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_link") 2>&5
2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; }; then :
2860 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2861 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2862 # work properly (i.e., refer to `conftest.exe'), while it won't with
2864 for ac_file in conftest.exe conftest conftest.*; do
2865 test -f "$ac_file" || continue
2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2868 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2876 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2877 See \`config.log' for more details" "$LINENO" 5; }
2879 rm -f conftest conftest$ac_cv_exeext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2881 $as_echo "$ac_cv_exeext" >&6; }
2883 rm -f conftest.$ac_ext
2884 EXEEXT=$ac_cv_exeext
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2892 FILE *f = fopen ("conftest.out", "w");
2893 return ferror (f) || fclose (f) != 0;
2899 ac_clean_files="$ac_clean_files conftest.out"
2900 # Check that the compiler produces executables we can run. If not, either
2901 # the compiler is broken, or we cross compile.
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2903 $as_echo_n "checking whether we are cross compiling... " >&6; }
2904 if test "$cross_compiling" != yes; then
2905 { { ac_try="$ac_link"
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2911 $as_echo "$ac_try_echo"; } >&5
2912 (eval "$ac_link") 2>&5
2914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2915 test $ac_status = 0; }
2916 if { ac_try='./conftest$ac_cv_exeext'
2917 { { case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_try") 2>&5
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; }; }; then
2929 if test "$cross_compiling" = maybe; then
2932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 as_fn_error $? "cannot run C compiled programs.
2935 If you meant to cross compile, use \`--host'.
2936 See \`config.log' for more details" "$LINENO" 5; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2941 $as_echo "$cross_compiling" >&6; }
2943 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2944 ac_clean_files=$ac_clean_files_save
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2946 $as_echo_n "checking for suffix of object files... " >&6; }
2947 if ${ac_cv_objext+:} false; then :
2948 $as_echo_n "(cached) " >&6
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 rm -f conftest.o conftest.obj
2962 if { { ac_try="$ac_compile"
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 $as_echo "$ac_try_echo"; } >&5
2969 (eval "$ac_compile") 2>&5
2971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; }; then :
2973 for ac_file in conftest.o conftest.obj conftest.*; do
2974 test -f "$ac_file" || continue;
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2987 as_fn_error $? "cannot compute suffix of object files: cannot compile
2988 See \`config.log' for more details" "$LINENO" 5; }
2990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2993 $as_echo "$ac_cv_objext" >&6; }
2994 OBJEXT=$ac_cv_objext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2998 if ${ac_cv_c_compiler_gnu+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3015 if ac_fn_c_try_compile "$LINENO"; then :
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3026 if test $ac_compiler_gnu = yes; then
3031 ac_test_CFLAGS=${CFLAGS+set}
3032 ac_save_CFLAGS=$CFLAGS
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3035 if ${ac_cv_prog_cc_g+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 ac_save_c_werror_flag=$ac_c_werror_flag
3039 ac_c_werror_flag=yes
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3053 if ac_fn_c_try_compile "$LINENO"; then :
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3068 if ac_fn_c_try_compile "$LINENO"; then :
3071 ac_c_werror_flag=$ac_save_c_werror_flag
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3084 if ac_fn_c_try_compile "$LINENO"; then :
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 ac_c_werror_flag=$ac_save_c_werror_flag
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3095 $as_echo "$ac_cv_prog_cc_g" >&6; }
3096 if test "$ac_test_CFLAGS" = set; then
3097 CFLAGS=$ac_save_CFLAGS
3098 elif test $ac_cv_prog_cc_g = yes; then
3099 if test "$GCC" = yes; then
3105 if test "$GCC" = yes; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3113 if ${ac_cv_prog_cc_c89+:} false; then :
3114 $as_echo_n "(cached) " >&6
3116 ac_cv_prog_cc_c89=no
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3124 struct buf { int x; };
3125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3126 static char *e (p, i)
3132 static char *f (char * (*g) (char **, int), char **p, ...)
3137 s = g (p, va_arg (v,int));
3142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3143 function prototypes and stuff, but not '\xHH' hex character constants.
3144 These don't provoke an error unfortunately, instead are silently treated
3145 as 'x'. The following induces an error, until -std is added to get
3146 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3147 array size at least. It's necessary to write '\x00'==0 to get something
3148 that's true only with -std. */
3149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3152 inside strings and character constants. */
3154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3156 int test (int i, double x);
3157 struct s1 {int (*f) (int a);};
3158 struct s2 {int (*f) (double a);};
3159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3171 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3173 CC="$ac_save_CC $ac_arg"
3174 if ac_fn_c_try_compile "$LINENO"; then :
3175 ac_cv_prog_cc_c89=$ac_arg
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x$ac_cv_prog_cc_c89" != "xno" && break
3180 rm -f conftest.$ac_ext
3185 case "x$ac_cv_prog_cc_c89" in
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3188 $as_echo "none needed" >&6; } ;;
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3191 $as_echo "unsupported" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3197 if test "x$ac_cv_prog_cc_c89" != xno; then :
3202 ac_cpp='$CPP $CPPFLAGS'
3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208 ac_cpp='$CPP $CPPFLAGS'
3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3213 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3214 if ${am_cv_prog_cc_c_o+:} false; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 # Make sure it works both with $CC and with simple cc.
3229 # Following AC_PROG_CC_C_O, we do the test twice because some
3230 # compilers refuse to overwrite an existing .o file with -o,
3231 # though they will create one.
3232 am_cv_prog_cc_c_o=yes
3234 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3235 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } \
3239 && test -f conftest2.$ac_objext; then
3242 am_cv_prog_cc_c_o=no
3246 rm -f core conftest*
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3250 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3251 if test "$am_cv_prog_cc_c_o" != yes; then
3252 # Losing compiler, so override with the script.
3253 # FIXME: It is wrong to rewrite CC.
3254 # But if we don't then we get into trouble of one sort or another.
3255 # A longer-term fix would be to have automake use am__CC in this case,
3256 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3257 CC="$am_aux_dir/compile $CC"
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 DEPDIR="${am__leading_dot}deps"
3267 ac_config_commands="$ac_config_commands depfiles"
3270 am_make=${MAKE-make}
3271 cat > confinc << 'END'
3273 @echo this is the am__doit target
3276 # If we don't find an include directive, just comment out the code.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3278 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3282 # First try GNU make style include.
3283 echo "include confinc" > confmf
3284 # Ignore all kinds of additional output from 'make'.
3285 case `$am_make -s -f confmf 2> /dev/null` in #(
3286 *the\ am__doit\ target*)
3292 # Now try BSD make style include.
3293 if test "$am__include" = "#"; then
3294 echo '.include "confinc"' > confmf
3295 case `$am_make -s -f confmf 2> /dev/null` in #(
3296 *the\ am__doit\ target*)
3297 am__include=.include
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3306 $as_echo "$_am_result" >&6; }
3307 rm -f confinc confmf
3309 # Check whether --enable-dependency-tracking was given.
3310 if test "${enable_dependency_tracking+set}" = set; then :
3311 enableval=$enable_dependency_tracking;
3314 if test "x$enable_dependency_tracking" != xno; then
3315 am_depcomp="$ac_aux_dir/depcomp"
3319 if test "x$enable_dependency_tracking" != xno; then
3329 depcc="$CC" am_compiler_list=
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3332 $as_echo_n "checking dependency style of $depcc... " >&6; }
3333 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3337 # We make a subdir and do the tests there. Otherwise we can end up
3338 # making bogus files that we don't know about and never remove. For
3339 # instance it was reported that on HP-UX the gcc test will end up
3340 # making a dummy file named 'D' -- because '-MD' means "put the output
3344 # Copy depcomp to subdir because otherwise we won't find it if we're
3345 # using a relative directory.
3346 cp "$am_depcomp" conftest.dir
3348 # We will build objects and dependencies in a subdirectory because
3349 # it helps to detect inapplicable dependency modes. For instance
3350 # both Tru64's cc and ICC support -MD to output dependencies as a
3351 # side effect of compilation, but ICC will put the dependencies in
3352 # the current directory while Tru64 will put them in the object
3356 am_cv_CC_dependencies_compiler_type=none
3357 if test "$am_compiler_list" = ""; then
3358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3361 case " $depcc " in #(
3362 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3365 for depmode in $am_compiler_list; do
3366 # Setup a source with many dependencies, because some compilers
3367 # like to wrap large dependency lists on column 80 (with \), and
3368 # we should not choose a depcomp mode which is confused by this.
3370 # We need to recreate these files for each test, as the compiler may
3371 # overwrite some of them when testing with obscure command lines.
3372 # This happens at least with the AIX C compiler.
3374 for i in 1 2 3 4 5 6; do
3375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3376 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3377 # Solaris 10 /bin/sh.
3378 echo '/* dummy */' > sub/conftst$i.h
3380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3382 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3383 # mode. It turns out that the SunPro C++ compiler does not properly
3384 # handle '-M -o', and we need to detect this. Also, some Intel
3385 # versions had trouble with output in subdirs.
3386 am__obj=sub/conftest.${OBJEXT-o}
3387 am__minus_obj="-o $am__obj"
3390 # This depmode causes a compiler race in universal mode.
3391 test "$am__universal" = false || continue
3394 # After this tag, mechanisms are not by side-effect, so they'll
3395 # only be used when explicitly requested.
3396 if test "x$enable_dependency_tracking" = xyes; then
3402 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3403 # This compiler won't grok '-c -o', but also, the minuso test has
3404 # not run yet. These depmodes are late enough in the game, and
3405 # so weak that their functioning should not be impacted.
3406 am__obj=conftest.${OBJEXT-o}
3411 if depmode=$depmode \
3412 source=sub/conftest.c object=$am__obj \
3413 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3414 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3415 >/dev/null 2>conftest.err &&
3416 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3417 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3418 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3419 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3420 # icc doesn't choke on unknown options, it will just issue warnings
3421 # or remarks (even with -Werror). So we grep stderr for any message
3422 # that says an option was ignored or not supported.
3423 # When given -MP, icc 7.0 and 7.1 complain thusly:
3424 # icc: Command line warning: ignoring option '-M'; no argument required
3425 # The diagnosis changed in icc 8.0:
3426 # icc: Command line remark: option '-MP' not supported
3427 if (grep 'ignoring option' conftest.err ||
3428 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3429 am_cv_CC_dependencies_compiler_type=$depmode
3438 am_cv_CC_dependencies_compiler_type=none
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3447 test "x$enable_dependency_tracking" != xno \
3448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3450 am__fastdepCC_FALSE='#'
3452 am__fastdepCC_TRUE='#'
3453 am__fastdepCC_FALSE=
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3458 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3459 if ${ac_cv_prog_cc_c99+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 ac_cv_prog_cc_c99=no
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3467 #include <stdbool.h>
3472 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3473 #define debug(...) fprintf (stderr, __VA_ARGS__)
3474 #define showlist(...) puts (#__VA_ARGS__)
3475 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3477 test_varargs_macros (void)
3482 debug ("X = %d\n", x);
3483 showlist (The first, second, and third items.);
3484 report (x>y, "x is %d but y is %d", x, y);
3487 // Check long long types.
3488 #define BIG64 18446744073709551615ull
3489 #define BIG32 4294967295ul
3490 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3492 your preprocessor is broken;
3496 your preprocessor is broken;
3498 static long long int bignum = -9223372036854775807LL;
3499 static unsigned long long int ubignum = BIG64;
3501 struct incomplete_array
3509 const wchar_t *name;
3513 typedef const char *ccp;
3516 test_restrict (ccp restrict text)
3518 // See if C++-style comments work.
3519 // Iterate through items via the restricted pointer.
3520 // Also check for declarations in for loops.
3521 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3526 // Check varargs and va_copy.
3528 test_varargs (const char *format, ...)
3531 va_start (args, format);
3533 va_copy (args_copy, args);
3544 str = va_arg (args_copy, const char *);
3547 number = va_arg (args_copy, int);
3550 fnumber = va_arg (args_copy, double);
3565 _Bool success = false;
3568 if (test_restrict ("String literal") == 0)
3570 char *restrict newvar = "Another string";
3573 test_varargs ("s, d' f .", "string", 65, 34.234);
3574 test_varargs_macros ();
3576 // Check flexible array members.
3577 struct incomplete_array *ia =
3578 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3580 for (int i = 0; i < ia->datasize; ++i)
3581 ia->data[i] = i * 1.234;
3583 // Check named initializers.
3584 struct named_init ni = {
3586 .name = L"Test wide string",
3587 .average = 543.34343,
3592 int dynamic_array[ni.number];
3593 dynamic_array[ni.number - 1] = 543;
3595 // work around unused variable warnings
3596 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3597 || dynamic_array[ni.number - 1] != 543);
3603 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3605 CC="$ac_save_CC $ac_arg"
3606 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_cv_prog_cc_c99=$ac_arg
3609 rm -f core conftest.err conftest.$ac_objext
3610 test "x$ac_cv_prog_cc_c99" != "xno" && break
3612 rm -f conftest.$ac_ext
3617 case "x$ac_cv_prog_cc_c99" in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3620 $as_echo "none needed" >&6; } ;;
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3623 $as_echo "unsupported" >&6; } ;;
3625 CC="$CC $ac_cv_prog_cc_c99"
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3627 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3629 if test "x$ac_cv_prog_cc_c99" != xno; then :
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_RANLIB+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$RANLIB"; then
3643 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 RANLIB=$ac_cv_prog_RANLIB
3663 if test -n "$RANLIB"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3665 $as_echo "$RANLIB" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test -z "$ac_cv_prog_RANLIB"; then
3674 ac_ct_RANLIB=$RANLIB
3675 # Extract the first word of "ranlib", so it can be a program name with args.
3676 set dummy ranlib; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$ac_ct_RANLIB"; then
3683 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_ac_ct_RANLIB="ranlib"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3703 if test -n "$ac_ct_RANLIB"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3705 $as_echo "$ac_ct_RANLIB" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3711 if test "x$ac_ct_RANLIB" = x; then
3714 case $cross_compiling:$ac_tool_warned in
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3720 RANLIB=$ac_ct_RANLIB
3723 RANLIB="$ac_cv_prog_RANLIB"
3727 if test -n "$ac_tool_prefix"; then
3728 for ac_prog in ar lib "link -lib"
3730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_AR+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$AR"; then
3738 ac_cv_prog_AR="$AR" # Let the user override the test.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test -n "$AR"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3760 $as_echo "$AR" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3767 test -n "$AR" && break
3770 if test -z "$AR"; then
3772 for ac_prog in ar lib "link -lib"
3774 # Extract the first word of "$ac_prog", so it can be a program name with args.
3775 set dummy $ac_prog; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3779 $as_echo_n "(cached) " >&6
3781 if test -n "$ac_ct_AR"; then
3782 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_ac_ct_AR="$ac_prog"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3802 if test -n "$ac_ct_AR"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3804 $as_echo "$ac_ct_AR" >&6; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3811 test -n "$ac_ct_AR" && break
3814 if test "x$ac_ct_AR" = x; then
3817 case $cross_compiling:$ac_tool_warned in
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3821 ac_tool_warned=yes ;;
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3830 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3831 if ${am_cv_ar_interface+:} false; then :
3832 $as_echo_n "(cached) " >&6
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 am_cv_ar_interface=ar
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3843 int some_variable = 0;
3845 if ac_fn_c_try_compile "$LINENO"; then :
3846 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3848 (eval $am_ar_try) 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }
3852 if test "$ac_status" -eq 0; then
3853 am_cv_ar_interface=ar
3855 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3857 (eval $am_ar_try) 2>&5
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }
3861 if test "$ac_status" -eq 0; then
3862 am_cv_ar_interface=lib
3864 am_cv_ar_interface=unknown
3867 rm -f conftest.lib libconftest.a
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 ac_cpp='$CPP $CPPFLAGS'
3873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3879 $as_echo "$am_cv_ar_interface" >&6; }
3881 case $am_cv_ar_interface in
3885 # Microsoft lib, so override with the ar-lib wrapper script.
3886 # FIXME: It is wrong to rewrite AR.
3887 # But if we don't then we get into trouble of one sort or another.
3888 # A longer-term fix would be to have automake use am__AR in this case,
3889 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3891 AR="$am_aux_dir/ar-lib $AR"
3894 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3898 # Check whether --enable-largefile was given.
3899 if test "${enable_largefile+set}" = set; then :
3900 enableval=$enable_largefile;
3903 if test "$enable_largefile" != no; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3906 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3907 if ${ac_cv_sys_largefile_CC+:} false; then :
3908 $as_echo_n "(cached) " >&6
3910 ac_cv_sys_largefile_CC=no
3911 if test "$GCC" != yes; then
3914 # IRIX 6.2 and later do not support large files by default,
3915 # so use the C compiler's -n32 option if that helps.
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3918 #include <sys/types.h>
3919 /* Check that off_t can represent 2**63 - 1 correctly.
3920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3921 since some C++ compilers masquerading as C compilers
3922 incorrectly reject 9223372036854775807. */
3923 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3925 && LARGE_OFF_T % 2147483647 == 1)
3935 if ac_fn_c_try_compile "$LINENO"; then :
3938 rm -f core conftest.err conftest.$ac_objext
3940 if ac_fn_c_try_compile "$LINENO"; then :
3941 ac_cv_sys_largefile_CC=' -n32'; break
3943 rm -f core conftest.err conftest.$ac_objext
3947 rm -f conftest.$ac_ext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3951 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3952 if test "$ac_cv_sys_largefile_CC" != no; then
3953 CC=$CC$ac_cv_sys_largefile_CC
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3957 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3958 if ${ac_cv_sys_file_offset_bits+:} false; then :
3959 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3964 #include <sys/types.h>
3965 /* Check that off_t can represent 2**63 - 1 correctly.
3966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3967 since some C++ compilers masquerading as C compilers
3968 incorrectly reject 9223372036854775807. */
3969 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3971 && LARGE_OFF_T % 2147483647 == 1)
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982 ac_cv_sys_file_offset_bits=no; break
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3987 #define _FILE_OFFSET_BITS 64
3988 #include <sys/types.h>
3989 /* Check that off_t can represent 2**63 - 1 correctly.
3990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3991 since some C++ compilers masquerading as C compilers
3992 incorrectly reject 9223372036854775807. */
3993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3995 && LARGE_OFF_T % 2147483647 == 1)
4005 if ac_fn_c_try_compile "$LINENO"; then :
4006 ac_cv_sys_file_offset_bits=64; break
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 ac_cv_sys_file_offset_bits=unknown
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4014 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4015 case $ac_cv_sys_file_offset_bits in #(
4018 cat >>confdefs.h <<_ACEOF
4019 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4024 if test $ac_cv_sys_file_offset_bits = unknown; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4026 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4027 if ${ac_cv_sys_large_files+:} false; then :
4028 $as_echo_n "(cached) " >&6
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4033 #include <sys/types.h>
4034 /* Check that off_t can represent 2**63 - 1 correctly.
4035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4036 since some C++ compilers masquerading as C compilers
4037 incorrectly reject 9223372036854775807. */
4038 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4040 && LARGE_OFF_T % 2147483647 == 1)
4050 if ac_fn_c_try_compile "$LINENO"; then :
4051 ac_cv_sys_large_files=no; break
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056 #define _LARGE_FILES 1
4057 #include <sys/types.h>
4058 /* Check that off_t can represent 2**63 - 1 correctly.
4059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4060 since some C++ compilers masquerading as C compilers
4061 incorrectly reject 9223372036854775807. */
4062 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4064 && LARGE_OFF_T % 2147483647 == 1)
4074 if ac_fn_c_try_compile "$LINENO"; then :
4075 ac_cv_sys_large_files=1; break
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 ac_cv_sys_large_files=unknown
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4083 $as_echo "$ac_cv_sys_large_files" >&6; }
4084 case $ac_cv_sys_large_files in #(
4087 cat >>confdefs.h <<_ACEOF
4088 #define _LARGE_FILES $ac_cv_sys_large_files
4105 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4106 if test -n "$ac_tool_prefix"; then
4107 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4108 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4112 $as_echo_n "(cached) " >&6
4116 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4138 if test -n "$PKG_CONFIG"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4140 $as_echo "$PKG_CONFIG" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4148 if test -z "$ac_cv_path_PKG_CONFIG"; then
4149 ac_pt_PKG_CONFIG=$PKG_CONFIG
4150 # Extract the first word of "pkg-config", so it can be a program name with args.
4151 set dummy pkg-config; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4155 $as_echo_n "(cached) " >&6
4157 case $ac_pt_PKG_CONFIG in
4159 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4169 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4181 if test -n "$ac_pt_PKG_CONFIG"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4183 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4189 if test "x$ac_pt_PKG_CONFIG" = x; then
4192 case $cross_compiling:$ac_tool_warned in
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4196 ac_tool_warned=yes ;;
4198 PKG_CONFIG=$ac_pt_PKG_CONFIG
4201 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4205 if test -n "$PKG_CONFIG"; then
4206 _pkg_min_version=0.9.0
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4208 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4209 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4211 $as_echo "yes" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UBLIO" >&5
4221 $as_echo_n "checking for UBLIO... " >&6; }
4223 if test -n "$UBLIO_CFLAGS"; then
4224 pkg_cv_UBLIO_CFLAGS="$UBLIO_CFLAGS"
4225 elif test -n "$PKG_CONFIG"; then
4226 if test -n "$PKG_CONFIG" && \
4227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4228 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4231 test $ac_status = 0; }; then
4232 pkg_cv_UBLIO_CFLAGS=`$PKG_CONFIG --cflags "libublio" 2>/dev/null`
4233 test "x$?" != "x0" && pkg_failed=yes
4240 if test -n "$UBLIO_LIBS"; then
4241 pkg_cv_UBLIO_LIBS="$UBLIO_LIBS"
4242 elif test -n "$PKG_CONFIG"; then
4243 if test -n "$PKG_CONFIG" && \
4244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4245 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4248 test $ac_status = 0; }; then
4249 pkg_cv_UBLIO_LIBS=`$PKG_CONFIG --libs "libublio" 2>/dev/null`
4250 test "x$?" != "x0" && pkg_failed=yes
4260 if test $pkg_failed = yes; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4265 _pkg_short_errors_supported=yes
4267 _pkg_short_errors_supported=no
4269 if test $_pkg_short_errors_supported = yes; then
4270 UBLIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libublio" 2>&1`
4272 UBLIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libublio" 2>&1`
4274 # Put the nasty error message in config.log where it belongs
4275 echo "$UBLIO_PKG_ERRORS" >&5
4278 elif test $pkg_failed = untried; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4283 UBLIO_CFLAGS=$pkg_cv_UBLIO_CFLAGS
4284 UBLIO_LIBS=$pkg_cv_UBLIO_LIBS
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4286 $as_echo "yes" >&6; }
4288 CFLAGS="$CFLAGS $UBLIO_CFLAGS"
4289 LIBS="$LIBS $UBLIO_LIBS"
4291 $as_echo "#define USE_UBLIO 1" >>confdefs.h
4295 ac_config_headers="$ac_config_headers libexfat/config.h"
4297 ac_config_files="$ac_config_files libexfat/Makefile dump/Makefile fsck/Makefile label/Makefile mkfs/Makefile Makefile"
4299 cat >confcache <<\_ACEOF
4300 # This file is a shell script that caches the results of configure
4301 # tests run on this system so they can be shared between configure
4302 # scripts and configure runs, see configure's option --config-cache.
4303 # It is not useful on other systems. If it contains results you don't
4304 # want to keep, you may remove or edit it.
4306 # config.status only pays attention to the cache file if you give it
4307 # the --recheck option to rerun configure.
4309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4315 # The following way of writing the cache mishandles newlines in values,
4316 # but we know of no workaround that is simple, portable, and efficient.
4317 # So, we kill variables containing newlines.
4318 # Ultrix sh set writes to stderr and can't be redirected directly,
4319 # and sets the high bit in the cache file unless we assign to the vars.
4321 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4322 eval ac_val=\$$ac_var
4326 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4330 _ | IFS | as_nl) ;; #(
4331 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4332 *) { eval $ac_var=; unset $ac_var;} ;;
4338 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4339 *${as_nl}ac_space=\ *)
4340 # `set' does not quote correctly, so add quotes: double-quote
4341 # substitution turns \\\\ into \\, and sed turns \\ into \.
4344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4347 # `set' quotes correctly as required by POSIX, so do not add quotes.
4348 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4359 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4361 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4362 if test -w "$cache_file"; then
4363 if test "x$cache_file" != "x/dev/null"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4365 $as_echo "$as_me: updating cache $cache_file" >&6;}
4366 if test ! -f "$cache_file" || test -h "$cache_file"; then
4367 cat confcache >"$cache_file"
4369 case $cache_file in #(
4371 mv -f confcache "$cache_file"$$ &&
4372 mv -f "$cache_file"$$ "$cache_file" ;; #(
4374 mv -f confcache "$cache_file" ;;
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4386 # Let make expand exec_prefix.
4387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4389 DEFS=-DHAVE_CONFIG_H
4394 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4395 # 1. Remove the extension, and $U if already installed.
4396 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4397 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4398 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4399 # will be set to the directory where LIBOBJS objects are built.
4400 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4401 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4405 LTLIBOBJS=$ac_ltlibobjs
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4409 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4410 if test -n "$am_sleep_pid"; then
4411 # Hide warnings about reused PIDs.
4412 wait $am_sleep_pid 2>/dev/null
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4415 $as_echo "done" >&6; }
4416 if test -n "$EXEEXT"; then
4418 am__EXEEXT_FALSE='#'
4424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4425 as_fn_error $? "conditional \"AMDEP\" was never defined.
4426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4428 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4429 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4433 : "${CONFIG_STATUS=./config.status}"
4435 ac_clean_files_save=$ac_clean_files
4436 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4442 # Generated by $as_me.
4443 # Run this file to recreate the current configuration.
4444 # Compiler output produced by configure, useful for debugging
4445 # configure, is in config.log if it exists.
4451 SHELL=\${CONFIG_SHELL-$SHELL}
4454 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4455 ## -------------------- ##
4456 ## M4sh Initialization. ##
4457 ## -------------------- ##
4459 # Be more Bourne compatible
4460 DUALCASE=1; export DUALCASE # for MKS sh
4461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4465 # is contrary to our usage. Disable this feature.
4466 alias -g '${1+"$@"}'='"$@"'
4467 setopt NO_GLOB_SUBST
4469 case `(set -o) 2>/dev/null` in #(
4481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4482 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4485 # Prefer a ksh shell builtin over an external printf program on Solaris,
4486 # but without wasting forks for bash or zsh.
4487 if test -z "$BASH_VERSION$ZSH_VERSION" \
4488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4489 as_echo='print -r --'
4490 as_echo_n='print -rn --'
4491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4492 as_echo='printf %s\n'
4493 as_echo_n='printf %s'
4495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4496 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4497 as_echo_n='/usr/ucb/echo -n'
4499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4500 as_echo_n_body='eval
4504 expr "X$arg" : "X\\(.*\\)$as_nl";
4505 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4507 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4509 export as_echo_n_body
4510 as_echo_n='sh -c $as_echo_n_body as_echo'
4513 as_echo='sh -c $as_echo_body as_echo'
4516 # The user is always right.
4517 if test "${PATH_SEPARATOR+set}" != set; then
4519 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4520 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4527 # We need space, tab and new line, in precisely that order. Quoting is
4528 # there to prevent editors from complaining about space-tab.
4529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4530 # splitting by setting IFS to empty value.)
4533 # Find who we are. Look in the path if we contain no directory separator.
4536 *[\\/]* ) as_myself=$0 ;;
4537 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir=.
4542 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4548 # We did not find ourselves, most probably we were run as `sh COMMAND'
4549 # in which case we are not to be found in the path.
4550 if test "x$as_myself" = x; then
4553 if test ! -f "$as_myself"; then
4554 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4558 # Unset variables that we do not need and which cause bugs (e.g. in
4559 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4560 # suppresses any "Segmentation fault" message there. '((' could
4561 # trigger a bug in pdksh 5.2.14.
4562 for as_var in BASH_ENV ENV MAIL MAILPATH
4563 do eval test x\${$as_var+set} = xset \
4564 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4581 # ----------------------------------------
4582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4584 # script with STATUS, using 1 if that was 0.
4587 as_status=$1; test $as_status -eq 0 && as_status=1
4589 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4590 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4592 $as_echo "$as_me: error: $2" >&2
4593 as_fn_exit $as_status
4597 # as_fn_set_status STATUS
4598 # -----------------------
4599 # Set $? to STATUS, without forking.
4603 } # as_fn_set_status
4607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4617 # Portably unset VAR.
4620 { eval $1=; unset $1;}
4622 as_unset=as_fn_unset
4623 # as_fn_append VAR VALUE
4624 # ----------------------
4625 # Append the text in VALUE to the end of the definition contained in VAR. Take
4626 # advantage of any shell optimizations that allow amortized linear growth over
4627 # repeated appends, instead of the typical quadratic growth present in naive
4629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4630 eval 'as_fn_append ()
4641 # as_fn_arith ARG...
4642 # ------------------
4643 # Perform arithmetic evaluation on the ARGs, and store the result in the
4644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4645 # must be portable across $(()) and expr.
4646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4647 eval 'as_fn_arith ()
4654 as_val=`expr "$@" || test $? -eq 1`
4659 if expr a : '\(a\)' >/dev/null 2>&1 &&
4660 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4667 as_basename=basename
4672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4678 as_me=`$as_basename -- "$0" ||
4679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4680 X"$0" : 'X\(//\)$' \| \
4681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4683 sed '/^.*\/\([^/][^/]*\)\/*$/{
4697 # Avoid depending upon Character Ranges.
4698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4701 as_cr_digits='0123456789'
4702 as_cr_alnum=$as_cr_Letters$as_cr_digits
4704 ECHO_C= ECHO_N= ECHO_T=
4705 case `echo -n x` in #(((((
4707 case `echo 'xy\c'` in
4708 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4710 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4717 rm -f conf$$ conf$$.exe conf$$.file
4718 if test -d conf$$.dir; then
4719 rm -f conf$$.dir/conf$$.file
4722 mkdir conf$$.dir 2>/dev/null
4724 if (echo >conf$$.file) 2>/dev/null; then
4725 if ln -s conf$$.file conf$$ 2>/dev/null; then
4727 # ... but there are two gotchas:
4728 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4729 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4730 # In both cases, we have to default to `cp -pR'.
4731 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4733 elif ln conf$$.file conf$$ 2>/dev/null; then
4741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4742 rmdir conf$$.dir 2>/dev/null
4747 # Create "$as_dir" as a directory, including parents if necessary.
4752 -*) as_dir=./$as_dir;;
4754 test -d "$as_dir" || eval $as_mkdir_p || {
4758 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4759 *) as_qdir=$as_dir;;
4761 as_dirs="'$as_qdir' $as_dirs"
4762 as_dir=`$as_dirname -- "$as_dir" ||
4763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4764 X"$as_dir" : 'X\(//\)[^/]' \| \
4765 X"$as_dir" : 'X\(//\)$' \| \
4766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4767 $as_echo X"$as_dir" |
4768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4785 test -d "$as_dir" && break
4787 test -z "$as_dirs" || eval "mkdir $as_dirs"
4788 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4792 if mkdir -p . 2>/dev/null; then
4793 as_mkdir_p='mkdir -p "$as_dir"'
4795 test -d ./-p && rmdir ./-p
4800 # as_fn_executable_p FILE
4801 # -----------------------
4802 # Test if FILE is an executable regular file.
4803 as_fn_executable_p ()
4805 test -f "$1" && test -x "$1"
4806 } # as_fn_executable_p
4808 as_executable_p=as_fn_executable_p
4810 # Sed expression to map a string onto a valid CPP name.
4811 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4813 # Sed expression to map a string onto a valid variable name.
4814 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4818 ## ----------------------------------- ##
4819 ## Main body of $CONFIG_STATUS script. ##
4820 ## ----------------------------------- ##
4822 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4825 # Save the log message, to keep $0 and so on meaningful, and to
4826 # report actual input values of CONFIG_FILES etc. instead of their
4827 # values after options handling.
4829 This file was extended by Free exFAT implementation $as_me 1.3.0, which was
4830 generated by GNU Autoconf 2.69. Invocation command line was
4832 CONFIG_FILES = $CONFIG_FILES
4833 CONFIG_HEADERS = $CONFIG_HEADERS
4834 CONFIG_LINKS = $CONFIG_LINKS
4835 CONFIG_COMMANDS = $CONFIG_COMMANDS
4838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4843 case $ac_config_files in *"
4844 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4847 case $ac_config_headers in *"
4848 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4853 # Files that config.status was made for.
4854 config_files="$ac_config_files"
4855 config_headers="$ac_config_headers"
4856 config_commands="$ac_config_commands"
4860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4862 \`$as_me' instantiates files and other configuration actions
4863 from templates according to the current configuration. Unless the files
4864 and actions are specified as TAGs, all are instantiated by default.
4866 Usage: $0 [OPTION]... [TAG]...
4868 -h, --help print this help, then exit
4869 -V, --version print version number and configuration settings, then exit
4870 --config print configuration, then exit
4871 -q, --quiet, --silent
4872 do not print progress messages
4873 -d, --debug don't remove temporary files
4874 --recheck update $as_me by reconfiguring in the same conditions
4875 --file=FILE[:TEMPLATE]
4876 instantiate the configuration file FILE
4877 --header=FILE[:TEMPLATE]
4878 instantiate the configuration header FILE
4880 Configuration files:
4883 Configuration headers:
4886 Configuration commands:
4889 Report bugs to <relan@users.noreply.github.com>.
4890 Free exFAT implementation home page: <https://github.com/relan/exfat>."
4893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4894 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4896 Free exFAT implementation config.status 1.3.0
4897 configured by $0, generated by GNU Autoconf 2.69,
4898 with options \\"\$ac_cs_config\\"
4900 Copyright (C) 2012 Free Software Foundation, Inc.
4901 This config.status script is free software; the Free Software Foundation
4902 gives unlimited permission to copy, distribute and modify it."
4909 test -n "\$AWK" || AWK=awk
4912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4913 # The default lists apply if the user does not specify any file.
4919 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4920 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4924 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4936 # Handling of the options.
4937 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4939 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4940 $as_echo "$ac_cs_version"; exit ;;
4941 --config | --confi | --conf | --con | --co | --c )
4942 $as_echo "$ac_cs_config"; exit ;;
4943 --debug | --debu | --deb | --de | --d | -d )
4945 --file | --fil | --fi | --f )
4948 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4949 '') as_fn_error $? "missing file argument" ;;
4951 as_fn_append CONFIG_FILES " '$ac_optarg'"
4952 ac_need_defaults=false;;
4953 --header | --heade | --head | --hea )
4956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4958 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4959 ac_need_defaults=false;;
4961 # Conflict between --help and --header
4962 as_fn_error $? "ambiguous option: \`$1'
4963 Try \`$0 --help' for more information.";;
4964 --help | --hel | -h )
4965 $as_echo "$ac_cs_usage"; exit ;;
4966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4967 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4971 -*) as_fn_error $? "unrecognized option: \`$1'
4972 Try \`$0 --help' for more information." ;;
4974 *) as_fn_append ac_config_targets " $1"
4975 ac_need_defaults=false ;;
4981 ac_configure_extra_args=
4983 if $ac_cs_silent; then
4985 ac_configure_extra_args="$ac_configure_extra_args --silent"
4989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4990 if \$ac_cs_recheck; then
4991 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4993 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4994 CONFIG_SHELL='$SHELL'
5000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5004 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5005 ## Running $as_me. ##
5011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5015 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5021 # Handling of arguments.
5022 for ac_config_target in $ac_config_targets
5024 case $ac_config_target in
5025 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5026 "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
5027 "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
5028 "dump/Makefile") CONFIG_FILES="$CONFIG_FILES dump/Makefile" ;;
5029 "fsck/Makefile") CONFIG_FILES="$CONFIG_FILES fsck/Makefile" ;;
5030 "label/Makefile") CONFIG_FILES="$CONFIG_FILES label/Makefile" ;;
5031 "mkfs/Makefile") CONFIG_FILES="$CONFIG_FILES mkfs/Makefile" ;;
5032 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5034 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5039 # If the user did not use the arguments to specify the items to instantiate,
5040 # then the envvar interface is used. Set only those that are not.
5041 # We use the long form for the default assignment because of an extremely
5042 # bizarre bug on SunOS 4.1.3.
5043 if $ac_need_defaults; then
5044 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5045 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5046 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5049 # Have a temporary directory for convenience. Make it in the build tree
5050 # simply because there is no reason against having it here, and in addition,
5051 # creating and moving files from /tmp can sometimes cause problems.
5052 # Hook for its removal unless debugging.
5053 # Note that there is a small window in which the directory will not be cleaned:
5054 # after its creation but before its name has been assigned to `$tmp'.
5058 trap 'exit_status=$?
5060 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5062 trap 'as_fn_exit 1' 1 2 13 15
5064 # Create a (secure) tmp directory for tmp files.
5067 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5071 tmp=./conf$$-$RANDOM
5072 (umask 077 && mkdir "$tmp")
5073 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5076 # Set up the scripts for CONFIG_FILES section.
5077 # No need to generate them if there are no CONFIG_FILES.
5078 # This happens for instance with `./config.status config.h'.
5079 if test -n "$CONFIG_FILES"; then
5082 ac_cr=`echo X | tr X '\015'`
5083 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5084 # But we know of no other shell where ac_cr would be empty at this
5085 # point, so we can use a bashism as a fallback.
5086 if test "x$ac_cr" = x; then
5087 eval ac_cr=\$\'\\r\'
5089 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5090 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5096 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5101 echo "cat >conf$$subs.awk <<_ACEOF" &&
5102 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5106 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5108 for ac_last_try in false false false false false :; do
5109 . ./conf$$subs.sh ||
5110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5112 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5113 if test $ac_delim_n = $ac_delim_num; then
5115 elif $ac_last_try; then
5116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5118 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5124 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5128 s/^/S["/; s/!.*/"]=/
5138 s/\(.\{148\}\)..*/\1/
5140 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5152 s/\(.\{148\}\)..*/\1/
5154 s/["\\]/\\&/g; s/^/"/; s/$/"/
5158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5163 ' <conf$$subs.awk | sed '
5168 ' >>$CONFIG_STATUS || ac_write_fail=1
5169 rm -f conf$$subs.awk
5170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5172 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5173 for (key in S) S_is_set[key] = 1
5179 nfields = split(line, field, "@")
5181 len = length(field[1])
5182 for (i = 2; i < nfields; i++) {
5184 keylen = length(key)
5185 if (S_is_set[key]) {
5187 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5188 len += length(value) + length(field[++i])
5199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5200 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5201 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5204 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5205 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5208 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5209 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5210 # trailing colons and then remove the whole line if VPATH becomes empty
5211 # (actually we leave an empty line to preserve line numbers).
5212 if test "x$srcdir" = x.; then
5213 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5232 fi # test -n "$CONFIG_FILES"
5234 # Set up the scripts for CONFIG_HEADERS section.
5235 # No need to generate them if there are no CONFIG_HEADERS.
5236 # This happens for instance with `./config.status Makefile'.
5237 if test -n "$CONFIG_HEADERS"; then
5238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5242 # Transform confdefs.h into an awk script `defines.awk', embedded as
5243 # here-document in config.status, that substitutes the proper values into
5244 # config.h.in to produce config.h.
5246 # Create a delimiter string that does not exist in confdefs.h, to ease
5247 # handling of long lines.
5249 for ac_last_try in false false :; do
5250 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5251 if test -z "$ac_tt"; then
5253 elif $ac_last_try; then
5254 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5256 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5260 # For the awk script, D is an array of macro values keyed by name,
5261 # likewise P contains macro parameters if any. Preserve backslash
5262 # newline sequences.
5264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5266 s/.\{148\}/&'"$ac_delim"'/g
5269 s/^[ ]*#[ ]*define[ ][ ]*/ /
5276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5283 D["\1"]=" \3\\\\\\n"\\/p
5285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5290 s/.\{148\}/&'"$ac_delim"'/g
5295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5300 ' <confdefs.h | sed '
5301 s/'"$ac_delim"'/"\\\
5302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5305 for (key in D) D_is_set[key] = 1
5308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5310 split(line, arg, " ")
5311 if (arg[1] == "#") {
5315 defundef = substr(arg[1], 2)
5318 split(mac1, mac2, "(") #)
5320 prefix = substr(line, 1, index(line, defundef) - 1)
5321 if (D_is_set[macro]) {
5322 # Preserve the white space surrounding the "#".
5323 print prefix "define", macro P[macro] D[macro]
5326 # Replace #undef with comments. This is necessary, for example,
5327 # in the case of _POSIX_SOURCE, which is predefined and required
5328 # on some systems where configure will not decide to define it.
5329 if (defundef == "undef") {
5330 print "/*", prefix defundef, macro, "*/"
5338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5339 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5340 fi # test -n "$CONFIG_HEADERS"
5343 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5348 :[FHLC]) ac_mode=$ac_tag; continue;;
5350 case $ac_mode$ac_tag in
5352 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5353 :[FH]-) ac_tag=-:-;;
5354 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5371 -) ac_f="$ac_tmp/stdin";;
5372 *) # Look for the file first in the build tree, then in the source tree
5373 # (if the path is not absolute). The absolute path cannot be DOS-style,
5374 # because $ac_f cannot contain `:'.
5378 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5380 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5382 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5383 as_fn_append ac_file_inputs " '$ac_f'"
5386 # Let's still pretend it is `configure' which instantiates (i.e., don't
5387 # use $as_me), people would be surprised to read:
5388 # /* config.h. Generated by config.status. */
5389 configure_input='Generated from '`
5390 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5392 if test x"$ac_file" != x-; then
5393 configure_input="$ac_file. $configure_input"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5395 $as_echo "$as_me: creating $ac_file" >&6;}
5397 # Neutralize special characters interpreted by sed in replacement strings.
5398 case $configure_input in #(
5399 *\&* | *\|* | *\\* )
5400 ac_sed_conf_input=`$as_echo "$configure_input" |
5401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5402 *) ac_sed_conf_input=$configure_input;;
5406 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5412 ac_dir=`$as_dirname -- "$ac_file" ||
5413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5414 X"$ac_file" : 'X\(//\)[^/]' \| \
5415 X"$ac_file" : 'X\(//\)$' \| \
5416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5417 $as_echo X"$ac_file" |
5418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5435 as_dir="$ac_dir"; as_fn_mkdir_p
5439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5441 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5442 # A ".." for each directory in $ac_dir_suffix.
5443 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5444 case $ac_top_builddir_sub in
5445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5449 ac_abs_top_builddir=$ac_pwd
5450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5451 # for backward compatibility:
5452 ac_top_builddir=$ac_top_build_prefix
5455 .) # We are building in place.
5457 ac_top_srcdir=$ac_top_builddir_sub
5458 ac_abs_top_srcdir=$ac_pwd ;;
5459 [\\/]* | ?:[\\/]* ) # Absolute name.
5460 ac_srcdir=$srcdir$ac_dir_suffix;
5461 ac_top_srcdir=$srcdir
5462 ac_abs_top_srcdir=$srcdir ;;
5464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5465 ac_top_srcdir=$ac_top_build_prefix$srcdir
5466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5478 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5479 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5483 [\\/$]* | ?:[\\/]* ) ;;
5484 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5489 # If the template does not know about datarootdir, expand it.
5490 # FIXME: This hack should be removed a few years after 2.60.
5491 ac_datarootdir_hack=; ac_datarootdir_seen=
5502 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5503 *datarootdir*) ac_datarootdir_seen=yes;;
5504 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5506 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5509 ac_datarootdir_hack='
5510 s&@datadir@&$datadir&g
5511 s&@docdir@&$docdir&g
5512 s&@infodir@&$infodir&g
5513 s&@localedir@&$localedir&g
5514 s&@mandir@&$mandir&g
5515 s&\\\${datarootdir}&$datarootdir&g' ;;
5519 # Neutralize VPATH when `$srcdir' = `.'.
5520 # Shell code in configure.ac might set extrasub.
5521 # FIXME: do we really want to maintain this feature?
5522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5523 ac_sed_extra="$ac_vpsub
5526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5529 s|@configure_input@|$ac_sed_conf_input|;t t
5530 s&@top_builddir@&$ac_top_builddir_sub&;t t
5531 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5532 s&@srcdir@&$ac_srcdir&;t t
5533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5534 s&@top_srcdir@&$ac_top_srcdir&;t t
5535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5536 s&@builddir@&$ac_builddir&;t t
5537 s&@abs_builddir@&$ac_abs_builddir&;t t
5538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5539 s&@INSTALL@&$ac_INSTALL&;t t
5540 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5541 $ac_datarootdir_hack
5543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5544 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5546 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5547 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5548 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5549 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5551 which seems to be undefined. Please make sure it is defined" >&5
5552 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5553 which seems to be undefined. Please make sure it is defined" >&2;}
5555 rm -f "$ac_tmp/stdin"
5557 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5558 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5566 if test x"$ac_file" != x-; then
5568 $as_echo "/* $configure_input */" \
5569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5570 } >"$ac_tmp/config.h" \
5571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5572 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5574 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5577 mv "$ac_tmp/config.h" "$ac_file" \
5578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5581 $as_echo "/* $configure_input */" \
5582 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5583 || as_fn_error $? "could not create -" "$LINENO" 5
5585 # Compute "$ac_file"'s index in $config_headers.
5588 for _am_header in $config_headers :; do
5590 $_am_arg | $_am_arg:* )
5593 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5596 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5597 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5598 X"$_am_arg" : 'X\(//\)[^/]' \| \
5599 X"$_am_arg" : 'X\(//\)$' \| \
5600 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5601 $as_echo X"$_am_arg" |
5602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5618 s/.*/./; q'`/stamp-h$_am_stamp_count
5621 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5622 $as_echo "$as_me: executing $ac_file commands" >&6;}
5627 case $ac_file$ac_mode in
5628 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5629 # Older Autoconf quotes --file arguments for eval, but not when files
5630 # are listed without --file. Let's play safe and only enable the eval
5631 # if we detect the quoting.
5632 case $CONFIG_FILES in
5633 *\'*) eval set x "$CONFIG_FILES" ;;
5634 *) set x $CONFIG_FILES ;;
5639 # Strip MF so we end up with the name of the file.
5640 mf=`echo "$mf" | sed -e 's/:.*$//'`
5641 # Check whether this is an Automake generated Makefile or not.
5642 # We used to match only the files named 'Makefile.in', but
5643 # some people rename them; so instead we look at the file content.
5644 # Grep'ing the first line is not enough: some people post-process
5645 # each Makefile.in and add a new line on top of each file to say so.
5646 # Grep'ing the whole file is not good either: AIX grep has a line
5647 # limit of 2048, but all sed's we know have understand at least 4000.
5648 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5649 dirpart=`$as_dirname -- "$mf" ||
5650 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5651 X"$mf" : 'X\(//\)[^/]' \| \
5652 X"$mf" : 'X\(//\)$' \| \
5653 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5675 # Extract the definition of DEPDIR, am__include, and am__quote
5676 # from the Makefile without running 'make'.
5677 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5678 test -z "$DEPDIR" && continue
5679 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5680 test -z "$am__include" && continue
5681 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5682 # Find all dependency output files, they are included files with
5683 # $(DEPDIR) in their names. We invoke sed twice because it is the
5684 # simplest approach to changing $(DEPDIR) to its actual value in the
5686 for file in `sed -n "
5687 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5688 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5689 # Make sure the directory exists.
5690 test -f "$dirpart/$file" && continue
5691 fdir=`$as_dirname -- "$file" ||
5692 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5693 X"$file" : 'X\(//\)[^/]' \| \
5694 X"$file" : 'X\(//\)$' \| \
5695 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5714 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5715 # echo "creating $dirpart/$file"
5716 echo '# dummy' > "$dirpart/$file"
5728 ac_clean_files=$ac_clean_files_save
5730 test $ac_write_fail = 0 ||
5731 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5734 # configure is writing to config.log, and then calls config.status.
5735 # config.status does its own redirection, appending to config.log.
5736 # Unfortunately, on DOS this fails, as config.log is still kept open
5737 # by configure, so config.status won't be able to write to it; its
5738 # output is simply discarded. So we exec the FD to /dev/null,
5739 # effectively closing config.log, so it can be properly (re)opened and
5740 # appended to by config.status. When coming back to configure, we
5741 # need to make the FD available again.
5742 if test "$no_create" != yes; then
5744 ac_config_status_args=
5745 test "$silent" = yes &&
5746 ac_config_status_args="$ac_config_status_args --quiet"
5748 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5750 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5751 # would make configure fail if this is the last instruction.
5752 $ac_cs_success || as_fn_exit 1
5754 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5756 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}