2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Free exFAT implementation 1.3.0.
5 # Report bugs to <relan@users.noreply.github.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: relan@users.noreply.github.com about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='Free exFAT implementation'
581 PACKAGE_TARNAME='fuse-exfat'
582 PACKAGE_VERSION='1.3.0'
583 PACKAGE_STRING='Free exFAT implementation 1.3.0'
584 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
585 PACKAGE_URL='https://github.com/relan/exfat'
587 ac_subst_vars='am__EXEEXT_FALSE
630 INSTALL_STRIP_PROGRAM
672 program_transform_name
685 enable_option_checking
687 enable_dependency_tracking
690 ac_precious_vars='build_alias
707 # Initialize some variables set by options.
709 ac_init_version=false
710 ac_unrecognized_opts=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
721 program_transform_name=s,x,x,
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir='${exec_prefix}/bin'
736 sbindir='${exec_prefix}/sbin'
737 libexecdir='${exec_prefix}/libexec'
738 datarootdir='${prefix}/share'
739 datadir='${datarootdir}'
740 sysconfdir='${prefix}/etc'
741 sharedstatedir='${prefix}/com'
742 localstatedir='${prefix}/var'
743 includedir='${prefix}/include'
744 oldincludedir='/usr/include'
745 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir='${datarootdir}/info'
751 libdir='${exec_prefix}/lib'
752 localedir='${datarootdir}/locale'
753 mandir='${datarootdir}/man'
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\$ac_option
767 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 -build | --build | --buil | --bui | --bu)
784 ac_prev=build_alias ;;
785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786 build_alias=$ac_optarg ;;
788 -cache-file | --cache-file | --cache-fil | --cache-fi \
789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790 ac_prev=cache_file ;;
791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793 cache_file=$ac_optarg ;;
796 cache_file=config.cache ;;
798 -datadir | --datadir | --datadi | --datad)
800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
801 datadir=$ac_optarg ;;
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804 | --dataroo | --dataro | --datar)
805 ac_prev=datarootdir ;;
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808 datarootdir=$ac_optarg ;;
810 -disable-* | --disable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
824 eval enable_$ac_useropt=no ;;
826 -docdir | --docdir | --docdi | --doc | --do)
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
836 -enable-* | --enable-*)
837 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840 as_fn_error $? "invalid feature name: $ac_useropt"
841 ac_useropt_orig=$ac_useropt
842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848 ac_unrecognized_sep=', ';;
850 eval enable_$ac_useropt=\$ac_optarg ;;
852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854 | --exec | --exe | --ex)
855 ac_prev=exec_prefix ;;
856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858 | --exec=* | --exe=* | --ex=*)
859 exec_prefix=$ac_optarg ;;
861 -gas | --gas | --ga | --g)
862 # Obsolete; use --with-gas.
865 -help | --help | --hel | --he | -h)
867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868 ac_init_help=recursive ;;
869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870 ac_init_help=short ;;
872 -host | --host | --hos | --ho)
873 ac_prev=host_alias ;;
874 -host=* | --host=* | --hos=* | --ho=*)
875 host_alias=$ac_optarg ;;
877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
881 htmldir=$ac_optarg ;;
883 -includedir | --includedir | --includedi | --included | --include \
884 | --includ | --inclu | --incl | --inc)
885 ac_prev=includedir ;;
886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887 | --includ=* | --inclu=* | --incl=* | --inc=*)
888 includedir=$ac_optarg ;;
890 -infodir | --infodir | --infodi | --infod | --info | --inf)
892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893 infodir=$ac_optarg ;;
895 -libdir | --libdir | --libdi | --libd)
897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901 | --libexe | --libex | --libe)
902 ac_prev=libexecdir ;;
903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904 | --libexe=* | --libex=* | --libe=*)
905 libexecdir=$ac_optarg ;;
907 -localedir | --localedir | --localedi | --localed | --locale)
909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910 localedir=$ac_optarg ;;
912 -localstatedir | --localstatedir | --localstatedi | --localstated \
913 | --localstate | --localstat | --localsta | --localst | --locals)
914 ac_prev=localstatedir ;;
915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917 localstatedir=$ac_optarg ;;
919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
925 # Obsolete; use --without-fp.
928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929 | --no-cr | --no-c | -n)
932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938 | --oldin | --oldi | --old | --ol | --o)
939 ac_prev=oldincludedir ;;
940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943 oldincludedir=$ac_optarg ;;
945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
951 | --program-pre | --program-pr | --program-p)
952 ac_prev=program_prefix ;;
953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955 program_prefix=$ac_optarg ;;
957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
958 | --program-suf | --program-su | --program-s)
959 ac_prev=program_suffix ;;
960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962 program_suffix=$ac_optarg ;;
964 -program-transform-name | --program-transform-name \
965 | --program-transform-nam | --program-transform-na \
966 | --program-transform-n | --program-transform- \
967 | --program-transform | --program-transfor \
968 | --program-transfo | --program-transf \
969 | --program-trans | --program-tran \
970 | --progr-tra | --program-tr | --program-t)
971 ac_prev=program_transform_name ;;
972 -program-transform-name=* | --program-transform-name=* \
973 | --program-transform-nam=* | --program-transform-na=* \
974 | --program-transform-n=* | --program-transform-=* \
975 | --program-transform=* | --program-transfor=* \
976 | --program-transfo=* | --program-transf=* \
977 | --program-trans=* | --program-tran=* \
978 | --progr-tra=* | --program-tr=* | --program-t=*)
979 program_transform_name=$ac_optarg ;;
981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986 -psdir | --psdir | --psdi | --psd | --ps)
988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992 | -silent | --silent | --silen | --sile | --sil)
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
999 sbindir=$ac_optarg ;;
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1010 sharedstatedir=$ac_optarg ;;
1012 -site | --site | --sit)
1014 -site=* | --site=* | --sit=*)
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1041 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid package name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1054 eval with_$ac_useropt=\$ac_optarg ;;
1056 -without-* | --without-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1070 eval with_$ac_useropt=no ;;
1073 # Obsolete; use --with-x.
1076 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077 | --x-incl | --x-inc | --x-in | --x-i)
1078 ac_prev=x_includes ;;
1079 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081 x_includes=$ac_optarg ;;
1083 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085 ac_prev=x_libraries ;;
1086 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088 x_libraries=$ac_optarg ;;
1090 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091 Try \`$0 --help' for more information"
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' | [0-9]* | *[!_$as_cr_alnum]* )
1099 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1101 eval $ac_envvar=\$ac_optarg
1102 export $ac_envvar ;;
1105 # FIXME: should be removed in autoconf 3.0.
1106 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1115 if test -n "$ac_prev"; then
1116 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $? "missing argument to $ac_option"
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1123 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 # Check all directory arguments for consistency.
1129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val=\$$ac_var
1135 # Remove trailing slashes.
1138 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\$ac_val;;
1141 # Be sure to have absolute directory names.
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1146 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1149 # There might be people who depend on the old broken behavior: `$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1154 target=$target_alias
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x; then
1158 if test "x$build_alias" = x; then
1159 cross_compiling=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168 test "$silent" = yes && exec 6>/dev/null
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures Free exFAT implementation 1.3.0 to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/fuse-exfat]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of Free exFAT implementation 1.3.0:";;
1316 --disable-option-checking ignore unrecognized --enable/--with options
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-silent-rules less verbose build output (undo: "make V=1")
1320 --disable-silent-rules verbose build output (undo: "make V=0")
1321 --enable-dependency-tracking
1322 do not reject slow dependency extractors
1323 --disable-dependency-tracking
1324 speeds up one-time build
1325 --disable-largefile omit support for large files
1327 Some influential environment variables:
1328 CC C compiler command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1331 nonstandard directory <lib dir>
1332 LIBS libraries to pass to the linker, e.g. -l<library>
1333 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1334 you have headers in a nonstandard directory <include dir>
1335 PKG_CONFIG path to pkg-config utility
1337 directories to add to pkg-config's search path
1339 path overriding pkg-config's built-in search path
1341 C compiler flags for UBLIO, overriding pkg-config
1342 UBLIO_LIBS linker flags for UBLIO, overriding pkg-config
1343 FUSE_CFLAGS C compiler flags for FUSE, overriding pkg-config
1344 FUSE_LIBS linker flags for FUSE, overriding pkg-config
1346 Use these variables to override the choices made by `configure' or to help
1347 it to find libraries and programs with nonstandard names/locations.
1349 Report bugs to <relan@users.noreply.github.com>.
1350 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" ||
1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1367 # A ".." for each directory in $ac_dir_suffix.
1368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1369 case $ac_top_builddir_sub in
1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1374 ac_abs_top_builddir=$ac_pwd
1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376 # for backward compatibility:
1377 ac_top_builddir=$ac_top_build_prefix
1380 .) # We are building in place.
1382 ac_top_srcdir=$ac_top_builddir_sub
1383 ac_abs_top_srcdir=$ac_pwd ;;
1384 [\\/]* | ?:[\\/]* ) # Absolute name.
1385 ac_srcdir=$srcdir$ac_dir_suffix;
1386 ac_top_srcdir=$srcdir
1387 ac_abs_top_srcdir=$srcdir ;;
1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390 ac_top_srcdir=$ac_top_build_prefix$srcdir
1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1395 cd "$ac_dir" || { ac_status=$?; continue; }
1396 # Check for guested configure.
1397 if test -f "$ac_srcdir/configure.gnu"; then
1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1400 elif test -f "$ac_srcdir/configure"; then
1402 $SHELL "$ac_srcdir/configure" --help=recursive
1404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1406 cd "$ac_pwd" || { ac_status=$?; break; }
1410 test -n "$ac_init_help" && exit $ac_status
1411 if $ac_init_version; then
1413 Free exFAT implementation configure 1.3.0
1414 generated by GNU Autoconf 2.69
1416 Copyright (C) 2012 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1423 ## ------------------------ ##
1424 ## Autoconf initialization. ##
1425 ## ------------------------ ##
1427 # ac_fn_c_try_compile LINENO
1428 # --------------------------
1429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1430 ac_fn_c_try_compile ()
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext
1434 if { { ac_try="$ac_compile"
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_compile") 2>conftest.err
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest.$ac_objext; then :
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.$ac_ext >&5
1460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1461 as_fn_set_status $ac_retval
1463 } # ac_fn_c_try_compile
1464 cat >config.log <<_ACEOF
1465 This file contains any messages produced by compilers while
1466 running configure, to aid debugging if configure makes a mistake.
1468 It was created by Free exFAT implementation $as_me 1.3.0, which was
1469 generated by GNU Autoconf 2.69. Invocation command line was
1481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 test -z "$as_dir" && as_dir=.
1505 $as_echo "PATH: $as_dir"
1521 # Keep a trace of the command line.
1522 # Strip out --no-create and --no-recursion so they do not pile up.
1523 # Strip out --silent because we don't want to record it for future runs.
1524 # Also quote any args containing shell meta-characters.
1525 # Make two passes to allow for proper duplicate-argument suppression.
1529 ac_must_keep_next=false
1535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1537 | -silent | --silent | --silen | --sile | --sil)
1540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1545 as_fn_append ac_configure_args1 " '$ac_arg'"
1546 if test $ac_must_keep_next = true; then
1547 ac_must_keep_next=false # Got value, back to normal.
1550 *=* | --config-cache | -C | -disable-* | --disable-* \
1551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1553 | -with-* | --with-* | -without-* | --without-* | --x)
1554 case "$ac_configure_args0 " in
1555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 -* ) ac_must_keep_next=true ;;
1561 as_fn_append ac_configure_args " '$ac_arg'"
1566 { ac_configure_args0=; unset ac_configure_args0;}
1567 { ac_configure_args1=; unset ac_configure_args1;}
1569 # When interrupted or exit'd, cleanup temporary files, and complete
1570 # config.log. We remove comments because anyway the quotes in there
1571 # would cause problems or look ugly.
1572 # WARNING: Use '\'' to represent an apostrophe within the trap.
1573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1574 trap 'exit_status=$?
1575 # Save into config.log some information that might help in debugging.
1579 $as_echo "## ---------------- ##
1580 ## Cache variables. ##
1581 ## ---------------- ##"
1583 # The following way of writing the cache mishandles newlines in values,
1585 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1586 eval ac_val=\$$ac_var
1590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1594 _ | IFS | as_nl) ;; #(
1595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1596 *) { eval $ac_var=; unset $ac_var;} ;;
1601 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1602 *${as_nl}ac_space=\ *)
1604 "s/'\''/'\''\\\\'\'''\''/g;
1605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 $as_echo "## ----------------- ##
1616 ## Output variables. ##
1617 ## ----------------- ##"
1619 for ac_var in $ac_subst_vars
1621 eval ac_val=\$$ac_var
1623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1625 $as_echo "$ac_var='\''$ac_val'\''"
1629 if test -n "$ac_subst_files"; then
1630 $as_echo "## ------------------- ##
1631 ## File substitutions. ##
1632 ## ------------------- ##"
1634 for ac_var in $ac_subst_files
1636 eval ac_val=\$$ac_var
1638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640 $as_echo "$ac_var='\''$ac_val'\''"
1645 if test -s confdefs.h; then
1646 $as_echo "## ----------- ##
1653 test "$ac_signal" != 0 &&
1654 $as_echo "$as_me: caught signal $ac_signal"
1655 $as_echo "$as_me: exit $exit_status"
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 $as_echo "/* confdefs.h */" > confdefs.h
1671 # Predefined preprocessor variables.
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_NAME "$PACKAGE_NAME"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_URL "$PACKAGE_URL"
1698 # Let the site file select an alternate cache file if it wants to.
1699 # Prefer an explicitly selected file to automatically selected ones.
1702 if test -n "$CONFIG_SITE"; then
1703 # We do not want a PATH search for config.site.
1704 case $CONFIG_SITE in #((
1705 -*) ac_site_file1=./$CONFIG_SITE;;
1706 */*) ac_site_file1=$CONFIG_SITE;;
1707 *) ac_site_file1=./$CONFIG_SITE;;
1709 elif test "x$prefix" != xNONE; then
1710 ac_site_file1=$prefix/share/config.site
1711 ac_site_file2=$prefix/etc/config.site
1713 ac_site_file1=$ac_default_prefix/share/config.site
1714 ac_site_file2=$ac_default_prefix/etc/config.site
1716 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1718 test "x$ac_site_file" = xNONE && continue
1719 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1721 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1724 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1726 as_fn_error $? "failed to load site script $ac_site_file
1727 See \`config.log' for more details" "$LINENO" 5; }
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special files
1733 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1734 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1736 $as_echo "$as_me: loading cache $cache_file" >&6;}
1738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1739 *) . "./$cache_file";;
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1744 $as_echo "$as_me: creating cache $cache_file" >&6;}
1748 # Check that the precious variables saved in the cache have kept the same
1750 ac_cache_corrupted=false
1751 for ac_var in $ac_precious_vars; do
1752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1753 eval ac_new_set=\$ac_env_${ac_var}_set
1754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1755 eval ac_new_val=\$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 # differences in whitespace do not lead to failure.
1769 ac_old_val_w=`echo x $ac_old_val`
1770 ac_new_val_w=`echo x $ac_new_val`
1771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1774 ac_cache_corrupted=:
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1778 eval $ac_var=\$ac_old_val
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1786 # Pass precious variables to config.status.
1787 if test "$ac_new_set" = set; then
1789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1790 *) ac_arg=$ac_var=$ac_new_val ;;
1792 case " $ac_configure_args " in
1793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1798 if $ac_cache_corrupted; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1805 ## -------------------- ##
1806 ## Main body of script. ##
1807 ## -------------------- ##
1810 ac_cpp='$CPP $CPPFLAGS'
1811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1816 am__api_version='1.15'
1819 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1820 if test -f "$ac_dir/install-sh"; then
1822 ac_install_sh="$ac_aux_dir/install-sh -c"
1824 elif test -f "$ac_dir/install.sh"; then
1826 ac_install_sh="$ac_aux_dir/install.sh -c"
1828 elif test -f "$ac_dir/shtool"; then
1830 ac_install_sh="$ac_aux_dir/shtool install -c"
1834 if test -z "$ac_aux_dir"; then
1835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Find a good install program. We prefer a C program (faster),
1848 # so one script is as good as another. But avoid the broken or
1849 # incompatible versions:
1850 # SysV /etc/install, /usr/sbin/install
1851 # SunOS /usr/etc/install
1852 # IRIX /sbin/install
1854 # AmigaOS /C/install, which installs bootblocks on floppy discs
1855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1858 # OS/2's system install, which has a completely different semantic
1859 # ./install, which can be erroneously created by make from ./install.sh.
1860 # Reject install programs that cannot install multiple files.
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1862 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1863 if test -z "$INSTALL"; then
1864 if ${ac_cv_path_install+:} false; then :
1865 $as_echo_n "(cached) " >&6
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir=.
1872 # Account for people who put trailing slashes in PATH elements.
1873 case $as_dir/ in #((
1874 ./ | .// | /[cC]/* | \
1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1876 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1879 # OSF1 and SCO ODT 3.0 have their own names for install.
1880 # Don't use installbsd from OSF since it installs stuff as root
1882 for ac_prog in ginstall scoinst install; do
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1885 if test $ac_prog = install &&
1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1887 # AIX install. It has an incompatible calling convention.
1889 elif test $ac_prog = install &&
1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # program-specific install script used by HP pwplus--don't use.
1894 rm -rf conftest.one conftest.two conftest.dir
1895 echo one > conftest.one
1896 echo two > conftest.two
1898 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1899 test -s conftest.one && test -s conftest.two &&
1900 test -s conftest.dir/conftest.one &&
1901 test -s conftest.dir/conftest.two
1903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1916 rm -rf conftest.one conftest.two conftest.dir
1919 if test "${ac_cv_path_install+set}" = set; then
1920 INSTALL=$ac_cv_path_install
1922 # As a last resort, use the slow shell script. Don't cache a
1923 # value for INSTALL within a source directory, because that will
1924 # break other packages using the cache if that directory is
1925 # removed, or if the value is a relative name.
1926 INSTALL=$ac_install_sh
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1930 $as_echo "$INSTALL" >&6; }
1932 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1933 # It thinks the first close brace ends the variable substitution.
1934 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1936 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1938 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1941 $as_echo_n "checking whether build environment is sane... " >&6; }
1942 # Reject unsafe characters in $srcdir or the absolute working directory
1943 # name. Accept space and tab only in the latter.
1947 *[\\\"\#\$\&\'\`$am_lf]*)
1948 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1951 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1952 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1955 # Do 'set' in a subshell so we don't clobber the current shell's
1956 # arguments. Must try -L first in case configure is actually a
1957 # symlink; some systems play weird games with the mod time of symlinks
1958 # (eg FreeBSD returns the mod time of the symlink's containing
1962 for am_try in 1 2; do
1963 echo "timestamp, slept: $am_has_slept" > conftest.file
1964 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1965 if test "$*" = "X"; then
1967 set X `ls -t "$srcdir/configure" conftest.file`
1969 if test "$*" != "X $srcdir/configure conftest.file" \
1970 && test "$*" != "X conftest.file $srcdir/configure"; then
1972 # If neither matched, then we have a broken ls. This can happen
1973 # if, for instance, CONFIG_SHELL is bash and it inherits a
1974 # broken ls alias from the environment. This has actually
1975 # happened. Such a system could not be considered "sane".
1976 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1977 alias in your environment" "$LINENO" 5
1979 if test "$2" = conftest.file || test $am_try -eq 2; then
1986 test "$2" = conftest.file
1992 as_fn_error $? "newly created file is older than distributed files!
1993 Check your system clock" "$LINENO" 5
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1996 $as_echo "yes" >&6; }
1997 # If we didn't sleep, we still need to ensure time stamps of config.status and
1998 # generated files are strictly newer.
2000 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2007 test "$program_prefix" != NONE &&
2008 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2009 # Use a double $ so make ignores it.
2010 test "$program_suffix" != NONE &&
2011 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2012 # Double any \ or $.
2013 # By default was `s,x,x', remove it if useless.
2014 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2015 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2017 # Expand $ac_aux_dir to an absolute path.
2018 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2020 if test x"${MISSING+set}" != xset; then
2023 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2025 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2028 # Use eval to expand $SHELL
2029 if eval "$MISSING --is-lightweight"; then
2030 am_missing_run="$MISSING "
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2034 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2037 if test x"${install_sh+set}" != xset; then
2040 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2042 install_sh="\${SHELL} $am_aux_dir/install-sh"
2046 # Installed binaries are usually stripped using 'strip' when the user
2047 # run "make install-strip". However 'strip' might not be the right
2048 # tool to use in cross-compilation environments, therefore Automake
2049 # will honor the 'STRIP' environment variable to overrule this program.
2050 if test "$cross_compiling" != no; then
2051 if test -n "$ac_tool_prefix"; then
2052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2053 set dummy ${ac_tool_prefix}strip; ac_word=$2
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if ${ac_cv_prog_STRIP+:} false; then :
2057 $as_echo_n "(cached) " >&6
2059 if test -n "$STRIP"; then
2060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2082 $as_echo "$STRIP" >&6; }
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2085 $as_echo "no" >&6; }
2090 if test -z "$ac_cv_prog_STRIP"; then
2092 # Extract the first word of "strip", so it can be a program name with args.
2093 set dummy strip; ac_word=$2
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2095 $as_echo_n "checking for $ac_word... " >&6; }
2096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2097 $as_echo_n "(cached) " >&6
2099 if test -n "$ac_ct_STRIP"; then
2100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_STRIP="strip"
2110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2120 if test -n "$ac_ct_STRIP"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2122 $as_echo "$ac_ct_STRIP" >&6; }
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2125 $as_echo "no" >&6; }
2128 if test "x$ac_ct_STRIP" = x; then
2131 case $cross_compiling:$ac_tool_warned in
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2135 ac_tool_warned=yes ;;
2140 STRIP="$ac_cv_prog_STRIP"
2144 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2147 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2148 if test -z "$MKDIR_P"; then
2149 if ${ac_cv_path_mkdir+:} false; then :
2150 $as_echo_n "(cached) " >&6
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2156 test -z "$as_dir" && as_dir=.
2157 for ac_prog in mkdir gmkdir; do
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2160 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2161 'mkdir (GNU coreutils) '* | \
2162 'mkdir (coreutils) '* | \
2163 'mkdir (fileutils) '4.1*)
2164 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2174 test -d ./--version && rmdir ./--version
2175 if test "${ac_cv_path_mkdir+set}" = set; then
2176 MKDIR_P="$ac_cv_path_mkdir -p"
2178 # As a last resort, use the slow shell script. Don't cache a
2179 # value for MKDIR_P within a source directory, because that will
2180 # break other packages using the cache if that directory is
2181 # removed, or if the value is a relative name.
2182 MKDIR_P="$ac_install_sh -d"
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2186 $as_echo "$MKDIR_P" >&6; }
2188 for ac_prog in gawk mawk nawk awk
2190 # Extract the first word of "$ac_prog", so it can be a program name with args.
2191 set dummy $ac_prog; ac_word=$2
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2193 $as_echo_n "checking for $ac_word... " >&6; }
2194 if ${ac_cv_prog_AWK+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 if test -n "$AWK"; then
2198 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_AWK="$ac_prog"
2208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 if test -n "$AWK"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2220 $as_echo "$AWK" >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2223 $as_echo "no" >&6; }
2227 test -n "$AWK" && break
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2231 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2233 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2234 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2235 $as_echo_n "(cached) " >&6
2237 cat >conftest.make <<\_ACEOF
2240 @echo '@@@%%%=$(MAKE)=@@@%%%'
2242 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2243 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2245 eval ac_cv_prog_make_${ac_make}_set=yes;;
2247 eval ac_cv_prog_make_${ac_make}_set=no;;
2251 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2253 $as_echo "yes" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2258 SET_MAKE="MAKE=${MAKE-make}"
2261 rm -rf .tst 2>/dev/null
2262 mkdir .tst 2>/dev/null
2263 if test -d .tst; then
2268 rmdir .tst 2>/dev/null
2270 # Check whether --enable-silent-rules was given.
2271 if test "${enable_silent_rules+set}" = set; then :
2272 enableval=$enable_silent_rules;
2275 case $enable_silent_rules in # (((
2276 yes) AM_DEFAULT_VERBOSITY=0;;
2277 no) AM_DEFAULT_VERBOSITY=1;;
2278 *) AM_DEFAULT_VERBOSITY=1;;
2280 am_make=${MAKE-make}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2282 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2283 if ${am_cv_make_support_nested_variables+:} false; then :
2284 $as_echo_n "(cached) " >&6
2286 if $as_echo 'TRUE=$(BAR$(V))
2292 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2293 am_cv_make_support_nested_variables=yes
2295 am_cv_make_support_nested_variables=no
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2299 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2300 if test $am_cv_make_support_nested_variables = yes; then
2302 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2304 AM_V=$AM_DEFAULT_VERBOSITY
2305 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2309 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2310 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2311 # is not polluted with repeated "-I."
2312 am__isrc=' -I$(srcdir)'
2313 # test to see if srcdir already configured
2314 if test -f $srcdir/config.status; then
2315 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2319 # test whether we have cygpath
2320 if test -z "$CYGPATH_W"; then
2321 if (cygpath --version) >/dev/null 2>/dev/null; then
2322 CYGPATH_W='cygpath -w'
2329 # Define the identity of the package.
2330 PACKAGE='fuse-exfat'
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE "$PACKAGE"
2339 cat >>confdefs.h <<_ACEOF
2340 #define VERSION "$VERSION"
2343 # Some tools Automake needs.
2345 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2348 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2351 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2354 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2357 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2359 # For better backward compatibility. To be removed once Automake 1.9.x
2360 # dies out for good. For more background, see:
2361 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2362 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2363 mkdir_p='$(MKDIR_P)'
2365 # We need awk for the "check" target (and possibly the TAP driver). The
2366 # system "awk" is bad on some platforms.
2367 # Always define AMTAR for backward compatibility. Yes, it's still used
2368 # in the wild :-( We should find a proper way to deprecate it ...
2372 # We'll loop over all known methods to create a tar archive until one works.
2373 _am_tools='gnutar pax cpio none'
2375 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2382 # POSIX will say in a future version that running "rm -f" with no argument
2383 # is OK; and we want to be able to make that assumption in our Makefile
2384 # recipes. So use an aggressive probe to check that the usage we want is
2385 # actually supported "in the wild" to an acceptable degree.
2386 # See automake bug#10828.
2387 # To make any issue more visible, cause the running configure to be aborted
2388 # by default if the 'rm' program in use doesn't match our expectations; the
2389 # user can still override this though.
2390 if rm -f && rm -fr && rm -rf; then : OK; else
2394 Your 'rm' program seems unable to run without file operands specified
2395 on the command line, even when the '-f' option is present. This is contrary
2396 to the behaviour of most rm programs out there, and not conforming with
2397 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2399 Please tell bug-automake@gnu.org about your system, including the value
2400 of your $PATH and any error possibly output before this message. This
2401 can help us improve future automake versions.
2404 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2405 echo 'Configuration will proceed anyway, since you have set the' >&2
2406 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2410 Aborting the configuration process, to ensure you take notice of the issue.
2412 You can download and install GNU coreutils to get an 'rm' implementation
2413 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2415 If you want to complete the configuration process using your problematic
2416 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2417 to "yes", and re-run configure.
2420 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2425 ac_cpp='$CPP $CPPFLAGS'
2426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if ${ac_cv_prog_CC+:} false; then :
2435 $as_echo_n "(cached) " >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC="$CC" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2460 $as_echo "$CC" >&6; }
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463 $as_echo "no" >&6; }
2468 if test -z "$ac_cv_prog_CC"; then
2470 # Extract the first word of "gcc", so it can be a program name with args.
2471 set dummy gcc; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$ac_ct_CC"; then
2478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_ac_ct_CC="gcc"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2498 if test -n "$ac_ct_CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2500 $as_echo "$ac_ct_CC" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2506 if test "x$ac_ct_CC" = x; then
2509 case $cross_compiling:$ac_tool_warned in
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2513 ac_tool_warned=yes ;;
2521 if test -z "$CC"; then
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}cc; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_CC+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC="$CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_CC="${ac_tool_prefix}cc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2562 if test -z "$CC"; then
2563 # Extract the first word of "cc", so it can be a program name with args.
2564 set dummy cc; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_CC+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$CC"; then
2571 ac_cv_prog_CC="$CC" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2582 ac_prog_rejected=yes
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test $ac_prog_rejected = yes; then
2594 # We found a bogon in the path, so make sure we never use it.
2595 set dummy $ac_cv_prog_CC
2597 if test $# != 0; then
2598 # We chose a different compiler from the bogus one.
2599 # However, it has the same basename, so the bogon will be chosen
2600 # first if we set CC to just the basename; use the full file name.
2602 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2608 if test -n "$CC"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2610 $as_echo "$CC" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 for ac_prog in cl.exe
2622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if ${ac_cv_prog_CC+:} false; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2652 $as_echo "$CC" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2659 test -n "$CC" && break
2662 if test -z "$CC"; then
2664 for ac_prog in cl.exe
2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2667 set dummy $ac_prog; ac_word=$2
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2671 $as_echo_n "(cached) " >&6
2673 if test -n "$ac_ct_CC"; then
2674 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 ac_cv_prog_ac_ct_CC="$ac_prog"
2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2694 if test -n "$ac_ct_CC"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2696 $as_echo "$ac_ct_CC" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2703 test -n "$ac_ct_CC" && break
2706 if test "x$ac_ct_CC" = x; then
2709 case $cross_compiling:$ac_tool_warned in
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2713 ac_tool_warned=yes ;;
2722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2724 as_fn_error $? "no acceptable C compiler found in \$PATH
2725 See \`config.log' for more details" "$LINENO" 5; }
2727 # Provide some information about the compiler.
2728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2731 for ac_option in --version -v -V -qversion; do
2732 { { ac_try="$ac_compiler $ac_option >&5"
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 $as_echo "$ac_try_echo"; } >&5
2739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2741 if test -s conftest.err; then
2743 ... rest of stderr output deleted ...
2744 10q' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2747 rm -f conftest.er1 conftest.err
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2763 ac_clean_files_save=$ac_clean_files
2764 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2765 # Try to create an executable without -o first, disregard a.out.
2766 # It will help us diagnose broken compilers, and finding out an intuition
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2769 $as_echo_n "checking whether the C compiler works... " >&6; }
2770 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2772 # The possible output files:
2773 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2776 for ac_file in $ac_files
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2780 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2785 if { { ac_try="$ac_link_default"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_link_default") 2>&5
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; then :
2796 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2797 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2798 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2799 # so that the user can short-circuit this test for compilers unknown to
2801 for ac_file in $ac_files ''
2803 test -f "$ac_file" || continue
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2808 # We found the default executable, but exeext='' is most
2812 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816 # We set ac_cv_exeext here because the later test for it is not
2817 # safe: cross compilers may not add the suffix if given an `-o'
2818 # argument, so we may need to know it at that point already.
2819 # Even if this section looks crufty: it has the advantage of
2826 test "$ac_cv_exeext" = no && ac_cv_exeext=
2831 if test -z "$ac_file"; then :
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2834 $as_echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2839 as_fn_error 77 "C compiler cannot create executables
2840 See \`config.log' for more details" "$LINENO" 5; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2843 $as_echo "yes" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2846 $as_echo_n "checking for C compiler default output file name... " >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2848 $as_echo "$ac_file" >&6; }
2849 ac_exeext=$ac_cv_exeext
2851 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2852 ac_clean_files=$ac_clean_files_save
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2854 $as_echo_n "checking for suffix of executables... " >&6; }
2855 if { { ac_try="$ac_link"
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2861 $as_echo "$ac_try_echo"; } >&5
2862 (eval "$ac_link") 2>&5
2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2865 test $ac_status = 0; }; then :
2866 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2867 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2868 # work properly (i.e., refer to `conftest.exe'), while it won't with
2870 for ac_file in conftest.exe conftest conftest.*; do
2871 test -f "$ac_file" || continue
2873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2874 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2883 See \`config.log' for more details" "$LINENO" 5; }
2885 rm -f conftest conftest$ac_cv_exeext
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2887 $as_echo "$ac_cv_exeext" >&6; }
2889 rm -f conftest.$ac_ext
2890 EXEEXT=$ac_cv_exeext
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2898 FILE *f = fopen ("conftest.out", "w");
2899 return ferror (f) || fclose (f) != 0;
2905 ac_clean_files="$ac_clean_files conftest.out"
2906 # Check that the compiler produces executables we can run. If not, either
2907 # the compiler is broken, or we cross compile.
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2909 $as_echo_n "checking whether we are cross compiling... " >&6; }
2910 if test "$cross_compiling" != yes; then
2911 { { ac_try="$ac_link"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_link") 2>&5
2920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2921 test $ac_status = 0; }
2922 if { ac_try='./conftest$ac_cv_exeext'
2923 { { case "(($ac_try" in
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2928 $as_echo "$ac_try_echo"; } >&5
2929 (eval "$ac_try") 2>&5
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; }; }; then
2935 if test "$cross_compiling" = maybe; then
2938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error $? "cannot run C compiled programs.
2941 If you meant to cross compile, use \`--host'.
2942 See \`config.log' for more details" "$LINENO" 5; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2947 $as_echo "$cross_compiling" >&6; }
2949 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2950 ac_clean_files=$ac_clean_files_save
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2952 $as_echo_n "checking for suffix of object files... " >&6; }
2953 if ${ac_cv_objext+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2967 rm -f conftest.o conftest.obj
2968 if { { ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_compile") 2>&5
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; then :
2979 for ac_file in conftest.o conftest.obj conftest.*; do
2980 test -f "$ac_file" || continue;
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2983 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "cannot compute suffix of object files: cannot compile
2994 See \`config.log' for more details" "$LINENO" 5; }
2996 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2999 $as_echo "$ac_cv_objext" >&6; }
3000 OBJEXT=$ac_cv_objext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3003 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3004 if ${ac_cv_c_compiler_gnu+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3021 if ac_fn_c_try_compile "$LINENO"; then :
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3031 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3032 if test $ac_compiler_gnu = yes; then
3037 ac_test_CFLAGS=${CFLAGS+set}
3038 ac_save_CFLAGS=$CFLAGS
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3040 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3041 if ${ac_cv_prog_cc_g+:} false; then :
3042 $as_echo_n "(cached) " >&6
3044 ac_save_c_werror_flag=$ac_c_werror_flag
3045 ac_c_werror_flag=yes
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 if ac_fn_c_try_compile "$LINENO"; then :
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"; then :
3077 ac_c_werror_flag=$ac_save_c_werror_flag
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3090 if ac_fn_c_try_compile "$LINENO"; then :
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 ac_c_werror_flag=$ac_save_c_werror_flag
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3101 $as_echo "$ac_cv_prog_cc_g" >&6; }
3102 if test "$ac_test_CFLAGS" = set; then
3103 CFLAGS=$ac_save_CFLAGS
3104 elif test $ac_cv_prog_cc_g = yes; then
3105 if test "$GCC" = yes; then
3111 if test "$GCC" = yes; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3118 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3119 if ${ac_cv_prog_cc_c89+:} false; then :
3120 $as_echo_n "(cached) " >&6
3122 ac_cv_prog_cc_c89=no
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3130 struct buf { int x; };
3131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3132 static char *e (p, i)
3138 static char *f (char * (*g) (char **, int), char **p, ...)
3143 s = g (p, va_arg (v,int));
3148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3149 function prototypes and stuff, but not '\xHH' hex character constants.
3150 These don't provoke an error unfortunately, instead are silently treated
3151 as 'x'. The following induces an error, until -std is added to get
3152 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3153 array size at least. It's necessary to write '\x00'==0 to get something
3154 that's true only with -std. */
3155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3158 inside strings and character constants. */
3160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3162 int test (int i, double x);
3163 struct s1 {int (*f) (int a);};
3164 struct s2 {int (*f) (double a);};
3165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3177 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3179 CC="$ac_save_CC $ac_arg"
3180 if ac_fn_c_try_compile "$LINENO"; then :
3181 ac_cv_prog_cc_c89=$ac_arg
3183 rm -f core conftest.err conftest.$ac_objext
3184 test "x$ac_cv_prog_cc_c89" != "xno" && break
3186 rm -f conftest.$ac_ext
3191 case "x$ac_cv_prog_cc_c89" in
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3194 $as_echo "none needed" >&6; } ;;
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3197 $as_echo "unsupported" >&6; } ;;
3199 CC="$CC $ac_cv_prog_cc_c89"
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3203 if test "x$ac_cv_prog_cc_c89" != xno; then :
3208 ac_cpp='$CPP $CPPFLAGS'
3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3214 ac_cpp='$CPP $CPPFLAGS'
3215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3219 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3220 if ${am_cv_prog_cc_c_o+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 # Make sure it works both with $CC and with simple cc.
3235 # Following AC_PROG_CC_C_O, we do the test twice because some
3236 # compilers refuse to overwrite an existing .o file with -o,
3237 # though they will create one.
3238 am_cv_prog_cc_c_o=yes
3240 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3241 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } \
3245 && test -f conftest2.$ac_objext; then
3248 am_cv_prog_cc_c_o=no
3252 rm -f core conftest*
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3256 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3257 if test "$am_cv_prog_cc_c_o" != yes; then
3258 # Losing compiler, so override with the script.
3259 # FIXME: It is wrong to rewrite CC.
3260 # But if we don't then we get into trouble of one sort or another.
3261 # A longer-term fix would be to have automake use am__CC in this case,
3262 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3263 CC="$am_aux_dir/compile $CC"
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 DEPDIR="${am__leading_dot}deps"
3273 ac_config_commands="$ac_config_commands depfiles"
3276 am_make=${MAKE-make}
3277 cat > confinc << 'END'
3279 @echo this is the am__doit target
3282 # If we don't find an include directive, just comment out the code.
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3284 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3288 # First try GNU make style include.
3289 echo "include confinc" > confmf
3290 # Ignore all kinds of additional output from 'make'.
3291 case `$am_make -s -f confmf 2> /dev/null` in #(
3292 *the\ am__doit\ target*)
3298 # Now try BSD make style include.
3299 if test "$am__include" = "#"; then
3300 echo '.include "confinc"' > confmf
3301 case `$am_make -s -f confmf 2> /dev/null` in #(
3302 *the\ am__doit\ target*)
3303 am__include=.include
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3312 $as_echo "$_am_result" >&6; }
3313 rm -f confinc confmf
3315 # Check whether --enable-dependency-tracking was given.
3316 if test "${enable_dependency_tracking+set}" = set; then :
3317 enableval=$enable_dependency_tracking;
3320 if test "x$enable_dependency_tracking" != xno; then
3321 am_depcomp="$ac_aux_dir/depcomp"
3325 if test "x$enable_dependency_tracking" != xno; then
3335 depcc="$CC" am_compiler_list=
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3338 $as_echo_n "checking dependency style of $depcc... " >&6; }
3339 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3343 # We make a subdir and do the tests there. Otherwise we can end up
3344 # making bogus files that we don't know about and never remove. For
3345 # instance it was reported that on HP-UX the gcc test will end up
3346 # making a dummy file named 'D' -- because '-MD' means "put the output
3350 # Copy depcomp to subdir because otherwise we won't find it if we're
3351 # using a relative directory.
3352 cp "$am_depcomp" conftest.dir
3354 # We will build objects and dependencies in a subdirectory because
3355 # it helps to detect inapplicable dependency modes. For instance
3356 # both Tru64's cc and ICC support -MD to output dependencies as a
3357 # side effect of compilation, but ICC will put the dependencies in
3358 # the current directory while Tru64 will put them in the object
3362 am_cv_CC_dependencies_compiler_type=none
3363 if test "$am_compiler_list" = ""; then
3364 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3367 case " $depcc " in #(
3368 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3371 for depmode in $am_compiler_list; do
3372 # Setup a source with many dependencies, because some compilers
3373 # like to wrap large dependency lists on column 80 (with \), and
3374 # we should not choose a depcomp mode which is confused by this.
3376 # We need to recreate these files for each test, as the compiler may
3377 # overwrite some of them when testing with obscure command lines.
3378 # This happens at least with the AIX C compiler.
3380 for i in 1 2 3 4 5 6; do
3381 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3382 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3383 # Solaris 10 /bin/sh.
3384 echo '/* dummy */' > sub/conftst$i.h
3386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3388 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3389 # mode. It turns out that the SunPro C++ compiler does not properly
3390 # handle '-M -o', and we need to detect this. Also, some Intel
3391 # versions had trouble with output in subdirs.
3392 am__obj=sub/conftest.${OBJEXT-o}
3393 am__minus_obj="-o $am__obj"
3396 # This depmode causes a compiler race in universal mode.
3397 test "$am__universal" = false || continue
3400 # After this tag, mechanisms are not by side-effect, so they'll
3401 # only be used when explicitly requested.
3402 if test "x$enable_dependency_tracking" = xyes; then
3408 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3409 # This compiler won't grok '-c -o', but also, the minuso test has
3410 # not run yet. These depmodes are late enough in the game, and
3411 # so weak that their functioning should not be impacted.
3412 am__obj=conftest.${OBJEXT-o}
3417 if depmode=$depmode \
3418 source=sub/conftest.c object=$am__obj \
3419 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3420 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3421 >/dev/null 2>conftest.err &&
3422 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3423 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3424 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3425 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3426 # icc doesn't choke on unknown options, it will just issue warnings
3427 # or remarks (even with -Werror). So we grep stderr for any message
3428 # that says an option was ignored or not supported.
3429 # When given -MP, icc 7.0 and 7.1 complain thusly:
3430 # icc: Command line warning: ignoring option '-M'; no argument required
3431 # The diagnosis changed in icc 8.0:
3432 # icc: Command line remark: option '-MP' not supported
3433 if (grep 'ignoring option' conftest.err ||
3434 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3435 am_cv_CC_dependencies_compiler_type=$depmode
3444 am_cv_CC_dependencies_compiler_type=none
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3449 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3450 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3453 test "x$enable_dependency_tracking" != xno \
3454 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3456 am__fastdepCC_FALSE='#'
3458 am__fastdepCC_TRUE='#'
3459 am__fastdepCC_FALSE=
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3464 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3465 if ${ac_cv_prog_cc_c99+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_cv_prog_cc_c99=no
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3473 #include <stdbool.h>
3478 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3479 #define debug(...) fprintf (stderr, __VA_ARGS__)
3480 #define showlist(...) puts (#__VA_ARGS__)
3481 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3483 test_varargs_macros (void)
3488 debug ("X = %d\n", x);
3489 showlist (The first, second, and third items.);
3490 report (x>y, "x is %d but y is %d", x, y);
3493 // Check long long types.
3494 #define BIG64 18446744073709551615ull
3495 #define BIG32 4294967295ul
3496 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3498 your preprocessor is broken;
3502 your preprocessor is broken;
3504 static long long int bignum = -9223372036854775807LL;
3505 static unsigned long long int ubignum = BIG64;
3507 struct incomplete_array
3515 const wchar_t *name;
3519 typedef const char *ccp;
3522 test_restrict (ccp restrict text)
3524 // See if C++-style comments work.
3525 // Iterate through items via the restricted pointer.
3526 // Also check for declarations in for loops.
3527 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3532 // Check varargs and va_copy.
3534 test_varargs (const char *format, ...)
3537 va_start (args, format);
3539 va_copy (args_copy, args);
3550 str = va_arg (args_copy, const char *);
3553 number = va_arg (args_copy, int);
3556 fnumber = va_arg (args_copy, double);
3571 _Bool success = false;
3574 if (test_restrict ("String literal") == 0)
3576 char *restrict newvar = "Another string";
3579 test_varargs ("s, d' f .", "string", 65, 34.234);
3580 test_varargs_macros ();
3582 // Check flexible array members.
3583 struct incomplete_array *ia =
3584 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3586 for (int i = 0; i < ia->datasize; ++i)
3587 ia->data[i] = i * 1.234;
3589 // Check named initializers.
3590 struct named_init ni = {
3592 .name = L"Test wide string",
3593 .average = 543.34343,
3598 int dynamic_array[ni.number];
3599 dynamic_array[ni.number - 1] = 543;
3601 // work around unused variable warnings
3602 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3603 || dynamic_array[ni.number - 1] != 543);
3609 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3611 CC="$ac_save_CC $ac_arg"
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613 ac_cv_prog_cc_c99=$ac_arg
3615 rm -f core conftest.err conftest.$ac_objext
3616 test "x$ac_cv_prog_cc_c99" != "xno" && break
3618 rm -f conftest.$ac_ext
3623 case "x$ac_cv_prog_cc_c99" in
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3626 $as_echo "none needed" >&6; } ;;
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3629 $as_echo "unsupported" >&6; } ;;
3631 CC="$CC $ac_cv_prog_cc_c99"
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3633 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3635 if test "x$ac_cv_prog_cc_c99" != xno; then :
3640 if test -n "$ac_tool_prefix"; then
3641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_RANLIB+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$RANLIB"; then
3649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 RANLIB=$ac_cv_prog_RANLIB
3669 if test -n "$RANLIB"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3671 $as_echo "$RANLIB" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3679 if test -z "$ac_cv_prog_RANLIB"; then
3680 ac_ct_RANLIB=$RANLIB
3681 # Extract the first word of "ranlib", so it can be a program name with args.
3682 set dummy ranlib; ac_word=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3686 $as_echo_n "(cached) " >&6
3688 if test -n "$ac_ct_RANLIB"; then
3689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 test -z "$as_dir" && as_dir=.
3696 for ac_exec_ext in '' $ac_executable_extensions; do
3697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3698 ac_cv_prog_ac_ct_RANLIB="ranlib"
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3709 if test -n "$ac_ct_RANLIB"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3711 $as_echo "$ac_ct_RANLIB" >&6; }
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714 $as_echo "no" >&6; }
3717 if test "x$ac_ct_RANLIB" = x; then
3720 case $cross_compiling:$ac_tool_warned in
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3724 ac_tool_warned=yes ;;
3726 RANLIB=$ac_ct_RANLIB
3729 RANLIB="$ac_cv_prog_RANLIB"
3733 if test -n "$ac_tool_prefix"; then
3734 for ac_prog in ar lib "link -lib"
3736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_AR+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$AR"; then
3744 ac_cv_prog_AR="$AR" # Let the user override the test.
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test -n "$AR"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3766 $as_echo "$AR" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3773 test -n "$AR" && break
3776 if test -z "$AR"; then
3778 for ac_prog in ar lib "link -lib"
3780 # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy $ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$ac_ct_AR"; then
3788 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3797 ac_cv_prog_ac_ct_AR="$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3808 if test -n "$ac_ct_AR"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3810 $as_echo "$ac_ct_AR" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$ac_ct_AR" && break
3820 if test "x$ac_ct_AR" = x; then
3823 case $cross_compiling:$ac_tool_warned in
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3836 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3837 if ${am_cv_ar_interface+:} false; then :
3838 $as_echo_n "(cached) " >&6
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3846 am_cv_ar_interface=ar
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3849 int some_variable = 0;
3851 if ac_fn_c_try_compile "$LINENO"; then :
3852 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3853 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3854 (eval $am_ar_try) 2>&5
3856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857 test $ac_status = 0; }
3858 if test "$ac_status" -eq 0; then
3859 am_cv_ar_interface=ar
3861 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3862 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3863 (eval $am_ar_try) 2>&5
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }
3867 if test "$ac_status" -eq 0; then
3868 am_cv_ar_interface=lib
3870 am_cv_ar_interface=unknown
3873 rm -f conftest.lib libconftest.a
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3885 $as_echo "$am_cv_ar_interface" >&6; }
3887 case $am_cv_ar_interface in
3891 # Microsoft lib, so override with the ar-lib wrapper script.
3892 # FIXME: It is wrong to rewrite AR.
3893 # But if we don't then we get into trouble of one sort or another.
3894 # A longer-term fix would be to have automake use am__AR in this case,
3895 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3897 AR="$am_aux_dir/ar-lib $AR"
3900 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3904 # Check whether --enable-largefile was given.
3905 if test "${enable_largefile+set}" = set; then :
3906 enableval=$enable_largefile;
3909 if test "$enable_largefile" != no; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3912 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3913 if ${ac_cv_sys_largefile_CC+:} false; then :
3914 $as_echo_n "(cached) " >&6
3916 ac_cv_sys_largefile_CC=no
3917 if test "$GCC" != yes; then
3920 # IRIX 6.2 and later do not support large files by default,
3921 # so use the C compiler's -n32 option if that helps.
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3924 #include <sys/types.h>
3925 /* Check that off_t can represent 2**63 - 1 correctly.
3926 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3927 since some C++ compilers masquerading as C compilers
3928 incorrectly reject 9223372036854775807. */
3929 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3930 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3931 && LARGE_OFF_T % 2147483647 == 1)
3941 if ac_fn_c_try_compile "$LINENO"; then :
3944 rm -f core conftest.err conftest.$ac_objext
3946 if ac_fn_c_try_compile "$LINENO"; then :
3947 ac_cv_sys_largefile_CC=' -n32'; break
3949 rm -f core conftest.err conftest.$ac_objext
3953 rm -f conftest.$ac_ext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3957 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3958 if test "$ac_cv_sys_largefile_CC" != no; then
3959 CC=$CC$ac_cv_sys_largefile_CC
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3963 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3964 if ${ac_cv_sys_file_offset_bits+:} false; then :
3965 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3970 #include <sys/types.h>
3971 /* Check that off_t can represent 2**63 - 1 correctly.
3972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3973 since some C++ compilers masquerading as C compilers
3974 incorrectly reject 9223372036854775807. */
3975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3977 && LARGE_OFF_T % 2147483647 == 1)
3987 if ac_fn_c_try_compile "$LINENO"; then :
3988 ac_cv_sys_file_offset_bits=no; break
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3993 #define _FILE_OFFSET_BITS 64
3994 #include <sys/types.h>
3995 /* Check that off_t can represent 2**63 - 1 correctly.
3996 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3997 since some C++ compilers masquerading as C compilers
3998 incorrectly reject 9223372036854775807. */
3999 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4000 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4001 && LARGE_OFF_T % 2147483647 == 1)
4011 if ac_fn_c_try_compile "$LINENO"; then :
4012 ac_cv_sys_file_offset_bits=64; break
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 ac_cv_sys_file_offset_bits=unknown
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4020 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4021 case $ac_cv_sys_file_offset_bits in #(
4024 cat >>confdefs.h <<_ACEOF
4025 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4030 if test $ac_cv_sys_file_offset_bits = unknown; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4032 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4033 if ${ac_cv_sys_large_files+:} false; then :
4034 $as_echo_n "(cached) " >&6
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039 #include <sys/types.h>
4040 /* Check that off_t can represent 2**63 - 1 correctly.
4041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4042 since some C++ compilers masquerading as C compilers
4043 incorrectly reject 9223372036854775807. */
4044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4046 && LARGE_OFF_T % 2147483647 == 1)
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 ac_cv_sys_large_files=no; break
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4062 #define _LARGE_FILES 1
4063 #include <sys/types.h>
4064 /* Check that off_t can represent 2**63 - 1 correctly.
4065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4066 since some C++ compilers masquerading as C compilers
4067 incorrectly reject 9223372036854775807. */
4068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4070 && LARGE_OFF_T % 2147483647 == 1)
4080 if ac_fn_c_try_compile "$LINENO"; then :
4081 ac_cv_sys_large_files=1; break
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_sys_large_files=unknown
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4089 $as_echo "$ac_cv_sys_large_files" >&6; }
4090 case $ac_cv_sys_large_files in #(
4093 cat >>confdefs.h <<_ACEOF
4094 #define _LARGE_FILES $ac_cv_sys_large_files
4111 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4112 if test -n "$ac_tool_prefix"; then
4113 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4114 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4118 $as_echo_n "(cached) " >&6
4122 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir=.
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4144 if test -n "$PKG_CONFIG"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4146 $as_echo "$PKG_CONFIG" >&6; }
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4154 if test -z "$ac_cv_path_PKG_CONFIG"; then
4155 ac_pt_PKG_CONFIG=$PKG_CONFIG
4156 # Extract the first word of "pkg-config", so it can be a program name with args.
4157 set dummy pkg-config; ac_word=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 case $ac_pt_PKG_CONFIG in
4165 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4175 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4187 if test -n "$ac_pt_PKG_CONFIG"; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4189 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192 $as_echo "no" >&6; }
4195 if test "x$ac_pt_PKG_CONFIG" = x; then
4198 case $cross_compiling:$ac_tool_warned in
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4204 PKG_CONFIG=$ac_pt_PKG_CONFIG
4207 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4211 if test -n "$PKG_CONFIG"; then
4212 _pkg_min_version=0.9.0
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4214 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4215 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217 $as_echo "yes" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UBLIO" >&5
4227 $as_echo_n "checking for UBLIO... " >&6; }
4229 if test -n "$UBLIO_CFLAGS"; then
4230 pkg_cv_UBLIO_CFLAGS="$UBLIO_CFLAGS"
4231 elif test -n "$PKG_CONFIG"; then
4232 if test -n "$PKG_CONFIG" && \
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4234 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4237 test $ac_status = 0; }; then
4238 pkg_cv_UBLIO_CFLAGS=`$PKG_CONFIG --cflags "libublio" 2>/dev/null`
4239 test "x$?" != "x0" && pkg_failed=yes
4246 if test -n "$UBLIO_LIBS"; then
4247 pkg_cv_UBLIO_LIBS="$UBLIO_LIBS"
4248 elif test -n "$PKG_CONFIG"; then
4249 if test -n "$PKG_CONFIG" && \
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4251 ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4254 test $ac_status = 0; }; then
4255 pkg_cv_UBLIO_LIBS=`$PKG_CONFIG --libs "libublio" 2>/dev/null`
4256 test "x$?" != "x0" && pkg_failed=yes
4266 if test $pkg_failed = yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4270 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4271 _pkg_short_errors_supported=yes
4273 _pkg_short_errors_supported=no
4275 if test $_pkg_short_errors_supported = yes; then
4276 UBLIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libublio" 2>&1`
4278 UBLIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libublio" 2>&1`
4280 # Put the nasty error message in config.log where it belongs
4281 echo "$UBLIO_PKG_ERRORS" >&5
4284 elif test $pkg_failed = untried; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4289 UBLIO_CFLAGS=$pkg_cv_UBLIO_CFLAGS
4290 UBLIO_LIBS=$pkg_cv_UBLIO_LIBS
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4292 $as_echo "yes" >&6; }
4294 CFLAGS="$CFLAGS $UBLIO_CFLAGS"
4295 LIBS="$LIBS $UBLIO_LIBS"
4297 $as_echo "#define USE_UBLIO 1" >>confdefs.h
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
4304 $as_echo_n "checking for FUSE... " >&6; }
4306 if test -n "$FUSE_CFLAGS"; then
4307 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
4308 elif test -n "$PKG_CONFIG"; then
4309 if test -n "$PKG_CONFIG" && \
4310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse\""; } >&5
4311 ($PKG_CONFIG --exists --print-errors "fuse") 2>&5
4313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314 test $ac_status = 0; }; then
4315 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse" 2>/dev/null`
4316 test "x$?" != "x0" && pkg_failed=yes
4323 if test -n "$FUSE_LIBS"; then
4324 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
4325 elif test -n "$PKG_CONFIG"; then
4326 if test -n "$PKG_CONFIG" && \
4327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse\""; } >&5
4328 ($PKG_CONFIG --exists --print-errors "fuse") 2>&5
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; then
4332 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse" 2>/dev/null`
4333 test "x$?" != "x0" && pkg_failed=yes
4343 if test $pkg_failed = yes; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4348 _pkg_short_errors_supported=yes
4350 _pkg_short_errors_supported=no
4352 if test $_pkg_short_errors_supported = yes; then
4353 FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse" 2>&1`
4355 FUSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse" 2>&1`
4357 # Put the nasty error message in config.log where it belongs
4358 echo "$FUSE_PKG_ERRORS" >&5
4360 as_fn_error $? "Package requirements (fuse) were not met:
4364 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4365 installed software in a non-standard prefix.
4367 Alternatively, you may set the environment variables FUSE_CFLAGS
4368 and FUSE_LIBS to avoid the need to call pkg-config.
4369 See the pkg-config man page for more details." "$LINENO" 5
4370 elif test $pkg_failed = untried; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4376 is in your PATH or set the PKG_CONFIG environment variable to the full
4379 Alternatively, you may set the environment variables FUSE_CFLAGS
4380 and FUSE_LIBS to avoid the need to call pkg-config.
4381 See the pkg-config man page for more details.
4383 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4384 See \`config.log' for more details" "$LINENO" 5; }
4386 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
4387 FUSE_LIBS=$pkg_cv_FUSE_LIBS
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4389 $as_echo "yes" >&6; }
4392 ac_config_headers="$ac_config_headers libexfat/config.h"
4394 ac_config_files="$ac_config_files libexfat/Makefile fuse/Makefile Makefile"
4396 cat >confcache <<\_ACEOF
4397 # This file is a shell script that caches the results of configure
4398 # tests run on this system so they can be shared between configure
4399 # scripts and configure runs, see configure's option --config-cache.
4400 # It is not useful on other systems. If it contains results you don't
4401 # want to keep, you may remove or edit it.
4403 # config.status only pays attention to the cache file if you give it
4404 # the --recheck option to rerun configure.
4406 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4407 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4412 # The following way of writing the cache mishandles newlines in values,
4413 # but we know of no workaround that is simple, portable, and efficient.
4414 # So, we kill variables containing newlines.
4415 # Ultrix sh set writes to stderr and can't be redirected directly,
4416 # and sets the high bit in the cache file unless we assign to the vars.
4418 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4419 eval ac_val=\$$ac_var
4423 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4424 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4427 _ | IFS | as_nl) ;; #(
4428 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4429 *) { eval $ac_var=; unset $ac_var;} ;;
4435 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4436 *${as_nl}ac_space=\ *)
4437 # `set' does not quote correctly, so add quotes: double-quote
4438 # substitution turns \\\\ into \\, and sed turns \\ into \.
4441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4444 # `set' quotes correctly as required by POSIX, so do not add quotes.
4445 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4454 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4456 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4458 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4459 if test -w "$cache_file"; then
4460 if test "x$cache_file" != "x/dev/null"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4462 $as_echo "$as_me: updating cache $cache_file" >&6;}
4463 if test ! -f "$cache_file" || test -h "$cache_file"; then
4464 cat confcache >"$cache_file"
4466 case $cache_file in #(
4468 mv -f confcache "$cache_file"$$ &&
4469 mv -f "$cache_file"$$ "$cache_file" ;; #(
4471 mv -f confcache "$cache_file" ;;
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4477 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4482 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4483 # Let make expand exec_prefix.
4484 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4486 DEFS=-DHAVE_CONFIG_H
4491 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4492 # 1. Remove the extension, and $U if already installed.
4493 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4494 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4495 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4496 # will be set to the directory where LIBOBJS objects are built.
4497 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4498 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4502 LTLIBOBJS=$ac_ltlibobjs
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4506 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4507 if test -n "$am_sleep_pid"; then
4508 # Hide warnings about reused PIDs.
4509 wait $am_sleep_pid 2>/dev/null
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4512 $as_echo "done" >&6; }
4513 if test -n "$EXEEXT"; then
4515 am__EXEEXT_FALSE='#'
4521 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4522 as_fn_error $? "conditional \"AMDEP\" was never defined.
4523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4525 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4526 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4530 : "${CONFIG_STATUS=./config.status}"
4532 ac_clean_files_save=$ac_clean_files
4533 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4535 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4537 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4539 # Generated by $as_me.
4540 # Run this file to recreate the current configuration.
4541 # Compiler output produced by configure, useful for debugging
4542 # configure, is in config.log if it exists.
4548 SHELL=\${CONFIG_SHELL-$SHELL}
4551 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4552 ## -------------------- ##
4553 ## M4sh Initialization. ##
4554 ## -------------------- ##
4556 # Be more Bourne compatible
4557 DUALCASE=1; export DUALCASE # for MKS sh
4558 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4561 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4562 # is contrary to our usage. Disable this feature.
4563 alias -g '${1+"$@"}'='"$@"'
4564 setopt NO_GLOB_SUBST
4566 case `(set -o) 2>/dev/null` in #(
4578 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4579 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4580 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4582 # Prefer a ksh shell builtin over an external printf program on Solaris,
4583 # but without wasting forks for bash or zsh.
4584 if test -z "$BASH_VERSION$ZSH_VERSION" \
4585 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4586 as_echo='print -r --'
4587 as_echo_n='print -rn --'
4588 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4589 as_echo='printf %s\n'
4590 as_echo_n='printf %s'
4592 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4593 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4594 as_echo_n='/usr/ucb/echo -n'
4596 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4597 as_echo_n_body='eval
4601 expr "X$arg" : "X\\(.*\\)$as_nl";
4602 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4604 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4606 export as_echo_n_body
4607 as_echo_n='sh -c $as_echo_n_body as_echo'
4610 as_echo='sh -c $as_echo_body as_echo'
4613 # The user is always right.
4614 if test "${PATH_SEPARATOR+set}" != set; then
4616 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4617 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4624 # We need space, tab and new line, in precisely that order. Quoting is
4625 # there to prevent editors from complaining about space-tab.
4626 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4627 # splitting by setting IFS to empty value.)
4630 # Find who we are. Look in the path if we contain no directory separator.
4633 *[\\/]* ) as_myself=$0 ;;
4634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4645 # We did not find ourselves, most probably we were run as `sh COMMAND'
4646 # in which case we are not to be found in the path.
4647 if test "x$as_myself" = x; then
4650 if test ! -f "$as_myself"; then
4651 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4655 # Unset variables that we do not need and which cause bugs (e.g. in
4656 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4657 # suppresses any "Segmentation fault" message there. '((' could
4658 # trigger a bug in pdksh 5.2.14.
4659 for as_var in BASH_ENV ENV MAIL MAILPATH
4660 do eval test x\${$as_var+set} = xset \
4661 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4677 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4678 # ----------------------------------------
4679 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4680 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4681 # script with STATUS, using 1 if that was 0.
4684 as_status=$1; test $as_status -eq 0 && as_status=1
4686 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4687 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4689 $as_echo "$as_me: error: $2" >&2
4690 as_fn_exit $as_status
4694 # as_fn_set_status STATUS
4695 # -----------------------
4696 # Set $? to STATUS, without forking.
4700 } # as_fn_set_status
4704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4714 # Portably unset VAR.
4717 { eval $1=; unset $1;}
4719 as_unset=as_fn_unset
4720 # as_fn_append VAR VALUE
4721 # ----------------------
4722 # Append the text in VALUE to the end of the definition contained in VAR. Take
4723 # advantage of any shell optimizations that allow amortized linear growth over
4724 # repeated appends, instead of the typical quadratic growth present in naive
4726 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4727 eval 'as_fn_append ()
4738 # as_fn_arith ARG...
4739 # ------------------
4740 # Perform arithmetic evaluation on the ARGs, and store the result in the
4741 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4742 # must be portable across $(()) and expr.
4743 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4744 eval 'as_fn_arith ()
4751 as_val=`expr "$@" || test $? -eq 1`
4756 if expr a : '\(a\)' >/dev/null 2>&1 &&
4757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4764 as_basename=basename
4769 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4775 as_me=`$as_basename -- "$0" ||
4776 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4777 X"$0" : 'X\(//\)$' \| \
4778 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4780 sed '/^.*\/\([^/][^/]*\)\/*$/{
4794 # Avoid depending upon Character Ranges.
4795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4798 as_cr_digits='0123456789'
4799 as_cr_alnum=$as_cr_Letters$as_cr_digits
4801 ECHO_C= ECHO_N= ECHO_T=
4802 case `echo -n x` in #(((((
4804 case `echo 'xy\c'` in
4805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4814 rm -f conf$$ conf$$.exe conf$$.file
4815 if test -d conf$$.dir; then
4816 rm -f conf$$.dir/conf$$.file
4819 mkdir conf$$.dir 2>/dev/null
4821 if (echo >conf$$.file) 2>/dev/null; then
4822 if ln -s conf$$.file conf$$ 2>/dev/null; then
4824 # ... but there are two gotchas:
4825 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4826 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4827 # In both cases, we have to default to `cp -pR'.
4828 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4830 elif ln conf$$.file conf$$ 2>/dev/null; then
4838 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4839 rmdir conf$$.dir 2>/dev/null
4844 # Create "$as_dir" as a directory, including parents if necessary.
4849 -*) as_dir=./$as_dir;;
4851 test -d "$as_dir" || eval $as_mkdir_p || {
4855 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4856 *) as_qdir=$as_dir;;
4858 as_dirs="'$as_qdir' $as_dirs"
4859 as_dir=`$as_dirname -- "$as_dir" ||
4860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4861 X"$as_dir" : 'X\(//\)[^/]' \| \
4862 X"$as_dir" : 'X\(//\)$' \| \
4863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4864 $as_echo X"$as_dir" |
4865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4882 test -d "$as_dir" && break
4884 test -z "$as_dirs" || eval "mkdir $as_dirs"
4885 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4889 if mkdir -p . 2>/dev/null; then
4890 as_mkdir_p='mkdir -p "$as_dir"'
4892 test -d ./-p && rmdir ./-p
4897 # as_fn_executable_p FILE
4898 # -----------------------
4899 # Test if FILE is an executable regular file.
4900 as_fn_executable_p ()
4902 test -f "$1" && test -x "$1"
4903 } # as_fn_executable_p
4905 as_executable_p=as_fn_executable_p
4907 # Sed expression to map a string onto a valid CPP name.
4908 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4910 # Sed expression to map a string onto a valid variable name.
4911 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4915 ## ----------------------------------- ##
4916 ## Main body of $CONFIG_STATUS script. ##
4917 ## ----------------------------------- ##
4919 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 # Save the log message, to keep $0 and so on meaningful, and to
4923 # report actual input values of CONFIG_FILES etc. instead of their
4924 # values after options handling.
4926 This file was extended by Free exFAT implementation $as_me 1.3.0, which was
4927 generated by GNU Autoconf 2.69. Invocation command line was
4929 CONFIG_FILES = $CONFIG_FILES
4930 CONFIG_HEADERS = $CONFIG_HEADERS
4931 CONFIG_LINKS = $CONFIG_LINKS
4932 CONFIG_COMMANDS = $CONFIG_COMMANDS
4935 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4940 case $ac_config_files in *"
4941 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4944 case $ac_config_headers in *"
4945 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 # Files that config.status was made for.
4951 config_files="$ac_config_files"
4952 config_headers="$ac_config_headers"
4953 config_commands="$ac_config_commands"
4957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4959 \`$as_me' instantiates files and other configuration actions
4960 from templates according to the current configuration. Unless the files
4961 and actions are specified as TAGs, all are instantiated by default.
4963 Usage: $0 [OPTION]... [TAG]...
4965 -h, --help print this help, then exit
4966 -V, --version print version number and configuration settings, then exit
4967 --config print configuration, then exit
4968 -q, --quiet, --silent
4969 do not print progress messages
4970 -d, --debug don't remove temporary files
4971 --recheck update $as_me by reconfiguring in the same conditions
4972 --file=FILE[:TEMPLATE]
4973 instantiate the configuration file FILE
4974 --header=FILE[:TEMPLATE]
4975 instantiate the configuration header FILE
4977 Configuration files:
4980 Configuration headers:
4983 Configuration commands:
4986 Report bugs to <relan@users.noreply.github.com>.
4987 Free exFAT implementation home page: <https://github.com/relan/exfat>."
4990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4991 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4993 Free exFAT implementation config.status 1.3.0
4994 configured by $0, generated by GNU Autoconf 2.69,
4995 with options \\"\$ac_cs_config\\"
4997 Copyright (C) 2012 Free Software Foundation, Inc.
4998 This config.status script is free software; the Free Software Foundation
4999 gives unlimited permission to copy, distribute and modify it."
5006 test -n "\$AWK" || AWK=awk
5009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5010 # The default lists apply if the user does not specify any file.
5016 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5017 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5033 # Handling of the options.
5034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5036 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5037 $as_echo "$ac_cs_version"; exit ;;
5038 --config | --confi | --conf | --con | --co | --c )
5039 $as_echo "$ac_cs_config"; exit ;;
5040 --debug | --debu | --deb | --de | --d | -d )
5042 --file | --fil | --fi | --f )
5045 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5046 '') as_fn_error $? "missing file argument" ;;
5048 as_fn_append CONFIG_FILES " '$ac_optarg'"
5049 ac_need_defaults=false;;
5050 --header | --heade | --head | --hea )
5053 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5055 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5056 ac_need_defaults=false;;
5058 # Conflict between --help and --header
5059 as_fn_error $? "ambiguous option: \`$1'
5060 Try \`$0 --help' for more information.";;
5061 --help | --hel | -h )
5062 $as_echo "$ac_cs_usage"; exit ;;
5063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5064 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5068 -*) as_fn_error $? "unrecognized option: \`$1'
5069 Try \`$0 --help' for more information." ;;
5071 *) as_fn_append ac_config_targets " $1"
5072 ac_need_defaults=false ;;
5078 ac_configure_extra_args=
5080 if $ac_cs_silent; then
5082 ac_configure_extra_args="$ac_configure_extra_args --silent"
5086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5087 if \$ac_cs_recheck; then
5088 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5090 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5091 CONFIG_SHELL='$SHELL'
5097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5101 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5102 ## Running $as_me. ##
5108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5112 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5118 # Handling of arguments.
5119 for ac_config_target in $ac_config_targets
5121 case $ac_config_target in
5122 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5123 "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
5124 "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
5125 "fuse/Makefile") CONFIG_FILES="$CONFIG_FILES fuse/Makefile" ;;
5126 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5128 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5133 # If the user did not use the arguments to specify the items to instantiate,
5134 # then the envvar interface is used. Set only those that are not.
5135 # We use the long form for the default assignment because of an extremely
5136 # bizarre bug on SunOS 4.1.3.
5137 if $ac_need_defaults; then
5138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5143 # Have a temporary directory for convenience. Make it in the build tree
5144 # simply because there is no reason against having it here, and in addition,
5145 # creating and moving files from /tmp can sometimes cause problems.
5146 # Hook for its removal unless debugging.
5147 # Note that there is a small window in which the directory will not be cleaned:
5148 # after its creation but before its name has been assigned to `$tmp'.
5152 trap 'exit_status=$?
5154 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5156 trap 'as_fn_exit 1' 1 2 13 15
5158 # Create a (secure) tmp directory for tmp files.
5161 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5165 tmp=./conf$$-$RANDOM
5166 (umask 077 && mkdir "$tmp")
5167 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5170 # Set up the scripts for CONFIG_FILES section.
5171 # No need to generate them if there are no CONFIG_FILES.
5172 # This happens for instance with `./config.status config.h'.
5173 if test -n "$CONFIG_FILES"; then
5176 ac_cr=`echo X | tr X '\015'`
5177 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5178 # But we know of no other shell where ac_cr would be empty at this
5179 # point, so we can use a bashism as a fallback.
5180 if test "x$ac_cr" = x; then
5181 eval ac_cr=\$\'\\r\'
5183 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5184 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5190 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5195 echo "cat >conf$$subs.awk <<_ACEOF" &&
5196 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5200 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5202 for ac_last_try in false false false false false :; do
5203 . ./conf$$subs.sh ||
5204 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5206 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5207 if test $ac_delim_n = $ac_delim_num; then
5209 elif $ac_last_try; then
5210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5218 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5222 s/^/S["/; s/!.*/"]=/
5232 s/\(.\{148\}\)..*/\1/
5234 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5239 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5246 s/\(.\{148\}\)..*/\1/
5248 s/["\\]/\\&/g; s/^/"/; s/$/"/
5252 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5257 ' <conf$$subs.awk | sed '
5262 ' >>$CONFIG_STATUS || ac_write_fail=1
5263 rm -f conf$$subs.awk
5264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5266 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5267 for (key in S) S_is_set[key] = 1
5273 nfields = split(line, field, "@")
5275 len = length(field[1])
5276 for (i = 2; i < nfields; i++) {
5278 keylen = length(key)
5279 if (S_is_set[key]) {
5281 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5282 len += length(value) + length(field[++i])
5293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5294 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5295 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5298 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5299 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5302 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5303 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5304 # trailing colons and then remove the whole line if VPATH becomes empty
5305 # (actually we leave an empty line to preserve line numbers).
5306 if test "x$srcdir" = x.; then
5307 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5326 fi # test -n "$CONFIG_FILES"
5328 # Set up the scripts for CONFIG_HEADERS section.
5329 # No need to generate them if there are no CONFIG_HEADERS.
5330 # This happens for instance with `./config.status Makefile'.
5331 if test -n "$CONFIG_HEADERS"; then
5332 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5336 # Transform confdefs.h into an awk script `defines.awk', embedded as
5337 # here-document in config.status, that substitutes the proper values into
5338 # config.h.in to produce config.h.
5340 # Create a delimiter string that does not exist in confdefs.h, to ease
5341 # handling of long lines.
5343 for ac_last_try in false false :; do
5344 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5345 if test -z "$ac_tt"; then
5347 elif $ac_last_try; then
5348 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5350 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5354 # For the awk script, D is an array of macro values keyed by name,
5355 # likewise P contains macro parameters if any. Preserve backslash
5356 # newline sequences.
5358 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5360 s/.\{148\}/&'"$ac_delim"'/g
5363 s/^[ ]*#[ ]*define[ ][ ]*/ /
5370 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5372 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5376 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5377 D["\1"]=" \3\\\\\\n"\\/p
5379 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5384 s/.\{148\}/&'"$ac_delim"'/g
5389 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5392 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5394 ' <confdefs.h | sed '
5395 s/'"$ac_delim"'/"\\\
5396 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5399 for (key in D) D_is_set[key] = 1
5402 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5404 split(line, arg, " ")
5405 if (arg[1] == "#") {
5409 defundef = substr(arg[1], 2)
5412 split(mac1, mac2, "(") #)
5414 prefix = substr(line, 1, index(line, defundef) - 1)
5415 if (D_is_set[macro]) {
5416 # Preserve the white space surrounding the "#".
5417 print prefix "define", macro P[macro] D[macro]
5420 # Replace #undef with comments. This is necessary, for example,
5421 # in the case of _POSIX_SOURCE, which is predefined and required
5422 # on some systems where configure will not decide to define it.
5423 if (defundef == "undef") {
5424 print "/*", prefix defundef, macro, "*/"
5432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5433 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5434 fi # test -n "$CONFIG_HEADERS"
5437 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5442 :[FHLC]) ac_mode=$ac_tag; continue;;
5444 case $ac_mode$ac_tag in
5446 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5447 :[FH]-) ac_tag=-:-;;
5448 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5465 -) ac_f="$ac_tmp/stdin";;
5466 *) # Look for the file first in the build tree, then in the source tree
5467 # (if the path is not absolute). The absolute path cannot be DOS-style,
5468 # because $ac_f cannot contain `:'.
5472 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5474 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5476 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5477 as_fn_append ac_file_inputs " '$ac_f'"
5480 # Let's still pretend it is `configure' which instantiates (i.e., don't
5481 # use $as_me), people would be surprised to read:
5482 # /* config.h. Generated by config.status. */
5483 configure_input='Generated from '`
5484 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5486 if test x"$ac_file" != x-; then
5487 configure_input="$ac_file. $configure_input"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5489 $as_echo "$as_me: creating $ac_file" >&6;}
5491 # Neutralize special characters interpreted by sed in replacement strings.
5492 case $configure_input in #(
5493 *\&* | *\|* | *\\* )
5494 ac_sed_conf_input=`$as_echo "$configure_input" |
5495 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5496 *) ac_sed_conf_input=$configure_input;;
5500 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5506 ac_dir=`$as_dirname -- "$ac_file" ||
5507 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5508 X"$ac_file" : 'X\(//\)[^/]' \| \
5509 X"$ac_file" : 'X\(//\)$' \| \
5510 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5511 $as_echo X"$ac_file" |
5512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5529 as_dir="$ac_dir"; as_fn_mkdir_p
5533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5536 # A ".." for each directory in $ac_dir_suffix.
5537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5538 case $ac_top_builddir_sub in
5539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5543 ac_abs_top_builddir=$ac_pwd
5544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5545 # for backward compatibility:
5546 ac_top_builddir=$ac_top_build_prefix
5549 .) # We are building in place.
5551 ac_top_srcdir=$ac_top_builddir_sub
5552 ac_abs_top_srcdir=$ac_pwd ;;
5553 [\\/]* | ?:[\\/]* ) # Absolute name.
5554 ac_srcdir=$srcdir$ac_dir_suffix;
5555 ac_top_srcdir=$srcdir
5556 ac_abs_top_srcdir=$srcdir ;;
5558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5559 ac_top_srcdir=$ac_top_build_prefix$srcdir
5560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5572 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5573 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5577 [\\/$]* | ?:[\\/]* ) ;;
5578 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583 # If the template does not know about datarootdir, expand it.
5584 # FIXME: This hack should be removed a few years after 2.60.
5585 ac_datarootdir_hack=; ac_datarootdir_seen=
5596 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5597 *datarootdir*) ac_datarootdir_seen=yes;;
5598 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5600 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5603 ac_datarootdir_hack='
5604 s&@datadir@&$datadir&g
5605 s&@docdir@&$docdir&g
5606 s&@infodir@&$infodir&g
5607 s&@localedir@&$localedir&g
5608 s&@mandir@&$mandir&g
5609 s&\\\${datarootdir}&$datarootdir&g' ;;
5613 # Neutralize VPATH when `$srcdir' = `.'.
5614 # Shell code in configure.ac might set extrasub.
5615 # FIXME: do we really want to maintain this feature?
5616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5617 ac_sed_extra="$ac_vpsub
5620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5623 s|@configure_input@|$ac_sed_conf_input|;t t
5624 s&@top_builddir@&$ac_top_builddir_sub&;t t
5625 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5626 s&@srcdir@&$ac_srcdir&;t t
5627 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5628 s&@top_srcdir@&$ac_top_srcdir&;t t
5629 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5630 s&@builddir@&$ac_builddir&;t t
5631 s&@abs_builddir@&$ac_abs_builddir&;t t
5632 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5633 s&@INSTALL@&$ac_INSTALL&;t t
5634 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5635 $ac_datarootdir_hack
5637 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5638 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5640 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5641 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5642 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5643 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5645 which seems to be undefined. Please make sure it is defined" >&5
5646 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5647 which seems to be undefined. Please make sure it is defined" >&2;}
5649 rm -f "$ac_tmp/stdin"
5651 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5652 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5660 if test x"$ac_file" != x-; then
5662 $as_echo "/* $configure_input */" \
5663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5664 } >"$ac_tmp/config.h" \
5665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5666 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5668 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5671 mv "$ac_tmp/config.h" "$ac_file" \
5672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5675 $as_echo "/* $configure_input */" \
5676 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5677 || as_fn_error $? "could not create -" "$LINENO" 5
5679 # Compute "$ac_file"'s index in $config_headers.
5682 for _am_header in $config_headers :; do
5684 $_am_arg | $_am_arg:* )
5687 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5690 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5691 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5692 X"$_am_arg" : 'X\(//\)[^/]' \| \
5693 X"$_am_arg" : 'X\(//\)$' \| \
5694 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5695 $as_echo X"$_am_arg" |
5696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5712 s/.*/./; q'`/stamp-h$_am_stamp_count
5715 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5716 $as_echo "$as_me: executing $ac_file commands" >&6;}
5721 case $ac_file$ac_mode in
5722 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5723 # Older Autoconf quotes --file arguments for eval, but not when files
5724 # are listed without --file. Let's play safe and only enable the eval
5725 # if we detect the quoting.
5726 case $CONFIG_FILES in
5727 *\'*) eval set x "$CONFIG_FILES" ;;
5728 *) set x $CONFIG_FILES ;;
5733 # Strip MF so we end up with the name of the file.
5734 mf=`echo "$mf" | sed -e 's/:.*$//'`
5735 # Check whether this is an Automake generated Makefile or not.
5736 # We used to match only the files named 'Makefile.in', but
5737 # some people rename them; so instead we look at the file content.
5738 # Grep'ing the first line is not enough: some people post-process
5739 # each Makefile.in and add a new line on top of each file to say so.
5740 # Grep'ing the whole file is not good either: AIX grep has a line
5741 # limit of 2048, but all sed's we know have understand at least 4000.
5742 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5743 dirpart=`$as_dirname -- "$mf" ||
5744 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5745 X"$mf" : 'X\(//\)[^/]' \| \
5746 X"$mf" : 'X\(//\)$' \| \
5747 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5769 # Extract the definition of DEPDIR, am__include, and am__quote
5770 # from the Makefile without running 'make'.
5771 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5772 test -z "$DEPDIR" && continue
5773 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5774 test -z "$am__include" && continue
5775 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5776 # Find all dependency output files, they are included files with
5777 # $(DEPDIR) in their names. We invoke sed twice because it is the
5778 # simplest approach to changing $(DEPDIR) to its actual value in the
5780 for file in `sed -n "
5781 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5782 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5783 # Make sure the directory exists.
5784 test -f "$dirpart/$file" && continue
5785 fdir=`$as_dirname -- "$file" ||
5786 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5787 X"$file" : 'X\(//\)[^/]' \| \
5788 X"$file" : 'X\(//\)$' \| \
5789 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5808 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5809 # echo "creating $dirpart/$file"
5810 echo '# dummy' > "$dirpart/$file"
5822 ac_clean_files=$ac_clean_files_save
5824 test $ac_write_fail = 0 ||
5825 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5828 # configure is writing to config.log, and then calls config.status.
5829 # config.status does its own redirection, appending to config.log.
5830 # Unfortunately, on DOS this fails, as config.log is still kept open
5831 # by configure, so config.status won't be able to write to it; its
5832 # output is simply discarded. So we exec the FD to /dev/null,
5833 # effectively closing config.log, so it can be properly (re)opened and
5834 # appended to by config.status. When coming back to configure, we
5835 # need to make the FD available again.
5836 if test "$no_create" != yes; then
5838 ac_config_status_args=
5839 test "$silent" = yes &&
5840 ac_config_status_args="$ac_config_status_args --quiet"
5842 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5844 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5845 # would make configure fail if this is the last instruction.
5846 $ac_cs_success || as_fn_exit 1
5848 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5850 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}