]> git.sven.stormbind.net Git - sven/fuse-exfat.git/blob - configure
New upstream version 1.4.0
[sven/fuse-exfat.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Free exFAT implementation 1.4.0.
4 #
5 # Report bugs to <relan@users.noreply.github.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else $as_nop
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" ""        $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # Find who we are.  Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90   *[\\/]* ) as_myself=$0 ;;
91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94   IFS=$as_save_IFS
95   case $as_dir in #(((
96     '') as_dir=./ ;;
97     */) ;;
98     *) as_dir=$as_dir/ ;;
99   esac
100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
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
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118   # into an infinite loop, continuously re-executing ourselves.
119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120     _as_can_reexec=no; export _as_can_reexec;
121     # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129   *v*x* | *x*v* ) as_opts=-vx ;;
130   *v* ) as_opts=-v ;;
131   *x* ) as_opts=-x ;;
132   * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139   fi
140   # We don't want this to propagate to other subprocesses.
141           { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143   as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146   emulate sh
147   NULLCMD=:
148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149   # is contrary to our usage.  Disable this feature.
150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
151   setopt NO_GLOB_SUBST
152 else \$as_nop
153   case \`(set -o) 2>/dev/null\` in #(
154   *posix*) :
155     set -o posix ;; #(
156   *) :
157      ;;
158 esac
159 fi
160 "
161   as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176   exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186   if (eval "$as_required") 2>/dev/null
187 then :
188   as_have_required=yes
189 else $as_nop
190   as_have_required=no
191 fi
192   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
194
195 else $as_nop
196   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 do
200   IFS=$as_save_IFS
201   case $as_dir in #(((
202     '') as_dir=./ ;;
203     */) ;;
204     *) as_dir=$as_dir/ ;;
205   esac
206   as_found=:
207   case $as_dir in #(
208          /*)
209            for as_base in sh bash ksh sh5; do
210              # Try only shells that exist, to save several forks.
211              as_shell=$as_dir$as_base
212              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213                     as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215   CONFIG_SHELL=$as_shell as_have_required=yes
216                    if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218   break 2
219 fi
220 fi
221            done;;
222        esac
223   as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
228
229 else $as_nop
230   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231               as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233   CONFIG_SHELL=$SHELL as_have_required=yes
234 fi
235 fi
236
237
238       if test "x$CONFIG_SHELL" != x
239 then :
240   export CONFIG_SHELL
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.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249   *v*x* | *x*v* ) as_opts=-vx ;;
250   *v* ) as_opts=-v ;;
251   *x* ) as_opts=-x ;;
252   * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261     if test x$as_have_required = xno
262 then :
263   printf "%s\n" "$0: This script requires a shell more modern than all"
264   printf "%s\n" "$0: the shells that I found on your system."
265   if test ${ZSH_VERSION+y} ; then
266     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270 $0: relan@users.noreply.github.com about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293   { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303   return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } # as_fn_exit
315 # as_fn_nop
316 # ---------
317 # Do nothing but, unlike ":", preserve the value of $?.
318 as_fn_nop ()
319 {
320   return $?
321 }
322 as_nop=as_fn_nop
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 then :
387   eval 'as_fn_append ()
388   {
389     eval $1+=\$2
390   }'
391 else $as_nop
392   as_fn_append ()
393   {
394     eval $1=\$$1\$2
395   }
396 fi # as_fn_append
397
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404 then :
405   eval 'as_fn_arith ()
406   {
407     as_val=$(( $* ))
408   }'
409 else $as_nop
410   as_fn_arith ()
411   {
412     as_val=`expr "$@" || test $? -eq 1`
413   }
414 fi # as_fn_arith
415
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
420 {
421   return $?
422 }
423 as_nop=as_fn_nop
424
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
430 as_fn_error ()
431 {
432   as_status=$1; test $as_status -eq 0 && as_status=1
433   if test "$4"; then
434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
436   fi
437   printf "%s\n" "$as_me: error: $2" >&2
438   as_fn_exit $as_status
439 } # as_fn_error
440
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
443   as_expr=expr
444 else
445   as_expr=false
446 fi
447
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449   as_basename=basename
450 else
451   as_basename=false
452 fi
453
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455   as_dirname=dirname
456 else
457   as_dirname=false
458 fi
459
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462          X"$0" : 'X\(//\)$' \| \
463          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465     sed '/^.*\/\([^/][^/]*\)\/*$/{
466             s//\1/
467             q
468           }
469           /^X\/\(\/\/\)$/{
470             s//\1/
471             q
472           }
473           /^X\/\(\/\).*/{
474             s//\1/
475             q
476           }
477           s/.*/./; q'`
478
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
485
486
487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
492   sed -n '
493     p
494     /[$]LINENO/=
495   ' <$as_myself |
496     sed '
497       s/[$]LINENO.*/&-/
498       t lineno
499       b
500       :lineno
501       N
502       :loop
503       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504       t loop
505       s/-\n.*//
506     ' >$as_me.lineno &&
507   chmod +x "$as_me.lineno" ||
508     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
509
510   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511   # already done that, so ensure we don't try to do so again and fall
512   # in an infinite loop.  This has already happened in practice.
513   _as_can_reexec=no; export _as_can_reexec
514   # Don't try to exec as it changes $[0], causing all sort of problems
515   # (the dirname of $[0] is not the place where we might find the
516   # original and so on.  Autoconf is especially sensitive to this).
517   . "./$as_me.lineno"
518   # Exit status is that of the last command.
519   exit
520 }
521
522
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
528 -n*)
529   case `echo 'xy\c'` in
530   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
531   xy)  ECHO_C='\c';;
532   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
533        ECHO_T=' ';;
534   esac;;
535 *)
536   ECHO_N='-n';;
537 esac
538
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n.  New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
544
545
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548   rm -f conf$$.dir/conf$$.file
549 else
550   rm -f conf$$.dir
551   mkdir conf$$.dir 2>/dev/null
552 fi
553 if (echo >conf$$.file) 2>/dev/null; then
554   if ln -s conf$$.file conf$$ 2>/dev/null; then
555     as_ln_s='ln -s'
556     # ... but there are two gotchas:
557     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559     # In both cases, we have to default to `cp -pR'.
560     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561       as_ln_s='cp -pR'
562   elif ln conf$$.file conf$$ 2>/dev/null; then
563     as_ln_s=ln
564   else
565     as_ln_s='cp -pR'
566   fi
567 else
568   as_ln_s='cp -pR'
569 fi
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
572
573 if mkdir -p . 2>/dev/null; then
574   as_mkdir_p='mkdir -p "$as_dir"'
575 else
576   test -d ./-p && rmdir ./-p
577   as_mkdir_p=false
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
585
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
588
589
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
592
593 # Name of the host.
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
597
598 #
599 # Initializations.
600 #
601 ac_default_prefix=/usr/local
602 ac_clean_files=
603 ac_config_libobj_dir=.
604 LIBOBJS=
605 cross_compiling=no
606 subdirs=
607 MFLAGS=
608 MAKEFLAGS=
609
610 # Identity of this package.
611 PACKAGE_NAME='Free exFAT implementation'
612 PACKAGE_TARNAME='fuse-exfat'
613 PACKAGE_VERSION='1.4.0'
614 PACKAGE_STRING='Free exFAT implementation 1.4.0'
615 PACKAGE_BUGREPORT='relan@users.noreply.github.com'
616 PACKAGE_URL='https://github.com/relan/exfat'
617
618 ac_subst_vars='am__EXEEXT_FALSE
619 am__EXEEXT_TRUE
620 LTLIBOBJS
621 LIBOBJS
622 FUSE2_LIBS
623 FUSE2_CFLAGS
624 FUSE3_LIBS
625 FUSE3_CFLAGS
626 UBLIO_LIBS
627 UBLIO_CFLAGS
628 PKG_CONFIG_LIBDIR
629 PKG_CONFIG_PATH
630 PKG_CONFIG
631 host_os
632 host_vendor
633 host_cpu
634 host
635 build_os
636 build_vendor
637 build_cpu
638 build
639 ac_ct_AR
640 AR
641 RANLIB
642 am__fastdepCC_FALSE
643 am__fastdepCC_TRUE
644 CCDEPMODE
645 am__nodep
646 AMDEPBACKSLASH
647 AMDEP_FALSE
648 AMDEP_TRUE
649 am__include
650 DEPDIR
651 OBJEXT
652 EXEEXT
653 ac_ct_CC
654 CPPFLAGS
655 LDFLAGS
656 CFLAGS
657 CC
658 AM_BACKSLASH
659 AM_DEFAULT_VERBOSITY
660 AM_DEFAULT_V
661 AM_V
662 CSCOPE
663 ETAGS
664 CTAGS
665 am__untar
666 am__tar
667 AMTAR
668 am__leading_dot
669 SET_MAKE
670 AWK
671 mkdir_p
672 MKDIR_P
673 INSTALL_STRIP_PROGRAM
674 STRIP
675 install_sh
676 MAKEINFO
677 AUTOHEADER
678 AUTOMAKE
679 AUTOCONF
680 ACLOCAL
681 VERSION
682 PACKAGE
683 CYGPATH_W
684 am__isrc
685 INSTALL_DATA
686 INSTALL_SCRIPT
687 INSTALL_PROGRAM
688 target_alias
689 host_alias
690 build_alias
691 LIBS
692 ECHO_T
693 ECHO_N
694 ECHO_C
695 DEFS
696 mandir
697 localedir
698 libdir
699 psdir
700 pdfdir
701 dvidir
702 htmldir
703 infodir
704 docdir
705 oldincludedir
706 includedir
707 runstatedir
708 localstatedir
709 sharedstatedir
710 sysconfdir
711 datadir
712 datarootdir
713 libexecdir
714 sbindir
715 bindir
716 program_transform_name
717 prefix
718 exec_prefix
719 PACKAGE_URL
720 PACKAGE_BUGREPORT
721 PACKAGE_STRING
722 PACKAGE_VERSION
723 PACKAGE_TARNAME
724 PACKAGE_NAME
725 PATH_SEPARATOR
726 SHELL
727 am__quote'
728 ac_subst_files=''
729 ac_user_opts='
730 enable_option_checking
731 enable_silent_rules
732 enable_dependency_tracking
733 enable_largefile
734 '
735       ac_precious_vars='build_alias
736 host_alias
737 target_alias
738 CC
739 CFLAGS
740 LDFLAGS
741 LIBS
742 CPPFLAGS
743 PKG_CONFIG
744 PKG_CONFIG_PATH
745 PKG_CONFIG_LIBDIR
746 UBLIO_CFLAGS
747 UBLIO_LIBS
748 FUSE3_CFLAGS
749 FUSE3_LIBS
750 FUSE2_CFLAGS
751 FUSE2_LIBS'
752
753
754 # Initialize some variables set by options.
755 ac_init_help=
756 ac_init_version=false
757 ac_unrecognized_opts=
758 ac_unrecognized_sep=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
761 cache_file=/dev/null
762 exec_prefix=NONE
763 no_create=
764 no_recursion=
765 prefix=NONE
766 program_prefix=NONE
767 program_suffix=NONE
768 program_transform_name=s,x,x,
769 silent=
770 site=
771 srcdir=
772 verbose=
773 x_includes=NONE
774 x_libraries=NONE
775
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir='${exec_prefix}/bin'
783 sbindir='${exec_prefix}/sbin'
784 libexecdir='${exec_prefix}/libexec'
785 datarootdir='${prefix}/share'
786 datadir='${datarootdir}'
787 sysconfdir='${prefix}/etc'
788 sharedstatedir='${prefix}/com'
789 localstatedir='${prefix}/var'
790 runstatedir='${localstatedir}/run'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
795 htmldir='${docdir}'
796 dvidir='${docdir}'
797 pdfdir='${docdir}'
798 psdir='${docdir}'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
802
803 ac_prev=
804 ac_dashdash=
805 for ac_option
806 do
807   # If the previous option needs an argument, assign it.
808   if test -n "$ac_prev"; then
809     eval $ac_prev=\$ac_option
810     ac_prev=
811     continue
812   fi
813
814   case $ac_option in
815   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816   *=)   ac_optarg= ;;
817   *)    ac_optarg=yes ;;
818   esac
819
820   case $ac_dashdash$ac_option in
821   --)
822     ac_dashdash=yes ;;
823
824   -bindir | --bindir | --bindi | --bind | --bin | --bi)
825     ac_prev=bindir ;;
826   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827     bindir=$ac_optarg ;;
828
829   -build | --build | --buil | --bui | --bu)
830     ac_prev=build_alias ;;
831   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832     build_alias=$ac_optarg ;;
833
834   -cache-file | --cache-file | --cache-fil | --cache-fi \
835   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836     ac_prev=cache_file ;;
837   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839     cache_file=$ac_optarg ;;
840
841   --config-cache | -C)
842     cache_file=config.cache ;;
843
844   -datadir | --datadir | --datadi | --datad)
845     ac_prev=datadir ;;
846   -datadir=* | --datadir=* | --datadi=* | --datad=*)
847     datadir=$ac_optarg ;;
848
849   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850   | --dataroo | --dataro | --datar)
851     ac_prev=datarootdir ;;
852   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854     datarootdir=$ac_optarg ;;
855
856   -disable-* | --disable-*)
857     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858     # Reject names that are not valid shell variable names.
859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860       as_fn_error $? "invalid feature name: \`$ac_useropt'"
861     ac_useropt_orig=$ac_useropt
862     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
863     case $ac_user_opts in
864       *"
865 "enable_$ac_useropt"
866 "*) ;;
867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868          ac_unrecognized_sep=', ';;
869     esac
870     eval enable_$ac_useropt=no ;;
871
872   -docdir | --docdir | --docdi | --doc | --do)
873     ac_prev=docdir ;;
874   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875     docdir=$ac_optarg ;;
876
877   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878     ac_prev=dvidir ;;
879   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880     dvidir=$ac_optarg ;;
881
882   -enable-* | --enable-*)
883     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884     # Reject names that are not valid shell variable names.
885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886       as_fn_error $? "invalid feature name: \`$ac_useropt'"
887     ac_useropt_orig=$ac_useropt
888     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
889     case $ac_user_opts in
890       *"
891 "enable_$ac_useropt"
892 "*) ;;
893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894          ac_unrecognized_sep=', ';;
895     esac
896     eval enable_$ac_useropt=\$ac_optarg ;;
897
898   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900   | --exec | --exe | --ex)
901     ac_prev=exec_prefix ;;
902   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904   | --exec=* | --exe=* | --ex=*)
905     exec_prefix=$ac_optarg ;;
906
907   -gas | --gas | --ga | --g)
908     # Obsolete; use --with-gas.
909     with_gas=yes ;;
910
911   -help | --help | --hel | --he | -h)
912     ac_init_help=long ;;
913   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914     ac_init_help=recursive ;;
915   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916     ac_init_help=short ;;
917
918   -host | --host | --hos | --ho)
919     ac_prev=host_alias ;;
920   -host=* | --host=* | --hos=* | --ho=*)
921     host_alias=$ac_optarg ;;
922
923   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924     ac_prev=htmldir ;;
925   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926   | --ht=*)
927     htmldir=$ac_optarg ;;
928
929   -includedir | --includedir | --includedi | --included | --include \
930   | --includ | --inclu | --incl | --inc)
931     ac_prev=includedir ;;
932   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933   | --includ=* | --inclu=* | --incl=* | --inc=*)
934     includedir=$ac_optarg ;;
935
936   -infodir | --infodir | --infodi | --infod | --info | --inf)
937     ac_prev=infodir ;;
938   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939     infodir=$ac_optarg ;;
940
941   -libdir | --libdir | --libdi | --libd)
942     ac_prev=libdir ;;
943   -libdir=* | --libdir=* | --libdi=* | --libd=*)
944     libdir=$ac_optarg ;;
945
946   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947   | --libexe | --libex | --libe)
948     ac_prev=libexecdir ;;
949   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950   | --libexe=* | --libex=* | --libe=*)
951     libexecdir=$ac_optarg ;;
952
953   -localedir | --localedir | --localedi | --localed | --locale)
954     ac_prev=localedir ;;
955   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956     localedir=$ac_optarg ;;
957
958   -localstatedir | --localstatedir | --localstatedi | --localstated \
959   | --localstate | --localstat | --localsta | --localst | --locals)
960     ac_prev=localstatedir ;;
961   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963     localstatedir=$ac_optarg ;;
964
965   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966     ac_prev=mandir ;;
967   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968     mandir=$ac_optarg ;;
969
970   -nfp | --nfp | --nf)
971     # Obsolete; use --without-fp.
972     with_fp=no ;;
973
974   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975   | --no-cr | --no-c | -n)
976     no_create=yes ;;
977
978   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980     no_recursion=yes ;;
981
982   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984   | --oldin | --oldi | --old | --ol | --o)
985     ac_prev=oldincludedir ;;
986   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989     oldincludedir=$ac_optarg ;;
990
991   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992     ac_prev=prefix ;;
993   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994     prefix=$ac_optarg ;;
995
996   -program-prefix | --program-prefix | --program-prefi | --program-pref \
997   | --program-pre | --program-pr | --program-p)
998     ac_prev=program_prefix ;;
999   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001     program_prefix=$ac_optarg ;;
1002
1003   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004   | --program-suf | --program-su | --program-s)
1005     ac_prev=program_suffix ;;
1006   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008     program_suffix=$ac_optarg ;;
1009
1010   -program-transform-name | --program-transform-name \
1011   | --program-transform-nam | --program-transform-na \
1012   | --program-transform-n | --program-transform- \
1013   | --program-transform | --program-transfor \
1014   | --program-transfo | --program-transf \
1015   | --program-trans | --program-tran \
1016   | --progr-tra | --program-tr | --program-t)
1017     ac_prev=program_transform_name ;;
1018   -program-transform-name=* | --program-transform-name=* \
1019   | --program-transform-nam=* | --program-transform-na=* \
1020   | --program-transform-n=* | --program-transform-=* \
1021   | --program-transform=* | --program-transfor=* \
1022   | --program-transfo=* | --program-transf=* \
1023   | --program-trans=* | --program-tran=* \
1024   | --progr-tra=* | --program-tr=* | --program-t=*)
1025     program_transform_name=$ac_optarg ;;
1026
1027   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028     ac_prev=pdfdir ;;
1029   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030     pdfdir=$ac_optarg ;;
1031
1032   -psdir | --psdir | --psdi | --psd | --ps)
1033     ac_prev=psdir ;;
1034   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035     psdir=$ac_optarg ;;
1036
1037   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038   | -silent | --silent | --silen | --sile | --sil)
1039     silent=yes ;;
1040
1041   -runstatedir | --runstatedir | --runstatedi | --runstated \
1042   | --runstate | --runstat | --runsta | --runst | --runs \
1043   | --run | --ru | --r)
1044     ac_prev=runstatedir ;;
1045   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1046   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1047   | --run=* | --ru=* | --r=*)
1048     runstatedir=$ac_optarg ;;
1049
1050   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051     ac_prev=sbindir ;;
1052   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053   | --sbi=* | --sb=*)
1054     sbindir=$ac_optarg ;;
1055
1056   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058   | --sharedst | --shareds | --shared | --share | --shar \
1059   | --sha | --sh)
1060     ac_prev=sharedstatedir ;;
1061   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064   | --sha=* | --sh=*)
1065     sharedstatedir=$ac_optarg ;;
1066
1067   -site | --site | --sit)
1068     ac_prev=site ;;
1069   -site=* | --site=* | --sit=*)
1070     site=$ac_optarg ;;
1071
1072   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073     ac_prev=srcdir ;;
1074   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075     srcdir=$ac_optarg ;;
1076
1077   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078   | --syscon | --sysco | --sysc | --sys | --sy)
1079     ac_prev=sysconfdir ;;
1080   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082     sysconfdir=$ac_optarg ;;
1083
1084   -target | --target | --targe | --targ | --tar | --ta | --t)
1085     ac_prev=target_alias ;;
1086   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087     target_alias=$ac_optarg ;;
1088
1089   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090     verbose=yes ;;
1091
1092   -version | --version | --versio | --versi | --vers | -V)
1093     ac_init_version=: ;;
1094
1095   -with-* | --with-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error $? "invalid package name: \`$ac_useropt'"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "with_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval with_$ac_useropt=\$ac_optarg ;;
1110
1111   -without-* | --without-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error $? "invalid package name: \`$ac_useropt'"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval with_$ac_useropt=no ;;
1126
1127   --x)
1128     # Obsolete; use --with-x.
1129     with_x=yes ;;
1130
1131   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132   | --x-incl | --x-inc | --x-in | --x-i)
1133     ac_prev=x_includes ;;
1134   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136     x_includes=$ac_optarg ;;
1137
1138   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140     ac_prev=x_libraries ;;
1141   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143     x_libraries=$ac_optarg ;;
1144
1145   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1147     ;;
1148
1149   *=*)
1150     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151     # Reject names that are not valid shell variable names.
1152     case $ac_envvar in #(
1153       '' | [0-9]* | *[!_$as_cr_alnum]* )
1154       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1155     esac
1156     eval $ac_envvar=\$ac_optarg
1157     export $ac_envvar ;;
1158
1159   *)
1160     # FIXME: should be removed in autoconf 3.0.
1161     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1162     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1164     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1165     ;;
1166
1167   esac
1168 done
1169
1170 if test -n "$ac_prev"; then
1171   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172   as_fn_error $? "missing argument to $ac_option"
1173 fi
1174
1175 if test -n "$ac_unrecognized_opts"; then
1176   case $enable_option_checking in
1177     no) ;;
1178     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180   esac
1181 fi
1182
1183 # Check all directory arguments for consistency.
1184 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185                 datadir sysconfdir sharedstatedir localstatedir includedir \
1186                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187                 libdir localedir mandir runstatedir
1188 do
1189   eval ac_val=\$$ac_var
1190   # Remove trailing slashes.
1191   case $ac_val in
1192     */ )
1193       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194       eval $ac_var=\$ac_val;;
1195   esac
1196   # Be sure to have absolute directory names.
1197   case $ac_val in
1198     [\\/$]* | ?:[\\/]* )  continue;;
1199     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200   esac
1201   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202 done
1203
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1207 build=$build_alias
1208 host=$host_alias
1209 target=$target_alias
1210
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213   if test "x$build_alias" = x; then
1214     cross_compiling=maybe
1215   elif test "x$build_alias" != "x$host_alias"; then
1216     cross_compiling=yes
1217   fi
1218 fi
1219
1220 ac_tool_prefix=
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222
1223 test "$silent" = yes && exec 6>/dev/null
1224
1225
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229   as_fn_error $? "working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231   as_fn_error $? "pwd does not report name of working directory"
1232
1233
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236   ac_srcdir_defaulted=yes
1237   # Try the directory containing this script, then the parent directory.
1238   ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240          X"$as_myself" : 'X\(//\)[^/]' \| \
1241          X"$as_myself" : 'X\(//\)$' \| \
1242          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 printf "%s\n" X"$as_myself" |
1244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245             s//\1/
1246             q
1247           }
1248           /^X\(\/\/\)[^/].*/{
1249             s//\1/
1250             q
1251           }
1252           /^X\(\/\/\)$/{
1253             s//\1/
1254             q
1255           }
1256           /^X\(\/\).*/{
1257             s//\1/
1258             q
1259           }
1260           s/.*/./; q'`
1261   srcdir=$ac_confdir
1262   if test ! -r "$srcdir/$ac_unique_file"; then
1263     srcdir=..
1264   fi
1265 else
1266   ac_srcdir_defaulted=no
1267 fi
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1271 fi
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 ac_abs_confdir=`(
1274         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1275         pwd)`
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278   srcdir=.
1279 fi
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1283 case $srcdir in
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 esac
1286 for ac_var in $ac_precious_vars; do
1287   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288   eval ac_env_${ac_var}_value=\$${ac_var}
1289   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 done
1292
1293 #
1294 # Report the --help message.
1295 #
1296 if test "$ac_init_help" = "long"; then
1297   # Omit some internal or obsolete options to make the list less imposing.
1298   # This message is too long to be a string in the A/UX 3.1 sh.
1299   cat <<_ACEOF
1300 \`configure' configures Free exFAT implementation 1.4.0 to adapt to many kinds of systems.
1301
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1303
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE.  See below for descriptions of some of the useful variables.
1306
1307 Defaults for the options are specified in brackets.
1308
1309 Configuration:
1310   -h, --help              display this help and exit
1311       --help=short        display options specific to this package
1312       --help=recursive    display the short help of all the included packages
1313   -V, --version           display version information and exit
1314   -q, --quiet, --silent   do not print \`checking ...' messages
1315       --cache-file=FILE   cache test results in FILE [disabled]
1316   -C, --config-cache      alias for \`--cache-file=config.cache'
1317   -n, --no-create         do not create output files
1318       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1319
1320 Installation directories:
1321   --prefix=PREFIX         install architecture-independent files in PREFIX
1322                           [$ac_default_prefix]
1323   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1324                           [PREFIX]
1325
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1330
1331 For better control, use the options below.
1332
1333 Fine tuning of the installation directories:
1334   --bindir=DIR            user executables [EPREFIX/bin]
1335   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1336   --libexecdir=DIR        program executables [EPREFIX/libexec]
1337   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1338   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1339   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1340   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1341   --libdir=DIR            object code libraries [EPREFIX/lib]
1342   --includedir=DIR        C header files [PREFIX/include]
1343   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1344   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1345   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1346   --infodir=DIR           info documentation [DATAROOTDIR/info]
1347   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1348   --mandir=DIR            man documentation [DATAROOTDIR/man]
1349   --docdir=DIR            documentation root [DATAROOTDIR/doc/fuse-exfat]
1350   --htmldir=DIR           html documentation [DOCDIR]
1351   --dvidir=DIR            dvi documentation [DOCDIR]
1352   --pdfdir=DIR            pdf documentation [DOCDIR]
1353   --psdir=DIR             ps documentation [DOCDIR]
1354 _ACEOF
1355
1356   cat <<\_ACEOF
1357
1358 Program names:
1359   --program-prefix=PREFIX            prepend PREFIX to installed program names
1360   --program-suffix=SUFFIX            append SUFFIX to installed program names
1361   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1362
1363 System types:
1364   --build=BUILD     configure for building on BUILD [guessed]
1365   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1366 _ACEOF
1367 fi
1368
1369 if test -n "$ac_init_help"; then
1370   case $ac_init_help in
1371      short | recursive ) echo "Configuration of Free exFAT implementation 1.4.0:";;
1372    esac
1373   cat <<\_ACEOF
1374
1375 Optional Features:
1376   --disable-option-checking  ignore unrecognized --enable/--with options
1377   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1378   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1379   --enable-silent-rules   less verbose build output (undo: "make V=1")
1380   --disable-silent-rules  verbose build output (undo: "make V=0")
1381   --enable-dependency-tracking
1382                           do not reject slow dependency extractors
1383   --disable-dependency-tracking
1384                           speeds up one-time build
1385   --disable-largefile     omit support for large files
1386
1387 Some influential environment variables:
1388   CC          C compiler command
1389   CFLAGS      C compiler flags
1390   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1391               nonstandard directory <lib dir>
1392   LIBS        libraries to pass to the linker, e.g. -l<library>
1393   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1394               you have headers in a nonstandard directory <include dir>
1395   PKG_CONFIG  path to pkg-config utility
1396   PKG_CONFIG_PATH
1397               directories to add to pkg-config's search path
1398   PKG_CONFIG_LIBDIR
1399               path overriding pkg-config's built-in search path
1400   UBLIO_CFLAGS
1401               C compiler flags for UBLIO, overriding pkg-config
1402   UBLIO_LIBS  linker flags for UBLIO, overriding pkg-config
1403   FUSE3_CFLAGS
1404               C compiler flags for FUSE3, overriding pkg-config
1405   FUSE3_LIBS  linker flags for FUSE3, overriding pkg-config
1406   FUSE2_CFLAGS
1407               C compiler flags for FUSE2, overriding pkg-config
1408   FUSE2_LIBS  linker flags for FUSE2, overriding pkg-config
1409
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1412
1413 Report bugs to <relan@users.noreply.github.com>.
1414 Free exFAT implementation home page: <https://github.com/relan/exfat>.
1415 _ACEOF
1416 ac_status=$?
1417 fi
1418
1419 if test "$ac_init_help" = "recursive"; then
1420   # If there are subdirs, report their specific --help.
1421   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422     test -d "$ac_dir" ||
1423       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424       continue
1425     ac_builddir=.
1426
1427 case "$ac_dir" in
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 *)
1430   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1431   # A ".." for each directory in $ac_dir_suffix.
1432   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433   case $ac_top_builddir_sub in
1434   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436   esac ;;
1437 esac
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1442
1443 case $srcdir in
1444   .)  # We are building in place.
1445     ac_srcdir=.
1446     ac_top_srcdir=$ac_top_builddir_sub
1447     ac_abs_top_srcdir=$ac_pwd ;;
1448   [\\/]* | ?:[\\/]* )  # Absolute name.
1449     ac_srcdir=$srcdir$ac_dir_suffix;
1450     ac_top_srcdir=$srcdir
1451     ac_abs_top_srcdir=$srcdir ;;
1452   *) # Relative name.
1453     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454     ac_top_srcdir=$ac_top_build_prefix$srcdir
1455     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 esac
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
1459     cd "$ac_dir" || { ac_status=$?; continue; }
1460     # Check for configure.gnu first; this name is used for a wrapper for
1461     # Metaconfig's "Configure" on case-insensitive file systems.
1462     if test -f "$ac_srcdir/configure.gnu"; then
1463       echo &&
1464       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465     elif test -f "$ac_srcdir/configure"; then
1466       echo &&
1467       $SHELL "$ac_srcdir/configure" --help=recursive
1468     else
1469       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470     fi || ac_status=$?
1471     cd "$ac_pwd" || { ac_status=$?; break; }
1472   done
1473 fi
1474
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1477   cat <<\_ACEOF
1478 Free exFAT implementation configure 1.4.0
1479 generated by GNU Autoconf 2.71
1480
1481 Copyright (C) 2021 Free Software Foundation, Inc.
1482 This configure script is free software; the Free Software Foundation
1483 gives unlimited permission to copy, distribute and modify it.
1484 _ACEOF
1485   exit
1486 fi
1487
1488 ## ------------------------ ##
1489 ## Autoconf initialization. ##
1490 ## ------------------------ ##
1491
1492 # ac_fn_c_try_compile LINENO
1493 # --------------------------
1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1495 ac_fn_c_try_compile ()
1496 {
1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498   rm -f conftest.$ac_objext conftest.beam
1499   if { { ac_try="$ac_compile"
1500 case "(($ac_try" in
1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502   *) ac_try_echo=$ac_try;;
1503 esac
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 printf "%s\n" "$ac_try_echo"; } >&5
1506   (eval "$ac_compile") 2>conftest.err
1507   ac_status=$?
1508   if test -s conftest.err; then
1509     grep -v '^ *+' conftest.err >conftest.er1
1510     cat conftest.er1 >&5
1511     mv -f conftest.er1 conftest.err
1512   fi
1513   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514   test $ac_status = 0; } && {
1515          test -z "$ac_c_werror_flag" ||
1516          test ! -s conftest.err
1517        } && test -s conftest.$ac_objext
1518 then :
1519   ac_retval=0
1520 else $as_nop
1521   printf "%s\n" "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1523
1524         ac_retval=1
1525 fi
1526   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527   as_fn_set_status $ac_retval
1528
1529 } # ac_fn_c_try_compile
1530 ac_configure_args_raw=
1531 for ac_arg
1532 do
1533   case $ac_arg in
1534   *\'*)
1535     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1536   esac
1537   as_fn_append ac_configure_args_raw " '$ac_arg'"
1538 done
1539
1540 case $ac_configure_args_raw in
1541   *$as_nl*)
1542     ac_safe_unquote= ;;
1543   *)
1544     ac_unsafe_z='|&;<>()$`\\"*?[ ''     ' # This string ends in space, tab.
1545     ac_unsafe_a="$ac_unsafe_z#~"
1546     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1547     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1548 esac
1549
1550 cat >config.log <<_ACEOF
1551 This file contains any messages produced by compilers while
1552 running configure, to aid debugging if configure makes a mistake.
1553
1554 It was created by Free exFAT implementation $as_me 1.4.0, which was
1555 generated by GNU Autoconf 2.71.  Invocation command line was
1556
1557   $ $0$ac_configure_args_raw
1558
1559 _ACEOF
1560 exec 5>>config.log
1561 {
1562 cat <<_ASUNAME
1563 ## --------- ##
1564 ## Platform. ##
1565 ## --------- ##
1566
1567 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1568 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1569 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1570 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1571 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1572
1573 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1574 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1575
1576 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1577 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1578 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1579 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1580 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1581 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1582 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1583
1584 _ASUNAME
1585
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 for as_dir in $PATH
1588 do
1589   IFS=$as_save_IFS
1590   case $as_dir in #(((
1591     '') as_dir=./ ;;
1592     */) ;;
1593     *) as_dir=$as_dir/ ;;
1594   esac
1595     printf "%s\n" "PATH: $as_dir"
1596   done
1597 IFS=$as_save_IFS
1598
1599 } >&5
1600
1601 cat >&5 <<_ACEOF
1602
1603
1604 ## ----------- ##
1605 ## Core tests. ##
1606 ## ----------- ##
1607
1608 _ACEOF
1609
1610
1611 # Keep a trace of the command line.
1612 # Strip out --no-create and --no-recursion so they do not pile up.
1613 # Strip out --silent because we don't want to record it for future runs.
1614 # Also quote any args containing shell meta-characters.
1615 # Make two passes to allow for proper duplicate-argument suppression.
1616 ac_configure_args=
1617 ac_configure_args0=
1618 ac_configure_args1=
1619 ac_must_keep_next=false
1620 for ac_pass in 1 2
1621 do
1622   for ac_arg
1623   do
1624     case $ac_arg in
1625     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1626     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1627     | -silent | --silent | --silen | --sile | --sil)
1628       continue ;;
1629     *\'*)
1630       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1631     esac
1632     case $ac_pass in
1633     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1634     2)
1635       as_fn_append ac_configure_args1 " '$ac_arg'"
1636       if test $ac_must_keep_next = true; then
1637         ac_must_keep_next=false # Got value, back to normal.
1638       else
1639         case $ac_arg in
1640           *=* | --config-cache | -C | -disable-* | --disable-* \
1641           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1642           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1643           | -with-* | --with-* | -without-* | --without-* | --x)
1644             case "$ac_configure_args0 " in
1645               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1646             esac
1647             ;;
1648           -* ) ac_must_keep_next=true ;;
1649         esac
1650       fi
1651       as_fn_append ac_configure_args " '$ac_arg'"
1652       ;;
1653     esac
1654   done
1655 done
1656 { ac_configure_args0=; unset ac_configure_args0;}
1657 { ac_configure_args1=; unset ac_configure_args1;}
1658
1659 # When interrupted or exit'd, cleanup temporary files, and complete
1660 # config.log.  We remove comments because anyway the quotes in there
1661 # would cause problems or look ugly.
1662 # WARNING: Use '\'' to represent an apostrophe within the trap.
1663 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1664 trap 'exit_status=$?
1665   # Sanitize IFS.
1666   IFS=" ""      $as_nl"
1667   # Save into config.log some information that might help in debugging.
1668   {
1669     echo
1670
1671     printf "%s\n" "## ---------------- ##
1672 ## Cache variables. ##
1673 ## ---------------- ##"
1674     echo
1675     # The following way of writing the cache mishandles newlines in values,
1676 (
1677   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1678     eval ac_val=\$$ac_var
1679     case $ac_val in #(
1680     *${as_nl}*)
1681       case $ac_var in #(
1682       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1683 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1684       esac
1685       case $ac_var in #(
1686       _ | IFS | as_nl) ;; #(
1687       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1688       *) { eval $ac_var=; unset $ac_var;} ;;
1689       esac ;;
1690     esac
1691   done
1692   (set) 2>&1 |
1693     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1694     *${as_nl}ac_space=\ *)
1695       sed -n \
1696         "s/'\''/'\''\\\\'\'''\''/g;
1697           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1698       ;; #(
1699     *)
1700       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1701       ;;
1702     esac |
1703     sort
1704 )
1705     echo
1706
1707     printf "%s\n" "## ----------------- ##
1708 ## Output variables. ##
1709 ## ----------------- ##"
1710     echo
1711     for ac_var in $ac_subst_vars
1712     do
1713       eval ac_val=\$$ac_var
1714       case $ac_val in
1715       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1716       esac
1717       printf "%s\n" "$ac_var='\''$ac_val'\''"
1718     done | sort
1719     echo
1720
1721     if test -n "$ac_subst_files"; then
1722       printf "%s\n" "## ------------------- ##
1723 ## File substitutions. ##
1724 ## ------------------- ##"
1725       echo
1726       for ac_var in $ac_subst_files
1727       do
1728         eval ac_val=\$$ac_var
1729         case $ac_val in
1730         *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1731         esac
1732         printf "%s\n" "$ac_var='\''$ac_val'\''"
1733       done | sort
1734       echo
1735     fi
1736
1737     if test -s confdefs.h; then
1738       printf "%s\n" "## ----------- ##
1739 ## confdefs.h. ##
1740 ## ----------- ##"
1741       echo
1742       cat confdefs.h
1743       echo
1744     fi
1745     test "$ac_signal" != 0 &&
1746       printf "%s\n" "$as_me: caught signal $ac_signal"
1747     printf "%s\n" "$as_me: exit $exit_status"
1748   } >&5
1749   rm -f core *.core core.conftest.* &&
1750     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1751     exit $exit_status
1752 ' 0
1753 for ac_signal in 1 2 13 15; do
1754   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1755 done
1756 ac_signal=0
1757
1758 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1759 rm -f -r conftest* confdefs.h
1760
1761 printf "%s\n" "/* confdefs.h */" > confdefs.h
1762
1763 # Predefined preprocessor variables.
1764
1765 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1766
1767 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1768
1769 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1770
1771 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1772
1773 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1774
1775 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1776
1777
1778 # Let the site file select an alternate cache file if it wants to.
1779 # Prefer an explicitly selected file to automatically selected ones.
1780 if test -n "$CONFIG_SITE"; then
1781   ac_site_files="$CONFIG_SITE"
1782 elif test "x$prefix" != xNONE; then
1783   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1784 else
1785   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1786 fi
1787
1788 for ac_site_file in $ac_site_files
1789 do
1790   case $ac_site_file in #(
1791   */*) :
1792      ;; #(
1793   *) :
1794     ac_site_file=./$ac_site_file ;;
1795 esac
1796   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1797     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1798 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1799     sed 's/^/| /' "$ac_site_file" >&5
1800     . "$ac_site_file" \
1801       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1802 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1803 as_fn_error $? "failed to load site script $ac_site_file
1804 See \`config.log' for more details" "$LINENO" 5; }
1805   fi
1806 done
1807
1808 if test -r "$cache_file"; then
1809   # Some versions of bash will fail to source /dev/null (special files
1810   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1811   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1812     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1813 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1814     case $cache_file in
1815       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1816       *)                      . "./$cache_file";;
1817     esac
1818   fi
1819 else
1820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1821 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1822   >$cache_file
1823 fi
1824
1825 # Test code for whether the C compiler supports C89 (global declarations)
1826 ac_c_conftest_c89_globals='
1827 /* Does the compiler advertise C89 conformance?
1828    Do not test the value of __STDC__, because some compilers set it to 0
1829    while being otherwise adequately conformant. */
1830 #if !defined __STDC__
1831 # error "Compiler does not advertise C89 conformance"
1832 #endif
1833
1834 #include <stddef.h>
1835 #include <stdarg.h>
1836 struct stat;
1837 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1838 struct buf { int x; };
1839 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1840 static char *e (p, i)
1841      char **p;
1842      int i;
1843 {
1844   return p[i];
1845 }
1846 static char *f (char * (*g) (char **, int), char **p, ...)
1847 {
1848   char *s;
1849   va_list v;
1850   va_start (v,p);
1851   s = g (p, va_arg (v,int));
1852   va_end (v);
1853   return s;
1854 }
1855
1856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1857    function prototypes and stuff, but not \xHH hex character constants.
1858    These do not provoke an error unfortunately, instead are silently treated
1859    as an "x".  The following induces an error, until -std is added to get
1860    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1861    array size at least.  It is necessary to write \x00 == 0 to get something
1862    that is true only with -std.  */
1863 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1864
1865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1866    inside strings and character constants.  */
1867 #define FOO(x) '\''x'\''
1868 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1869
1870 int test (int i, double x);
1871 struct s1 {int (*f) (int a);};
1872 struct s2 {int (*f) (double a);};
1873 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1874                int, int);'
1875
1876 # Test code for whether the C compiler supports C89 (body of main).
1877 ac_c_conftest_c89_main='
1878 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1879 '
1880
1881 # Test code for whether the C compiler supports C99 (global declarations)
1882 ac_c_conftest_c99_globals='
1883 // Does the compiler advertise C99 conformance?
1884 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1885 # error "Compiler does not advertise C99 conformance"
1886 #endif
1887
1888 #include <stdbool.h>
1889 extern int puts (const char *);
1890 extern int printf (const char *, ...);
1891 extern int dprintf (int, const char *, ...);
1892 extern void *malloc (size_t);
1893
1894 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1895 // dprintf is used instead of fprintf to avoid needing to declare
1896 // FILE and stderr.
1897 #define debug(...) dprintf (2, __VA_ARGS__)
1898 #define showlist(...) puts (#__VA_ARGS__)
1899 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1900 static void
1901 test_varargs_macros (void)
1902 {
1903   int x = 1234;
1904   int y = 5678;
1905   debug ("Flag");
1906   debug ("X = %d\n", x);
1907   showlist (The first, second, and third items.);
1908   report (x>y, "x is %d but y is %d", x, y);
1909 }
1910
1911 // Check long long types.
1912 #define BIG64 18446744073709551615ull
1913 #define BIG32 4294967295ul
1914 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1915 #if !BIG_OK
1916   #error "your preprocessor is broken"
1917 #endif
1918 #if BIG_OK
1919 #else
1920   #error "your preprocessor is broken"
1921 #endif
1922 static long long int bignum = -9223372036854775807LL;
1923 static unsigned long long int ubignum = BIG64;
1924
1925 struct incomplete_array
1926 {
1927   int datasize;
1928   double data[];
1929 };
1930
1931 struct named_init {
1932   int number;
1933   const wchar_t *name;
1934   double average;
1935 };
1936
1937 typedef const char *ccp;
1938
1939 static inline int
1940 test_restrict (ccp restrict text)
1941 {
1942   // See if C++-style comments work.
1943   // Iterate through items via the restricted pointer.
1944   // Also check for declarations in for loops.
1945   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1946     continue;
1947   return 0;
1948 }
1949
1950 // Check varargs and va_copy.
1951 static bool
1952 test_varargs (const char *format, ...)
1953 {
1954   va_list args;
1955   va_start (args, format);
1956   va_list args_copy;
1957   va_copy (args_copy, args);
1958
1959   const char *str = "";
1960   int number = 0;
1961   float fnumber = 0;
1962
1963   while (*format)
1964     {
1965       switch (*format++)
1966         {
1967         case '\''s'\'': // string
1968           str = va_arg (args_copy, const char *);
1969           break;
1970         case '\''d'\'': // int
1971           number = va_arg (args_copy, int);
1972           break;
1973         case '\''f'\'': // float
1974           fnumber = va_arg (args_copy, double);
1975           break;
1976         default:
1977           break;
1978         }
1979     }
1980   va_end (args_copy);
1981   va_end (args);
1982
1983   return *str && number && fnumber;
1984 }
1985 '
1986
1987 # Test code for whether the C compiler supports C99 (body of main).
1988 ac_c_conftest_c99_main='
1989   // Check bool.
1990   _Bool success = false;
1991   success |= (argc != 0);
1992
1993   // Check restrict.
1994   if (test_restrict ("String literal") == 0)
1995     success = true;
1996   char *restrict newvar = "Another string";
1997
1998   // Check varargs.
1999   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2000   test_varargs_macros ();
2001
2002   // Check flexible array members.
2003   struct incomplete_array *ia =
2004     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2005   ia->datasize = 10;
2006   for (int i = 0; i < ia->datasize; ++i)
2007     ia->data[i] = i * 1.234;
2008
2009   // Check named initializers.
2010   struct named_init ni = {
2011     .number = 34,
2012     .name = L"Test wide string",
2013     .average = 543.34343,
2014   };
2015
2016   ni.number = 58;
2017
2018   int dynamic_array[ni.number];
2019   dynamic_array[0] = argv[0][0];
2020   dynamic_array[ni.number - 1] = 543;
2021
2022   // work around unused variable warnings
2023   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2024          || dynamic_array[ni.number - 1] != 543);
2025 '
2026
2027 # Test code for whether the C compiler supports C11 (global declarations)
2028 ac_c_conftest_c11_globals='
2029 // Does the compiler advertise C11 conformance?
2030 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2031 # error "Compiler does not advertise C11 conformance"
2032 #endif
2033
2034 // Check _Alignas.
2035 char _Alignas (double) aligned_as_double;
2036 char _Alignas (0) no_special_alignment;
2037 extern char aligned_as_int;
2038 char _Alignas (0) _Alignas (int) aligned_as_int;
2039
2040 // Check _Alignof.
2041 enum
2042 {
2043   int_alignment = _Alignof (int),
2044   int_array_alignment = _Alignof (int[100]),
2045   char_alignment = _Alignof (char)
2046 };
2047 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2048
2049 // Check _Noreturn.
2050 int _Noreturn does_not_return (void) { for (;;) continue; }
2051
2052 // Check _Static_assert.
2053 struct test_static_assert
2054 {
2055   int x;
2056   _Static_assert (sizeof (int) <= sizeof (long int),
2057                   "_Static_assert does not work in struct");
2058   long int y;
2059 };
2060
2061 // Check UTF-8 literals.
2062 #define u8 syntax error!
2063 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2064
2065 // Check duplicate typedefs.
2066 typedef long *long_ptr;
2067 typedef long int *long_ptr;
2068 typedef long_ptr long_ptr;
2069
2070 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2071 struct anonymous
2072 {
2073   union {
2074     struct { int i; int j; };
2075     struct { int k; long int l; } w;
2076   };
2077   int m;
2078 } v1;
2079 '
2080
2081 # Test code for whether the C compiler supports C11 (body of main).
2082 ac_c_conftest_c11_main='
2083   _Static_assert ((offsetof (struct anonymous, i)
2084                    == offsetof (struct anonymous, w.k)),
2085                   "Anonymous union alignment botch");
2086   v1.i = 2;
2087   v1.w.k = 5;
2088   ok |= v1.i != 5;
2089 '
2090
2091 # Test code for whether the C compiler supports C11 (complete).
2092 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2093 ${ac_c_conftest_c99_globals}
2094 ${ac_c_conftest_c11_globals}
2095
2096 int
2097 main (int argc, char **argv)
2098 {
2099   int ok = 0;
2100   ${ac_c_conftest_c89_main}
2101   ${ac_c_conftest_c99_main}
2102   ${ac_c_conftest_c11_main}
2103   return ok;
2104 }
2105 "
2106
2107 # Test code for whether the C compiler supports C99 (complete).
2108 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2109 ${ac_c_conftest_c99_globals}
2110
2111 int
2112 main (int argc, char **argv)
2113 {
2114   int ok = 0;
2115   ${ac_c_conftest_c89_main}
2116   ${ac_c_conftest_c99_main}
2117   return ok;
2118 }
2119 "
2120
2121 # Test code for whether the C compiler supports C89 (complete).
2122 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2123
2124 int
2125 main (int argc, char **argv)
2126 {
2127   int ok = 0;
2128   ${ac_c_conftest_c89_main}
2129   return ok;
2130 }
2131 "
2132
2133
2134 # Auxiliary files required by this configure script.
2135 ac_aux_files="config.guess config.sub ar-lib compile missing install-sh"
2136
2137 # Locations in which to look for auxiliary files.
2138 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2139
2140 # Search for a directory containing all of the required auxiliary files,
2141 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2142 # If we don't find one directory that contains all the files we need,
2143 # we report the set of missing files from the *first* directory in
2144 # $ac_aux_dir_candidates and give up.
2145 ac_missing_aux_files=""
2146 ac_first_candidate=:
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 as_found=false
2150 for as_dir in $ac_aux_dir_candidates
2151 do
2152   IFS=$as_save_IFS
2153   case $as_dir in #(((
2154     '') as_dir=./ ;;
2155     */) ;;
2156     *) as_dir=$as_dir/ ;;
2157   esac
2158   as_found=:
2159
2160   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2161   ac_aux_dir_found=yes
2162   ac_install_sh=
2163   for ac_aux in $ac_aux_files
2164   do
2165     # As a special case, if "install-sh" is required, that requirement
2166     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2167     # and $ac_install_sh is set appropriately for whichever one is found.
2168     if test x"$ac_aux" = x"install-sh"
2169     then
2170       if test -f "${as_dir}install-sh"; then
2171         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2172         ac_install_sh="${as_dir}install-sh -c"
2173       elif test -f "${as_dir}install.sh"; then
2174         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2175         ac_install_sh="${as_dir}install.sh -c"
2176       elif test -f "${as_dir}shtool"; then
2177         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2178         ac_install_sh="${as_dir}shtool install -c"
2179       else
2180         ac_aux_dir_found=no
2181         if $ac_first_candidate; then
2182           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2183         else
2184           break
2185         fi
2186       fi
2187     else
2188       if test -f "${as_dir}${ac_aux}"; then
2189         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2190       else
2191         ac_aux_dir_found=no
2192         if $ac_first_candidate; then
2193           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2194         else
2195           break
2196         fi
2197       fi
2198     fi
2199   done
2200   if test "$ac_aux_dir_found" = yes; then
2201     ac_aux_dir="$as_dir"
2202     break
2203   fi
2204   ac_first_candidate=false
2205
2206   as_found=false
2207 done
2208 IFS=$as_save_IFS
2209 if $as_found
2210 then :
2211
2212 else $as_nop
2213   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2214 fi
2215
2216
2217 # These three variables are undocumented and unsupported,
2218 # and are intended to be withdrawn in a future Autoconf release.
2219 # They can cause serious problems if a builder's source tree is in a directory
2220 # whose full name contains unusual characters.
2221 if test -f "${ac_aux_dir}config.guess"; then
2222   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2223 fi
2224 if test -f "${ac_aux_dir}config.sub"; then
2225   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2226 fi
2227 if test -f "$ac_aux_dir/configure"; then
2228   ac_configure="$SHELL ${ac_aux_dir}configure"
2229 fi
2230
2231 # Check that the precious variables saved in the cache have kept the same
2232 # value.
2233 ac_cache_corrupted=false
2234 for ac_var in $ac_precious_vars; do
2235   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2236   eval ac_new_set=\$ac_env_${ac_var}_set
2237   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2238   eval ac_new_val=\$ac_env_${ac_var}_value
2239   case $ac_old_set,$ac_new_set in
2240     set,)
2241       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243       ac_cache_corrupted=: ;;
2244     ,set)
2245       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247       ac_cache_corrupted=: ;;
2248     ,);;
2249     *)
2250       if test "x$ac_old_val" != "x$ac_new_val"; then
2251         # differences in whitespace do not lead to failure.
2252         ac_old_val_w=`echo x $ac_old_val`
2253         ac_new_val_w=`echo x $ac_new_val`
2254         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257           ac_cache_corrupted=:
2258         else
2259           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261           eval $ac_var=\$ac_old_val
2262         fi
2263         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2264 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2265         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2266 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2267       fi;;
2268   esac
2269   # Pass precious variables to config.status.
2270   if test "$ac_new_set" = set; then
2271     case $ac_new_val in
2272     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273     *) ac_arg=$ac_var=$ac_new_val ;;
2274     esac
2275     case " $ac_configure_args " in
2276       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2277       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2278     esac
2279   fi
2280 done
2281 if $ac_cache_corrupted; then
2282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2286   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2287             and start over" "$LINENO" 5
2288 fi
2289 ## -------------------- ##
2290 ## Main body of script. ##
2291 ## -------------------- ##
2292
2293 ac_ext=c
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298
2299
2300 am__api_version='1.16'
2301
2302
2303
2304   # Find a good install program.  We prefer a C program (faster),
2305 # so one script is as good as another.  But avoid the broken or
2306 # incompatible versions:
2307 # SysV /etc/install, /usr/sbin/install
2308 # SunOS /usr/etc/install
2309 # IRIX /sbin/install
2310 # AIX /bin/install
2311 # AmigaOS /C/install, which installs bootblocks on floppy discs
2312 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2313 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2314 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2315 # OS/2's system install, which has a completely different semantic
2316 # ./install, which can be erroneously created by make from ./install.sh.
2317 # Reject install programs that cannot install multiple files.
2318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2319 printf %s "checking for a BSD-compatible install... " >&6; }
2320 if test -z "$INSTALL"; then
2321 if test ${ac_cv_path_install+y}
2322 then :
2323   printf %s "(cached) " >&6
2324 else $as_nop
2325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 for as_dir in $PATH
2327 do
2328   IFS=$as_save_IFS
2329   case $as_dir in #(((
2330     '') as_dir=./ ;;
2331     */) ;;
2332     *) as_dir=$as_dir/ ;;
2333   esac
2334     # Account for fact that we put trailing slashes in our PATH walk.
2335 case $as_dir in #((
2336   ./ | /[cC]/* | \
2337   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2339   /usr/ucb/* ) ;;
2340   *)
2341     # OSF1 and SCO ODT 3.0 have their own names for install.
2342     # Don't use installbsd from OSF since it installs stuff as root
2343     # by default.
2344     for ac_prog in ginstall scoinst install; do
2345       for ac_exec_ext in '' $ac_executable_extensions; do
2346         if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2347           if test $ac_prog = install &&
2348             grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349             # AIX install.  It has an incompatible calling convention.
2350             :
2351           elif test $ac_prog = install &&
2352             grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353             # program-specific install script used by HP pwplus--don't use.
2354             :
2355           else
2356             rm -rf conftest.one conftest.two conftest.dir
2357             echo one > conftest.one
2358             echo two > conftest.two
2359             mkdir conftest.dir
2360             if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2361               test -s conftest.one && test -s conftest.two &&
2362               test -s conftest.dir/conftest.one &&
2363               test -s conftest.dir/conftest.two
2364             then
2365               ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2366               break 3
2367             fi
2368           fi
2369         fi
2370       done
2371     done
2372     ;;
2373 esac
2374
2375   done
2376 IFS=$as_save_IFS
2377
2378 rm -rf conftest.one conftest.two conftest.dir
2379
2380 fi
2381   if test ${ac_cv_path_install+y}; then
2382     INSTALL=$ac_cv_path_install
2383   else
2384     # As a last resort, use the slow shell script.  Don't cache a
2385     # value for INSTALL within a source directory, because that will
2386     # break other packages using the cache if that directory is
2387     # removed, or if the value is a relative name.
2388     INSTALL=$ac_install_sh
2389   fi
2390 fi
2391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2392 printf "%s\n" "$INSTALL" >&6; }
2393
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2397
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2399
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2401
2402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2403 printf %s "checking whether build environment is sane... " >&6; }
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name.  Accept space and tab only in the latter.
2406 am_lf='
2407 '
2408 case `pwd` in
2409   *[\\\"\#\$\&\'\`$am_lf]*)
2410     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2411 esac
2412 case $srcdir in
2413   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2414     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2415 esac
2416
2417 # Do 'set' in a subshell so we don't clobber the current shell's
2418 # arguments.  Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2421 # directory).
2422 if (
2423    am_has_slept=no
2424    for am_try in 1 2; do
2425      echo "timestamp, slept: $am_has_slept" > conftest.file
2426      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427      if test "$*" = "X"; then
2428         # -L didn't work.
2429         set X `ls -t "$srcdir/configure" conftest.file`
2430      fi
2431      if test "$*" != "X $srcdir/configure conftest.file" \
2432         && test "$*" != "X conftest.file $srcdir/configure"; then
2433
2434         # If neither matched, then we have a broken ls.  This can happen
2435         # if, for instance, CONFIG_SHELL is bash and it inherits a
2436         # broken ls alias from the environment.  This has actually
2437         # happened.  Such a system could not be considered "sane".
2438         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2439   alias in your environment" "$LINENO" 5
2440      fi
2441      if test "$2" = conftest.file || test $am_try -eq 2; then
2442        break
2443      fi
2444      # Just in case.
2445      sleep 1
2446      am_has_slept=yes
2447    done
2448    test "$2" = conftest.file
2449    )
2450 then
2451    # Ok.
2452    :
2453 else
2454    as_fn_error $? "newly created file is older than distributed files!
2455 Check your system clock" "$LINENO" 5
2456 fi
2457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2458 printf "%s\n" "yes" >&6; }
2459 # If we didn't sleep, we still need to ensure time stamps of config.status and
2460 # generated files are strictly newer.
2461 am_sleep_pid=
2462 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2463   ( sleep 1 ) &
2464   am_sleep_pid=$!
2465 fi
2466
2467 rm -f conftest.file
2468
2469 test "$program_prefix" != NONE &&
2470   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE &&
2473   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2478
2479
2480 # Expand $ac_aux_dir to an absolute path.
2481 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2482
2483
2484   if test x"${MISSING+set}" != xset; then
2485   MISSING="\${SHELL} '$am_aux_dir/missing'"
2486 fi
2487 # Use eval to expand $SHELL
2488 if eval "$MISSING --is-lightweight"; then
2489   am_missing_run="$MISSING "
2490 else
2491   am_missing_run=
2492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2493 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2494 fi
2495
2496 if test x"${install_sh+set}" != xset; then
2497   case $am_aux_dir in
2498   *\ * | *\     *)
2499     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2500   *)
2501     install_sh="\${SHELL} $am_aux_dir/install-sh"
2502   esac
2503 fi
2504
2505 # Installed binaries are usually stripped using 'strip' when the user
2506 # run "make install-strip".  However 'strip' might not be the right
2507 # tool to use in cross-compilation environments, therefore Automake
2508 # will honor the 'STRIP' environment variable to overrule this program.
2509 if test "$cross_compiling" != no; then
2510   if test -n "$ac_tool_prefix"; then
2511   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}strip; ac_word=$2
2513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 printf %s "checking for $ac_word... " >&6; }
2515 if test ${ac_cv_prog_STRIP+y}
2516 then :
2517   printf %s "(cached) " >&6
2518 else $as_nop
2519   if test -n "$STRIP"; then
2520   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2521 else
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH
2524 do
2525   IFS=$as_save_IFS
2526   case $as_dir in #(((
2527     '') as_dir=./ ;;
2528     */) ;;
2529     *) as_dir=$as_dir/ ;;
2530   esac
2531     for ac_exec_ext in '' $ac_executable_extensions; do
2532   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2533     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2534     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2535     break 2
2536   fi
2537 done
2538   done
2539 IFS=$as_save_IFS
2540
2541 fi
2542 fi
2543 STRIP=$ac_cv_prog_STRIP
2544 if test -n "$STRIP"; then
2545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2546 printf "%s\n" "$STRIP" >&6; }
2547 else
2548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 printf "%s\n" "no" >&6; }
2550 fi
2551
2552
2553 fi
2554 if test -z "$ac_cv_prog_STRIP"; then
2555   ac_ct_STRIP=$STRIP
2556   # Extract the first word of "strip", so it can be a program name with args.
2557 set dummy strip; ac_word=$2
2558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 printf %s "checking for $ac_word... " >&6; }
2560 if test ${ac_cv_prog_ac_ct_STRIP+y}
2561 then :
2562   printf %s "(cached) " >&6
2563 else $as_nop
2564   if test -n "$ac_ct_STRIP"; then
2565   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570   IFS=$as_save_IFS
2571   case $as_dir in #(((
2572     '') as_dir=./ ;;
2573     */) ;;
2574     *) as_dir=$as_dir/ ;;
2575   esac
2576     for ac_exec_ext in '' $ac_executable_extensions; do
2577   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2578     ac_cv_prog_ac_ct_STRIP="strip"
2579     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2580     break 2
2581   fi
2582 done
2583   done
2584 IFS=$as_save_IFS
2585
2586 fi
2587 fi
2588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2589 if test -n "$ac_ct_STRIP"; then
2590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591 printf "%s\n" "$ac_ct_STRIP" >&6; }
2592 else
2593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 printf "%s\n" "no" >&6; }
2595 fi
2596
2597   if test "x$ac_ct_STRIP" = x; then
2598     STRIP=":"
2599   else
2600     case $cross_compiling:$ac_tool_warned in
2601 yes:)
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604 ac_tool_warned=yes ;;
2605 esac
2606     STRIP=$ac_ct_STRIP
2607   fi
2608 else
2609   STRIP="$ac_cv_prog_STRIP"
2610 fi
2611
2612 fi
2613 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2614
2615
2616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2617 printf %s "checking for a race-free mkdir -p... " >&6; }
2618 if test -z "$MKDIR_P"; then
2619   if test ${ac_cv_path_mkdir+y}
2620 then :
2621   printf %s "(cached) " >&6
2622 else $as_nop
2623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2625 do
2626   IFS=$as_save_IFS
2627   case $as_dir in #(((
2628     '') as_dir=./ ;;
2629     */) ;;
2630     *) as_dir=$as_dir/ ;;
2631   esac
2632     for ac_prog in mkdir gmkdir; do
2633          for ac_exec_ext in '' $ac_executable_extensions; do
2634            as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2635            case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2636              'mkdir ('*'coreutils) '* | \
2637              'BusyBox '* | \
2638              'mkdir (fileutils) '4.1*)
2639                ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2640                break 3;;
2641            esac
2642          done
2643        done
2644   done
2645 IFS=$as_save_IFS
2646
2647 fi
2648
2649   test -d ./--version && rmdir ./--version
2650   if test ${ac_cv_path_mkdir+y}; then
2651     MKDIR_P="$ac_cv_path_mkdir -p"
2652   else
2653     # As a last resort, use the slow shell script.  Don't cache a
2654     # value for MKDIR_P within a source directory, because that will
2655     # break other packages using the cache if that directory is
2656     # removed, or if the value is a relative name.
2657     MKDIR_P="$ac_install_sh -d"
2658   fi
2659 fi
2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2661 printf "%s\n" "$MKDIR_P" >&6; }
2662
2663 for ac_prog in gawk mawk nawk awk
2664 do
2665   # Extract the first word of "$ac_prog", so it can be a program name with args.
2666 set dummy $ac_prog; ac_word=$2
2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 printf %s "checking for $ac_word... " >&6; }
2669 if test ${ac_cv_prog_AWK+y}
2670 then :
2671   printf %s "(cached) " >&6
2672 else $as_nop
2673   if test -n "$AWK"; then
2674   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2675 else
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 for as_dir in $PATH
2678 do
2679   IFS=$as_save_IFS
2680   case $as_dir in #(((
2681     '') as_dir=./ ;;
2682     */) ;;
2683     *) as_dir=$as_dir/ ;;
2684   esac
2685     for ac_exec_ext in '' $ac_executable_extensions; do
2686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2687     ac_cv_prog_AWK="$ac_prog"
2688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2689     break 2
2690   fi
2691 done
2692   done
2693 IFS=$as_save_IFS
2694
2695 fi
2696 fi
2697 AWK=$ac_cv_prog_AWK
2698 if test -n "$AWK"; then
2699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2700 printf "%s\n" "$AWK" >&6; }
2701 else
2702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 printf "%s\n" "no" >&6; }
2704 fi
2705
2706
2707   test -n "$AWK" && break
2708 done
2709
2710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2711 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2712 set x ${MAKE-make}
2713 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2714 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2715 then :
2716   printf %s "(cached) " >&6
2717 else $as_nop
2718   cat >conftest.make <<\_ACEOF
2719 SHELL = /bin/sh
2720 all:
2721         @echo '@@@%%%=$(MAKE)=@@@%%%'
2722 _ACEOF
2723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2725   *@@@%%%=?*=@@@%%%*)
2726     eval ac_cv_prog_make_${ac_make}_set=yes;;
2727   *)
2728     eval ac_cv_prog_make_${ac_make}_set=no;;
2729 esac
2730 rm -f conftest.make
2731 fi
2732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 printf "%s\n" "yes" >&6; }
2735   SET_MAKE=
2736 else
2737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 printf "%s\n" "no" >&6; }
2739   SET_MAKE="MAKE=${MAKE-make}"
2740 fi
2741
2742 rm -rf .tst 2>/dev/null
2743 mkdir .tst 2>/dev/null
2744 if test -d .tst; then
2745   am__leading_dot=.
2746 else
2747   am__leading_dot=_
2748 fi
2749 rmdir .tst 2>/dev/null
2750
2751 # Check whether --enable-silent-rules was given.
2752 if test ${enable_silent_rules+y}
2753 then :
2754   enableval=$enable_silent_rules;
2755 fi
2756
2757 case $enable_silent_rules in # (((
2758   yes) AM_DEFAULT_VERBOSITY=0;;
2759    no) AM_DEFAULT_VERBOSITY=1;;
2760     *) AM_DEFAULT_VERBOSITY=1;;
2761 esac
2762 am_make=${MAKE-make}
2763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2764 printf %s "checking whether $am_make supports nested variables... " >&6; }
2765 if test ${am_cv_make_support_nested_variables+y}
2766 then :
2767   printf %s "(cached) " >&6
2768 else $as_nop
2769   if printf "%s\n" 'TRUE=$(BAR$(V))
2770 BAR0=false
2771 BAR1=true
2772 V=1
2773 am__doit:
2774         @$(TRUE)
2775 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2776   am_cv_make_support_nested_variables=yes
2777 else
2778   am_cv_make_support_nested_variables=no
2779 fi
2780 fi
2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2782 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2783 if test $am_cv_make_support_nested_variables = yes; then
2784     AM_V='$(V)'
2785   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2786 else
2787   AM_V=$AM_DEFAULT_VERBOSITY
2788   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2789 fi
2790 AM_BACKSLASH='\'
2791
2792 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2793   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2794   # is not polluted with repeated "-I."
2795   am__isrc=' -I$(srcdir)'
2796   # test to see if srcdir already configured
2797   if test -f $srcdir/config.status; then
2798     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2799   fi
2800 fi
2801
2802 # test whether we have cygpath
2803 if test -z "$CYGPATH_W"; then
2804   if (cygpath --version) >/dev/null 2>/dev/null; then
2805     CYGPATH_W='cygpath -w'
2806   else
2807     CYGPATH_W=echo
2808   fi
2809 fi
2810
2811
2812 # Define the identity of the package.
2813  PACKAGE='fuse-exfat'
2814  VERSION='1.4.0'
2815
2816
2817 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2818
2819
2820 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2821
2822 # Some tools Automake needs.
2823
2824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2825
2826
2827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2828
2829
2830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2831
2832
2833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2834
2835
2836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2837
2838 # For better backward compatibility.  To be removed once Automake 1.9.x
2839 # dies out for good.  For more background, see:
2840 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2841 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2842 mkdir_p='$(MKDIR_P)'
2843
2844 # We need awk for the "check" target (and possibly the TAP driver).  The
2845 # system "awk" is bad on some platforms.
2846 # Always define AMTAR for backward compatibility.  Yes, it's still used
2847 # in the wild :-(  We should find a proper way to deprecate it ...
2848 AMTAR='$${TAR-tar}'
2849
2850
2851 # We'll loop over all known methods to create a tar archive until one works.
2852 _am_tools='gnutar  pax cpio none'
2853
2854 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2855
2856
2857
2858
2859
2860 # Variables for tags utilities; see am/tags.am
2861 if test -z "$CTAGS"; then
2862   CTAGS=ctags
2863 fi
2864
2865 if test -z "$ETAGS"; then
2866   ETAGS=etags
2867 fi
2868
2869 if test -z "$CSCOPE"; then
2870   CSCOPE=cscope
2871 fi
2872
2873
2874
2875 # POSIX will say in a future version that running "rm -f" with no argument
2876 # is OK; and we want to be able to make that assumption in our Makefile
2877 # recipes.  So use an aggressive probe to check that the usage we want is
2878 # actually supported "in the wild" to an acceptable degree.
2879 # See automake bug#10828.
2880 # To make any issue more visible, cause the running configure to be aborted
2881 # by default if the 'rm' program in use doesn't match our expectations; the
2882 # user can still override this though.
2883 if rm -f && rm -fr && rm -rf; then : OK; else
2884   cat >&2 <<'END'
2885 Oops!
2886
2887 Your 'rm' program seems unable to run without file operands specified
2888 on the command line, even when the '-f' option is present.  This is contrary
2889 to the behaviour of most rm programs out there, and not conforming with
2890 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2891
2892 Please tell bug-automake@gnu.org about your system, including the value
2893 of your $PATH and any error possibly output before this message.  This
2894 can help us improve future automake versions.
2895
2896 END
2897   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2898     echo 'Configuration will proceed anyway, since you have set the' >&2
2899     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2900     echo >&2
2901   else
2902     cat >&2 <<'END'
2903 Aborting the configuration process, to ensure you take notice of the issue.
2904
2905 You can download and install GNU coreutils to get an 'rm' implementation
2906 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2907
2908 If you want to complete the configuration process using your problematic
2909 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2910 to "yes", and re-run configure.
2911
2912 END
2913     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2914   fi
2915 fi
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926 ac_ext=c
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 if test -n "$ac_tool_prefix"; then
2932   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2933 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 printf %s "checking for $ac_word... " >&6; }
2936 if test ${ac_cv_prog_CC+y}
2937 then :
2938   printf %s "(cached) " >&6
2939 else $as_nop
2940   if test -n "$CC"; then
2941   ac_cv_prog_CC="$CC" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946   IFS=$as_save_IFS
2947   case $as_dir in #(((
2948     '') as_dir=./ ;;
2949     */) ;;
2950     *) as_dir=$as_dir/ ;;
2951   esac
2952     for ac_exec_ext in '' $ac_executable_extensions; do
2953   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2954     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2955     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2956     break 2
2957   fi
2958 done
2959   done
2960 IFS=$as_save_IFS
2961
2962 fi
2963 fi
2964 CC=$ac_cv_prog_CC
2965 if test -n "$CC"; then
2966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 printf "%s\n" "$CC" >&6; }
2968 else
2969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 printf "%s\n" "no" >&6; }
2971 fi
2972
2973
2974 fi
2975 if test -z "$ac_cv_prog_CC"; then
2976   ac_ct_CC=$CC
2977   # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 printf %s "checking for $ac_word... " >&6; }
2981 if test ${ac_cv_prog_ac_ct_CC+y}
2982 then :
2983   printf %s "(cached) " >&6
2984 else $as_nop
2985   if test -n "$ac_ct_CC"; then
2986   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987 else
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 for as_dir in $PATH
2990 do
2991   IFS=$as_save_IFS
2992   case $as_dir in #(((
2993     '') as_dir=./ ;;
2994     */) ;;
2995     *) as_dir=$as_dir/ ;;
2996   esac
2997     for ac_exec_ext in '' $ac_executable_extensions; do
2998   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2999     ac_cv_prog_ac_ct_CC="gcc"
3000     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3001     break 2
3002   fi
3003 done
3004   done
3005 IFS=$as_save_IFS
3006
3007 fi
3008 fi
3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010 if test -n "$ac_ct_CC"; then
3011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3012 printf "%s\n" "$ac_ct_CC" >&6; }
3013 else
3014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 printf "%s\n" "no" >&6; }
3016 fi
3017
3018   if test "x$ac_ct_CC" = x; then
3019     CC=""
3020   else
3021     case $cross_compiling:$ac_tool_warned in
3022 yes:)
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3026 esac
3027     CC=$ac_ct_CC
3028   fi
3029 else
3030   CC="$ac_cv_prog_CC"
3031 fi
3032
3033 if test -z "$CC"; then
3034           if test -n "$ac_tool_prefix"; then
3035     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3036 set dummy ${ac_tool_prefix}cc; ac_word=$2
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 printf %s "checking for $ac_word... " >&6; }
3039 if test ${ac_cv_prog_CC+y}
3040 then :
3041   printf %s "(cached) " >&6
3042 else $as_nop
3043   if test -n "$CC"; then
3044   ac_cv_prog_CC="$CC" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049   IFS=$as_save_IFS
3050   case $as_dir in #(((
3051     '') as_dir=./ ;;
3052     */) ;;
3053     *) as_dir=$as_dir/ ;;
3054   esac
3055     for ac_exec_ext in '' $ac_executable_extensions; do
3056   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3057     ac_cv_prog_CC="${ac_tool_prefix}cc"
3058     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3059     break 2
3060   fi
3061 done
3062   done
3063 IFS=$as_save_IFS
3064
3065 fi
3066 fi
3067 CC=$ac_cv_prog_CC
3068 if test -n "$CC"; then
3069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 printf "%s\n" "$CC" >&6; }
3071 else
3072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 printf "%s\n" "no" >&6; }
3074 fi
3075
3076
3077   fi
3078 fi
3079 if test -z "$CC"; then
3080   # Extract the first word of "cc", so it can be a program name with args.
3081 set dummy cc; ac_word=$2
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 printf %s "checking for $ac_word... " >&6; }
3084 if test ${ac_cv_prog_CC+y}
3085 then :
3086   printf %s "(cached) " >&6
3087 else $as_nop
3088   if test -n "$CC"; then
3089   ac_cv_prog_CC="$CC" # Let the user override the test.
3090 else
3091   ac_prog_rejected=no
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3094 do
3095   IFS=$as_save_IFS
3096   case $as_dir in #(((
3097     '') as_dir=./ ;;
3098     */) ;;
3099     *) as_dir=$as_dir/ ;;
3100   esac
3101     for ac_exec_ext in '' $ac_executable_extensions; do
3102   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3103     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3104        ac_prog_rejected=yes
3105        continue
3106      fi
3107     ac_cv_prog_CC="cc"
3108     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3109     break 2
3110   fi
3111 done
3112   done
3113 IFS=$as_save_IFS
3114
3115 if test $ac_prog_rejected = yes; then
3116   # We found a bogon in the path, so make sure we never use it.
3117   set dummy $ac_cv_prog_CC
3118   shift
3119   if test $# != 0; then
3120     # We chose a different compiler from the bogus one.
3121     # However, it has the same basename, so the bogon will be chosen
3122     # first if we set CC to just the basename; use the full file name.
3123     shift
3124     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3125   fi
3126 fi
3127 fi
3128 fi
3129 CC=$ac_cv_prog_CC
3130 if test -n "$CC"; then
3131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 printf "%s\n" "$CC" >&6; }
3133 else
3134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 printf "%s\n" "no" >&6; }
3136 fi
3137
3138
3139 fi
3140 if test -z "$CC"; then
3141   if test -n "$ac_tool_prefix"; then
3142   for ac_prog in cl.exe
3143   do
3144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 printf %s "checking for $ac_word... " >&6; }
3148 if test ${ac_cv_prog_CC+y}
3149 then :
3150   printf %s "(cached) " >&6
3151 else $as_nop
3152   if test -n "$CC"; then
3153   ac_cv_prog_CC="$CC" # Let the user override the test.
3154 else
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 for as_dir in $PATH
3157 do
3158   IFS=$as_save_IFS
3159   case $as_dir in #(((
3160     '') as_dir=./ ;;
3161     */) ;;
3162     *) as_dir=$as_dir/ ;;
3163   esac
3164     for ac_exec_ext in '' $ac_executable_extensions; do
3165   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3166     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3167     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3168     break 2
3169   fi
3170 done
3171   done
3172 IFS=$as_save_IFS
3173
3174 fi
3175 fi
3176 CC=$ac_cv_prog_CC
3177 if test -n "$CC"; then
3178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 printf "%s\n" "$CC" >&6; }
3180 else
3181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 printf "%s\n" "no" >&6; }
3183 fi
3184
3185
3186     test -n "$CC" && break
3187   done
3188 fi
3189 if test -z "$CC"; then
3190   ac_ct_CC=$CC
3191   for ac_prog in cl.exe
3192 do
3193   # Extract the first word of "$ac_prog", so it can be a program name with args.
3194 set dummy $ac_prog; ac_word=$2
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 printf %s "checking for $ac_word... " >&6; }
3197 if test ${ac_cv_prog_ac_ct_CC+y}
3198 then :
3199   printf %s "(cached) " >&6
3200 else $as_nop
3201   if test -n "$ac_ct_CC"; then
3202   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3203 else
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3206 do
3207   IFS=$as_save_IFS
3208   case $as_dir in #(((
3209     '') as_dir=./ ;;
3210     */) ;;
3211     *) as_dir=$as_dir/ ;;
3212   esac
3213     for ac_exec_ext in '' $ac_executable_extensions; do
3214   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3215     ac_cv_prog_ac_ct_CC="$ac_prog"
3216     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3217     break 2
3218   fi
3219 done
3220   done
3221 IFS=$as_save_IFS
3222
3223 fi
3224 fi
3225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 printf "%s\n" "$ac_ct_CC" >&6; }
3229 else
3230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 printf "%s\n" "no" >&6; }
3232 fi
3233
3234
3235   test -n "$ac_ct_CC" && break
3236 done
3237
3238   if test "x$ac_ct_CC" = x; then
3239     CC=""
3240   else
3241     case $cross_compiling:$ac_tool_warned in
3242 yes:)
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245 ac_tool_warned=yes ;;
3246 esac
3247     CC=$ac_ct_CC
3248   fi
3249 fi
3250
3251 fi
3252 if test -z "$CC"; then
3253   if test -n "$ac_tool_prefix"; then
3254   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}clang; ac_word=$2
3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 printf %s "checking for $ac_word... " >&6; }
3258 if test ${ac_cv_prog_CC+y}
3259 then :
3260   printf %s "(cached) " >&6
3261 else $as_nop
3262   if test -n "$CC"; then
3263   ac_cv_prog_CC="$CC" # Let the user override the test.
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268   IFS=$as_save_IFS
3269   case $as_dir in #(((
3270     '') as_dir=./ ;;
3271     */) ;;
3272     *) as_dir=$as_dir/ ;;
3273   esac
3274     for ac_exec_ext in '' $ac_executable_extensions; do
3275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3276     ac_cv_prog_CC="${ac_tool_prefix}clang"
3277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3278     break 2
3279   fi
3280 done
3281   done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 CC=$ac_cv_prog_CC
3287 if test -n "$CC"; then
3288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 printf "%s\n" "$CC" >&6; }
3290 else
3291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 printf "%s\n" "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_CC"; then
3298   ac_ct_CC=$CC
3299   # Extract the first word of "clang", so it can be a program name with args.
3300 set dummy clang; ac_word=$2
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 printf %s "checking for $ac_word... " >&6; }
3303 if test ${ac_cv_prog_ac_ct_CC+y}
3304 then :
3305   printf %s "(cached) " >&6
3306 else $as_nop
3307   if test -n "$ac_ct_CC"; then
3308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 else
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH
3312 do
3313   IFS=$as_save_IFS
3314   case $as_dir in #(((
3315     '') as_dir=./ ;;
3316     */) ;;
3317     *) as_dir=$as_dir/ ;;
3318   esac
3319     for ac_exec_ext in '' $ac_executable_extensions; do
3320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3321     ac_cv_prog_ac_ct_CC="clang"
3322     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3323     break 2
3324   fi
3325 done
3326   done
3327 IFS=$as_save_IFS
3328
3329 fi
3330 fi
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334 printf "%s\n" "$ac_ct_CC" >&6; }
3335 else
3336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 printf "%s\n" "no" >&6; }
3338 fi
3339
3340   if test "x$ac_ct_CC" = x; then
3341     CC=""
3342   else
3343     case $cross_compiling:$ac_tool_warned in
3344 yes:)
3345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned=yes ;;
3348 esac
3349     CC=$ac_ct_CC
3350   fi
3351 else
3352   CC="$ac_cv_prog_CC"
3353 fi
3354
3355 fi
3356
3357
3358 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $? "no acceptable C compiler found in \$PATH
3361 See \`config.log' for more details" "$LINENO" 5; }
3362
3363 # Provide some information about the compiler.
3364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3365 set X $ac_compile
3366 ac_compiler=$2
3367 for ac_option in --version -v -V -qversion -version; do
3368   { { ac_try="$ac_compiler $ac_option >&5"
3369 case "(($ac_try" in
3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371   *) ac_try_echo=$ac_try;;
3372 esac
3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 printf "%s\n" "$ac_try_echo"; } >&5
3375   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3376   ac_status=$?
3377   if test -s conftest.err; then
3378     sed '10a\
3379 ... rest of stderr output deleted ...
3380          10q' conftest.err >conftest.er1
3381     cat conftest.er1 >&5
3382   fi
3383   rm -f conftest.er1 conftest.err
3384   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385   test $ac_status = 0; }
3386 done
3387
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h.  */
3390
3391 int
3392 main (void)
3393 {
3394
3395   ;
3396   return 0;
3397 }
3398 _ACEOF
3399 ac_clean_files_save=$ac_clean_files
3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401 # Try to create an executable without -o first, disregard a.out.
3402 # It will help us diagnose broken compilers, and finding out an intuition
3403 # of exeext.
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405 printf %s "checking whether the C compiler works... " >&6; }
3406 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3407
3408 # The possible output files:
3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3410
3411 ac_rmfiles=
3412 for ac_file in $ac_files
3413 do
3414   case $ac_file in
3415     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3416     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3417   esac
3418 done
3419 rm -f $ac_rmfiles
3420
3421 if { { ac_try="$ac_link_default"
3422 case "(($ac_try" in
3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424   *) ac_try_echo=$ac_try;;
3425 esac
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 printf "%s\n" "$ac_try_echo"; } >&5
3428   (eval "$ac_link_default") 2>&5
3429   ac_status=$?
3430   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431   test $ac_status = 0; }
3432 then :
3433   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3434 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3435 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3436 # so that the user can short-circuit this test for compilers unknown to
3437 # Autoconf.
3438 for ac_file in $ac_files ''
3439 do
3440   test -f "$ac_file" || continue
3441   case $ac_file in
3442     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3443         ;;
3444     [ab].out )
3445         # We found the default executable, but exeext='' is most
3446         # certainly right.
3447         break;;
3448     *.* )
3449         if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3450         then :; else
3451            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3452         fi
3453         # We set ac_cv_exeext here because the later test for it is not
3454         # safe: cross compilers may not add the suffix if given an `-o'
3455         # argument, so we may need to know it at that point already.
3456         # Even if this section looks crufty: it has the advantage of
3457         # actually working.
3458         break;;
3459     * )
3460         break;;
3461   esac
3462 done
3463 test "$ac_cv_exeext" = no && ac_cv_exeext=
3464
3465 else $as_nop
3466   ac_file=''
3467 fi
3468 if test -z "$ac_file"
3469 then :
3470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 printf "%s\n" "no" >&6; }
3472 printf "%s\n" "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3474
3475 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3477 as_fn_error 77 "C compiler cannot create executables
3478 See \`config.log' for more details" "$LINENO" 5; }
3479 else $as_nop
3480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481 printf "%s\n" "yes" >&6; }
3482 fi
3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3484 printf %s "checking for C compiler default output file name... " >&6; }
3485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3486 printf "%s\n" "$ac_file" >&6; }
3487 ac_exeext=$ac_cv_exeext
3488
3489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3490 ac_clean_files=$ac_clean_files_save
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3492 printf %s "checking for suffix of executables... " >&6; }
3493 if { { ac_try="$ac_link"
3494 case "(($ac_try" in
3495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496   *) ac_try_echo=$ac_try;;
3497 esac
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 printf "%s\n" "$ac_try_echo"; } >&5
3500   (eval "$ac_link") 2>&5
3501   ac_status=$?
3502   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503   test $ac_status = 0; }
3504 then :
3505   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3506 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3507 # work properly (i.e., refer to `conftest.exe'), while it won't with
3508 # `rm'.
3509 for ac_file in conftest.exe conftest conftest.*; do
3510   test -f "$ac_file" || continue
3511   case $ac_file in
3512     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3513     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514           break;;
3515     * ) break;;
3516   esac
3517 done
3518 else $as_nop
3519   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3521 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3522 See \`config.log' for more details" "$LINENO" 5; }
3523 fi
3524 rm -f conftest conftest$ac_cv_exeext
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3526 printf "%s\n" "$ac_cv_exeext" >&6; }
3527
3528 rm -f conftest.$ac_ext
3529 EXEEXT=$ac_cv_exeext
3530 ac_exeext=$EXEEXT
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h.  */
3533 #include <stdio.h>
3534 int
3535 main (void)
3536 {
3537 FILE *f = fopen ("conftest.out", "w");
3538  return ferror (f) || fclose (f) != 0;
3539
3540   ;
3541   return 0;
3542 }
3543 _ACEOF
3544 ac_clean_files="$ac_clean_files conftest.out"
3545 # Check that the compiler produces executables we can run.  If not, either
3546 # the compiler is broken, or we cross compile.
3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3548 printf %s "checking whether we are cross compiling... " >&6; }
3549 if test "$cross_compiling" != yes; then
3550   { { ac_try="$ac_link"
3551 case "(($ac_try" in
3552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553   *) ac_try_echo=$ac_try;;
3554 esac
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 printf "%s\n" "$ac_try_echo"; } >&5
3557   (eval "$ac_link") 2>&5
3558   ac_status=$?
3559   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560   test $ac_status = 0; }
3561   if { ac_try='./conftest$ac_cv_exeext'
3562   { { case "(($ac_try" in
3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564   *) ac_try_echo=$ac_try;;
3565 esac
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 printf "%s\n" "$ac_try_echo"; } >&5
3568   (eval "$ac_try") 2>&5
3569   ac_status=$?
3570   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571   test $ac_status = 0; }; }; then
3572     cross_compiling=no
3573   else
3574     if test "$cross_compiling" = maybe; then
3575         cross_compiling=yes
3576     else
3577         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error 77 "cannot run C compiled programs.
3580 If you meant to cross compile, use \`--host'.
3581 See \`config.log' for more details" "$LINENO" 5; }
3582     fi
3583   fi
3584 fi
3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3586 printf "%s\n" "$cross_compiling" >&6; }
3587
3588 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3589 ac_clean_files=$ac_clean_files_save
3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3591 printf %s "checking for suffix of object files... " >&6; }
3592 if test ${ac_cv_objext+y}
3593 then :
3594   printf %s "(cached) " >&6
3595 else $as_nop
3596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h.  */
3598
3599 int
3600 main (void)
3601 {
3602
3603   ;
3604   return 0;
3605 }
3606 _ACEOF
3607 rm -f conftest.o conftest.obj
3608 if { { ac_try="$ac_compile"
3609 case "(($ac_try" in
3610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611   *) ac_try_echo=$ac_try;;
3612 esac
3613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 printf "%s\n" "$ac_try_echo"; } >&5
3615   (eval "$ac_compile") 2>&5
3616   ac_status=$?
3617   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618   test $ac_status = 0; }
3619 then :
3620   for ac_file in conftest.o conftest.obj conftest.*; do
3621   test -f "$ac_file" || continue;
3622   case $ac_file in
3623     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3624     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3625        break;;
3626   esac
3627 done
3628 else $as_nop
3629   printf "%s\n" "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of object files: cannot compile
3635 See \`config.log' for more details" "$LINENO" 5; }
3636 fi
3637 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3638 fi
3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3640 printf "%s\n" "$ac_cv_objext" >&6; }
3641 OBJEXT=$ac_cv_objext
3642 ac_objext=$OBJEXT
3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3644 printf %s "checking whether the compiler supports GNU C... " >&6; }
3645 if test ${ac_cv_c_compiler_gnu+y}
3646 then :
3647   printf %s "(cached) " >&6
3648 else $as_nop
3649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h.  */
3651
3652 int
3653 main (void)
3654 {
3655 #ifndef __GNUC__
3656        choke me
3657 #endif
3658
3659   ;
3660   return 0;
3661 }
3662 _ACEOF
3663 if ac_fn_c_try_compile "$LINENO"
3664 then :
3665   ac_compiler_gnu=yes
3666 else $as_nop
3667   ac_compiler_gnu=no
3668 fi
3669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3671
3672 fi
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3674 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676
3677 if test $ac_compiler_gnu = yes; then
3678   GCC=yes
3679 else
3680   GCC=
3681 fi
3682 ac_test_CFLAGS=${CFLAGS+y}
3683 ac_save_CFLAGS=$CFLAGS
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3685 printf %s "checking whether $CC accepts -g... " >&6; }
3686 if test ${ac_cv_prog_cc_g+y}
3687 then :
3688   printf %s "(cached) " >&6
3689 else $as_nop
3690   ac_save_c_werror_flag=$ac_c_werror_flag
3691    ac_c_werror_flag=yes
3692    ac_cv_prog_cc_g=no
3693    CFLAGS="-g"
3694    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h.  */
3696
3697 int
3698 main (void)
3699 {
3700
3701   ;
3702   return 0;
3703 }
3704 _ACEOF
3705 if ac_fn_c_try_compile "$LINENO"
3706 then :
3707   ac_cv_prog_cc_g=yes
3708 else $as_nop
3709   CFLAGS=""
3710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h.  */
3712
3713 int
3714 main (void)
3715 {
3716
3717   ;
3718   return 0;
3719 }
3720 _ACEOF
3721 if ac_fn_c_try_compile "$LINENO"
3722 then :
3723
3724 else $as_nop
3725   ac_c_werror_flag=$ac_save_c_werror_flag
3726          CFLAGS="-g"
3727          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h.  */
3729
3730 int
3731 main (void)
3732 {
3733
3734   ;
3735   return 0;
3736 }
3737 _ACEOF
3738 if ac_fn_c_try_compile "$LINENO"
3739 then :
3740   ac_cv_prog_cc_g=yes
3741 fi
3742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3743 fi
3744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3745 fi
3746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3747    ac_c_werror_flag=$ac_save_c_werror_flag
3748 fi
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3750 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3751 if test $ac_test_CFLAGS; then
3752   CFLAGS=$ac_save_CFLAGS
3753 elif test $ac_cv_prog_cc_g = yes; then
3754   if test "$GCC" = yes; then
3755     CFLAGS="-g -O2"
3756   else
3757     CFLAGS="-g"
3758   fi
3759 else
3760   if test "$GCC" = yes; then
3761     CFLAGS="-O2"
3762   else
3763     CFLAGS=
3764   fi
3765 fi
3766 ac_prog_cc_stdc=no
3767 if test x$ac_prog_cc_stdc = xno
3768 then :
3769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3770 printf %s "checking for $CC option to enable C11 features... " >&6; }
3771 if test ${ac_cv_prog_cc_c11+y}
3772 then :
3773   printf %s "(cached) " >&6
3774 else $as_nop
3775   ac_cv_prog_cc_c11=no
3776 ac_save_CC=$CC
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h.  */
3779 $ac_c_conftest_c11_program
3780 _ACEOF
3781 for ac_arg in '' -std=gnu11
3782 do
3783   CC="$ac_save_CC $ac_arg"
3784   if ac_fn_c_try_compile "$LINENO"
3785 then :
3786   ac_cv_prog_cc_c11=$ac_arg
3787 fi
3788 rm -f core conftest.err conftest.$ac_objext conftest.beam
3789   test "x$ac_cv_prog_cc_c11" != "xno" && break
3790 done
3791 rm -f conftest.$ac_ext
3792 CC=$ac_save_CC
3793 fi
3794
3795 if test "x$ac_cv_prog_cc_c11" = xno
3796 then :
3797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3798 printf "%s\n" "unsupported" >&6; }
3799 else $as_nop
3800   if test "x$ac_cv_prog_cc_c11" = x
3801 then :
3802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3803 printf "%s\n" "none needed" >&6; }
3804 else $as_nop
3805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3806 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3807      CC="$CC $ac_cv_prog_cc_c11"
3808 fi
3809   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3810   ac_prog_cc_stdc=c11
3811 fi
3812 fi
3813 if test x$ac_prog_cc_stdc = xno
3814 then :
3815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3816 printf %s "checking for $CC option to enable C99 features... " >&6; }
3817 if test ${ac_cv_prog_cc_c99+y}
3818 then :
3819   printf %s "(cached) " >&6
3820 else $as_nop
3821   ac_cv_prog_cc_c99=no
3822 ac_save_CC=$CC
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h.  */
3825 $ac_c_conftest_c99_program
3826 _ACEOF
3827 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3828 do
3829   CC="$ac_save_CC $ac_arg"
3830   if ac_fn_c_try_compile "$LINENO"
3831 then :
3832   ac_cv_prog_cc_c99=$ac_arg
3833 fi
3834 rm -f core conftest.err conftest.$ac_objext conftest.beam
3835   test "x$ac_cv_prog_cc_c99" != "xno" && break
3836 done
3837 rm -f conftest.$ac_ext
3838 CC=$ac_save_CC
3839 fi
3840
3841 if test "x$ac_cv_prog_cc_c99" = xno
3842 then :
3843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3844 printf "%s\n" "unsupported" >&6; }
3845 else $as_nop
3846   if test "x$ac_cv_prog_cc_c99" = x
3847 then :
3848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3849 printf "%s\n" "none needed" >&6; }
3850 else $as_nop
3851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3852 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3853      CC="$CC $ac_cv_prog_cc_c99"
3854 fi
3855   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3856   ac_prog_cc_stdc=c99
3857 fi
3858 fi
3859 if test x$ac_prog_cc_stdc = xno
3860 then :
3861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3862 printf %s "checking for $CC option to enable C89 features... " >&6; }
3863 if test ${ac_cv_prog_cc_c89+y}
3864 then :
3865   printf %s "(cached) " >&6
3866 else $as_nop
3867   ac_cv_prog_cc_c89=no
3868 ac_save_CC=$CC
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h.  */
3871 $ac_c_conftest_c89_program
3872 _ACEOF
3873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3874 do
3875   CC="$ac_save_CC $ac_arg"
3876   if ac_fn_c_try_compile "$LINENO"
3877 then :
3878   ac_cv_prog_cc_c89=$ac_arg
3879 fi
3880 rm -f core conftest.err conftest.$ac_objext conftest.beam
3881   test "x$ac_cv_prog_cc_c89" != "xno" && break
3882 done
3883 rm -f conftest.$ac_ext
3884 CC=$ac_save_CC
3885 fi
3886
3887 if test "x$ac_cv_prog_cc_c89" = xno
3888 then :
3889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3890 printf "%s\n" "unsupported" >&6; }
3891 else $as_nop
3892   if test "x$ac_cv_prog_cc_c89" = x
3893 then :
3894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3895 printf "%s\n" "none needed" >&6; }
3896 else $as_nop
3897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3898 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3899      CC="$CC $ac_cv_prog_cc_c89"
3900 fi
3901   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3902   ac_prog_cc_stdc=c89
3903 fi
3904 fi
3905
3906 ac_ext=c
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3911
3912
3913   ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3919 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3920 if test ${am_cv_prog_cc_c_o+y}
3921 then :
3922   printf %s "(cached) " >&6
3923 else $as_nop
3924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h.  */
3926
3927 int
3928 main (void)
3929 {
3930
3931   ;
3932   return 0;
3933 }
3934 _ACEOF
3935   # Make sure it works both with $CC and with simple cc.
3936   # Following AC_PROG_CC_C_O, we do the test twice because some
3937   # compilers refuse to overwrite an existing .o file with -o,
3938   # though they will create one.
3939   am_cv_prog_cc_c_o=yes
3940   for am_i in 1 2; do
3941     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3942    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3943    ac_status=$?
3944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945    (exit $ac_status); } \
3946          && test -f conftest2.$ac_objext; then
3947       : OK
3948     else
3949       am_cv_prog_cc_c_o=no
3950       break
3951     fi
3952   done
3953   rm -f core conftest*
3954   unset am_i
3955 fi
3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3957 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3958 if test "$am_cv_prog_cc_c_o" != yes; then
3959    # Losing compiler, so override with the script.
3960    # FIXME: It is wrong to rewrite CC.
3961    # But if we don't then we get into trouble of one sort or another.
3962    # A longer-term fix would be to have automake use am__CC in this case,
3963    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3964    CC="$am_aux_dir/compile $CC"
3965 fi
3966 ac_ext=c
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3971
3972 DEPDIR="${am__leading_dot}deps"
3973
3974 ac_config_commands="$ac_config_commands depfiles"
3975
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3977 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3978 cat > confinc.mk << 'END'
3979 am__doit:
3980         @echo this is the am__doit target >confinc.out
3981 .PHONY: am__doit
3982 END
3983 am__include="#"
3984 am__quote=
3985 # BSD make does it like this.
3986 echo '.include "confinc.mk" # ignored' > confmf.BSD
3987 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3988 echo 'include confinc.mk # ignored' > confmf.GNU
3989 _am_result=no
3990 for s in GNU BSD; do
3991   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3992    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3993    ac_status=$?
3994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995    (exit $ac_status); }
3996   case $?:`cat confinc.out 2>/dev/null` in #(
3997   '0:this is the am__doit target') :
3998     case $s in #(
3999   BSD) :
4000     am__include='.include' am__quote='"' ;; #(
4001   *) :
4002     am__include='include' am__quote='' ;;
4003 esac ;; #(
4004   *) :
4005      ;;
4006 esac
4007   if test "$am__include" != "#"; then
4008     _am_result="yes ($s style)"
4009     break
4010   fi
4011 done
4012 rm -f confinc.* confmf.*
4013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4014 printf "%s\n" "${_am_result}" >&6; }
4015
4016 # Check whether --enable-dependency-tracking was given.
4017 if test ${enable_dependency_tracking+y}
4018 then :
4019   enableval=$enable_dependency_tracking;
4020 fi
4021
4022 if test "x$enable_dependency_tracking" != xno; then
4023   am_depcomp="$ac_aux_dir/depcomp"
4024   AMDEPBACKSLASH='\'
4025   am__nodep='_no'
4026 fi
4027  if test "x$enable_dependency_tracking" != xno; then
4028   AMDEP_TRUE=
4029   AMDEP_FALSE='#'
4030 else
4031   AMDEP_TRUE='#'
4032   AMDEP_FALSE=
4033 fi
4034
4035
4036
4037 depcc="$CC"   am_compiler_list=
4038
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4040 printf %s "checking dependency style of $depcc... " >&6; }
4041 if test ${am_cv_CC_dependencies_compiler_type+y}
4042 then :
4043   printf %s "(cached) " >&6
4044 else $as_nop
4045   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4046   # We make a subdir and do the tests there.  Otherwise we can end up
4047   # making bogus files that we don't know about and never remove.  For
4048   # instance it was reported that on HP-UX the gcc test will end up
4049   # making a dummy file named 'D' -- because '-MD' means "put the output
4050   # in D".
4051   rm -rf conftest.dir
4052   mkdir conftest.dir
4053   # Copy depcomp to subdir because otherwise we won't find it if we're
4054   # using a relative directory.
4055   cp "$am_depcomp" conftest.dir
4056   cd conftest.dir
4057   # We will build objects and dependencies in a subdirectory because
4058   # it helps to detect inapplicable dependency modes.  For instance
4059   # both Tru64's cc and ICC support -MD to output dependencies as a
4060   # side effect of compilation, but ICC will put the dependencies in
4061   # the current directory while Tru64 will put them in the object
4062   # directory.
4063   mkdir sub
4064
4065   am_cv_CC_dependencies_compiler_type=none
4066   if test "$am_compiler_list" = ""; then
4067      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4068   fi
4069   am__universal=false
4070   case " $depcc " in #(
4071      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4072      esac
4073
4074   for depmode in $am_compiler_list; do
4075     # Setup a source with many dependencies, because some compilers
4076     # like to wrap large dependency lists on column 80 (with \), and
4077     # we should not choose a depcomp mode which is confused by this.
4078     #
4079     # We need to recreate these files for each test, as the compiler may
4080     # overwrite some of them when testing with obscure command lines.
4081     # This happens at least with the AIX C compiler.
4082     : > sub/conftest.c
4083     for i in 1 2 3 4 5 6; do
4084       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4085       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4086       # Solaris 10 /bin/sh.
4087       echo '/* dummy */' > sub/conftst$i.h
4088     done
4089     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4090
4091     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4092     # mode.  It turns out that the SunPro C++ compiler does not properly
4093     # handle '-M -o', and we need to detect this.  Also, some Intel
4094     # versions had trouble with output in subdirs.
4095     am__obj=sub/conftest.${OBJEXT-o}
4096     am__minus_obj="-o $am__obj"
4097     case $depmode in
4098     gcc)
4099       # This depmode causes a compiler race in universal mode.
4100       test "$am__universal" = false || continue
4101       ;;
4102     nosideeffect)
4103       # After this tag, mechanisms are not by side-effect, so they'll
4104       # only be used when explicitly requested.
4105       if test "x$enable_dependency_tracking" = xyes; then
4106         continue
4107       else
4108         break
4109       fi
4110       ;;
4111     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4112       # This compiler won't grok '-c -o', but also, the minuso test has
4113       # not run yet.  These depmodes are late enough in the game, and
4114       # so weak that their functioning should not be impacted.
4115       am__obj=conftest.${OBJEXT-o}
4116       am__minus_obj=
4117       ;;
4118     none) break ;;
4119     esac
4120     if depmode=$depmode \
4121        source=sub/conftest.c object=$am__obj \
4122        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4123        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4124          >/dev/null 2>conftest.err &&
4125        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4126        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4127        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4128        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4129       # icc doesn't choke on unknown options, it will just issue warnings
4130       # or remarks (even with -Werror).  So we grep stderr for any message
4131       # that says an option was ignored or not supported.
4132       # When given -MP, icc 7.0 and 7.1 complain thusly:
4133       #   icc: Command line warning: ignoring option '-M'; no argument required
4134       # The diagnosis changed in icc 8.0:
4135       #   icc: Command line remark: option '-MP' not supported
4136       if (grep 'ignoring option' conftest.err ||
4137           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4138         am_cv_CC_dependencies_compiler_type=$depmode
4139         break
4140       fi
4141     fi
4142   done
4143
4144   cd ..
4145   rm -rf conftest.dir
4146 else
4147   am_cv_CC_dependencies_compiler_type=none
4148 fi
4149
4150 fi
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4152 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4153 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4154
4155  if
4156   test "x$enable_dependency_tracking" != xno \
4157   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4158   am__fastdepCC_TRUE=
4159   am__fastdepCC_FALSE='#'
4160 else
4161   am__fastdepCC_TRUE='#'
4162   am__fastdepCC_FALSE=
4163 fi
4164
4165
4166 if test -n "$ac_tool_prefix"; then
4167   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4168 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 printf %s "checking for $ac_word... " >&6; }
4171 if test ${ac_cv_prog_RANLIB+y}
4172 then :
4173   printf %s "(cached) " >&6
4174 else $as_nop
4175   if test -n "$RANLIB"; then
4176   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4177 else
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4180 do
4181   IFS=$as_save_IFS
4182   case $as_dir in #(((
4183     '') as_dir=./ ;;
4184     */) ;;
4185     *) as_dir=$as_dir/ ;;
4186   esac
4187     for ac_exec_ext in '' $ac_executable_extensions; do
4188   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4189     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4190     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4191     break 2
4192   fi
4193 done
4194   done
4195 IFS=$as_save_IFS
4196
4197 fi
4198 fi
4199 RANLIB=$ac_cv_prog_RANLIB
4200 if test -n "$RANLIB"; then
4201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4202 printf "%s\n" "$RANLIB" >&6; }
4203 else
4204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 printf "%s\n" "no" >&6; }
4206 fi
4207
4208
4209 fi
4210 if test -z "$ac_cv_prog_RANLIB"; then
4211   ac_ct_RANLIB=$RANLIB
4212   # Extract the first word of "ranlib", so it can be a program name with args.
4213 set dummy ranlib; ac_word=$2
4214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 printf %s "checking for $ac_word... " >&6; }
4216 if test ${ac_cv_prog_ac_ct_RANLIB+y}
4217 then :
4218   printf %s "(cached) " >&6
4219 else $as_nop
4220   if test -n "$ac_ct_RANLIB"; then
4221   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4222 else
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH
4225 do
4226   IFS=$as_save_IFS
4227   case $as_dir in #(((
4228     '') as_dir=./ ;;
4229     */) ;;
4230     *) as_dir=$as_dir/ ;;
4231   esac
4232     for ac_exec_ext in '' $ac_executable_extensions; do
4233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4234     ac_cv_prog_ac_ct_RANLIB="ranlib"
4235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4236     break 2
4237   fi
4238 done
4239   done
4240 IFS=$as_save_IFS
4241
4242 fi
4243 fi
4244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4245 if test -n "$ac_ct_RANLIB"; then
4246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4247 printf "%s\n" "$ac_ct_RANLIB" >&6; }
4248 else
4249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 printf "%s\n" "no" >&6; }
4251 fi
4252
4253   if test "x$ac_ct_RANLIB" = x; then
4254     RANLIB=":"
4255   else
4256     case $cross_compiling:$ac_tool_warned in
4257 yes:)
4258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4261 esac
4262     RANLIB=$ac_ct_RANLIB
4263   fi
4264 else
4265   RANLIB="$ac_cv_prog_RANLIB"
4266 fi
4267
4268
4269
4270   if test -n "$ac_tool_prefix"; then
4271   for ac_prog in ar lib "link -lib"
4272   do
4273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 printf %s "checking for $ac_word... " >&6; }
4277 if test ${ac_cv_prog_AR+y}
4278 then :
4279   printf %s "(cached) " >&6
4280 else $as_nop
4281   if test -n "$AR"; then
4282   ac_cv_prog_AR="$AR" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4286 do
4287   IFS=$as_save_IFS
4288   case $as_dir in #(((
4289     '') as_dir=./ ;;
4290     */) ;;
4291     *) as_dir=$as_dir/ ;;
4292   esac
4293     for ac_exec_ext in '' $ac_executable_extensions; do
4294   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4295     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4296     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4297     break 2
4298   fi
4299 done
4300   done
4301 IFS=$as_save_IFS
4302
4303 fi
4304 fi
4305 AR=$ac_cv_prog_AR
4306 if test -n "$AR"; then
4307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4308 printf "%s\n" "$AR" >&6; }
4309 else
4310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 printf "%s\n" "no" >&6; }
4312 fi
4313
4314
4315     test -n "$AR" && break
4316   done
4317 fi
4318 if test -z "$AR"; then
4319   ac_ct_AR=$AR
4320   for ac_prog in ar lib "link -lib"
4321 do
4322   # Extract the first word of "$ac_prog", so it can be a program name with args.
4323 set dummy $ac_prog; ac_word=$2
4324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 printf %s "checking for $ac_word... " >&6; }
4326 if test ${ac_cv_prog_ac_ct_AR+y}
4327 then :
4328   printf %s "(cached) " >&6
4329 else $as_nop
4330   if test -n "$ac_ct_AR"; then
4331   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4332 else
4333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4334 for as_dir in $PATH
4335 do
4336   IFS=$as_save_IFS
4337   case $as_dir in #(((
4338     '') as_dir=./ ;;
4339     */) ;;
4340     *) as_dir=$as_dir/ ;;
4341   esac
4342     for ac_exec_ext in '' $ac_executable_extensions; do
4343   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4344     ac_cv_prog_ac_ct_AR="$ac_prog"
4345     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4346     break 2
4347   fi
4348 done
4349   done
4350 IFS=$as_save_IFS
4351
4352 fi
4353 fi
4354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4355 if test -n "$ac_ct_AR"; then
4356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4357 printf "%s\n" "$ac_ct_AR" >&6; }
4358 else
4359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 printf "%s\n" "no" >&6; }
4361 fi
4362
4363
4364   test -n "$ac_ct_AR" && break
4365 done
4366
4367   if test "x$ac_ct_AR" = x; then
4368     AR="false"
4369   else
4370     case $cross_compiling:$ac_tool_warned in
4371 yes:)
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned=yes ;;
4375 esac
4376     AR=$ac_ct_AR
4377   fi
4378 fi
4379
4380 : ${AR=ar}
4381
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4383 printf %s "checking the archiver ($AR) interface... " >&6; }
4384 if test ${am_cv_ar_interface+y}
4385 then :
4386   printf %s "(cached) " >&6
4387 else $as_nop
4388   ac_ext=c
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394    am_cv_ar_interface=ar
4395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h.  */
4397 int some_variable = 0;
4398 _ACEOF
4399 if ac_fn_c_try_compile "$LINENO"
4400 then :
4401   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4402       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4403   (eval $am_ar_try) 2>&5
4404   ac_status=$?
4405   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4406   test $ac_status = 0; }
4407       if test "$ac_status" -eq 0; then
4408         am_cv_ar_interface=ar
4409       else
4410         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4411         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4412   (eval $am_ar_try) 2>&5
4413   ac_status=$?
4414   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4415   test $ac_status = 0; }
4416         if test "$ac_status" -eq 0; then
4417           am_cv_ar_interface=lib
4418         else
4419           am_cv_ar_interface=unknown
4420         fi
4421       fi
4422       rm -f conftest.lib libconftest.a
4423
4424 fi
4425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4426    ac_ext=c
4427 ac_cpp='$CPP $CPPFLAGS'
4428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431
4432 fi
4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4434 printf "%s\n" "$am_cv_ar_interface" >&6; }
4435
4436 case $am_cv_ar_interface in
4437 ar)
4438   ;;
4439 lib)
4440   # Microsoft lib, so override with the ar-lib wrapper script.
4441   # FIXME: It is wrong to rewrite AR.
4442   # But if we don't then we get into trouble of one sort or another.
4443   # A longer-term fix would be to have automake use am__AR in this case,
4444   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4445   # similar.
4446   AR="$am_aux_dir/ar-lib $AR"
4447   ;;
4448 unknown)
4449   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4450   ;;
4451 esac
4452
4453 # Check whether --enable-largefile was given.
4454 if test ${enable_largefile+y}
4455 then :
4456   enableval=$enable_largefile;
4457 fi
4458
4459 if test "$enable_largefile" != no; then
4460
4461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4462 printf %s "checking for special C compiler options needed for large files... " >&6; }
4463 if test ${ac_cv_sys_largefile_CC+y}
4464 then :
4465   printf %s "(cached) " >&6
4466 else $as_nop
4467   ac_cv_sys_largefile_CC=no
4468      if test "$GCC" != yes; then
4469        ac_save_CC=$CC
4470        while :; do
4471          # IRIX 6.2 and later do not support large files by default,
4472          # so use the C compiler's -n32 option if that helps.
4473          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h.  */
4475 #include <sys/types.h>
4476  /* Check that off_t can represent 2**63 - 1 correctly.
4477     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4478     since some C++ compilers masquerading as C compilers
4479     incorrectly reject 9223372036854775807.  */
4480 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4481   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4482                        && LARGE_OFF_T % 2147483647 == 1)
4483                       ? 1 : -1];
4484 int
4485 main (void)
4486 {
4487
4488   ;
4489   return 0;
4490 }
4491 _ACEOF
4492          if ac_fn_c_try_compile "$LINENO"
4493 then :
4494   break
4495 fi
4496 rm -f core conftest.err conftest.$ac_objext conftest.beam
4497          CC="$CC -n32"
4498          if ac_fn_c_try_compile "$LINENO"
4499 then :
4500   ac_cv_sys_largefile_CC=' -n32'; break
4501 fi
4502 rm -f core conftest.err conftest.$ac_objext conftest.beam
4503          break
4504        done
4505        CC=$ac_save_CC
4506        rm -f conftest.$ac_ext
4507     fi
4508 fi
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4510 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
4511   if test "$ac_cv_sys_largefile_CC" != no; then
4512     CC=$CC$ac_cv_sys_largefile_CC
4513   fi
4514
4515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4516 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4517 if test ${ac_cv_sys_file_offset_bits+y}
4518 then :
4519   printf %s "(cached) " >&6
4520 else $as_nop
4521   while :; do
4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h.  */
4524 #include <sys/types.h>
4525  /* Check that off_t can represent 2**63 - 1 correctly.
4526     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4527     since some C++ compilers masquerading as C compilers
4528     incorrectly reject 9223372036854775807.  */
4529 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4530   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4531                        && LARGE_OFF_T % 2147483647 == 1)
4532                       ? 1 : -1];
4533 int
4534 main (void)
4535 {
4536
4537   ;
4538   return 0;
4539 }
4540 _ACEOF
4541 if ac_fn_c_try_compile "$LINENO"
4542 then :
4543   ac_cv_sys_file_offset_bits=no; break
4544 fi
4545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h.  */
4548 #define _FILE_OFFSET_BITS 64
4549 #include <sys/types.h>
4550  /* Check that off_t can represent 2**63 - 1 correctly.
4551     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4552     since some C++ compilers masquerading as C compilers
4553     incorrectly reject 9223372036854775807.  */
4554 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4555   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4556                        && LARGE_OFF_T % 2147483647 == 1)
4557                       ? 1 : -1];
4558 int
4559 main (void)
4560 {
4561
4562   ;
4563   return 0;
4564 }
4565 _ACEOF
4566 if ac_fn_c_try_compile "$LINENO"
4567 then :
4568   ac_cv_sys_file_offset_bits=64; break
4569 fi
4570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4571   ac_cv_sys_file_offset_bits=unknown
4572   break
4573 done
4574 fi
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4576 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
4577 case $ac_cv_sys_file_offset_bits in #(
4578   no | unknown) ;;
4579   *)
4580 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
4581 ;;
4582 esac
4583 rm -rf conftest*
4584   if test $ac_cv_sys_file_offset_bits = unknown; then
4585     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4586 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
4587 if test ${ac_cv_sys_large_files+y}
4588 then :
4589   printf %s "(cached) " >&6
4590 else $as_nop
4591   while :; do
4592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h.  */
4594 #include <sys/types.h>
4595  /* Check that off_t can represent 2**63 - 1 correctly.
4596     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4597     since some C++ compilers masquerading as C compilers
4598     incorrectly reject 9223372036854775807.  */
4599 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4600   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4601                        && LARGE_OFF_T % 2147483647 == 1)
4602                       ? 1 : -1];
4603 int
4604 main (void)
4605 {
4606
4607   ;
4608   return 0;
4609 }
4610 _ACEOF
4611 if ac_fn_c_try_compile "$LINENO"
4612 then :
4613   ac_cv_sys_large_files=no; break
4614 fi
4615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h.  */
4618 #define _LARGE_FILES 1
4619 #include <sys/types.h>
4620  /* Check that off_t can represent 2**63 - 1 correctly.
4621     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4622     since some C++ compilers masquerading as C compilers
4623     incorrectly reject 9223372036854775807.  */
4624 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4625   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4626                        && LARGE_OFF_T % 2147483647 == 1)
4627                       ? 1 : -1];
4628 int
4629 main (void)
4630 {
4631
4632   ;
4633   return 0;
4634 }
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"
4637 then :
4638   ac_cv_sys_large_files=1; break
4639 fi
4640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4641   ac_cv_sys_large_files=unknown
4642   break
4643 done
4644 fi
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4646 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
4647 case $ac_cv_sys_large_files in #(
4648   no | unknown) ;;
4649   *)
4650 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
4651 ;;
4652 esac
4653 rm -rf conftest*
4654   fi
4655 fi
4656
4657
4658
4659   # Make sure we can run config.sub.
4660 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4661   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4662
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4664 printf %s "checking build system type... " >&6; }
4665 if test ${ac_cv_build+y}
4666 then :
4667   printf %s "(cached) " >&6
4668 else $as_nop
4669   ac_build_alias=$build_alias
4670 test "x$ac_build_alias" = x &&
4671   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4672 test "x$ac_build_alias" = x &&
4673   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4674 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4675   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4676
4677 fi
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4679 printf "%s\n" "$ac_cv_build" >&6; }
4680 case $ac_cv_build in
4681 *-*-*) ;;
4682 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4683 esac
4684 build=$ac_cv_build
4685 ac_save_IFS=$IFS; IFS='-'
4686 set x $ac_cv_build
4687 shift
4688 build_cpu=$1
4689 build_vendor=$2
4690 shift; shift
4691 # Remember, the first character of IFS is used to create $*,
4692 # except with old shells:
4693 build_os=$*
4694 IFS=$ac_save_IFS
4695 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4696
4697
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4699 printf %s "checking host system type... " >&6; }
4700 if test ${ac_cv_host+y}
4701 then :
4702   printf %s "(cached) " >&6
4703 else $as_nop
4704   if test "x$host_alias" = x; then
4705   ac_cv_host=$ac_cv_build
4706 else
4707   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4708     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4709 fi
4710
4711 fi
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4713 printf "%s\n" "$ac_cv_host" >&6; }
4714 case $ac_cv_host in
4715 *-*-*) ;;
4716 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4717 esac
4718 host=$ac_cv_host
4719 ac_save_IFS=$IFS; IFS='-'
4720 set x $ac_cv_host
4721 shift
4722 host_cpu=$1
4723 host_vendor=$2
4724 shift; shift
4725 # Remember, the first character of IFS is used to create $*,
4726 # except with old shells:
4727 host_os=$*
4728 IFS=$ac_save_IFS
4729 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4740         if test -n "$ac_tool_prefix"; then
4741   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4742 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 printf %s "checking for $ac_word... " >&6; }
4745 if test ${ac_cv_path_PKG_CONFIG+y}
4746 then :
4747   printf %s "(cached) " >&6
4748 else $as_nop
4749   case $PKG_CONFIG in
4750   [\\/]* | ?:[\\/]*)
4751   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4752   ;;
4753   *)
4754   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH
4756 do
4757   IFS=$as_save_IFS
4758   case $as_dir in #(((
4759     '') as_dir=./ ;;
4760     */) ;;
4761     *) as_dir=$as_dir/ ;;
4762   esac
4763     for ac_exec_ext in '' $ac_executable_extensions; do
4764   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4765     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4766     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4767     break 2
4768   fi
4769 done
4770   done
4771 IFS=$as_save_IFS
4772
4773   ;;
4774 esac
4775 fi
4776 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4777 if test -n "$PKG_CONFIG"; then
4778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4779 printf "%s\n" "$PKG_CONFIG" >&6; }
4780 else
4781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 printf "%s\n" "no" >&6; }
4783 fi
4784
4785
4786 fi
4787 if test -z "$ac_cv_path_PKG_CONFIG"; then
4788   ac_pt_PKG_CONFIG=$PKG_CONFIG
4789   # Extract the first word of "pkg-config", so it can be a program name with args.
4790 set dummy pkg-config; ac_word=$2
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 printf %s "checking for $ac_word... " >&6; }
4793 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4794 then :
4795   printf %s "(cached) " >&6
4796 else $as_nop
4797   case $ac_pt_PKG_CONFIG in
4798   [\\/]* | ?:[\\/]*)
4799   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4800   ;;
4801   *)
4802   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH
4804 do
4805   IFS=$as_save_IFS
4806   case $as_dir in #(((
4807     '') as_dir=./ ;;
4808     */) ;;
4809     *) as_dir=$as_dir/ ;;
4810   esac
4811     for ac_exec_ext in '' $ac_executable_extensions; do
4812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4813     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4815     break 2
4816   fi
4817 done
4818   done
4819 IFS=$as_save_IFS
4820
4821   ;;
4822 esac
4823 fi
4824 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4825 if test -n "$ac_pt_PKG_CONFIG"; then
4826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4827 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4828 else
4829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 printf "%s\n" "no" >&6; }
4831 fi
4832
4833   if test "x$ac_pt_PKG_CONFIG" = x; then
4834     PKG_CONFIG=""
4835   else
4836     case $cross_compiling:$ac_tool_warned in
4837 yes:)
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4840 ac_tool_warned=yes ;;
4841 esac
4842     PKG_CONFIG=$ac_pt_PKG_CONFIG
4843   fi
4844 else
4845   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4846 fi
4847
4848 fi
4849 if test -n "$PKG_CONFIG"; then
4850         _pkg_min_version=0.9.0
4851         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4852 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4853         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4854                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 printf "%s\n" "yes" >&6; }
4856         else
4857                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4859                 PKG_CONFIG=""
4860         fi
4861 fi
4862
4863 pkg_failed=no
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UBLIO" >&5
4865 printf %s "checking for UBLIO... " >&6; }
4866
4867 if test -n "$UBLIO_CFLAGS"; then
4868     pkg_cv_UBLIO_CFLAGS="$UBLIO_CFLAGS"
4869  elif test -n "$PKG_CONFIG"; then
4870     if test -n "$PKG_CONFIG" && \
4871     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4872   ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4873   ac_status=$?
4874   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875   test $ac_status = 0; }; then
4876   pkg_cv_UBLIO_CFLAGS=`$PKG_CONFIG --cflags "libublio" 2>/dev/null`
4877                       test "x$?" != "x0" && pkg_failed=yes
4878 else
4879   pkg_failed=yes
4880 fi
4881  else
4882     pkg_failed=untried
4883 fi
4884 if test -n "$UBLIO_LIBS"; then
4885     pkg_cv_UBLIO_LIBS="$UBLIO_LIBS"
4886  elif test -n "$PKG_CONFIG"; then
4887     if test -n "$PKG_CONFIG" && \
4888     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libublio\""; } >&5
4889   ($PKG_CONFIG --exists --print-errors "libublio") 2>&5
4890   ac_status=$?
4891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892   test $ac_status = 0; }; then
4893   pkg_cv_UBLIO_LIBS=`$PKG_CONFIG --libs "libublio" 2>/dev/null`
4894                       test "x$?" != "x0" && pkg_failed=yes
4895 else
4896   pkg_failed=yes
4897 fi
4898  else
4899     pkg_failed=untried
4900 fi
4901
4902
4903
4904 if test $pkg_failed = yes; then
4905         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4907
4908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4909         _pkg_short_errors_supported=yes
4910 else
4911         _pkg_short_errors_supported=no
4912 fi
4913         if test $_pkg_short_errors_supported = yes; then
4914                 UBLIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libublio" 2>&1`
4915         else
4916                 UBLIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libublio" 2>&1`
4917         fi
4918         # Put the nasty error message in config.log where it belongs
4919         echo "$UBLIO_PKG_ERRORS" >&5
4920
4921         :
4922 elif test $pkg_failed = untried; then
4923         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 printf "%s\n" "no" >&6; }
4925         :
4926 else
4927         UBLIO_CFLAGS=$pkg_cv_UBLIO_CFLAGS
4928         UBLIO_LIBS=$pkg_cv_UBLIO_LIBS
4929         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4930 printf "%s\n" "yes" >&6; }
4931
4932   CFLAGS="$CFLAGS $UBLIO_CFLAGS"
4933   LIBS="$LIBS $UBLIO_LIBS"
4934
4935 printf "%s\n" "#define USE_UBLIO 1" >>confdefs.h
4936
4937
4938 fi
4939
4940 pkg_failed=no
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE3" >&5
4942 printf %s "checking for FUSE3... " >&6; }
4943
4944 if test -n "$FUSE3_CFLAGS"; then
4945     pkg_cv_FUSE3_CFLAGS="$FUSE3_CFLAGS"
4946  elif test -n "$PKG_CONFIG"; then
4947     if test -n "$PKG_CONFIG" && \
4948     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
4949   ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
4950   ac_status=$?
4951   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952   test $ac_status = 0; }; then
4953   pkg_cv_FUSE3_CFLAGS=`$PKG_CONFIG --cflags "fuse3" 2>/dev/null`
4954                       test "x$?" != "x0" && pkg_failed=yes
4955 else
4956   pkg_failed=yes
4957 fi
4958  else
4959     pkg_failed=untried
4960 fi
4961 if test -n "$FUSE3_LIBS"; then
4962     pkg_cv_FUSE3_LIBS="$FUSE3_LIBS"
4963  elif test -n "$PKG_CONFIG"; then
4964     if test -n "$PKG_CONFIG" && \
4965     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
4966   ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
4967   ac_status=$?
4968   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4969   test $ac_status = 0; }; then
4970   pkg_cv_FUSE3_LIBS=`$PKG_CONFIG --libs "fuse3" 2>/dev/null`
4971                       test "x$?" != "x0" && pkg_failed=yes
4972 else
4973   pkg_failed=yes
4974 fi
4975  else
4976     pkg_failed=untried
4977 fi
4978
4979
4980
4981 if test $pkg_failed = yes; then
4982         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4984
4985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4986         _pkg_short_errors_supported=yes
4987 else
4988         _pkg_short_errors_supported=no
4989 fi
4990         if test $_pkg_short_errors_supported = yes; then
4991                 FUSE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse3" 2>&1`
4992         else
4993                 FUSE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse3" 2>&1`
4994         fi
4995         # Put the nasty error message in config.log where it belongs
4996         echo "$FUSE3_PKG_ERRORS" >&5
4997
4998
4999 pkg_failed=no
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE2" >&5
5001 printf %s "checking for FUSE2... " >&6; }
5002
5003 if test -n "$FUSE2_CFLAGS"; then
5004     pkg_cv_FUSE2_CFLAGS="$FUSE2_CFLAGS"
5005  elif test -n "$PKG_CONFIG"; then
5006     if test -n "$PKG_CONFIG" && \
5007     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5008   ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5009   ac_status=$?
5010   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5011   test $ac_status = 0; }; then
5012   pkg_cv_FUSE2_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
5013                       test "x$?" != "x0" && pkg_failed=yes
5014 else
5015   pkg_failed=yes
5016 fi
5017  else
5018     pkg_failed=untried
5019 fi
5020 if test -n "$FUSE2_LIBS"; then
5021     pkg_cv_FUSE2_LIBS="$FUSE2_LIBS"
5022  elif test -n "$PKG_CONFIG"; then
5023     if test -n "$PKG_CONFIG" && \
5024     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5025   ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5026   ac_status=$?
5027   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5028   test $ac_status = 0; }; then
5029   pkg_cv_FUSE2_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
5030                       test "x$?" != "x0" && pkg_failed=yes
5031 else
5032   pkg_failed=yes
5033 fi
5034  else
5035     pkg_failed=untried
5036 fi
5037
5038
5039
5040 if test $pkg_failed = yes; then
5041         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 printf "%s\n" "no" >&6; }
5043
5044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5045         _pkg_short_errors_supported=yes
5046 else
5047         _pkg_short_errors_supported=no
5048 fi
5049         if test $_pkg_short_errors_supported = yes; then
5050                 FUSE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5051         else
5052                 FUSE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5053         fi
5054         # Put the nasty error message in config.log where it belongs
5055         echo "$FUSE2_PKG_ERRORS" >&5
5056
5057         as_fn_error $? "Package requirements (fuse >= 2.6) were not met:
5058
5059 $FUSE2_PKG_ERRORS
5060
5061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5062 installed software in a non-standard prefix.
5063
5064 Alternatively, you may set the environment variables FUSE2_CFLAGS
5065 and FUSE2_LIBS to avoid the need to call pkg-config.
5066 See the pkg-config man page for more details." "$LINENO" 5
5067 elif test $pkg_failed = untried; then
5068         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 printf "%s\n" "no" >&6; }
5070         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5072 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5073 is in your PATH or set the PKG_CONFIG environment variable to the full
5074 path to pkg-config.
5075
5076 Alternatively, you may set the environment variables FUSE2_CFLAGS
5077 and FUSE2_LIBS to avoid the need to call pkg-config.
5078 See the pkg-config man page for more details.
5079
5080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5081 See \`config.log' for more details" "$LINENO" 5; }
5082 else
5083         FUSE2_CFLAGS=$pkg_cv_FUSE2_CFLAGS
5084         FUSE2_LIBS=$pkg_cv_FUSE2_LIBS
5085         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 printf "%s\n" "yes" >&6; }
5087
5088 printf "%s\n" "#define FUSE_USE_VERSION 26" >>confdefs.h
5089
5090 fi
5091 elif test $pkg_failed = untried; then
5092         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 printf "%s\n" "no" >&6; }
5094
5095 pkg_failed=no
5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE2" >&5
5097 printf %s "checking for FUSE2... " >&6; }
5098
5099 if test -n "$FUSE2_CFLAGS"; then
5100     pkg_cv_FUSE2_CFLAGS="$FUSE2_CFLAGS"
5101  elif test -n "$PKG_CONFIG"; then
5102     if test -n "$PKG_CONFIG" && \
5103     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5104   ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5105   ac_status=$?
5106   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107   test $ac_status = 0; }; then
5108   pkg_cv_FUSE2_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
5109                       test "x$?" != "x0" && pkg_failed=yes
5110 else
5111   pkg_failed=yes
5112 fi
5113  else
5114     pkg_failed=untried
5115 fi
5116 if test -n "$FUSE2_LIBS"; then
5117     pkg_cv_FUSE2_LIBS="$FUSE2_LIBS"
5118  elif test -n "$PKG_CONFIG"; then
5119     if test -n "$PKG_CONFIG" && \
5120     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
5121   ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
5122   ac_status=$?
5123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5124   test $ac_status = 0; }; then
5125   pkg_cv_FUSE2_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
5126                       test "x$?" != "x0" && pkg_failed=yes
5127 else
5128   pkg_failed=yes
5129 fi
5130  else
5131     pkg_failed=untried
5132 fi
5133
5134
5135
5136 if test $pkg_failed = yes; then
5137         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5139
5140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5141         _pkg_short_errors_supported=yes
5142 else
5143         _pkg_short_errors_supported=no
5144 fi
5145         if test $_pkg_short_errors_supported = yes; then
5146                 FUSE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5147         else
5148                 FUSE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
5149         fi
5150         # Put the nasty error message in config.log where it belongs
5151         echo "$FUSE2_PKG_ERRORS" >&5
5152
5153         as_fn_error $? "Package requirements (fuse >= 2.6) were not met:
5154
5155 $FUSE2_PKG_ERRORS
5156
5157 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5158 installed software in a non-standard prefix.
5159
5160 Alternatively, you may set the environment variables FUSE2_CFLAGS
5161 and FUSE2_LIBS to avoid the need to call pkg-config.
5162 See the pkg-config man page for more details." "$LINENO" 5
5163 elif test $pkg_failed = untried; then
5164         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 printf "%s\n" "no" >&6; }
5166         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5168 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5169 is in your PATH or set the PKG_CONFIG environment variable to the full
5170 path to pkg-config.
5171
5172 Alternatively, you may set the environment variables FUSE2_CFLAGS
5173 and FUSE2_LIBS to avoid the need to call pkg-config.
5174 See the pkg-config man page for more details.
5175
5176 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5177 See \`config.log' for more details" "$LINENO" 5; }
5178 else
5179         FUSE2_CFLAGS=$pkg_cv_FUSE2_CFLAGS
5180         FUSE2_LIBS=$pkg_cv_FUSE2_LIBS
5181         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5182 printf "%s\n" "yes" >&6; }
5183
5184 printf "%s\n" "#define FUSE_USE_VERSION 26" >>confdefs.h
5185
5186 fi
5187 else
5188         FUSE3_CFLAGS=$pkg_cv_FUSE3_CFLAGS
5189         FUSE3_LIBS=$pkg_cv_FUSE3_LIBS
5190         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 printf "%s\n" "yes" >&6; }
5192
5193 printf "%s\n" "#define FUSE_USE_VERSION 30" >>confdefs.h
5194
5195 fi
5196 case "$host_os" in
5197   *-gnu)
5198
5199 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5200
5201
5202 printf "%s\n" "#define _DEFAULT_SOURCE /**/" >>confdefs.h
5203
5204         ;;
5205 esac
5206 ac_config_headers="$ac_config_headers libexfat/config.h"
5207
5208 ac_config_files="$ac_config_files libexfat/Makefile fuse/Makefile Makefile"
5209
5210 cat >confcache <<\_ACEOF
5211 # This file is a shell script that caches the results of configure
5212 # tests run on this system so they can be shared between configure
5213 # scripts and configure runs, see configure's option --config-cache.
5214 # It is not useful on other systems.  If it contains results you don't
5215 # want to keep, you may remove or edit it.
5216 #
5217 # config.status only pays attention to the cache file if you give it
5218 # the --recheck option to rerun configure.
5219 #
5220 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5221 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5222 # following values.
5223
5224 _ACEOF
5225
5226 # The following way of writing the cache mishandles newlines in values,
5227 # but we know of no workaround that is simple, portable, and efficient.
5228 # So, we kill variables containing newlines.
5229 # Ultrix sh set writes to stderr and can't be redirected directly,
5230 # and sets the high bit in the cache file unless we assign to the vars.
5231 (
5232   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5233     eval ac_val=\$$ac_var
5234     case $ac_val in #(
5235     *${as_nl}*)
5236       case $ac_var in #(
5237       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5238 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5239       esac
5240       case $ac_var in #(
5241       _ | IFS | as_nl) ;; #(
5242       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5243       *) { eval $ac_var=; unset $ac_var;} ;;
5244       esac ;;
5245     esac
5246   done
5247
5248   (set) 2>&1 |
5249     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5250     *${as_nl}ac_space=\ *)
5251       # `set' does not quote correctly, so add quotes: double-quote
5252       # substitution turns \\\\ into \\, and sed turns \\ into \.
5253       sed -n \
5254         "s/'/'\\\\''/g;
5255           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5256       ;; #(
5257     *)
5258       # `set' quotes correctly as required by POSIX, so do not add quotes.
5259       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5260       ;;
5261     esac |
5262     sort
5263 ) |
5264   sed '
5265      /^ac_cv_env_/b end
5266      t clear
5267      :clear
5268      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5269      t end
5270      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5271      :end' >>confcache
5272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5273   if test -w "$cache_file"; then
5274     if test "x$cache_file" != "x/dev/null"; then
5275       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5276 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5277       if test ! -f "$cache_file" || test -h "$cache_file"; then
5278         cat confcache >"$cache_file"
5279       else
5280         case $cache_file in #(
5281         */* | ?:*)
5282           mv -f confcache "$cache_file"$$ &&
5283           mv -f "$cache_file"$$ "$cache_file" ;; #(
5284         *)
5285           mv -f confcache "$cache_file" ;;
5286         esac
5287       fi
5288     fi
5289   else
5290     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5291 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5292   fi
5293 fi
5294 rm -f confcache
5295
5296 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5297 # Let make expand exec_prefix.
5298 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5299
5300 DEFS=-DHAVE_CONFIG_H
5301
5302 ac_libobjs=
5303 ac_ltlibobjs=
5304 U=
5305 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5306   # 1. Remove the extension, and $U if already installed.
5307   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5308   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5309   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5310   #    will be set to the directory where LIBOBJS objects are built.
5311   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5312   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5313 done
5314 LIBOBJS=$ac_libobjs
5315
5316 LTLIBOBJS=$ac_ltlibobjs
5317
5318
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5320 printf %s "checking that generated files are newer than configure... " >&6; }
5321    if test -n "$am_sleep_pid"; then
5322      # Hide warnings about reused PIDs.
5323      wait $am_sleep_pid 2>/dev/null
5324    fi
5325    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5326 printf "%s\n" "done" >&6; }
5327  if test -n "$EXEEXT"; then
5328   am__EXEEXT_TRUE=
5329   am__EXEEXT_FALSE='#'
5330 else
5331   am__EXEEXT_TRUE='#'
5332   am__EXEEXT_FALSE=
5333 fi
5334
5335 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5336   as_fn_error $? "conditional \"AMDEP\" was never defined.
5337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5338 fi
5339 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5340   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5342 fi
5343
5344 : "${CONFIG_STATUS=./config.status}"
5345 ac_write_fail=0
5346 ac_clean_files_save=$ac_clean_files
5347 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5349 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5350 as_write_fail=0
5351 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5352 #! $SHELL
5353 # Generated by $as_me.
5354 # Run this file to recreate the current configuration.
5355 # Compiler output produced by configure, useful for debugging
5356 # configure, is in config.log if it exists.
5357
5358 debug=false
5359 ac_cs_recheck=false
5360 ac_cs_silent=false
5361
5362 SHELL=\${CONFIG_SHELL-$SHELL}
5363 export SHELL
5364 _ASEOF
5365 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5366 ## -------------------- ##
5367 ## M4sh Initialization. ##
5368 ## -------------------- ##
5369
5370 # Be more Bourne compatible
5371 DUALCASE=1; export DUALCASE # for MKS sh
5372 as_nop=:
5373 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5374 then :
5375   emulate sh
5376   NULLCMD=:
5377   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5378   # is contrary to our usage.  Disable this feature.
5379   alias -g '${1+"$@"}'='"$@"'
5380   setopt NO_GLOB_SUBST
5381 else $as_nop
5382   case `(set -o) 2>/dev/null` in #(
5383   *posix*) :
5384     set -o posix ;; #(
5385   *) :
5386      ;;
5387 esac
5388 fi
5389
5390
5391
5392 # Reset variables that may have inherited troublesome values from
5393 # the environment.
5394
5395 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5396 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5397 # side effect of setting IFS to empty, thus disabling word splitting.)
5398 # Quoting is to prevent editors from complaining about space-tab.
5399 as_nl='
5400 '
5401 export as_nl
5402 IFS=" ""        $as_nl"
5403
5404 PS1='$ '
5405 PS2='> '
5406 PS4='+ '
5407
5408 # Ensure predictable behavior from utilities with locale-dependent output.
5409 LC_ALL=C
5410 export LC_ALL
5411 LANGUAGE=C
5412 export LANGUAGE
5413
5414 # We cannot yet rely on "unset" to work, but we need these variables
5415 # to be unset--not just set to an empty or harmless value--now, to
5416 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
5417 # also avoids known problems related to "unset" and subshell syntax
5418 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5419 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5420 do eval test \${$as_var+y} \
5421   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5422 done
5423
5424 # Ensure that fds 0, 1, and 2 are open.
5425 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5426 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5427 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
5428
5429 # The user is always right.
5430 if ${PATH_SEPARATOR+false} :; then
5431   PATH_SEPARATOR=:
5432   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5433     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5434       PATH_SEPARATOR=';'
5435   }
5436 fi
5437
5438
5439 # Find who we are.  Look in the path if we contain no directory separator.
5440 as_myself=
5441 case $0 in #((
5442   *[\\/]* ) as_myself=$0 ;;
5443   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446   IFS=$as_save_IFS
5447   case $as_dir in #(((
5448     '') as_dir=./ ;;
5449     */) ;;
5450     *) as_dir=$as_dir/ ;;
5451   esac
5452     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5453   done
5454 IFS=$as_save_IFS
5455
5456      ;;
5457 esac
5458 # We did not find ourselves, most probably we were run as `sh COMMAND'
5459 # in which case we are not to be found in the path.
5460 if test "x$as_myself" = x; then
5461   as_myself=$0
5462 fi
5463 if test ! -f "$as_myself"; then
5464   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5465   exit 1
5466 fi
5467
5468
5469
5470 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5471 # ----------------------------------------
5472 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5473 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5474 # script with STATUS, using 1 if that was 0.
5475 as_fn_error ()
5476 {
5477   as_status=$1; test $as_status -eq 0 && as_status=1
5478   if test "$4"; then
5479     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5480     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5481   fi
5482   printf "%s\n" "$as_me: error: $2" >&2
5483   as_fn_exit $as_status
5484 } # as_fn_error
5485
5486
5487
5488 # as_fn_set_status STATUS
5489 # -----------------------
5490 # Set $? to STATUS, without forking.
5491 as_fn_set_status ()
5492 {
5493   return $1
5494 } # as_fn_set_status
5495
5496 # as_fn_exit STATUS
5497 # -----------------
5498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5499 as_fn_exit ()
5500 {
5501   set +e
5502   as_fn_set_status $1
5503   exit $1
5504 } # as_fn_exit
5505
5506 # as_fn_unset VAR
5507 # ---------------
5508 # Portably unset VAR.
5509 as_fn_unset ()
5510 {
5511   { eval $1=; unset $1;}
5512 }
5513 as_unset=as_fn_unset
5514
5515 # as_fn_append VAR VALUE
5516 # ----------------------
5517 # Append the text in VALUE to the end of the definition contained in VAR. Take
5518 # advantage of any shell optimizations that allow amortized linear growth over
5519 # repeated appends, instead of the typical quadratic growth present in naive
5520 # implementations.
5521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5522 then :
5523   eval 'as_fn_append ()
5524   {
5525     eval $1+=\$2
5526   }'
5527 else $as_nop
5528   as_fn_append ()
5529   {
5530     eval $1=\$$1\$2
5531   }
5532 fi # as_fn_append
5533
5534 # as_fn_arith ARG...
5535 # ------------------
5536 # Perform arithmetic evaluation on the ARGs, and store the result in the
5537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5538 # must be portable across $(()) and expr.
5539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5540 then :
5541   eval 'as_fn_arith ()
5542   {
5543     as_val=$(( $* ))
5544   }'
5545 else $as_nop
5546   as_fn_arith ()
5547   {
5548     as_val=`expr "$@" || test $? -eq 1`
5549   }
5550 fi # as_fn_arith
5551
5552
5553 if expr a : '\(a\)' >/dev/null 2>&1 &&
5554    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5555   as_expr=expr
5556 else
5557   as_expr=false
5558 fi
5559
5560 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5561   as_basename=basename
5562 else
5563   as_basename=false
5564 fi
5565
5566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5567   as_dirname=dirname
5568 else
5569   as_dirname=false
5570 fi
5571
5572 as_me=`$as_basename -- "$0" ||
5573 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5574          X"$0" : 'X\(//\)$' \| \
5575          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5576 printf "%s\n" X/"$0" |
5577     sed '/^.*\/\([^/][^/]*\)\/*$/{
5578             s//\1/
5579             q
5580           }
5581           /^X\/\(\/\/\)$/{
5582             s//\1/
5583             q
5584           }
5585           /^X\/\(\/\).*/{
5586             s//\1/
5587             q
5588           }
5589           s/.*/./; q'`
5590
5591 # Avoid depending upon Character Ranges.
5592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5595 as_cr_digits='0123456789'
5596 as_cr_alnum=$as_cr_Letters$as_cr_digits
5597
5598
5599 # Determine whether it's possible to make 'echo' print without a newline.
5600 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5601 # for compatibility with existing Makefiles.
5602 ECHO_C= ECHO_N= ECHO_T=
5603 case `echo -n x` in #(((((
5604 -n*)
5605   case `echo 'xy\c'` in
5606   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5607   xy)  ECHO_C='\c';;
5608   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5609        ECHO_T=' ';;
5610   esac;;
5611 *)
5612   ECHO_N='-n';;
5613 esac
5614
5615 # For backward compatibility with old third-party macros, we provide
5616 # the shell variables $as_echo and $as_echo_n.  New code should use
5617 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5618 as_echo='printf %s\n'
5619 as_echo_n='printf %s'
5620
5621 rm -f conf$$ conf$$.exe conf$$.file
5622 if test -d conf$$.dir; then
5623   rm -f conf$$.dir/conf$$.file
5624 else
5625   rm -f conf$$.dir
5626   mkdir conf$$.dir 2>/dev/null
5627 fi
5628 if (echo >conf$$.file) 2>/dev/null; then
5629   if ln -s conf$$.file conf$$ 2>/dev/null; then
5630     as_ln_s='ln -s'
5631     # ... but there are two gotchas:
5632     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5633     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5634     # In both cases, we have to default to `cp -pR'.
5635     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5636       as_ln_s='cp -pR'
5637   elif ln conf$$.file conf$$ 2>/dev/null; then
5638     as_ln_s=ln
5639   else
5640     as_ln_s='cp -pR'
5641   fi
5642 else
5643   as_ln_s='cp -pR'
5644 fi
5645 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5646 rmdir conf$$.dir 2>/dev/null
5647
5648
5649 # as_fn_mkdir_p
5650 # -------------
5651 # Create "$as_dir" as a directory, including parents if necessary.
5652 as_fn_mkdir_p ()
5653 {
5654
5655   case $as_dir in #(
5656   -*) as_dir=./$as_dir;;
5657   esac
5658   test -d "$as_dir" || eval $as_mkdir_p || {
5659     as_dirs=
5660     while :; do
5661       case $as_dir in #(
5662       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5663       *) as_qdir=$as_dir;;
5664       esac
5665       as_dirs="'$as_qdir' $as_dirs"
5666       as_dir=`$as_dirname -- "$as_dir" ||
5667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5668          X"$as_dir" : 'X\(//\)[^/]' \| \
5669          X"$as_dir" : 'X\(//\)$' \| \
5670          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5671 printf "%s\n" X"$as_dir" |
5672     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5673             s//\1/
5674             q
5675           }
5676           /^X\(\/\/\)[^/].*/{
5677             s//\1/
5678             q
5679           }
5680           /^X\(\/\/\)$/{
5681             s//\1/
5682             q
5683           }
5684           /^X\(\/\).*/{
5685             s//\1/
5686             q
5687           }
5688           s/.*/./; q'`
5689       test -d "$as_dir" && break
5690     done
5691     test -z "$as_dirs" || eval "mkdir $as_dirs"
5692   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5693
5694
5695 } # as_fn_mkdir_p
5696 if mkdir -p . 2>/dev/null; then
5697   as_mkdir_p='mkdir -p "$as_dir"'
5698 else
5699   test -d ./-p && rmdir ./-p
5700   as_mkdir_p=false
5701 fi
5702
5703
5704 # as_fn_executable_p FILE
5705 # -----------------------
5706 # Test if FILE is an executable regular file.
5707 as_fn_executable_p ()
5708 {
5709   test -f "$1" && test -x "$1"
5710 } # as_fn_executable_p
5711 as_test_x='test -x'
5712 as_executable_p=as_fn_executable_p
5713
5714 # Sed expression to map a string onto a valid CPP name.
5715 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5716
5717 # Sed expression to map a string onto a valid variable name.
5718 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5719
5720
5721 exec 6>&1
5722 ## ----------------------------------- ##
5723 ## Main body of $CONFIG_STATUS script. ##
5724 ## ----------------------------------- ##
5725 _ASEOF
5726 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5727
5728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5729 # Save the log message, to keep $0 and so on meaningful, and to
5730 # report actual input values of CONFIG_FILES etc. instead of their
5731 # values after options handling.
5732 ac_log="
5733 This file was extended by Free exFAT implementation $as_me 1.4.0, which was
5734 generated by GNU Autoconf 2.71.  Invocation command line was
5735
5736   CONFIG_FILES    = $CONFIG_FILES
5737   CONFIG_HEADERS  = $CONFIG_HEADERS
5738   CONFIG_LINKS    = $CONFIG_LINKS
5739   CONFIG_COMMANDS = $CONFIG_COMMANDS
5740   $ $0 $@
5741
5742 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5743 "
5744
5745 _ACEOF
5746
5747 case $ac_config_files in *"
5748 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5749 esac
5750
5751 case $ac_config_headers in *"
5752 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5753 esac
5754
5755
5756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5757 # Files that config.status was made for.
5758 config_files="$ac_config_files"
5759 config_headers="$ac_config_headers"
5760 config_commands="$ac_config_commands"
5761
5762 _ACEOF
5763
5764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5765 ac_cs_usage="\
5766 \`$as_me' instantiates files and other configuration actions
5767 from templates according to the current configuration.  Unless the files
5768 and actions are specified as TAGs, all are instantiated by default.
5769
5770 Usage: $0 [OPTION]... [TAG]...
5771
5772   -h, --help       print this help, then exit
5773   -V, --version    print version number and configuration settings, then exit
5774       --config     print configuration, then exit
5775   -q, --quiet, --silent
5776                    do not print progress messages
5777   -d, --debug      don't remove temporary files
5778       --recheck    update $as_me by reconfiguring in the same conditions
5779       --file=FILE[:TEMPLATE]
5780                    instantiate the configuration file FILE
5781       --header=FILE[:TEMPLATE]
5782                    instantiate the configuration header FILE
5783
5784 Configuration files:
5785 $config_files
5786
5787 Configuration headers:
5788 $config_headers
5789
5790 Configuration commands:
5791 $config_commands
5792
5793 Report bugs to <relan@users.noreply.github.com>.
5794 Free exFAT implementation home page: <https://github.com/relan/exfat>."
5795
5796 _ACEOF
5797 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5798 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5800 ac_cs_config='$ac_cs_config_escaped'
5801 ac_cs_version="\\
5802 Free exFAT implementation config.status 1.4.0
5803 configured by $0, generated by GNU Autoconf 2.71,
5804   with options \\"\$ac_cs_config\\"
5805
5806 Copyright (C) 2021 Free Software Foundation, Inc.
5807 This config.status script is free software; the Free Software Foundation
5808 gives unlimited permission to copy, distribute and modify it."
5809
5810 ac_pwd='$ac_pwd'
5811 srcdir='$srcdir'
5812 INSTALL='$INSTALL'
5813 MKDIR_P='$MKDIR_P'
5814 AWK='$AWK'
5815 test -n "\$AWK" || AWK=awk
5816 _ACEOF
5817
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5819 # The default lists apply if the user does not specify any file.
5820 ac_need_defaults=:
5821 while test $# != 0
5822 do
5823   case $1 in
5824   --*=?*)
5825     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5826     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5827     ac_shift=:
5828     ;;
5829   --*=)
5830     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5831     ac_optarg=
5832     ac_shift=:
5833     ;;
5834   *)
5835     ac_option=$1
5836     ac_optarg=$2
5837     ac_shift=shift
5838     ;;
5839   esac
5840
5841   case $ac_option in
5842   # Handling of the options.
5843   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5844     ac_cs_recheck=: ;;
5845   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5846     printf "%s\n" "$ac_cs_version"; exit ;;
5847   --config | --confi | --conf | --con | --co | --c )
5848     printf "%s\n" "$ac_cs_config"; exit ;;
5849   --debug | --debu | --deb | --de | --d | -d )
5850     debug=: ;;
5851   --file | --fil | --fi | --f )
5852     $ac_shift
5853     case $ac_optarg in
5854     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5855     '') as_fn_error $? "missing file argument" ;;
5856     esac
5857     as_fn_append CONFIG_FILES " '$ac_optarg'"
5858     ac_need_defaults=false;;
5859   --header | --heade | --head | --hea )
5860     $ac_shift
5861     case $ac_optarg in
5862     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5863     esac
5864     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5865     ac_need_defaults=false;;
5866   --he | --h)
5867     # Conflict between --help and --header
5868     as_fn_error $? "ambiguous option: \`$1'
5869 Try \`$0 --help' for more information.";;
5870   --help | --hel | -h )
5871     printf "%s\n" "$ac_cs_usage"; exit ;;
5872   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5873   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5874     ac_cs_silent=: ;;
5875
5876   # This is an error.
5877   -*) as_fn_error $? "unrecognized option: \`$1'
5878 Try \`$0 --help' for more information." ;;
5879
5880   *) as_fn_append ac_config_targets " $1"
5881      ac_need_defaults=false ;;
5882
5883   esac
5884   shift
5885 done
5886
5887 ac_configure_extra_args=
5888
5889 if $ac_cs_silent; then
5890   exec 6>/dev/null
5891   ac_configure_extra_args="$ac_configure_extra_args --silent"
5892 fi
5893
5894 _ACEOF
5895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5896 if \$ac_cs_recheck; then
5897   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5898   shift
5899   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5900   CONFIG_SHELL='$SHELL'
5901   export CONFIG_SHELL
5902   exec "\$@"
5903 fi
5904
5905 _ACEOF
5906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5907 exec 5>>config.log
5908 {
5909   echo
5910   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5911 ## Running $as_me. ##
5912 _ASBOX
5913   printf "%s\n" "$ac_log"
5914 } >&5
5915
5916 _ACEOF
5917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5918 #
5919 # INIT-COMMANDS
5920 #
5921 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5922
5923 _ACEOF
5924
5925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5926
5927 # Handling of arguments.
5928 for ac_config_target in $ac_config_targets
5929 do
5930   case $ac_config_target in
5931     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5932     "libexfat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libexfat/config.h" ;;
5933     "libexfat/Makefile") CONFIG_FILES="$CONFIG_FILES libexfat/Makefile" ;;
5934     "fuse/Makefile") CONFIG_FILES="$CONFIG_FILES fuse/Makefile" ;;
5935     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5936
5937   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5938   esac
5939 done
5940
5941
5942 # If the user did not use the arguments to specify the items to instantiate,
5943 # then the envvar interface is used.  Set only those that are not.
5944 # We use the long form for the default assignment because of an extremely
5945 # bizarre bug on SunOS 4.1.3.
5946 if $ac_need_defaults; then
5947   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5948   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5949   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5950 fi
5951
5952 # Have a temporary directory for convenience.  Make it in the build tree
5953 # simply because there is no reason against having it here, and in addition,
5954 # creating and moving files from /tmp can sometimes cause problems.
5955 # Hook for its removal unless debugging.
5956 # Note that there is a small window in which the directory will not be cleaned:
5957 # after its creation but before its name has been assigned to `$tmp'.
5958 $debug ||
5959 {
5960   tmp= ac_tmp=
5961   trap 'exit_status=$?
5962   : "${ac_tmp:=$tmp}"
5963   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5964 ' 0
5965   trap 'as_fn_exit 1' 1 2 13 15
5966 }
5967 # Create a (secure) tmp directory for tmp files.
5968
5969 {
5970   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5971   test -d "$tmp"
5972 }  ||
5973 {
5974   tmp=./conf$$-$RANDOM
5975   (umask 077 && mkdir "$tmp")
5976 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5977 ac_tmp=$tmp
5978
5979 # Set up the scripts for CONFIG_FILES section.
5980 # No need to generate them if there are no CONFIG_FILES.
5981 # This happens for instance with `./config.status config.h'.
5982 if test -n "$CONFIG_FILES"; then
5983
5984
5985 ac_cr=`echo X | tr X '\015'`
5986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5987 # But we know of no other shell where ac_cr would be empty at this
5988 # point, so we can use a bashism as a fallback.
5989 if test "x$ac_cr" = x; then
5990   eval ac_cr=\$\'\\r\'
5991 fi
5992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5994   ac_cs_awk_cr='\\r'
5995 else
5996   ac_cs_awk_cr=$ac_cr
5997 fi
5998
5999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6000 _ACEOF
6001
6002
6003 {
6004   echo "cat >conf$$subs.awk <<_ACEOF" &&
6005   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6006   echo "_ACEOF"
6007 } >conf$$subs.sh ||
6008   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6010 ac_delim='%!_!# '
6011 for ac_last_try in false false false false false :; do
6012   . ./conf$$subs.sh ||
6013     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6014
6015   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6016   if test $ac_delim_n = $ac_delim_num; then
6017     break
6018   elif $ac_last_try; then
6019     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6020   else
6021     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6022   fi
6023 done
6024 rm -f conf$$subs.sh
6025
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6028 _ACEOF
6029 sed -n '
6030 h
6031 s/^/S["/; s/!.*/"]=/
6032 p
6033 g
6034 s/^[^!]*!//
6035 :repl
6036 t repl
6037 s/'"$ac_delim"'$//
6038 t delim
6039 :nl
6040 h
6041 s/\(.\{148\}\)..*/\1/
6042 t more1
6043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6044 p
6045 n
6046 b repl
6047 :more1
6048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6049 p
6050 g
6051 s/.\{148\}//
6052 t nl
6053 :delim
6054 h
6055 s/\(.\{148\}\)..*/\1/
6056 t more2
6057 s/["\\]/\\&/g; s/^/"/; s/$/"/
6058 p
6059 b
6060 :more2
6061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6062 p
6063 g
6064 s/.\{148\}//
6065 t delim
6066 ' <conf$$subs.awk | sed '
6067 /^[^""]/{
6068   N
6069   s/\n//
6070 }
6071 ' >>$CONFIG_STATUS || ac_write_fail=1
6072 rm -f conf$$subs.awk
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6074 _ACAWK
6075 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6076   for (key in S) S_is_set[key] = 1
6077   FS = "\a"
6078
6079 }
6080 {
6081   line = $ 0
6082   nfields = split(line, field, "@")
6083   substed = 0
6084   len = length(field[1])
6085   for (i = 2; i < nfields; i++) {
6086     key = field[i]
6087     keylen = length(key)
6088     if (S_is_set[key]) {
6089       value = S[key]
6090       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6091       len += length(value) + length(field[++i])
6092       substed = 1
6093     } else
6094       len += 1 + keylen
6095   }
6096
6097   print line
6098 }
6099
6100 _ACAWK
6101 _ACEOF
6102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6104   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6105 else
6106   cat
6107 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6108   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6109 _ACEOF
6110
6111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6113 # trailing colons and then remove the whole line if VPATH becomes empty
6114 # (actually we leave an empty line to preserve line numbers).
6115 if test "x$srcdir" = x.; then
6116   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6117 h
6118 s///
6119 s/^/:/
6120 s/[      ]*$/:/
6121 s/:\$(srcdir):/:/g
6122 s/:\${srcdir}:/:/g
6123 s/:@srcdir@:/:/g
6124 s/^:*//
6125 s/:*$//
6126 x
6127 s/\(=[   ]*\).*/\1/
6128 G
6129 s/\n//
6130 s/^[^=]*=[       ]*$//
6131 }'
6132 fi
6133
6134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6135 fi # test -n "$CONFIG_FILES"
6136
6137 # Set up the scripts for CONFIG_HEADERS section.
6138 # No need to generate them if there are no CONFIG_HEADERS.
6139 # This happens for instance with `./config.status Makefile'.
6140 if test -n "$CONFIG_HEADERS"; then
6141 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6142 BEGIN {
6143 _ACEOF
6144
6145 # Transform confdefs.h into an awk script `defines.awk', embedded as
6146 # here-document in config.status, that substitutes the proper values into
6147 # config.h.in to produce config.h.
6148
6149 # Create a delimiter string that does not exist in confdefs.h, to ease
6150 # handling of long lines.
6151 ac_delim='%!_!# '
6152 for ac_last_try in false false :; do
6153   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6154   if test -z "$ac_tt"; then
6155     break
6156   elif $ac_last_try; then
6157     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6158   else
6159     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6160   fi
6161 done
6162
6163 # For the awk script, D is an array of macro values keyed by name,
6164 # likewise P contains macro parameters if any.  Preserve backslash
6165 # newline sequences.
6166
6167 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6168 sed -n '
6169 s/.\{148\}/&'"$ac_delim"'/g
6170 t rset
6171 :rset
6172 s/^[     ]*#[    ]*define[       ][      ]*/ /
6173 t def
6174 d
6175 :def
6176 s/\\$//
6177 t bsnl
6178 s/["\\]/\\&/g
6179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6180 D["\1"]=" \3"/p
6181 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6182 d
6183 :bsnl
6184 s/["\\]/\\&/g
6185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6186 D["\1"]=" \3\\\\\\n"\\/p
6187 t cont
6188 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6189 t cont
6190 d
6191 :cont
6192 n
6193 s/.\{148\}/&'"$ac_delim"'/g
6194 t clear
6195 :clear
6196 s/\\$//
6197 t bsnlc
6198 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6199 d
6200 :bsnlc
6201 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6202 b cont
6203 ' <confdefs.h | sed '
6204 s/'"$ac_delim"'/"\\\
6205 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6206
6207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6208   for (key in D) D_is_set[key] = 1
6209   FS = "\a"
6210 }
6211 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6212   line = \$ 0
6213   split(line, arg, " ")
6214   if (arg[1] == "#") {
6215     defundef = arg[2]
6216     mac1 = arg[3]
6217   } else {
6218     defundef = substr(arg[1], 2)
6219     mac1 = arg[2]
6220   }
6221   split(mac1, mac2, "(") #)
6222   macro = mac2[1]
6223   prefix = substr(line, 1, index(line, defundef) - 1)
6224   if (D_is_set[macro]) {
6225     # Preserve the white space surrounding the "#".
6226     print prefix "define", macro P[macro] D[macro]
6227     next
6228   } else {
6229     # Replace #undef with comments.  This is necessary, for example,
6230     # in the case of _POSIX_SOURCE, which is predefined and required
6231     # on some systems where configure will not decide to define it.
6232     if (defundef == "undef") {
6233       print "/*", prefix defundef, macro, "*/"
6234       next
6235     }
6236   }
6237 }
6238 { print }
6239 _ACAWK
6240 _ACEOF
6241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6242   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6243 fi # test -n "$CONFIG_HEADERS"
6244
6245
6246 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6247 shift
6248 for ac_tag
6249 do
6250   case $ac_tag in
6251   :[FHLC]) ac_mode=$ac_tag; continue;;
6252   esac
6253   case $ac_mode$ac_tag in
6254   :[FHL]*:*);;
6255   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6256   :[FH]-) ac_tag=-:-;;
6257   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6258   esac
6259   ac_save_IFS=$IFS
6260   IFS=:
6261   set x $ac_tag
6262   IFS=$ac_save_IFS
6263   shift
6264   ac_file=$1
6265   shift
6266
6267   case $ac_mode in
6268   :L) ac_source=$1;;
6269   :[FH])
6270     ac_file_inputs=
6271     for ac_f
6272     do
6273       case $ac_f in
6274       -) ac_f="$ac_tmp/stdin";;
6275       *) # Look for the file first in the build tree, then in the source tree
6276          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6277          # because $ac_f cannot contain `:'.
6278          test -f "$ac_f" ||
6279            case $ac_f in
6280            [\\/$]*) false;;
6281            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6282            esac ||
6283            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6284       esac
6285       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6286       as_fn_append ac_file_inputs " '$ac_f'"
6287     done
6288
6289     # Let's still pretend it is `configure' which instantiates (i.e., don't
6290     # use $as_me), people would be surprised to read:
6291     #    /* config.h.  Generated by config.status.  */
6292     configure_input='Generated from '`
6293           printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6294         `' by configure.'
6295     if test x"$ac_file" != x-; then
6296       configure_input="$ac_file.  $configure_input"
6297       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6298 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6299     fi
6300     # Neutralize special characters interpreted by sed in replacement strings.
6301     case $configure_input in #(
6302     *\&* | *\|* | *\\* )
6303        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6304        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6305     *) ac_sed_conf_input=$configure_input;;
6306     esac
6307
6308     case $ac_tag in
6309     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6310       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6311     esac
6312     ;;
6313   esac
6314
6315   ac_dir=`$as_dirname -- "$ac_file" ||
6316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6317          X"$ac_file" : 'X\(//\)[^/]' \| \
6318          X"$ac_file" : 'X\(//\)$' \| \
6319          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6320 printf "%s\n" X"$ac_file" |
6321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6322             s//\1/
6323             q
6324           }
6325           /^X\(\/\/\)[^/].*/{
6326             s//\1/
6327             q
6328           }
6329           /^X\(\/\/\)$/{
6330             s//\1/
6331             q
6332           }
6333           /^X\(\/\).*/{
6334             s//\1/
6335             q
6336           }
6337           s/.*/./; q'`
6338   as_dir="$ac_dir"; as_fn_mkdir_p
6339   ac_builddir=.
6340
6341 case "$ac_dir" in
6342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6343 *)
6344   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6345   # A ".." for each directory in $ac_dir_suffix.
6346   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6347   case $ac_top_builddir_sub in
6348   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6349   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6350   esac ;;
6351 esac
6352 ac_abs_top_builddir=$ac_pwd
6353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6354 # for backward compatibility:
6355 ac_top_builddir=$ac_top_build_prefix
6356
6357 case $srcdir in
6358   .)  # We are building in place.
6359     ac_srcdir=.
6360     ac_top_srcdir=$ac_top_builddir_sub
6361     ac_abs_top_srcdir=$ac_pwd ;;
6362   [\\/]* | ?:[\\/]* )  # Absolute name.
6363     ac_srcdir=$srcdir$ac_dir_suffix;
6364     ac_top_srcdir=$srcdir
6365     ac_abs_top_srcdir=$srcdir ;;
6366   *) # Relative name.
6367     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6368     ac_top_srcdir=$ac_top_build_prefix$srcdir
6369     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6370 esac
6371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6372
6373
6374   case $ac_mode in
6375   :F)
6376   #
6377   # CONFIG_FILE
6378   #
6379
6380   case $INSTALL in
6381   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6382   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6383   esac
6384   ac_MKDIR_P=$MKDIR_P
6385   case $MKDIR_P in
6386   [\\/$]* | ?:[\\/]* ) ;;
6387   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6388   esac
6389 _ACEOF
6390
6391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6392 # If the template does not know about datarootdir, expand it.
6393 # FIXME: This hack should be removed a few years after 2.60.
6394 ac_datarootdir_hack=; ac_datarootdir_seen=
6395 ac_sed_dataroot='
6396 /datarootdir/ {
6397   p
6398   q
6399 }
6400 /@datadir@/p
6401 /@docdir@/p
6402 /@infodir@/p
6403 /@localedir@/p
6404 /@mandir@/p'
6405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6406 *datarootdir*) ac_datarootdir_seen=yes;;
6407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6409 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6410 _ACEOF
6411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6412   ac_datarootdir_hack='
6413   s&@datadir@&$datadir&g
6414   s&@docdir@&$docdir&g
6415   s&@infodir@&$infodir&g
6416   s&@localedir@&$localedir&g
6417   s&@mandir@&$mandir&g
6418   s&\\\${datarootdir}&$datarootdir&g' ;;
6419 esac
6420 _ACEOF
6421
6422 # Neutralize VPATH when `$srcdir' = `.'.
6423 # Shell code in configure.ac might set extrasub.
6424 # FIXME: do we really want to maintain this feature?
6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6426 ac_sed_extra="$ac_vpsub
6427 $extrasub
6428 _ACEOF
6429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6430 :t
6431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6432 s|@configure_input@|$ac_sed_conf_input|;t t
6433 s&@top_builddir@&$ac_top_builddir_sub&;t t
6434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6435 s&@srcdir@&$ac_srcdir&;t t
6436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6437 s&@top_srcdir@&$ac_top_srcdir&;t t
6438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6439 s&@builddir@&$ac_builddir&;t t
6440 s&@abs_builddir@&$ac_abs_builddir&;t t
6441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6442 s&@INSTALL@&$ac_INSTALL&;t t
6443 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6444 $ac_datarootdir_hack
6445 "
6446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6447   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6448
6449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6450   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6451   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6452       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6454 which seems to be undefined.  Please make sure it is defined" >&5
6455 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6456 which seems to be undefined.  Please make sure it is defined" >&2;}
6457
6458   rm -f "$ac_tmp/stdin"
6459   case $ac_file in
6460   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6461   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6462   esac \
6463   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6464  ;;
6465   :H)
6466   #
6467   # CONFIG_HEADER
6468   #
6469   if test x"$ac_file" != x-; then
6470     {
6471       printf "%s\n" "/* $configure_input  */" >&1 \
6472       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6473     } >"$ac_tmp/config.h" \
6474       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6475     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6476       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6477 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6478     else
6479       rm -f "$ac_file"
6480       mv "$ac_tmp/config.h" "$ac_file" \
6481         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6482     fi
6483   else
6484     printf "%s\n" "/* $configure_input  */" >&1 \
6485       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6486       || as_fn_error $? "could not create -" "$LINENO" 5
6487   fi
6488 # Compute "$ac_file"'s index in $config_headers.
6489 _am_arg="$ac_file"
6490 _am_stamp_count=1
6491 for _am_header in $config_headers :; do
6492   case $_am_header in
6493     $_am_arg | $_am_arg:* )
6494       break ;;
6495     * )
6496       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6497   esac
6498 done
6499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501          X"$_am_arg" : 'X\(//\)[^/]' \| \
6502          X"$_am_arg" : 'X\(//\)$' \| \
6503          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6504 printf "%s\n" X"$_am_arg" |
6505     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6506             s//\1/
6507             q
6508           }
6509           /^X\(\/\/\)[^/].*/{
6510             s//\1/
6511             q
6512           }
6513           /^X\(\/\/\)$/{
6514             s//\1/
6515             q
6516           }
6517           /^X\(\/\).*/{
6518             s//\1/
6519             q
6520           }
6521           s/.*/./; q'`/stamp-h$_am_stamp_count
6522  ;;
6523
6524   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6525 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6526  ;;
6527   esac
6528
6529
6530   case $ac_file$ac_mode in
6531     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6532   # Older Autoconf quotes --file arguments for eval, but not when files
6533   # are listed without --file.  Let's play safe and only enable the eval
6534   # if we detect the quoting.
6535   # TODO: see whether this extra hack can be removed once we start
6536   # requiring Autoconf 2.70 or later.
6537   case $CONFIG_FILES in #(
6538   *\'*) :
6539     eval set x "$CONFIG_FILES" ;; #(
6540   *) :
6541     set x $CONFIG_FILES ;; #(
6542   *) :
6543      ;;
6544 esac
6545   shift
6546   # Used to flag and report bootstrapping failures.
6547   am_rc=0
6548   for am_mf
6549   do
6550     # Strip MF so we end up with the name of the file.
6551     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6552     # Check whether this is an Automake generated Makefile which includes
6553     # dependency-tracking related rules and includes.
6554     # Grep'ing the whole file directly is not great: AIX grep has a line
6555     # limit of 2048, but all sed's we know have understand at least 4000.
6556     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6557       || continue
6558     am_dirpart=`$as_dirname -- "$am_mf" ||
6559 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6560          X"$am_mf" : 'X\(//\)[^/]' \| \
6561          X"$am_mf" : 'X\(//\)$' \| \
6562          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6563 printf "%s\n" X"$am_mf" |
6564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6565             s//\1/
6566             q
6567           }
6568           /^X\(\/\/\)[^/].*/{
6569             s//\1/
6570             q
6571           }
6572           /^X\(\/\/\)$/{
6573             s//\1/
6574             q
6575           }
6576           /^X\(\/\).*/{
6577             s//\1/
6578             q
6579           }
6580           s/.*/./; q'`
6581     am_filepart=`$as_basename -- "$am_mf" ||
6582 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6583          X"$am_mf" : 'X\(//\)$' \| \
6584          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6585 printf "%s\n" X/"$am_mf" |
6586     sed '/^.*\/\([^/][^/]*\)\/*$/{
6587             s//\1/
6588             q
6589           }
6590           /^X\/\(\/\/\)$/{
6591             s//\1/
6592             q
6593           }
6594           /^X\/\(\/\).*/{
6595             s//\1/
6596             q
6597           }
6598           s/.*/./; q'`
6599     { echo "$as_me:$LINENO: cd "$am_dirpart" \
6600       && sed -e '/# am--include-marker/d' "$am_filepart" \
6601         | $MAKE -f - am--depfiles" >&5
6602    (cd "$am_dirpart" \
6603       && sed -e '/# am--include-marker/d' "$am_filepart" \
6604         | $MAKE -f - am--depfiles) >&5 2>&5
6605    ac_status=$?
6606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607    (exit $ac_status); } || am_rc=$?
6608   done
6609   if test $am_rc -ne 0; then
6610     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6612 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6613     for automatic dependency tracking.  If GNU make was not used, consider
6614     re-running the configure script with MAKE=\"gmake\" (or whatever is
6615     necessary).  You can also try re-running configure with the
6616     '--disable-dependency-tracking' option to at least be able to build
6617     the package (albeit without support for automatic dependency tracking).
6618 See \`config.log' for more details" "$LINENO" 5; }
6619   fi
6620   { am_dirpart=; unset am_dirpart;}
6621   { am_filepart=; unset am_filepart;}
6622   { am_mf=; unset am_mf;}
6623   { am_rc=; unset am_rc;}
6624   rm -f conftest-deps.mk
6625 }
6626  ;;
6627
6628   esac
6629 done # for ac_tag
6630
6631
6632 as_fn_exit 0
6633 _ACEOF
6634 ac_clean_files=$ac_clean_files_save
6635
6636 test $ac_write_fail = 0 ||
6637   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6638
6639
6640 # configure is writing to config.log, and then calls config.status.
6641 # config.status does its own redirection, appending to config.log.
6642 # Unfortunately, on DOS this fails, as config.log is still kept open
6643 # by configure, so config.status won't be able to write to it; its
6644 # output is simply discarded.  So we exec the FD to /dev/null,
6645 # effectively closing config.log, so it can be properly (re)opened and
6646 # appended to by config.status.  When coming back to configure, we
6647 # need to make the FD available again.
6648 if test "$no_create" != yes; then
6649   ac_cs_success=:
6650   ac_config_status_args=
6651   test "$silent" = yes &&
6652     ac_config_status_args="$ac_config_status_args --quiet"
6653   exec 5>/dev/null
6654   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6655   exec 5>>config.log
6656   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6657   # would make configure fail if this is the last instruction.
6658   $ac_cs_success || as_fn_exit 1
6659 fi
6660 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6662 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6663 fi
6664
6665