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