OSDN Git Service

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