OSDN Git Service

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