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