2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Free exFAT implementation 1.2.2.
5 # Report bugs to <relan@users.noreply.github.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: relan@users.noreply.github.com about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='Free exFAT implementation'
581 PACKAGE_TARNAME='fuse-exfat'
582 PACKAGE_VERSION='1.2.2'
583 PACKAGE_STRING='Free exFAT implementation 1.2.2'
584 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
585 PACKAGE_URL='https://github.com/relan/exfat'
587 ac_subst_vars='am__EXEEXT_FALSE
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.2.2 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/fuse-exfat]
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.2.2:";;
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
1336 FUSE_CFLAGS C compiler flags for FUSE, overriding pkg-config
1337 FUSE_LIBS linker flags for FUSE, overriding pkg-config
1339 Use these variables to override the choices made by `configure' or to help
1340 it to find libraries and programs with nonstandard names/locations.
1342 Report bugs to <relan@users.noreply.github.com>.
1343 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1406 Free exFAT implementation configure 1.2.2
1407 generated by GNU Autoconf 2.69
1409 Copyright (C) 2012 Free Software Foundation, Inc.
1410 This configure script is free software; the Free Software Foundation
1411 gives unlimited permission to copy, distribute and modify it.
1416 ## ------------------------ ##
1417 ## Autoconf initialization. ##
1418 ## ------------------------ ##
1420 # ac_fn_c_try_compile LINENO
1421 # --------------------------
1422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1423 ac_fn_c_try_compile ()
1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 rm -f conftest.$ac_objext
1427 if { { ac_try="$ac_compile"
1429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430 *) ac_try_echo=$ac_try;;
1432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434 (eval "$ac_compile") 2>conftest.err
1436 if test -s conftest.err; then
1437 grep -v '^ *+' conftest.err >conftest.er1
1438 cat conftest.er1 >&5
1439 mv -f conftest.er1 conftest.err
1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442 test $ac_status = 0; } && {
1443 test -z "$ac_c_werror_flag" ||
1444 test ! -s conftest.err
1445 } && test -s conftest.$ac_objext; then :
1448 $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.$ac_ext >&5
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454 as_fn_set_status $ac_retval
1456 } # ac_fn_c_try_compile
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by Free exFAT implementation $as_me 1.2.2, which was
1462 generated by GNU Autoconf 2.69. Invocation command line was
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 $as_echo "PATH: $as_dir"
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1522 ac_must_keep_next=false
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1538 as_fn_append ac_configure_args1 " '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1551 -* ) ac_must_keep_next=true ;;
1554 as_fn_append ac_configure_args " '$ac_arg'"
1559 { ac_configure_args0=; unset ac_configure_args0;}
1560 { ac_configure_args1=; unset ac_configure_args1;}
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1572 $as_echo "## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##"
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1584 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1589 *) { eval $ac_var=; unset $ac_var;} ;;
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 $as_echo "## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##"
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 $as_echo "$ac_var='\''$ac_val'\''"
1622 if test -n "$ac_subst_files"; then
1623 $as_echo "## ------------------- ##
1624 ## File substitutions. ##
1625 ## ------------------- ##"
1627 for ac_var in $ac_subst_files
1629 eval ac_val=\$$ac_var
1631 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 $as_echo "$ac_var='\''$ac_val'\''"
1638 if test -s confdefs.h; then
1639 $as_echo "## ----------- ##
1646 test "$ac_signal" != 0 &&
1647 $as_echo "$as_me: caught signal $ac_signal"
1648 $as_echo "$as_me: exit $exit_status"
1650 rm -f core *.core core.conftest.* &&
1651 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1654 for ac_signal in 1 2 13 15; do
1655 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1659 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1660 rm -f -r conftest* confdefs.h
1662 $as_echo "/* confdefs.h */" > confdefs.h
1664 # Predefined preprocessor variables.
1666 cat >>confdefs.h <<_ACEOF
1667 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_STRING "$PACKAGE_STRING"
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_URL "$PACKAGE_URL"
1691 # Let the site file select an alternate cache file if it wants to.
1692 # Prefer an explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 # We do not want a PATH search for config.site.
1697 case $CONFIG_SITE in #((
1698 -*) ac_site_file1=./$CONFIG_SITE;;
1699 */*) ac_site_file1=$CONFIG_SITE;;
1700 *) ac_site_file1=./$CONFIG_SITE;;
1702 elif test "x$prefix" != xNONE; then
1703 ac_site_file1=$prefix/share/config.site
1704 ac_site_file2=$prefix/etc/config.site
1706 ac_site_file1=$ac_default_prefix/share/config.site
1707 ac_site_file2=$ac_default_prefix/etc/config.site
1709 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1711 test "x$ac_site_file" = xNONE && continue
1712 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1714 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1715 sed 's/^/| /' "$ac_site_file" >&5
1717 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1719 as_fn_error $? "failed to load site script $ac_site_file
1720 See \`config.log' for more details" "$LINENO" 5; }
1724 if test -r "$cache_file"; then
1725 # Some versions of bash will fail to source /dev/null (special files
1726 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1727 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1729 $as_echo "$as_me: loading cache $cache_file" >&6;}
1731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1732 *) . "./$cache_file";;
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1737 $as_echo "$as_me: creating cache $cache_file" >&6;}
1741 # Check that the precious variables saved in the cache have kept the same
1743 ac_cache_corrupted=false
1744 for ac_var in $ac_precious_vars; do
1745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1746 eval ac_new_set=\$ac_env_${ac_var}_set
1747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1748 eval ac_new_val=\$ac_env_${ac_var}_value
1749 case $ac_old_set,$ac_new_set in
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1752 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1753 ac_cache_corrupted=: ;;
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1756 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1760 if test "x$ac_old_val" != "x$ac_new_val"; then
1761 # differences in whitespace do not lead to failure.
1762 ac_old_val_w=`echo x $ac_old_val`
1763 ac_new_val_w=`echo x $ac_new_val`
1764 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1766 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 ac_cache_corrupted=:
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1770 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1771 eval $ac_var=\$ac_old_val
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1774 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1776 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1779 # Pass precious variables to config.status.
1780 if test "$ac_new_set" = set; then
1782 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1783 *) ac_arg=$ac_var=$ac_new_val ;;
1785 case " $ac_configure_args " in
1786 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1787 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1791 if $ac_cache_corrupted; then
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1795 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1796 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1798 ## -------------------- ##
1799 ## Main body of script. ##
1800 ## -------------------- ##
1803 ac_cpp='$CPP $CPPFLAGS'
1804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1809 am__api_version='1.15'
1812 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1813 if test -f "$ac_dir/install-sh"; then
1815 ac_install_sh="$ac_aux_dir/install-sh -c"
1817 elif test -f "$ac_dir/install.sh"; then
1819 ac_install_sh="$ac_aux_dir/install.sh -c"
1821 elif test -f "$ac_dir/shtool"; then
1823 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 if test -z "$ac_aux_dir"; then
1828 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1831 # These three variables are undocumented and unsupported,
1832 # and are intended to be withdrawn in a future Autoconf release.
1833 # They can cause serious problems if a builder's source tree is in a directory
1834 # whose full name contains unusual characters.
1835 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1836 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1837 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1840 # Find a good install program. We prefer a C program (faster),
1841 # so one script is as good as another. But avoid the broken or
1842 # incompatible versions:
1843 # SysV /etc/install, /usr/sbin/install
1844 # SunOS /usr/etc/install
1845 # IRIX /sbin/install
1847 # AmigaOS /C/install, which installs bootblocks on floppy discs
1848 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1849 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1850 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1851 # OS/2's system install, which has a completely different semantic
1852 # ./install, which can be erroneously created by make from ./install.sh.
1853 # Reject install programs that cannot install multiple files.
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1855 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1856 if test -z "$INSTALL"; then
1857 if ${ac_cv_path_install+:} false; then :
1858 $as_echo_n "(cached) " >&6
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir=.
1865 # Account for people who put trailing slashes in PATH elements.
1866 case $as_dir/ in #((
1867 ./ | .// | /[cC]/* | \
1868 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1869 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1872 # OSF1 and SCO ODT 3.0 have their own names for install.
1873 # Don't use installbsd from OSF since it installs stuff as root
1875 for ac_prog in ginstall scoinst install; do
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1878 if test $ac_prog = install &&
1879 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1880 # AIX install. It has an incompatible calling convention.
1882 elif test $ac_prog = install &&
1883 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1884 # program-specific install script used by HP pwplus--don't use.
1887 rm -rf conftest.one conftest.two conftest.dir
1888 echo one > conftest.one
1889 echo two > conftest.two
1891 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1892 test -s conftest.one && test -s conftest.two &&
1893 test -s conftest.dir/conftest.one &&
1894 test -s conftest.dir/conftest.two
1896 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1909 rm -rf conftest.one conftest.two conftest.dir
1912 if test "${ac_cv_path_install+set}" = set; then
1913 INSTALL=$ac_cv_path_install
1915 # As a last resort, use the slow shell script. Don't cache a
1916 # value for INSTALL within a source directory, because that will
1917 # break other packages using the cache if that directory is
1918 # removed, or if the value is a relative name.
1919 INSTALL=$ac_install_sh
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1923 $as_echo "$INSTALL" >&6; }
1925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1926 # It thinks the first close brace ends the variable substitution.
1927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1931 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1934 $as_echo_n "checking whether build environment is sane... " >&6; }
1935 # Reject unsafe characters in $srcdir or the absolute working directory
1936 # name. Accept space and tab only in the latter.
1940 *[\\\"\#\$\&\'\`$am_lf]*)
1941 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1944 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1945 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1948 # Do 'set' in a subshell so we don't clobber the current shell's
1949 # arguments. Must try -L first in case configure is actually a
1950 # symlink; some systems play weird games with the mod time of symlinks
1951 # (eg FreeBSD returns the mod time of the symlink's containing
1955 for am_try in 1 2; do
1956 echo "timestamp, slept: $am_has_slept" > conftest.file
1957 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1958 if test "$*" = "X"; then
1960 set X `ls -t "$srcdir/configure" conftest.file`
1962 if test "$*" != "X $srcdir/configure conftest.file" \
1963 && test "$*" != "X conftest.file $srcdir/configure"; then
1965 # If neither matched, then we have a broken ls. This can happen
1966 # if, for instance, CONFIG_SHELL is bash and it inherits a
1967 # broken ls alias from the environment. This has actually
1968 # happened. Such a system could not be considered "sane".
1969 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1970 alias in your environment" "$LINENO" 5
1972 if test "$2" = conftest.file || test $am_try -eq 2; then
1979 test "$2" = conftest.file
1985 as_fn_error $? "newly created file is older than distributed files!
1986 Check your system clock" "$LINENO" 5
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1989 $as_echo "yes" >&6; }
1990 # If we didn't sleep, we still need to ensure time stamps of config.status and
1991 # generated files are strictly newer.
1993 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2000 test "$program_prefix" != NONE &&
2001 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2002 # Use a double $ so make ignores it.
2003 test "$program_suffix" != NONE &&
2004 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2005 # Double any \ or $.
2006 # By default was `s,x,x', remove it if useless.
2007 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2008 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2010 # Expand $ac_aux_dir to an absolute path.
2011 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2013 if test x"${MISSING+set}" != xset; then
2016 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2018 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2021 # Use eval to expand $SHELL
2022 if eval "$MISSING --is-lightweight"; then
2023 am_missing_run="$MISSING "
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2027 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2030 if test x"${install_sh+set}" != xset; then
2033 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2035 install_sh="\${SHELL} $am_aux_dir/install-sh"
2039 # Installed binaries are usually stripped using 'strip' when the user
2040 # run "make install-strip". However 'strip' might not be the right
2041 # tool to use in cross-compilation environments, therefore Automake
2042 # will honor the 'STRIP' environment variable to overrule this program.
2043 if test "$cross_compiling" != no; then
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}strip; ac_word=$2
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2048 $as_echo_n "checking for $ac_word... " >&6; }
2049 if ${ac_cv_prog_STRIP+:} false; then :
2050 $as_echo_n "(cached) " >&6
2052 if test -n "$STRIP"; then
2053 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 STRIP=$ac_cv_prog_STRIP
2073 if test -n "$STRIP"; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2075 $as_echo "$STRIP" >&6; }
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2078 $as_echo "no" >&6; }
2083 if test -z "$ac_cv_prog_STRIP"; then
2085 # Extract the first word of "strip", so it can be a program name with args.
2086 set dummy strip; ac_word=$2
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2088 $as_echo_n "checking for $ac_word... " >&6; }
2089 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2090 $as_echo_n "(cached) " >&6
2092 if test -n "$ac_ct_STRIP"; then
2093 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2102 ac_cv_prog_ac_ct_STRIP="strip"
2103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2113 if test -n "$ac_ct_STRIP"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2115 $as_echo "$ac_ct_STRIP" >&6; }
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2118 $as_echo "no" >&6; }
2121 if test "x$ac_ct_STRIP" = x; then
2124 case $cross_compiling:$ac_tool_warned in
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2128 ac_tool_warned=yes ;;
2133 STRIP="$ac_cv_prog_STRIP"
2137 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2140 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2141 if test -z "$MKDIR_P"; then
2142 if ${ac_cv_path_mkdir+:} false; then :
2143 $as_echo_n "(cached) " >&6
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2149 test -z "$as_dir" && as_dir=.
2150 for ac_prog in mkdir gmkdir; do
2151 for ac_exec_ext in '' $ac_executable_extensions; do
2152 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2153 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2154 'mkdir (GNU coreutils) '* | \
2155 'mkdir (coreutils) '* | \
2156 'mkdir (fileutils) '4.1*)
2157 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2167 test -d ./--version && rmdir ./--version
2168 if test "${ac_cv_path_mkdir+set}" = set; then
2169 MKDIR_P="$ac_cv_path_mkdir -p"
2171 # As a last resort, use the slow shell script. Don't cache a
2172 # value for MKDIR_P within a source directory, because that will
2173 # break other packages using the cache if that directory is
2174 # removed, or if the value is a relative name.
2175 MKDIR_P="$ac_install_sh -d"
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2179 $as_echo "$MKDIR_P" >&6; }
2181 for ac_prog in gawk mawk nawk awk
2183 # Extract the first word of "$ac_prog", so it can be a program name with args.
2184 set dummy $ac_prog; ac_word=$2
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2186 $as_echo_n "checking for $ac_word... " >&6; }
2187 if ${ac_cv_prog_AWK+:} false; then :
2188 $as_echo_n "(cached) " >&6
2190 if test -n "$AWK"; then
2191 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_AWK="$ac_prog"
2201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test -n "$AWK"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2213 $as_echo "$AWK" >&6; }
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2216 $as_echo "no" >&6; }
2220 test -n "$AWK" && break
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2224 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2226 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2227 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2228 $as_echo_n "(cached) " >&6
2230 cat >conftest.make <<\_ACEOF
2233 @echo '@@@%%%=$(MAKE)=@@@%%%'
2235 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2236 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238 eval ac_cv_prog_make_${ac_make}_set=yes;;
2240 eval ac_cv_prog_make_${ac_make}_set=no;;
2244 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2246 $as_echo "yes" >&6; }
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2250 $as_echo "no" >&6; }
2251 SET_MAKE="MAKE=${MAKE-make}"
2254 rm -rf .tst 2>/dev/null
2255 mkdir .tst 2>/dev/null
2256 if test -d .tst; then
2261 rmdir .tst 2>/dev/null
2263 # Check whether --enable-silent-rules was given.
2264 if test "${enable_silent_rules+set}" = set; then :
2265 enableval=$enable_silent_rules;
2268 case $enable_silent_rules in # (((
2269 yes) AM_DEFAULT_VERBOSITY=0;;
2270 no) AM_DEFAULT_VERBOSITY=1;;
2271 *) AM_DEFAULT_VERBOSITY=1;;
2273 am_make=${MAKE-make}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2275 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2276 if ${am_cv_make_support_nested_variables+:} false; then :
2277 $as_echo_n "(cached) " >&6
2279 if $as_echo 'TRUE=$(BAR$(V))
2285 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2286 am_cv_make_support_nested_variables=yes
2288 am_cv_make_support_nested_variables=no
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2292 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2293 if test $am_cv_make_support_nested_variables = yes; then
2295 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2297 AM_V=$AM_DEFAULT_VERBOSITY
2298 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2302 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2303 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2304 # is not polluted with repeated "-I."
2305 am__isrc=' -I$(srcdir)'
2306 # test to see if srcdir already configured
2307 if test -f $srcdir/config.status; then
2308 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2312 # test whether we have cygpath
2313 if test -z "$CYGPATH_W"; then
2314 if (cygpath --version) >/dev/null 2>/dev/null; then
2315 CYGPATH_W='cygpath -w'
2322 # Define the identity of the package.
2323 PACKAGE='fuse-exfat'
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE "$PACKAGE"
2332 cat >>confdefs.h <<_ACEOF
2333 #define VERSION "$VERSION"
2336 # Some tools Automake needs.
2338 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2341 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2344 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2347 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2350 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2352 # For better backward compatibility. To be removed once Automake 1.9.x
2353 # dies out for good. For more background, see:
2354 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2355 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2356 mkdir_p='$(MKDIR_P)'
2358 # We need awk for the "check" target (and possibly the TAP driver). The
2359 # system "awk" is bad on some platforms.
2360 # Always define AMTAR for backward compatibility. Yes, it's still used
2361 # in the wild :-( We should find a proper way to deprecate it ...
2365 # We'll loop over all known methods to create a tar archive until one works.
2366 _am_tools='gnutar pax cpio none'
2368 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2375 # POSIX will say in a future version that running "rm -f" with no argument
2376 # is OK; and we want to be able to make that assumption in our Makefile
2377 # recipes. So use an aggressive probe to check that the usage we want is
2378 # actually supported "in the wild" to an acceptable degree.
2379 # See automake bug#10828.
2380 # To make any issue more visible, cause the running configure to be aborted
2381 # by default if the 'rm' program in use doesn't match our expectations; the
2382 # user can still override this though.
2383 if rm -f && rm -fr && rm -rf; then : OK; else
2387 Your 'rm' program seems unable to run without file operands specified
2388 on the command line, even when the '-f' option is present. This is contrary
2389 to the behaviour of most rm programs out there, and not conforming with
2390 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2392 Please tell bug-automake@gnu.org about your system, including the value
2393 of your $PATH and any error possibly output before this message. This
2394 can help us improve future automake versions.
2397 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2398 echo 'Configuration will proceed anyway, since you have set the' >&2
2399 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2403 Aborting the configuration process, to ensure you take notice of the issue.
2405 You can download and install GNU coreutils to get an 'rm' implementation
2406 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2408 If you want to complete the configuration process using your problematic
2409 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2410 to "yes", and re-run configure.
2413 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2418 ac_cpp='$CPP $CPPFLAGS'
2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2480 ac_cv_prog_ac_ct_CC="gcc"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2493 $as_echo "$ac_ct_CC" >&6; }
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2499 if test "x$ac_ct_CC" = x; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2506 ac_tool_warned=yes ;;
2514 if test -z "$CC"; then
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}cc; ac_word=$2
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 $as_echo_n "checking for $ac_word... " >&6; }
2520 if ${ac_cv_prog_CC+:} false; then :
2521 $as_echo_n "(cached) " >&6
2523 if test -n "$CC"; then
2524 ac_cv_prog_CC="$CC" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2533 ac_cv_prog_CC="${ac_tool_prefix}cc"
2534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 if test -n "$CC"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2546 $as_echo "$CC" >&6; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2555 if test -z "$CC"; then
2556 # Extract the first word of "cc", so it can be a program name with args.
2557 set dummy cc; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_prog_CC+:} false; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$CC"; then
2564 ac_cv_prog_CC="$CC" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2575 ac_prog_rejected=yes
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test $ac_prog_rejected = yes; then
2587 # We found a bogon in the path, so make sure we never use it.
2588 set dummy $ac_cv_prog_CC
2590 if test $# != 0; then
2591 # We chose a different compiler from the bogus one.
2592 # However, it has the same basename, so the bogon will be chosen
2593 # first if we set CC to just the basename; use the full file name.
2595 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2601 if test -n "$CC"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2603 $as_echo "$CC" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2611 if test -z "$CC"; then
2612 if test -n "$ac_tool_prefix"; then
2613 for ac_prog in cl.exe
2615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_CC+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC="$CC" # Let the user override the test.
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2652 test -n "$CC" && break
2655 if test -z "$CC"; then
2657 for ac_prog in cl.exe
2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy $ac_prog; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$ac_ct_CC"; then
2667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_ac_ct_CC="$ac_prog"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2687 if test -n "$ac_ct_CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2689 $as_echo "$ac_ct_CC" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2696 test -n "$ac_ct_CC" && break
2699 if test "x$ac_ct_CC" = x; then
2702 case $cross_compiling:$ac_tool_warned in
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706 ac_tool_warned=yes ;;
2715 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error $? "no acceptable C compiler found in \$PATH
2718 See \`config.log' for more details" "$LINENO" 5; }
2720 # Provide some information about the compiler.
2721 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2724 for ac_option in --version -v -V -qversion; do
2725 { { ac_try="$ac_compiler $ac_option >&5"
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2734 if test -s conftest.err; then
2736 ... rest of stderr output deleted ...
2737 10q' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2740 rm -f conftest.er1 conftest.err
2741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; }
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2756 ac_clean_files_save=$ac_clean_files
2757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2758 # Try to create an executable without -o first, disregard a.out.
2759 # It will help us diagnose broken compilers, and finding out an intuition
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2762 $as_echo_n "checking whether the C compiler works... " >&6; }
2763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2765 # The possible output files:
2766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2769 for ac_file in $ac_files
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2773 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2778 if { { ac_try="$ac_link_default"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 $as_echo "$ac_try_echo"; } >&5
2785 (eval "$ac_link_default") 2>&5
2787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; }; then :
2789 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2791 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2792 # so that the user can short-circuit this test for compilers unknown to
2794 for ac_file in $ac_files ''
2796 test -f "$ac_file" || continue
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2801 # We found the default executable, but exeext='' is most
2805 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2807 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2809 # We set ac_cv_exeext here because the later test for it is not
2810 # safe: cross compilers may not add the suffix if given an `-o'
2811 # argument, so we may need to know it at that point already.
2812 # Even if this section looks crufty: it has the advantage of
2819 test "$ac_cv_exeext" = no && ac_cv_exeext=
2824 if test -z "$ac_file"; then :
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2827 $as_echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error 77 "C compiler cannot create executables
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2836 $as_echo "yes" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2839 $as_echo_n "checking for C compiler default output file name... " >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2841 $as_echo "$ac_file" >&6; }
2842 ac_exeext=$ac_cv_exeext
2844 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2845 ac_clean_files=$ac_clean_files_save
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2847 $as_echo_n "checking for suffix of executables... " >&6; }
2848 if { { ac_try="$ac_link"
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_link") 2>&5
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }; then :
2859 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2860 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2861 # work properly (i.e., refer to `conftest.exe'), while it won't with
2863 for ac_file in conftest.exe conftest conftest.*; do
2864 test -f "$ac_file" || continue
2866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2867 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2876 See \`config.log' for more details" "$LINENO" 5; }
2878 rm -f conftest conftest$ac_cv_exeext
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2880 $as_echo "$ac_cv_exeext" >&6; }
2882 rm -f conftest.$ac_ext
2883 EXEEXT=$ac_cv_exeext
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2891 FILE *f = fopen ("conftest.out", "w");
2892 return ferror (f) || fclose (f) != 0;
2898 ac_clean_files="$ac_clean_files conftest.out"
2899 # Check that the compiler produces executables we can run. If not, either
2900 # the compiler is broken, or we cross compile.
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2902 $as_echo_n "checking whether we are cross compiling... " >&6; }
2903 if test "$cross_compiling" != yes; then
2904 { { ac_try="$ac_link"
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2910 $as_echo "$ac_try_echo"; } >&5
2911 (eval "$ac_link") 2>&5
2913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2914 test $ac_status = 0; }
2915 if { ac_try='./conftest$ac_cv_exeext'
2916 { { case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_try") 2>&5
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }; }; then
2928 if test "$cross_compiling" = maybe; then
2931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 as_fn_error $? "cannot run C compiled programs.
2934 If you meant to cross compile, use \`--host'.
2935 See \`config.log' for more details" "$LINENO" 5; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2940 $as_echo "$cross_compiling" >&6; }
2942 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2943 ac_clean_files=$ac_clean_files_save
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2945 $as_echo_n "checking for suffix of object files... " >&6; }
2946 if ${ac_cv_objext+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2960 rm -f conftest.o conftest.obj
2961 if { { ac_try="$ac_compile"
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_compile") 2>&5
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; }; then :
2972 for ac_file in conftest.o conftest.obj conftest.*; do
2973 test -f "$ac_file" || continue;
2975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2976 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2981 $as_echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 as_fn_error $? "cannot compute suffix of object files: cannot compile
2987 See \`config.log' for more details" "$LINENO" 5; }
2989 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2992 $as_echo "$ac_cv_objext" >&6; }
2993 OBJEXT=$ac_cv_objext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2996 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2997 if ${ac_cv_c_compiler_gnu+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3014 if ac_fn_c_try_compile "$LINENO"; then :
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3024 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3025 if test $ac_compiler_gnu = yes; then
3030 ac_test_CFLAGS=${CFLAGS+set}
3031 ac_save_CFLAGS=$CFLAGS
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3033 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3034 if ${ac_cv_prog_cc_g+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 ac_save_c_werror_flag=$ac_c_werror_flag
3038 ac_c_werror_flag=yes
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 if ac_fn_c_try_compile "$LINENO"; then :
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3067 if ac_fn_c_try_compile "$LINENO"; then :
3070 ac_c_werror_flag=$ac_save_c_werror_flag
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3083 if ac_fn_c_try_compile "$LINENO"; then :
3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 ac_c_werror_flag=$ac_save_c_werror_flag
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3094 $as_echo "$ac_cv_prog_cc_g" >&6; }
3095 if test "$ac_test_CFLAGS" = set; then
3096 CFLAGS=$ac_save_CFLAGS
3097 elif test $ac_cv_prog_cc_g = yes; then
3098 if test "$GCC" = yes; then
3104 if test "$GCC" = yes; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3111 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3112 if ${ac_cv_prog_cc_c89+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 ac_cv_prog_cc_c89=no
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3123 struct buf { int x; };
3124 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3125 static char *e (p, i)
3131 static char *f (char * (*g) (char **, int), char **p, ...)
3136 s = g (p, va_arg (v,int));
3141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3142 function prototypes and stuff, but not '\xHH' hex character constants.
3143 These don't provoke an error unfortunately, instead are silently treated
3144 as 'x'. The following induces an error, until -std is added to get
3145 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3146 array size at least. It's necessary to write '\x00'==0 to get something
3147 that's true only with -std. */
3148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3151 inside strings and character constants. */
3153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3155 int test (int i, double x);
3156 struct s1 {int (*f) (int a);};
3157 struct s2 {int (*f) (double a);};
3158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3164 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3170 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3172 CC="$ac_save_CC $ac_arg"
3173 if ac_fn_c_try_compile "$LINENO"; then :
3174 ac_cv_prog_cc_c89=$ac_arg
3176 rm -f core conftest.err conftest.$ac_objext
3177 test "x$ac_cv_prog_cc_c89" != "xno" && break
3179 rm -f conftest.$ac_ext
3184 case "x$ac_cv_prog_cc_c89" in
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3187 $as_echo "none needed" >&6; } ;;
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3190 $as_echo "unsupported" >&6; } ;;
3192 CC="$CC $ac_cv_prog_cc_c89"
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3194 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3196 if test "x$ac_cv_prog_cc_c89" != xno; then :
3201 ac_cpp='$CPP $CPPFLAGS'
3202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3207 ac_cpp='$CPP $CPPFLAGS'
3208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3212 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3213 if ${am_cv_prog_cc_c_o+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3227 # Make sure it works both with $CC and with simple cc.
3228 # Following AC_PROG_CC_C_O, we do the test twice because some
3229 # compilers refuse to overwrite an existing .o file with -o,
3230 # though they will create one.
3231 am_cv_prog_cc_c_o=yes
3233 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3234 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); } \
3238 && test -f conftest2.$ac_objext; then
3241 am_cv_prog_cc_c_o=no
3245 rm -f core conftest*
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3249 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3250 if test "$am_cv_prog_cc_c_o" != yes; then
3251 # Losing compiler, so override with the script.
3252 # FIXME: It is wrong to rewrite CC.
3253 # But if we don't then we get into trouble of one sort or another.
3254 # A longer-term fix would be to have automake use am__CC in this case,
3255 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3256 CC="$am_aux_dir/compile $CC"
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264 DEPDIR="${am__leading_dot}deps"
3266 ac_config_commands="$ac_config_commands depfiles"
3269 am_make=${MAKE-make}
3270 cat > confinc << 'END'
3272 @echo this is the am__doit target
3275 # If we don't find an include directive, just comment out the code.
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3277 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3281 # First try GNU make style include.
3282 echo "include confinc" > confmf
3283 # Ignore all kinds of additional output from 'make'.
3284 case `$am_make -s -f confmf 2> /dev/null` in #(
3285 *the\ am__doit\ target*)
3291 # Now try BSD make style include.
3292 if test "$am__include" = "#"; then
3293 echo '.include "confinc"' > confmf
3294 case `$am_make -s -f confmf 2> /dev/null` in #(
3295 *the\ am__doit\ target*)
3296 am__include=.include
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3305 $as_echo "$_am_result" >&6; }
3306 rm -f confinc confmf
3308 # Check whether --enable-dependency-tracking was given.
3309 if test "${enable_dependency_tracking+set}" = set; then :
3310 enableval=$enable_dependency_tracking;
3313 if test "x$enable_dependency_tracking" != xno; then
3314 am_depcomp="$ac_aux_dir/depcomp"
3318 if test "x$enable_dependency_tracking" != xno; then
3328 depcc="$CC" am_compiler_list=
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3331 $as_echo_n "checking dependency style of $depcc... " >&6; }
3332 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3333 $as_echo_n "(cached) " >&6
3335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3336 # We make a subdir and do the tests there. Otherwise we can end up
3337 # making bogus files that we don't know about and never remove. For
3338 # instance it was reported that on HP-UX the gcc test will end up
3339 # making a dummy file named 'D' -- because '-MD' means "put the output
3343 # Copy depcomp to subdir because otherwise we won't find it if we're
3344 # using a relative directory.
3345 cp "$am_depcomp" conftest.dir
3347 # We will build objects and dependencies in a subdirectory because
3348 # it helps to detect inapplicable dependency modes. For instance
3349 # both Tru64's cc and ICC support -MD to output dependencies as a
3350 # side effect of compilation, but ICC will put the dependencies in
3351 # the current directory while Tru64 will put them in the object
3355 am_cv_CC_dependencies_compiler_type=none
3356 if test "$am_compiler_list" = ""; then
3357 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3360 case " $depcc " in #(
3361 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3364 for depmode in $am_compiler_list; do
3365 # Setup a source with many dependencies, because some compilers
3366 # like to wrap large dependency lists on column 80 (with \), and
3367 # we should not choose a depcomp mode which is confused by this.
3369 # We need to recreate these files for each test, as the compiler may
3370 # overwrite some of them when testing with obscure command lines.
3371 # This happens at least with the AIX C compiler.
3373 for i in 1 2 3 4 5 6; do
3374 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3375 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3376 # Solaris 10 /bin/sh.
3377 echo '/* dummy */' > sub/conftst$i.h
3379 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3381 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3382 # mode. It turns out that the SunPro C++ compiler does not properly
3383 # handle '-M -o', and we need to detect this. Also, some Intel
3384 # versions had trouble with output in subdirs.
3385 am__obj=sub/conftest.${OBJEXT-o}
3386 am__minus_obj="-o $am__obj"
3389 # This depmode causes a compiler race in universal mode.
3390 test "$am__universal" = false || continue
3393 # After this tag, mechanisms are not by side-effect, so they'll
3394 # only be used when explicitly requested.
3395 if test "x$enable_dependency_tracking" = xyes; then
3401 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3402 # This compiler won't grok '-c -o', but also, the minuso test has
3403 # not run yet. These depmodes are late enough in the game, and
3404 # so weak that their functioning should not be impacted.
3405 am__obj=conftest.${OBJEXT-o}
3410 if depmode=$depmode \
3411 source=sub/conftest.c object=$am__obj \
3412 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3413 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3414 >/dev/null 2>conftest.err &&
3415 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3416 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3417 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3418 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3419 # icc doesn't choke on unknown options, it will just issue warnings
3420 # or remarks (even with -Werror). So we grep stderr for any message
3421 # that says an option was ignored or not supported.
3422 # When given -MP, icc 7.0 and 7.1 complain thusly:
3423 # icc: Command line warning: ignoring option '-M'; no argument required
3424 # The diagnosis changed in icc 8.0:
3425 # icc: Command line remark: option '-MP' not supported
3426 if (grep 'ignoring option' conftest.err ||
3427 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3428 am_cv_CC_dependencies_compiler_type=$depmode
3437 am_cv_CC_dependencies_compiler_type=none
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3442 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3443 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3446 test "x$enable_dependency_tracking" != xno \
3447 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3449 am__fastdepCC_FALSE='#'
3451 am__fastdepCC_TRUE='#'
3452 am__fastdepCC_FALSE=
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3457 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3458 if ${ac_cv_prog_cc_c99+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 ac_cv_prog_cc_c99=no
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3466 #include <stdbool.h>
3471 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3472 #define debug(...) fprintf (stderr, __VA_ARGS__)
3473 #define showlist(...) puts (#__VA_ARGS__)
3474 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3476 test_varargs_macros (void)
3481 debug ("X = %d\n", x);
3482 showlist (The first, second, and third items.);
3483 report (x>y, "x is %d but y is %d", x, y);
3486 // Check long long types.
3487 #define BIG64 18446744073709551615ull
3488 #define BIG32 4294967295ul
3489 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3491 your preprocessor is broken;
3495 your preprocessor is broken;
3497 static long long int bignum = -9223372036854775807LL;
3498 static unsigned long long int ubignum = BIG64;
3500 struct incomplete_array
3508 const wchar_t *name;
3512 typedef const char *ccp;
3515 test_restrict (ccp restrict text)
3517 // See if C++-style comments work.
3518 // Iterate through items via the restricted pointer.
3519 // Also check for declarations in for loops.
3520 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3525 // Check varargs and va_copy.
3527 test_varargs (const char *format, ...)
3530 va_start (args, format);
3532 va_copy (args_copy, args);
3543 str = va_arg (args_copy, const char *);
3546 number = va_arg (args_copy, int);
3549 fnumber = va_arg (args_copy, double);
3564 _Bool success = false;
3567 if (test_restrict ("String literal") == 0)
3569 char *restrict newvar = "Another string";
3572 test_varargs ("s, d' f .", "string", 65, 34.234);
3573 test_varargs_macros ();
3575 // Check flexible array members.
3576 struct incomplete_array *ia =
3577 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3579 for (int i = 0; i < ia->datasize; ++i)
3580 ia->data[i] = i * 1.234;
3582 // Check named initializers.
3583 struct named_init ni = {
3585 .name = L"Test wide string",
3586 .average = 543.34343,
3591 int dynamic_array[ni.number];
3592 dynamic_array[ni.number - 1] = 543;
3594 // work around unused variable warnings
3595 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3596 || dynamic_array[ni.number - 1] != 543);
3602 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3604 CC="$ac_save_CC $ac_arg"
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 ac_cv_prog_cc_c99=$ac_arg
3608 rm -f core conftest.err conftest.$ac_objext
3609 test "x$ac_cv_prog_cc_c99" != "xno" && break
3611 rm -f conftest.$ac_ext
3616 case "x$ac_cv_prog_cc_c99" in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3619 $as_echo "none needed" >&6; } ;;
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3622 $as_echo "unsupported" >&6; } ;;
3624 CC="$CC $ac_cv_prog_cc_c99"
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3626 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3628 if test "x$ac_cv_prog_cc_c99" != xno; then :
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_prog_RANLIB+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 if test -n "$RANLIB"; then
3642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 RANLIB=$ac_cv_prog_RANLIB
3662 if test -n "$RANLIB"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3664 $as_echo "$RANLIB" >&6; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_RANLIB"; then
3673 ac_ct_RANLIB=$RANLIB
3674 # Extract the first word of "ranlib", so it can be a program name with args.
3675 set dummy ranlib; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3679 $as_echo_n "(cached) " >&6
3681 if test -n "$ac_ct_RANLIB"; then
3682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_RANLIB="ranlib"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3702 if test -n "$ac_ct_RANLIB"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3704 $as_echo "$ac_ct_RANLIB" >&6; }
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_RANLIB" = x; then
3713 case $cross_compiling:$ac_tool_warned in
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3719 RANLIB=$ac_ct_RANLIB
3722 RANLIB="$ac_cv_prog_RANLIB"
3726 if test -n "$ac_tool_prefix"; then
3727 for ac_prog in ar lib "link -lib"
3729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_AR+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$AR"; then
3737 ac_cv_prog_AR="$AR" # Let the user override the test.
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 if test -n "$AR"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3759 $as_echo "$AR" >&6; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3766 test -n "$AR" && break
3769 if test -z "$AR"; then
3771 for ac_prog in ar lib "link -lib"
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy $ac_prog; ac_word=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$ac_ct_AR"; then
3781 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_ac_ct_AR="$ac_prog"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3801 if test -n "$ac_ct_AR"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3803 $as_echo "$ac_ct_AR" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3810 test -n "$ac_ct_AR" && break
3813 if test "x$ac_ct_AR" = x; then
3816 case $cross_compiling:$ac_tool_warned in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3829 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3830 if ${am_cv_ar_interface+:} false; then :
3831 $as_echo_n "(cached) " >&6
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839 am_cv_ar_interface=ar
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3842 int some_variable = 0;
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3846 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3847 (eval $am_ar_try) 2>&5
3849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3850 test $ac_status = 0; }
3851 if test "$ac_status" -eq 0; then
3852 am_cv_ar_interface=ar
3854 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3855 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3856 (eval $am_ar_try) 2>&5
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 if test "$ac_status" -eq 0; then
3861 am_cv_ar_interface=lib
3863 am_cv_ar_interface=unknown
3866 rm -f conftest.lib libconftest.a
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 ac_cpp='$CPP $CPPFLAGS'
3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3878 $as_echo "$am_cv_ar_interface" >&6; }
3880 case $am_cv_ar_interface in
3884 # Microsoft lib, so override with the ar-lib wrapper script.
3885 # FIXME: It is wrong to rewrite AR.
3886 # But if we don't then we get into trouble of one sort or another.
3887 # A longer-term fix would be to have automake use am__AR in this case,
3888 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3890 AR="$am_aux_dir/ar-lib $AR"
3893 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3897 # Check whether --enable-largefile was given.
3898 if test "${enable_largefile+set}" = set; then :
3899 enableval=$enable_largefile;
3902 if test "$enable_largefile" != no; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3905 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3906 if ${ac_cv_sys_largefile_CC+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_cv_sys_largefile_CC=no
3910 if test "$GCC" != yes; then
3913 # IRIX 6.2 and later do not support large files by default,
3914 # so use the C compiler's -n32 option if that helps.
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3917 #include <sys/types.h>
3918 /* Check that off_t can represent 2**63 - 1 correctly.
3919 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3920 since some C++ compilers masquerading as C compilers
3921 incorrectly reject 9223372036854775807. */
3922 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3923 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3924 && LARGE_OFF_T % 2147483647 == 1)
3934 if ac_fn_c_try_compile "$LINENO"; then :
3937 rm -f core conftest.err conftest.$ac_objext
3939 if ac_fn_c_try_compile "$LINENO"; then :
3940 ac_cv_sys_largefile_CC=' -n32'; break
3942 rm -f core conftest.err conftest.$ac_objext
3946 rm -f conftest.$ac_ext
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3950 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3951 if test "$ac_cv_sys_largefile_CC" != no; then
3952 CC=$CC$ac_cv_sys_largefile_CC
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3956 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3957 if ${ac_cv_sys_file_offset_bits+:} false; then :
3958 $as_echo_n "(cached) " >&6
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963 #include <sys/types.h>
3964 /* Check that off_t can represent 2**63 - 1 correctly.
3965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3966 since some C++ compilers masquerading as C compilers
3967 incorrectly reject 9223372036854775807. */
3968 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3970 && LARGE_OFF_T % 2147483647 == 1)
3980 if ac_fn_c_try_compile "$LINENO"; then :
3981 ac_cv_sys_file_offset_bits=no; break
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3986 #define _FILE_OFFSET_BITS 64
3987 #include <sys/types.h>
3988 /* Check that off_t can represent 2**63 - 1 correctly.
3989 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3990 since some C++ compilers masquerading as C compilers
3991 incorrectly reject 9223372036854775807. */
3992 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3993 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3994 && LARGE_OFF_T % 2147483647 == 1)
4004 if ac_fn_c_try_compile "$LINENO"; then :
4005 ac_cv_sys_file_offset_bits=64; break
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 ac_cv_sys_file_offset_bits=unknown
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4013 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4014 case $ac_cv_sys_file_offset_bits in #(
4017 cat >>confdefs.h <<_ACEOF
4018 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4023 if test $ac_cv_sys_file_offset_bits = unknown; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4025 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4026 if ${ac_cv_sys_large_files+:} false; then :
4027 $as_echo_n "(cached) " >&6
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4032 #include <sys/types.h>
4033 /* Check that off_t can represent 2**63 - 1 correctly.
4034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4035 since some C++ compilers masquerading as C compilers
4036 incorrectly reject 9223372036854775807. */
4037 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4039 && LARGE_OFF_T % 2147483647 == 1)
4049 if ac_fn_c_try_compile "$LINENO"; then :
4050 ac_cv_sys_large_files=no; break
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4055 #define _LARGE_FILES 1
4056 #include <sys/types.h>
4057 /* Check that off_t can represent 2**63 - 1 correctly.
4058 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4059 since some C++ compilers masquerading as C compilers
4060 incorrectly reject 9223372036854775807. */
4061 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4062 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4063 && LARGE_OFF_T % 2147483647 == 1)
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 ac_cv_sys_large_files=1; break
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 ac_cv_sys_large_files=unknown
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4082 $as_echo "$ac_cv_sys_large_files" >&6; }
4083 case $ac_cv_sys_large_files in #(
4086 cat >>confdefs.h <<_ACEOF
4087 #define _LARGE_FILES $ac_cv_sys_large_files
4104 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4105 if test -n "$ac_tool_prefix"; then
4106 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4107 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4111 $as_echo_n "(cached) " >&6
4115 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir=.
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4137 if test -n "$PKG_CONFIG"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4139 $as_echo "$PKG_CONFIG" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$ac_cv_path_PKG_CONFIG"; then
4148 ac_pt_PKG_CONFIG=$PKG_CONFIG
4149 # Extract the first word of "pkg-config", so it can be a program name with args.
4150 set dummy pkg-config; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 case $ac_pt_PKG_CONFIG in
4158 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4180 if test -n "$ac_pt_PKG_CONFIG"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4182 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4188 if test "x$ac_pt_PKG_CONFIG" = x; then
4191 case $cross_compiling:$ac_tool_warned in
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4195 ac_tool_warned=yes ;;
4197 PKG_CONFIG=$ac_pt_PKG_CONFIG
4200 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4204 if test -n "$PKG_CONFIG"; then
4205 _pkg_min_version=0.9.0
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4207 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4208 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4210 $as_echo "yes" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
4220 $as_echo_n "checking for FUSE... " >&6; }
4222 if test -n "$FUSE_CFLAGS"; then
4223 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
4224 elif test -n "$PKG_CONFIG"; then
4225 if test -n "$PKG_CONFIG" && \
4226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse\""; } >&5
4227 ($PKG_CONFIG --exists --print-errors "fuse") 2>&5
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; then
4231 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse" 2>/dev/null`
4232 test "x$?" != "x0" && pkg_failed=yes
4239 if test -n "$FUSE_LIBS"; then
4240 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
4241 elif test -n "$PKG_CONFIG"; then
4242 if test -n "$PKG_CONFIG" && \
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse\""; } >&5
4244 ($PKG_CONFIG --exists --print-errors "fuse") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then
4248 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse" 2>/dev/null`
4249 test "x$?" != "x0" && pkg_failed=yes
4259 if test $pkg_failed = yes; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4263 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4264 _pkg_short_errors_supported=yes
4266 _pkg_short_errors_supported=no
4268 if test $_pkg_short_errors_supported = yes; then
4269 FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse" 2>&1`
4271 FUSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse" 2>&1`
4273 # Put the nasty error message in config.log where it belongs
4274 echo "$FUSE_PKG_ERRORS" >&5
4276 as_fn_error $? "Package requirements (fuse) were not met:
4280 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4281 installed software in a non-standard prefix.
4283 Alternatively, you may set the environment variables FUSE_CFLAGS
4284 and FUSE_LIBS to avoid the need to call pkg-config.
4285 See the pkg-config man page for more details." "$LINENO" 5
4286 elif test $pkg_failed = untried; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4292 is in your PATH or set the PKG_CONFIG environment variable to the full
4295 Alternatively, you may set the environment variables FUSE_CFLAGS
4296 and FUSE_LIBS to avoid the need to call pkg-config.
4297 See the pkg-config man page for more details.
4299 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4300 See \`config.log' for more details" "$LINENO" 5; }
4302 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
4303 FUSE_LIBS=$pkg_cv_FUSE_LIBS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4305 $as_echo "yes" >&6; }
4308 ac_config_headers="$ac_config_headers libexfat/config.h"
4310 ac_config_files="$ac_config_files libexfat/Makefile fuse/Makefile Makefile"
4312 cat >confcache <<\_ACEOF
4313 # This file is a shell script that caches the results of configure
4314 # tests run on this system so they can be shared between configure
4315 # scripts and configure runs, see configure's option --config-cache.
4316 # It is not useful on other systems. If it contains results you don't
4317 # want to keep, you may remove or edit it.
4319 # config.status only pays attention to the cache file if you give it
4320 # the --recheck option to rerun configure.
4322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4328 # The following way of writing the cache mishandles newlines in values,
4329 # but we know of no workaround that is simple, portable, and efficient.
4330 # So, we kill variables containing newlines.
4331 # Ultrix sh set writes to stderr and can't be redirected directly,
4332 # and sets the high bit in the cache file unless we assign to the vars.
4334 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4335 eval ac_val=\$$ac_var
4339 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4340 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4343 _ | IFS | as_nl) ;; #(
4344 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4345 *) { eval $ac_var=; unset $ac_var;} ;;
4351 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4352 *${as_nl}ac_space=\ *)
4353 # `set' does not quote correctly, so add quotes: double-quote
4354 # substitution turns \\\\ into \\, and sed turns \\ into \.
4357 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4360 # `set' quotes correctly as required by POSIX, so do not add quotes.
4361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4370 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4372 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4374 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4375 if test -w "$cache_file"; then
4376 if test "x$cache_file" != "x/dev/null"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4378 $as_echo "$as_me: updating cache $cache_file" >&6;}
4379 if test ! -f "$cache_file" || test -h "$cache_file"; then
4380 cat confcache >"$cache_file"
4382 case $cache_file in #(
4384 mv -f confcache "$cache_file"$$ &&
4385 mv -f "$cache_file"$$ "$cache_file" ;; #(
4387 mv -f confcache "$cache_file" ;;
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4398 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4399 # Let make expand exec_prefix.
4400 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4402 DEFS=-DHAVE_CONFIG_H
4407 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4408 # 1. Remove the extension, and $U if already installed.
4409 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4410 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4411 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4412 # will be set to the directory where LIBOBJS objects are built.
4413 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4414 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4418 LTLIBOBJS=$ac_ltlibobjs
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4422 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4423 if test -n "$am_sleep_pid"; then
4424 # Hide warnings about reused PIDs.
4425 wait $am_sleep_pid 2>/dev/null
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4428 $as_echo "done" >&6; }
4429 if test -n "$EXEEXT"; then
4431 am__EXEEXT_FALSE='#'
4437 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4438 as_fn_error $? "conditional \"AMDEP\" was never defined.
4439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4441 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4442 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4446 : "${CONFIG_STATUS=./config.status}"
4448 ac_clean_files_save=$ac_clean_files
4449 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4451 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4453 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4455 # Generated by $as_me.
4456 # Run this file to recreate the current configuration.
4457 # Compiler output produced by configure, useful for debugging
4458 # configure, is in config.log if it exists.
4464 SHELL=\${CONFIG_SHELL-$SHELL}
4467 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4468 ## -------------------- ##
4469 ## M4sh Initialization. ##
4470 ## -------------------- ##
4472 # Be more Bourne compatible
4473 DUALCASE=1; export DUALCASE # for MKS sh
4474 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4477 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4478 # is contrary to our usage. Disable this feature.
4479 alias -g '${1+"$@"}'='"$@"'
4480 setopt NO_GLOB_SUBST
4482 case `(set -o) 2>/dev/null` in #(
4494 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4495 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4496 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4497 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4498 # Prefer a ksh shell builtin over an external printf program on Solaris,
4499 # but without wasting forks for bash or zsh.
4500 if test -z "$BASH_VERSION$ZSH_VERSION" \
4501 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4502 as_echo='print -r --'
4503 as_echo_n='print -rn --'
4504 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4505 as_echo='printf %s\n'
4506 as_echo_n='printf %s'
4508 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4509 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4510 as_echo_n='/usr/ucb/echo -n'
4512 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4513 as_echo_n_body='eval
4517 expr "X$arg" : "X\\(.*\\)$as_nl";
4518 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4520 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4522 export as_echo_n_body
4523 as_echo_n='sh -c $as_echo_n_body as_echo'
4526 as_echo='sh -c $as_echo_body as_echo'
4529 # The user is always right.
4530 if test "${PATH_SEPARATOR+set}" != set; then
4532 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4533 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4540 # We need space, tab and new line, in precisely that order. Quoting is
4541 # there to prevent editors from complaining about space-tab.
4542 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4543 # splitting by setting IFS to empty value.)
4546 # Find who we are. Look in the path if we contain no directory separator.
4549 *[\\/]* ) as_myself=$0 ;;
4550 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir=.
4555 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4561 # We did not find ourselves, most probably we were run as `sh COMMAND'
4562 # in which case we are not to be found in the path.
4563 if test "x$as_myself" = x; then
4566 if test ! -f "$as_myself"; then
4567 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4571 # Unset variables that we do not need and which cause bugs (e.g. in
4572 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4573 # suppresses any "Segmentation fault" message there. '((' could
4574 # trigger a bug in pdksh 5.2.14.
4575 for as_var in BASH_ENV ENV MAIL MAILPATH
4576 do eval test x\${$as_var+set} = xset \
4577 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4590 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4593 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4594 # ----------------------------------------
4595 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4596 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4597 # script with STATUS, using 1 if that was 0.
4600 as_status=$1; test $as_status -eq 0 && as_status=1
4602 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4603 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4605 $as_echo "$as_me: error: $2" >&2
4606 as_fn_exit $as_status
4610 # as_fn_set_status STATUS
4611 # -----------------------
4612 # Set $? to STATUS, without forking.
4616 } # as_fn_set_status
4620 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4630 # Portably unset VAR.
4633 { eval $1=; unset $1;}
4635 as_unset=as_fn_unset
4636 # as_fn_append VAR VALUE
4637 # ----------------------
4638 # Append the text in VALUE to the end of the definition contained in VAR. Take
4639 # advantage of any shell optimizations that allow amortized linear growth over
4640 # repeated appends, instead of the typical quadratic growth present in naive
4642 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4643 eval 'as_fn_append ()
4654 # as_fn_arith ARG...
4655 # ------------------
4656 # Perform arithmetic evaluation on the ARGs, and store the result in the
4657 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4658 # must be portable across $(()) and expr.
4659 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4660 eval 'as_fn_arith ()
4667 as_val=`expr "$@" || test $? -eq 1`
4672 if expr a : '\(a\)' >/dev/null 2>&1 &&
4673 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4679 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4680 as_basename=basename
4685 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4691 as_me=`$as_basename -- "$0" ||
4692 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4693 X"$0" : 'X\(//\)$' \| \
4694 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4696 sed '/^.*\/\([^/][^/]*\)\/*$/{
4710 # Avoid depending upon Character Ranges.
4711 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4712 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4713 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4714 as_cr_digits='0123456789'
4715 as_cr_alnum=$as_cr_Letters$as_cr_digits
4717 ECHO_C= ECHO_N= ECHO_T=
4718 case `echo -n x` in #(((((
4720 case `echo 'xy\c'` in
4721 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4723 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4730 rm -f conf$$ conf$$.exe conf$$.file
4731 if test -d conf$$.dir; then
4732 rm -f conf$$.dir/conf$$.file
4735 mkdir conf$$.dir 2>/dev/null
4737 if (echo >conf$$.file) 2>/dev/null; then
4738 if ln -s conf$$.file conf$$ 2>/dev/null; then
4740 # ... but there are two gotchas:
4741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4743 # In both cases, we have to default to `cp -pR'.
4744 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4746 elif ln conf$$.file conf$$ 2>/dev/null; then
4754 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4755 rmdir conf$$.dir 2>/dev/null
4760 # Create "$as_dir" as a directory, including parents if necessary.
4765 -*) as_dir=./$as_dir;;
4767 test -d "$as_dir" || eval $as_mkdir_p || {
4771 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4772 *) as_qdir=$as_dir;;
4774 as_dirs="'$as_qdir' $as_dirs"
4775 as_dir=`$as_dirname -- "$as_dir" ||
4776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777 X"$as_dir" : 'X\(//\)[^/]' \| \
4778 X"$as_dir" : 'X\(//\)$' \| \
4779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4780 $as_echo X"$as_dir" |
4781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4798 test -d "$as_dir" && break
4800 test -z "$as_dirs" || eval "mkdir $as_dirs"
4801 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4805 if mkdir -p . 2>/dev/null; then
4806 as_mkdir_p='mkdir -p "$as_dir"'
4808 test -d ./-p && rmdir ./-p
4813 # as_fn_executable_p FILE
4814 # -----------------------
4815 # Test if FILE is an executable regular file.
4816 as_fn_executable_p ()
4818 test -f "$1" && test -x "$1"
4819 } # as_fn_executable_p
4821 as_executable_p=as_fn_executable_p
4823 # Sed expression to map a string onto a valid CPP name.
4824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4826 # Sed expression to map a string onto a valid variable name.
4827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4831 ## ----------------------------------- ##
4832 ## Main body of $CONFIG_STATUS script. ##
4833 ## ----------------------------------- ##
4835 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4838 # Save the log message, to keep $0 and so on meaningful, and to
4839 # report actual input values of CONFIG_FILES etc. instead of their
4840 # values after options handling.
4842 This file was extended by Free exFAT implementation $as_me 1.2.2, which was
4843 generated by GNU Autoconf 2.69. Invocation command line was
4845 CONFIG_FILES = $CONFIG_FILES
4846 CONFIG_HEADERS = $CONFIG_HEADERS
4847 CONFIG_LINKS = $CONFIG_LINKS
4848 CONFIG_COMMANDS = $CONFIG_COMMANDS
4851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4856 case $ac_config_files in *"
4857 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4860 case $ac_config_headers in *"
4861 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4866 # Files that config.status was made for.
4867 config_files="$ac_config_files"
4868 config_headers="$ac_config_headers"
4869 config_commands="$ac_config_commands"
4873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4875 \`$as_me' instantiates files and other configuration actions
4876 from templates according to the current configuration. Unless the files
4877 and actions are specified as TAGs, all are instantiated by default.
4879 Usage: $0 [OPTION]... [TAG]...
4881 -h, --help print this help, then exit
4882 -V, --version print version number and configuration settings, then exit
4883 --config print configuration, then exit
4884 -q, --quiet, --silent
4885 do not print progress messages
4886 -d, --debug don't remove temporary files
4887 --recheck update $as_me by reconfiguring in the same conditions
4888 --file=FILE[:TEMPLATE]
4889 instantiate the configuration file FILE
4890 --header=FILE[:TEMPLATE]
4891 instantiate the configuration header FILE
4893 Configuration files:
4896 Configuration headers:
4899 Configuration commands:
4902 Report bugs to <relan@users.noreply.github.com>.
4903 Free exFAT implementation home page: <https://github.com/relan/exfat>."
4906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4907 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4909 Free exFAT implementation config.status 1.2.2
4910 configured by $0, generated by GNU Autoconf 2.69,
4911 with options \\"\$ac_cs_config\\"
4913 Copyright (C) 2012 Free Software Foundation, Inc.
4914 This config.status script is free software; the Free Software Foundation
4915 gives unlimited permission to copy, distribute and modify it."
4922 test -n "\$AWK" || AWK=awk
4925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4926 # The default lists apply if the user does not specify any file.
4932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4933 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4937 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4949 # Handling of the options.
4950 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4952 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4953 $as_echo "$ac_cs_version"; exit ;;
4954 --config | --confi | --conf | --con | --co | --c )
4955 $as_echo "$ac_cs_config"; exit ;;
4956 --debug | --debu | --deb | --de | --d | -d )
4958 --file | --fil | --fi | --f )
4961 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4962 '') as_fn_error $? "missing file argument" ;;
4964 as_fn_append CONFIG_FILES " '$ac_optarg'"
4965 ac_need_defaults=false;;
4966 --header | --heade | --head | --hea )
4969 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4971 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4972 ac_need_defaults=false;;
4974 # Conflict between --help and --header
4975 as_fn_error $? "ambiguous option: \`$1'
4976 Try \`$0 --help' for more information.";;
4977 --help | --hel | -h )
4978 $as_echo "$ac_cs_usage"; exit ;;
4979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4980 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4984 -*) as_fn_error $? "unrecognized option: \`$1'
4985 Try \`$0 --help' for more information." ;;
4987 *) as_fn_append ac_config_targets " $1"
4988 ac_need_defaults=false ;;
4994 ac_configure_extra_args=
4996 if $ac_cs_silent; then
4998 ac_configure_extra_args="$ac_configure_extra_args --silent"
5002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5003 if \$ac_cs_recheck; then
5004 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5006 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5007 CONFIG_SHELL='$SHELL'
5013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5017 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5018 ## Running $as_me. ##
5024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5028 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5034 # Handling of arguments.
5035 for ac_config_target in $ac_config_targets
5037 case $ac_config_target in
5038 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5039 "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
5040 "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
5041 "fuse/Makefile") CONFIG_FILES="$CONFIG_FILES fuse/Makefile" ;;
5042 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5044 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5049 # If the user did not use the arguments to specify the items to instantiate,
5050 # then the envvar interface is used. Set only those that are not.
5051 # We use the long form for the default assignment because of an extremely
5052 # bizarre bug on SunOS 4.1.3.
5053 if $ac_need_defaults; then
5054 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5055 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5056 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5059 # Have a temporary directory for convenience. Make it in the build tree
5060 # simply because there is no reason against having it here, and in addition,
5061 # creating and moving files from /tmp can sometimes cause problems.
5062 # Hook for its removal unless debugging.
5063 # Note that there is a small window in which the directory will not be cleaned:
5064 # after its creation but before its name has been assigned to `$tmp'.
5068 trap 'exit_status=$?
5070 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5072 trap 'as_fn_exit 1' 1 2 13 15
5074 # Create a (secure) tmp directory for tmp files.
5077 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5081 tmp=./conf$$-$RANDOM
5082 (umask 077 && mkdir "$tmp")
5083 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5086 # Set up the scripts for CONFIG_FILES section.
5087 # No need to generate them if there are no CONFIG_FILES.
5088 # This happens for instance with `./config.status config.h'.
5089 if test -n "$CONFIG_FILES"; then
5092 ac_cr=`echo X | tr X '\015'`
5093 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5094 # But we know of no other shell where ac_cr would be empty at this
5095 # point, so we can use a bashism as a fallback.
5096 if test "x$ac_cr" = x; then
5097 eval ac_cr=\$\'\\r\'
5099 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5100 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5106 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5111 echo "cat >conf$$subs.awk <<_ACEOF" &&
5112 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5115 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5116 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5118 for ac_last_try in false false false false false :; do
5119 . ./conf$$subs.sh ||
5120 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5122 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5123 if test $ac_delim_n = $ac_delim_num; then
5125 elif $ac_last_try; then
5126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5128 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5134 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5138 s/^/S["/; s/!.*/"]=/
5148 s/\(.\{148\}\)..*/\1/
5150 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5155 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5162 s/\(.\{148\}\)..*/\1/
5164 s/["\\]/\\&/g; s/^/"/; s/$/"/
5168 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5173 ' <conf$$subs.awk | sed '
5178 ' >>$CONFIG_STATUS || ac_write_fail=1
5179 rm -f conf$$subs.awk
5180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5182 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5183 for (key in S) S_is_set[key] = 1
5189 nfields = split(line, field, "@")
5191 len = length(field[1])
5192 for (i = 2; i < nfields; i++) {
5194 keylen = length(key)
5195 if (S_is_set[key]) {
5197 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5198 len += length(value) + length(field[++i])
5209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5210 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5211 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5214 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5215 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5218 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5219 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5220 # trailing colons and then remove the whole line if VPATH becomes empty
5221 # (actually we leave an empty line to preserve line numbers).
5222 if test "x$srcdir" = x.; then
5223 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5242 fi # test -n "$CONFIG_FILES"
5244 # Set up the scripts for CONFIG_HEADERS section.
5245 # No need to generate them if there are no CONFIG_HEADERS.
5246 # This happens for instance with `./config.status Makefile'.
5247 if test -n "$CONFIG_HEADERS"; then
5248 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5252 # Transform confdefs.h into an awk script `defines.awk', embedded as
5253 # here-document in config.status, that substitutes the proper values into
5254 # config.h.in to produce config.h.
5256 # Create a delimiter string that does not exist in confdefs.h, to ease
5257 # handling of long lines.
5259 for ac_last_try in false false :; do
5260 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5261 if test -z "$ac_tt"; then
5263 elif $ac_last_try; then
5264 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5266 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5270 # For the awk script, D is an array of macro values keyed by name,
5271 # likewise P contains macro parameters if any. Preserve backslash
5272 # newline sequences.
5274 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5276 s/.\{148\}/&'"$ac_delim"'/g
5279 s/^[ ]*#[ ]*define[ ][ ]*/ /
5286 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5288 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5292 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5293 D["\1"]=" \3\\\\\\n"\\/p
5295 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5300 s/.\{148\}/&'"$ac_delim"'/g
5305 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5308 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5310 ' <confdefs.h | sed '
5311 s/'"$ac_delim"'/"\\\
5312 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5315 for (key in D) D_is_set[key] = 1
5318 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5320 split(line, arg, " ")
5321 if (arg[1] == "#") {
5325 defundef = substr(arg[1], 2)
5328 split(mac1, mac2, "(") #)
5330 prefix = substr(line, 1, index(line, defundef) - 1)
5331 if (D_is_set[macro]) {
5332 # Preserve the white space surrounding the "#".
5333 print prefix "define", macro P[macro] D[macro]
5336 # Replace #undef with comments. This is necessary, for example,
5337 # in the case of _POSIX_SOURCE, which is predefined and required
5338 # on some systems where configure will not decide to define it.
5339 if (defundef == "undef") {
5340 print "/*", prefix defundef, macro, "*/"
5348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5349 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5350 fi # test -n "$CONFIG_HEADERS"
5353 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5358 :[FHLC]) ac_mode=$ac_tag; continue;;
5360 case $ac_mode$ac_tag in
5362 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5363 :[FH]-) ac_tag=-:-;;
5364 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5381 -) ac_f="$ac_tmp/stdin";;
5382 *) # Look for the file first in the build tree, then in the source tree
5383 # (if the path is not absolute). The absolute path cannot be DOS-style,
5384 # because $ac_f cannot contain `:'.
5388 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5390 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5392 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5393 as_fn_append ac_file_inputs " '$ac_f'"
5396 # Let's still pretend it is `configure' which instantiates (i.e., don't
5397 # use $as_me), people would be surprised to read:
5398 # /* config.h. Generated by config.status. */
5399 configure_input='Generated from '`
5400 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5402 if test x"$ac_file" != x-; then
5403 configure_input="$ac_file. $configure_input"
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5405 $as_echo "$as_me: creating $ac_file" >&6;}
5407 # Neutralize special characters interpreted by sed in replacement strings.
5408 case $configure_input in #(
5409 *\&* | *\|* | *\\* )
5410 ac_sed_conf_input=`$as_echo "$configure_input" |
5411 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5412 *) ac_sed_conf_input=$configure_input;;
5416 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5422 ac_dir=`$as_dirname -- "$ac_file" ||
5423 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5424 X"$ac_file" : 'X\(//\)[^/]' \| \
5425 X"$ac_file" : 'X\(//\)$' \| \
5426 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5427 $as_echo X"$ac_file" |
5428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5445 as_dir="$ac_dir"; as_fn_mkdir_p
5449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5452 # A ".." for each directory in $ac_dir_suffix.
5453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5454 case $ac_top_builddir_sub in
5455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5459 ac_abs_top_builddir=$ac_pwd
5460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5461 # for backward compatibility:
5462 ac_top_builddir=$ac_top_build_prefix
5465 .) # We are building in place.
5467 ac_top_srcdir=$ac_top_builddir_sub
5468 ac_abs_top_srcdir=$ac_pwd ;;
5469 [\\/]* | ?:[\\/]* ) # Absolute name.
5470 ac_srcdir=$srcdir$ac_dir_suffix;
5471 ac_top_srcdir=$srcdir
5472 ac_abs_top_srcdir=$srcdir ;;
5474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5475 ac_top_srcdir=$ac_top_build_prefix$srcdir
5476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5488 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5489 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5493 [\\/$]* | ?:[\\/]* ) ;;
5494 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5499 # If the template does not know about datarootdir, expand it.
5500 # FIXME: This hack should be removed a few years after 2.60.
5501 ac_datarootdir_hack=; ac_datarootdir_seen=
5512 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5513 *datarootdir*) ac_datarootdir_seen=yes;;
5514 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5516 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5519 ac_datarootdir_hack='
5520 s&@datadir@&$datadir&g
5521 s&@docdir@&$docdir&g
5522 s&@infodir@&$infodir&g
5523 s&@localedir@&$localedir&g
5524 s&@mandir@&$mandir&g
5525 s&\\\${datarootdir}&$datarootdir&g' ;;
5529 # Neutralize VPATH when `$srcdir' = `.'.
5530 # Shell code in configure.ac might set extrasub.
5531 # FIXME: do we really want to maintain this feature?
5532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5533 ac_sed_extra="$ac_vpsub
5536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5538 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5539 s|@configure_input@|$ac_sed_conf_input|;t t
5540 s&@top_builddir@&$ac_top_builddir_sub&;t t
5541 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5542 s&@srcdir@&$ac_srcdir&;t t
5543 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5544 s&@top_srcdir@&$ac_top_srcdir&;t t
5545 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5546 s&@builddir@&$ac_builddir&;t t
5547 s&@abs_builddir@&$ac_abs_builddir&;t t
5548 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5549 s&@INSTALL@&$ac_INSTALL&;t t
5550 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5551 $ac_datarootdir_hack
5553 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5554 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5556 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5557 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5558 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5559 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5561 which seems to be undefined. Please make sure it is defined" >&5
5562 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5563 which seems to be undefined. Please make sure it is defined" >&2;}
5565 rm -f "$ac_tmp/stdin"
5567 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5568 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5576 if test x"$ac_file" != x-; then
5578 $as_echo "/* $configure_input */" \
5579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5580 } >"$ac_tmp/config.h" \
5581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5582 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5584 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5587 mv "$ac_tmp/config.h" "$ac_file" \
5588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5591 $as_echo "/* $configure_input */" \
5592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5593 || as_fn_error $? "could not create -" "$LINENO" 5
5595 # Compute "$ac_file"'s index in $config_headers.
5598 for _am_header in $config_headers :; do
5600 $_am_arg | $_am_arg:* )
5603 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5606 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5607 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5608 X"$_am_arg" : 'X\(//\)[^/]' \| \
5609 X"$_am_arg" : 'X\(//\)$' \| \
5610 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5611 $as_echo X"$_am_arg" |
5612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5628 s/.*/./; q'`/stamp-h$_am_stamp_count
5631 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5632 $as_echo "$as_me: executing $ac_file commands" >&6;}
5637 case $ac_file$ac_mode in
5638 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5639 # Older Autoconf quotes --file arguments for eval, but not when files
5640 # are listed without --file. Let's play safe and only enable the eval
5641 # if we detect the quoting.
5642 case $CONFIG_FILES in
5643 *\'*) eval set x "$CONFIG_FILES" ;;
5644 *) set x $CONFIG_FILES ;;
5649 # Strip MF so we end up with the name of the file.
5650 mf=`echo "$mf" | sed -e 's/:.*$//'`
5651 # Check whether this is an Automake generated Makefile or not.
5652 # We used to match only the files named 'Makefile.in', but
5653 # some people rename them; so instead we look at the file content.
5654 # Grep'ing the first line is not enough: some people post-process
5655 # each Makefile.in and add a new line on top of each file to say so.
5656 # Grep'ing the whole file is not good either: AIX grep has a line
5657 # limit of 2048, but all sed's we know have understand at least 4000.
5658 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5659 dirpart=`$as_dirname -- "$mf" ||
5660 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5661 X"$mf" : 'X\(//\)[^/]' \| \
5662 X"$mf" : 'X\(//\)$' \| \
5663 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5685 # Extract the definition of DEPDIR, am__include, and am__quote
5686 # from the Makefile without running 'make'.
5687 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5688 test -z "$DEPDIR" && continue
5689 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5690 test -z "$am__include" && continue
5691 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5692 # Find all dependency output files, they are included files with
5693 # $(DEPDIR) in their names. We invoke sed twice because it is the
5694 # simplest approach to changing $(DEPDIR) to its actual value in the
5696 for file in `sed -n "
5697 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5698 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5699 # Make sure the directory exists.
5700 test -f "$dirpart/$file" && continue
5701 fdir=`$as_dirname -- "$file" ||
5702 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5703 X"$file" : 'X\(//\)[^/]' \| \
5704 X"$file" : 'X\(//\)$' \| \
5705 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5724 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5725 # echo "creating $dirpart/$file"
5726 echo '# dummy' > "$dirpart/$file"
5738 ac_clean_files=$ac_clean_files_save
5740 test $ac_write_fail = 0 ||
5741 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5744 # configure is writing to config.log, and then calls config.status.
5745 # config.status does its own redirection, appending to config.log.
5746 # Unfortunately, on DOS this fails, as config.log is still kept open
5747 # by configure, so config.status won't be able to write to it; its
5748 # output is simply discarded. So we exec the FD to /dev/null,
5749 # effectively closing config.log, so it can be properly (re)opened and
5750 # appended to by config.status. When coming back to configure, we
5751 # need to make the FD available again.
5752 if test "$no_create" != yes; then
5754 ac_config_status_args=
5755 test "$silent" = yes &&
5756 ac_config_status_args="$ac_config_status_args --quiet"
5758 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5760 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5761 # would make configure fail if this is the last instruction.
5762 $ac_cs_success || as_fn_exit 1
5764 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5766 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}