OSDN Git Service

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