OSDN Git Service

Added all.
[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-20141010
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: $SVNVER" >&5
4538 $as_echo "$SVNVER" >&6; }
4539   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Version of the original XML not $TARGETVER" >&5
4540 $as_echo "$as_me: WARNING: Version of the original XML not $TARGETVER" >&2;}
4541 else
4542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVER" >&5
4543 $as_echo "$SVNVER" >&6; }
4544 fi
4545
4546
4547
4548 # Checks for libraries.
4549
4550 # Checks for header files.
4551
4552 ac_ext=c
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4558 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4559 # On Suns, sometimes $CPP names a directory.
4560 if test -n "$CPP" && test -d "$CPP"; then
4561   CPP=
4562 fi
4563 if test -z "$CPP"; then
4564   if ${ac_cv_prog_CPP+:} false; then :
4565   $as_echo_n "(cached) " >&6
4566 else
4567       # Double quotes because CPP needs to be expanded
4568     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4569     do
4570       ac_preproc_ok=false
4571 for ac_c_preproc_warn_flag in '' yes
4572 do
4573   # Use a header file that comes with gcc, so configuring glibc
4574   # with a fresh cross-compiler works.
4575   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4576   # <limits.h> exists even on freestanding compilers.
4577   # On the NeXT, cc -E runs the code through the compiler's parser,
4578   # not just through cpp. "Syntax error" is here to catch this case.
4579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h.  */
4581 #ifdef __STDC__
4582 # include <limits.h>
4583 #else
4584 # include <assert.h>
4585 #endif
4586                      Syntax error
4587 _ACEOF
4588 if ac_fn_c_try_cpp "$LINENO"; then :
4589
4590 else
4591   # Broken: fails on valid input.
4592 continue
4593 fi
4594 rm -f conftest.err conftest.i conftest.$ac_ext
4595
4596   # OK, works on sane cases.  Now check whether nonexistent headers
4597   # can be detected and how.
4598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h.  */
4600 #include <ac_nonexistent.h>
4601 _ACEOF
4602 if ac_fn_c_try_cpp "$LINENO"; then :
4603   # Broken: success on invalid input.
4604 continue
4605 else
4606   # Passes both tests.
4607 ac_preproc_ok=:
4608 break
4609 fi
4610 rm -f conftest.err conftest.i conftest.$ac_ext
4611
4612 done
4613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4614 rm -f conftest.i conftest.err conftest.$ac_ext
4615 if $ac_preproc_ok; then :
4616   break
4617 fi
4618
4619     done
4620     ac_cv_prog_CPP=$CPP
4621
4622 fi
4623   CPP=$ac_cv_prog_CPP
4624 else
4625   ac_cv_prog_CPP=$CPP
4626 fi
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4628 $as_echo "$CPP" >&6; }
4629 ac_preproc_ok=false
4630 for ac_c_preproc_warn_flag in '' yes
4631 do
4632   # Use a header file that comes with gcc, so configuring glibc
4633   # with a fresh cross-compiler works.
4634   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4635   # <limits.h> exists even on freestanding compilers.
4636   # On the NeXT, cc -E runs the code through the compiler's parser,
4637   # not just through cpp. "Syntax error" is here to catch this case.
4638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h.  */
4640 #ifdef __STDC__
4641 # include <limits.h>
4642 #else
4643 # include <assert.h>
4644 #endif
4645                      Syntax error
4646 _ACEOF
4647 if ac_fn_c_try_cpp "$LINENO"; then :
4648
4649 else
4650   # Broken: fails on valid input.
4651 continue
4652 fi
4653 rm -f conftest.err conftest.i conftest.$ac_ext
4654
4655   # OK, works on sane cases.  Now check whether nonexistent headers
4656   # can be detected and how.
4657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h.  */
4659 #include <ac_nonexistent.h>
4660 _ACEOF
4661 if ac_fn_c_try_cpp "$LINENO"; then :
4662   # Broken: success on invalid input.
4663 continue
4664 else
4665   # Passes both tests.
4666 ac_preproc_ok=:
4667 break
4668 fi
4669 rm -f conftest.err conftest.i conftest.$ac_ext
4670
4671 done
4672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4673 rm -f conftest.i conftest.err conftest.$ac_ext
4674 if $ac_preproc_ok; then :
4675
4676 else
4677   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4680 See \`config.log' for more details" "$LINENO" 5; }
4681 fi
4682
4683 ac_ext=c
4684 ac_cpp='$CPP $CPPFLAGS'
4685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688
4689
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4691 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4692 if ${ac_cv_path_GREP+:} false; then :
4693   $as_echo_n "(cached) " >&6
4694 else
4695   if test -z "$GREP"; then
4696   ac_path_GREP_found=false
4697   # Loop through the user's path and test for each of PROGNAME-LIST
4698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4700 do
4701   IFS=$as_save_IFS
4702   test -z "$as_dir" && as_dir=.
4703     for ac_prog in grep ggrep; do
4704     for ac_exec_ext in '' $ac_executable_extensions; do
4705       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4706       as_fn_executable_p "$ac_path_GREP" || continue
4707 # Check for GNU ac_path_GREP and select it if it is found.
4708   # Check for GNU $ac_path_GREP
4709 case `"$ac_path_GREP" --version 2>&1` in
4710 *GNU*)
4711   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4712 *)
4713   ac_count=0
4714   $as_echo_n 0123456789 >"conftest.in"
4715   while :
4716   do
4717     cat "conftest.in" "conftest.in" >"conftest.tmp"
4718     mv "conftest.tmp" "conftest.in"
4719     cp "conftest.in" "conftest.nl"
4720     $as_echo 'GREP' >> "conftest.nl"
4721     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4722     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4723     as_fn_arith $ac_count + 1 && ac_count=$as_val
4724     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4725       # Best one so far, save it but keep looking for a better one
4726       ac_cv_path_GREP="$ac_path_GREP"
4727       ac_path_GREP_max=$ac_count
4728     fi
4729     # 10*(2^10) chars as input seems more than enough
4730     test $ac_count -gt 10 && break
4731   done
4732   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4733 esac
4734
4735       $ac_path_GREP_found && break 3
4736     done
4737   done
4738   done
4739 IFS=$as_save_IFS
4740   if test -z "$ac_cv_path_GREP"; then
4741     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742   fi
4743 else
4744   ac_cv_path_GREP=$GREP
4745 fi
4746
4747 fi
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4749 $as_echo "$ac_cv_path_GREP" >&6; }
4750  GREP="$ac_cv_path_GREP"
4751
4752
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4754 $as_echo_n "checking for egrep... " >&6; }
4755 if ${ac_cv_path_EGREP+:} false; then :
4756   $as_echo_n "(cached) " >&6
4757 else
4758   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4759    then ac_cv_path_EGREP="$GREP -E"
4760    else
4761      if test -z "$EGREP"; then
4762   ac_path_EGREP_found=false
4763   # Loop through the user's path and test for each of PROGNAME-LIST
4764   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4766 do
4767   IFS=$as_save_IFS
4768   test -z "$as_dir" && as_dir=.
4769     for ac_prog in egrep; do
4770     for ac_exec_ext in '' $ac_executable_extensions; do
4771       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4772       as_fn_executable_p "$ac_path_EGREP" || continue
4773 # Check for GNU ac_path_EGREP and select it if it is found.
4774   # Check for GNU $ac_path_EGREP
4775 case `"$ac_path_EGREP" --version 2>&1` in
4776 *GNU*)
4777   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4778 *)
4779   ac_count=0
4780   $as_echo_n 0123456789 >"conftest.in"
4781   while :
4782   do
4783     cat "conftest.in" "conftest.in" >"conftest.tmp"
4784     mv "conftest.tmp" "conftest.in"
4785     cp "conftest.in" "conftest.nl"
4786     $as_echo 'EGREP' >> "conftest.nl"
4787     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4788     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4789     as_fn_arith $ac_count + 1 && ac_count=$as_val
4790     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4791       # Best one so far, save it but keep looking for a better one
4792       ac_cv_path_EGREP="$ac_path_EGREP"
4793       ac_path_EGREP_max=$ac_count
4794     fi
4795     # 10*(2^10) chars as input seems more than enough
4796     test $ac_count -gt 10 && break
4797   done
4798   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4799 esac
4800
4801       $ac_path_EGREP_found && break 3
4802     done
4803   done
4804   done
4805 IFS=$as_save_IFS
4806   if test -z "$ac_cv_path_EGREP"; then
4807     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808   fi
4809 else
4810   ac_cv_path_EGREP=$EGREP
4811 fi
4812
4813    fi
4814 fi
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4816 $as_echo "$ac_cv_path_EGREP" >&6; }
4817  EGREP="$ac_cv_path_EGREP"
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4821 $as_echo_n "checking for ANSI C header files... " >&6; }
4822 if ${ac_cv_header_stdc+:} false; then :
4823   $as_echo_n "(cached) " >&6
4824 else
4825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h.  */
4827 #include <stdlib.h>
4828 #include <stdarg.h>
4829 #include <string.h>
4830 #include <float.h>
4831
4832 int
4833 main ()
4834 {
4835
4836   ;
4837   return 0;
4838 }
4839 _ACEOF
4840 if ac_fn_c_try_compile "$LINENO"; then :
4841   ac_cv_header_stdc=yes
4842 else
4843   ac_cv_header_stdc=no
4844 fi
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846
4847 if test $ac_cv_header_stdc = yes; then
4848   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h.  */
4851 #include <string.h>
4852
4853 _ACEOF
4854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4855   $EGREP "memchr" >/dev/null 2>&1; then :
4856
4857 else
4858   ac_cv_header_stdc=no
4859 fi
4860 rm -f conftest*
4861
4862 fi
4863
4864 if test $ac_cv_header_stdc = yes; then
4865   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h.  */
4868 #include <stdlib.h>
4869
4870 _ACEOF
4871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4872   $EGREP "free" >/dev/null 2>&1; then :
4873
4874 else
4875   ac_cv_header_stdc=no
4876 fi
4877 rm -f conftest*
4878
4879 fi
4880
4881 if test $ac_cv_header_stdc = yes; then
4882   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4883   if test "$cross_compiling" = yes; then :
4884   :
4885 else
4886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h.  */
4888 #include <ctype.h>
4889 #include <stdlib.h>
4890 #if ((' ' & 0x0FF) == 0x020)
4891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4893 #else
4894 # define ISLOWER(c) \
4895                    (('a' <= (c) && (c) <= 'i') \
4896                      || ('j' <= (c) && (c) <= 'r') \
4897                      || ('s' <= (c) && (c) <= 'z'))
4898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4899 #endif
4900
4901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4902 int
4903 main ()
4904 {
4905   int i;
4906   for (i = 0; i < 256; i++)
4907     if (XOR (islower (i), ISLOWER (i))
4908         || toupper (i) != TOUPPER (i))
4909       return 2;
4910   return 0;
4911 }
4912 _ACEOF
4913 if ac_fn_c_try_run "$LINENO"; then :
4914
4915 else
4916   ac_cv_header_stdc=no
4917 fi
4918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4919   conftest.$ac_objext conftest.beam conftest.$ac_ext
4920 fi
4921
4922 fi
4923 fi
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4925 $as_echo "$ac_cv_header_stdc" >&6; }
4926 if test $ac_cv_header_stdc = yes; then
4927
4928 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4929
4930 fi
4931
4932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4933 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4934                   inttypes.h stdint.h unistd.h
4935 do :
4936   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4938 "
4939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4940   cat >>confdefs.h <<_ACEOF
4941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4942 _ACEOF
4943
4944 fi
4945
4946 done
4947
4948
4949 for ac_header in malloc.h stdlib.h
4950 do :
4951   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4952 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4954   cat >>confdefs.h <<_ACEOF
4955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4956 _ACEOF
4957
4958 fi
4959
4960 done
4961
4962
4963 # Checks for typedefs, structures, and compiler characteristics.
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4965 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4966 if ${ac_cv_header_stdbool_h+:} false; then :
4967   $as_echo_n "(cached) " >&6
4968 else
4969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h.  */
4971
4972              #include <stdbool.h>
4973              #ifndef bool
4974               "error: bool is not defined"
4975              #endif
4976              #ifndef false
4977               "error: false is not defined"
4978              #endif
4979              #if false
4980               "error: false is not 0"
4981              #endif
4982              #ifndef true
4983               "error: true is not defined"
4984              #endif
4985              #if true != 1
4986               "error: true is not 1"
4987              #endif
4988              #ifndef __bool_true_false_are_defined
4989               "error: __bool_true_false_are_defined is not defined"
4990              #endif
4991
4992              struct s { _Bool s: 1; _Bool t; } s;
4993
4994              char a[true == 1 ? 1 : -1];
4995              char b[false == 0 ? 1 : -1];
4996              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4997              char d[(bool) 0.5 == true ? 1 : -1];
4998              /* See body of main program for 'e'.  */
4999              char f[(_Bool) 0.0 == false ? 1 : -1];
5000              char g[true];
5001              char h[sizeof (_Bool)];
5002              char i[sizeof s.t];
5003              enum { j = false, k = true, l = false * true, m = true * 256 };
5004              /* The following fails for
5005                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5006              _Bool n[m];
5007              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5008              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5009              /* Catch a bug in an HP-UX C compiler.  See
5010                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5011                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5012               */
5013              _Bool q = true;
5014              _Bool *pq = &q;
5015
5016 int
5017 main ()
5018 {
5019
5020              bool e = &s;
5021              *pq |= q;
5022              *pq |= ! q;
5023              /* Refer to every declared value, to avoid compiler optimizations.  */
5024              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5025                      + !m + !n + !o + !p + !q + !pq);
5026
5027   ;
5028   return 0;
5029 }
5030 _ACEOF
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032   ac_cv_header_stdbool_h=yes
5033 else
5034   ac_cv_header_stdbool_h=no
5035 fi
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 fi
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5039 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5040    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5041 if test "x$ac_cv_type__Bool" = xyes; then :
5042
5043 cat >>confdefs.h <<_ACEOF
5044 #define HAVE__BOOL 1
5045 _ACEOF
5046
5047
5048 fi
5049
5050
5051
5052 # Checks for library functions.
5053 for ac_header in stdlib.h
5054 do :
5055   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5056 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5057   cat >>confdefs.h <<_ACEOF
5058 #define HAVE_STDLIB_H 1
5059 _ACEOF
5060
5061 fi
5062
5063 done
5064
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5066 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5067 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   if test "$cross_compiling" = yes; then :
5071   ac_cv_func_malloc_0_nonnull=no
5072 else
5073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h.  */
5075 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5076 # include <stdlib.h>
5077 #else
5078 char *malloc ();
5079 #endif
5080
5081 int
5082 main ()
5083 {
5084 return ! malloc (0);
5085   ;
5086   return 0;
5087 }
5088 _ACEOF
5089 if ac_fn_c_try_run "$LINENO"; then :
5090   ac_cv_func_malloc_0_nonnull=yes
5091 else
5092   ac_cv_func_malloc_0_nonnull=no
5093 fi
5094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5095   conftest.$ac_objext conftest.beam conftest.$ac_ext
5096 fi
5097
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5100 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5101 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5102
5103 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5104
5105 else
5106   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5107
5108    case " $LIBOBJS " in
5109   *" malloc.$ac_objext "* ) ;;
5110   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5111  ;;
5112 esac
5113
5114
5115 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5116
5117 fi
5118
5119
5120 for ac_func in strerror
5121 do :
5122   ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5123 if test "x$ac_cv_func_strerror" = xyes; then :
5124   cat >>confdefs.h <<_ACEOF
5125 #define HAVE_STRERROR 1
5126 _ACEOF
5127
5128 fi
5129 done
5130
5131
5132 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"
5133
5134 cat >confcache <<\_ACEOF
5135 # This file is a shell script that caches the results of configure
5136 # tests run on this system so they can be shared between configure
5137 # scripts and configure runs, see configure's option --config-cache.
5138 # It is not useful on other systems.  If it contains results you don't
5139 # want to keep, you may remove or edit it.
5140 #
5141 # config.status only pays attention to the cache file if you give it
5142 # the --recheck option to rerun configure.
5143 #
5144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5146 # following values.
5147
5148 _ACEOF
5149
5150 # The following way of writing the cache mishandles newlines in values,
5151 # but we know of no workaround that is simple, portable, and efficient.
5152 # So, we kill variables containing newlines.
5153 # Ultrix sh set writes to stderr and can't be redirected directly,
5154 # and sets the high bit in the cache file unless we assign to the vars.
5155 (
5156   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5157     eval ac_val=\$$ac_var
5158     case $ac_val in #(
5159     *${as_nl}*)
5160       case $ac_var in #(
5161       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5162 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5163       esac
5164       case $ac_var in #(
5165       _ | IFS | as_nl) ;; #(
5166       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5167       *) { eval $ac_var=; unset $ac_var;} ;;
5168       esac ;;
5169     esac
5170   done
5171
5172   (set) 2>&1 |
5173     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5174     *${as_nl}ac_space=\ *)
5175       # `set' does not quote correctly, so add quotes: double-quote
5176       # substitution turns \\\\ into \\, and sed turns \\ into \.
5177       sed -n \
5178         "s/'/'\\\\''/g;
5179           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5180       ;; #(
5181     *)
5182       # `set' quotes correctly as required by POSIX, so do not add quotes.
5183       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5184       ;;
5185     esac |
5186     sort
5187 ) |
5188   sed '
5189      /^ac_cv_env_/b end
5190      t clear
5191      :clear
5192      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5193      t end
5194      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5195      :end' >>confcache
5196 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5197   if test -w "$cache_file"; then
5198     if test "x$cache_file" != "x/dev/null"; then
5199       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5200 $as_echo "$as_me: updating cache $cache_file" >&6;}
5201       if test ! -f "$cache_file" || test -h "$cache_file"; then
5202         cat confcache >"$cache_file"
5203       else
5204         case $cache_file in #(
5205         */* | ?:*)
5206           mv -f confcache "$cache_file"$$ &&
5207           mv -f "$cache_file"$$ "$cache_file" ;; #(
5208         *)
5209           mv -f confcache "$cache_file" ;;
5210         esac
5211       fi
5212     fi
5213   else
5214     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5215 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5216   fi
5217 fi
5218 rm -f confcache
5219
5220 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5221 # Let make expand exec_prefix.
5222 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5223
5224 DEFS=-DHAVE_CONFIG_H
5225
5226 ac_libobjs=
5227 ac_ltlibobjs=
5228 U=
5229 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5230   # 1. Remove the extension, and $U if already installed.
5231   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5232   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5233   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5234   #    will be set to the directory where LIBOBJS objects are built.
5235   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5236   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5237 done
5238 LIBOBJS=$ac_libobjs
5239
5240 LTLIBOBJS=$ac_ltlibobjs
5241
5242
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5244 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5245    if test -n "$am_sleep_pid"; then
5246      # Hide warnings about reused PIDs.
5247      wait $am_sleep_pid 2>/dev/null
5248    fi
5249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5250 $as_echo "done" >&6; }
5251  if test -n "$EXEEXT"; then
5252   am__EXEEXT_TRUE=
5253   am__EXEEXT_FALSE='#'
5254 else
5255   am__EXEEXT_TRUE='#'
5256   am__EXEEXT_FALSE=
5257 fi
5258
5259 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5260   as_fn_error $? "conditional \"AMDEP\" was never defined.
5261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5262 fi
5263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5264   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5266 fi
5267
5268 : "${CONFIG_STATUS=./config.status}"
5269 ac_write_fail=0
5270 ac_clean_files_save=$ac_clean_files
5271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5273 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5274 as_write_fail=0
5275 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5276 #! $SHELL
5277 # Generated by $as_me.
5278 # Run this file to recreate the current configuration.
5279 # Compiler output produced by configure, useful for debugging
5280 # configure, is in config.log if it exists.
5281
5282 debug=false
5283 ac_cs_recheck=false
5284 ac_cs_silent=false
5285
5286 SHELL=\${CONFIG_SHELL-$SHELL}
5287 export SHELL
5288 _ASEOF
5289 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5290 ## -------------------- ##
5291 ## M4sh Initialization. ##
5292 ## -------------------- ##
5293
5294 # Be more Bourne compatible
5295 DUALCASE=1; export DUALCASE # for MKS sh
5296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5297   emulate sh
5298   NULLCMD=:
5299   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5300   # is contrary to our usage.  Disable this feature.
5301   alias -g '${1+"$@"}'='"$@"'
5302   setopt NO_GLOB_SUBST
5303 else
5304   case `(set -o) 2>/dev/null` in #(
5305   *posix*) :
5306     set -o posix ;; #(
5307   *) :
5308      ;;
5309 esac
5310 fi
5311
5312
5313 as_nl='
5314 '
5315 export as_nl
5316 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5317 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5319 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5320 # Prefer a ksh shell builtin over an external printf program on Solaris,
5321 # but without wasting forks for bash or zsh.
5322 if test -z "$BASH_VERSION$ZSH_VERSION" \
5323     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5324   as_echo='print -r --'
5325   as_echo_n='print -rn --'
5326 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5327   as_echo='printf %s\n'
5328   as_echo_n='printf %s'
5329 else
5330   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5331     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5332     as_echo_n='/usr/ucb/echo -n'
5333   else
5334     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5335     as_echo_n_body='eval
5336       arg=$1;
5337       case $arg in #(
5338       *"$as_nl"*)
5339         expr "X$arg" : "X\\(.*\\)$as_nl";
5340         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5341       esac;
5342       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5343     '
5344     export as_echo_n_body
5345     as_echo_n='sh -c $as_echo_n_body as_echo'
5346   fi
5347   export as_echo_body
5348   as_echo='sh -c $as_echo_body as_echo'
5349 fi
5350
5351 # The user is always right.
5352 if test "${PATH_SEPARATOR+set}" != set; then
5353   PATH_SEPARATOR=:
5354   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5355     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5356       PATH_SEPARATOR=';'
5357   }
5358 fi
5359
5360
5361 # IFS
5362 # We need space, tab and new line, in precisely that order.  Quoting is
5363 # there to prevent editors from complaining about space-tab.
5364 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5365 # splitting by setting IFS to empty value.)
5366 IFS=" ""        $as_nl"
5367
5368 # Find who we are.  Look in the path if we contain no directory separator.
5369 as_myself=
5370 case $0 in #((
5371   *[\\/]* ) as_myself=$0 ;;
5372   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5374 do
5375   IFS=$as_save_IFS
5376   test -z "$as_dir" && as_dir=.
5377     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5378   done
5379 IFS=$as_save_IFS
5380
5381      ;;
5382 esac
5383 # We did not find ourselves, most probably we were run as `sh COMMAND'
5384 # in which case we are not to be found in the path.
5385 if test "x$as_myself" = x; then
5386   as_myself=$0
5387 fi
5388 if test ! -f "$as_myself"; then
5389   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5390   exit 1
5391 fi
5392
5393 # Unset variables that we do not need and which cause bugs (e.g. in
5394 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5395 # suppresses any "Segmentation fault" message there.  '((' could
5396 # trigger a bug in pdksh 5.2.14.
5397 for as_var in BASH_ENV ENV MAIL MAILPATH
5398 do eval test x\${$as_var+set} = xset \
5399   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5400 done
5401 PS1='$ '
5402 PS2='> '
5403 PS4='+ '
5404
5405 # NLS nuisances.
5406 LC_ALL=C
5407 export LC_ALL
5408 LANGUAGE=C
5409 export LANGUAGE
5410
5411 # CDPATH.
5412 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5413
5414
5415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5416 # ----------------------------------------
5417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5419 # script with STATUS, using 1 if that was 0.
5420 as_fn_error ()
5421 {
5422   as_status=$1; test $as_status -eq 0 && as_status=1
5423   if test "$4"; then
5424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5426   fi
5427   $as_echo "$as_me: error: $2" >&2
5428   as_fn_exit $as_status
5429 } # as_fn_error
5430
5431
5432 # as_fn_set_status STATUS
5433 # -----------------------
5434 # Set $? to STATUS, without forking.
5435 as_fn_set_status ()
5436 {
5437   return $1
5438 } # as_fn_set_status
5439
5440 # as_fn_exit STATUS
5441 # -----------------
5442 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5443 as_fn_exit ()
5444 {
5445   set +e
5446   as_fn_set_status $1
5447   exit $1
5448 } # as_fn_exit
5449
5450 # as_fn_unset VAR
5451 # ---------------
5452 # Portably unset VAR.
5453 as_fn_unset ()
5454 {
5455   { eval $1=; unset $1;}
5456 }
5457 as_unset=as_fn_unset
5458 # as_fn_append VAR VALUE
5459 # ----------------------
5460 # Append the text in VALUE to the end of the definition contained in VAR. Take
5461 # advantage of any shell optimizations that allow amortized linear growth over
5462 # repeated appends, instead of the typical quadratic growth present in naive
5463 # implementations.
5464 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5465   eval 'as_fn_append ()
5466   {
5467     eval $1+=\$2
5468   }'
5469 else
5470   as_fn_append ()
5471   {
5472     eval $1=\$$1\$2
5473   }
5474 fi # as_fn_append
5475
5476 # as_fn_arith ARG...
5477 # ------------------
5478 # Perform arithmetic evaluation on the ARGs, and store the result in the
5479 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5480 # must be portable across $(()) and expr.
5481 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5482   eval 'as_fn_arith ()
5483   {
5484     as_val=$(( $* ))
5485   }'
5486 else
5487   as_fn_arith ()
5488   {
5489     as_val=`expr "$@" || test $? -eq 1`
5490   }
5491 fi # as_fn_arith
5492
5493
5494 if expr a : '\(a\)' >/dev/null 2>&1 &&
5495    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5496   as_expr=expr
5497 else
5498   as_expr=false
5499 fi
5500
5501 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5502   as_basename=basename
5503 else
5504   as_basename=false
5505 fi
5506
5507 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5508   as_dirname=dirname
5509 else
5510   as_dirname=false
5511 fi
5512
5513 as_me=`$as_basename -- "$0" ||
5514 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5515          X"$0" : 'X\(//\)$' \| \
5516          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5517 $as_echo X/"$0" |
5518     sed '/^.*\/\([^/][^/]*\)\/*$/{
5519             s//\1/
5520             q
5521           }
5522           /^X\/\(\/\/\)$/{
5523             s//\1/
5524             q
5525           }
5526           /^X\/\(\/\).*/{
5527             s//\1/
5528             q
5529           }
5530           s/.*/./; q'`
5531
5532 # Avoid depending upon Character Ranges.
5533 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5534 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5535 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5536 as_cr_digits='0123456789'
5537 as_cr_alnum=$as_cr_Letters$as_cr_digits
5538
5539 ECHO_C= ECHO_N= ECHO_T=
5540 case `echo -n x` in #(((((
5541 -n*)
5542   case `echo 'xy\c'` in
5543   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5544   xy)  ECHO_C='\c';;
5545   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5546        ECHO_T=' ';;
5547   esac;;
5548 *)
5549   ECHO_N='-n';;
5550 esac
5551
5552 rm -f conf$$ conf$$.exe conf$$.file
5553 if test -d conf$$.dir; then
5554   rm -f conf$$.dir/conf$$.file
5555 else
5556   rm -f conf$$.dir
5557   mkdir conf$$.dir 2>/dev/null
5558 fi
5559 if (echo >conf$$.file) 2>/dev/null; then
5560   if ln -s conf$$.file conf$$ 2>/dev/null; then
5561     as_ln_s='ln -s'
5562     # ... but there are two gotchas:
5563     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5564     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5565     # In both cases, we have to default to `cp -pR'.
5566     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5567       as_ln_s='cp -pR'
5568   elif ln conf$$.file conf$$ 2>/dev/null; then
5569     as_ln_s=ln
5570   else
5571     as_ln_s='cp -pR'
5572   fi
5573 else
5574   as_ln_s='cp -pR'
5575 fi
5576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5577 rmdir conf$$.dir 2>/dev/null
5578
5579
5580 # as_fn_mkdir_p
5581 # -------------
5582 # Create "$as_dir" as a directory, including parents if necessary.
5583 as_fn_mkdir_p ()
5584 {
5585
5586   case $as_dir in #(
5587   -*) as_dir=./$as_dir;;
5588   esac
5589   test -d "$as_dir" || eval $as_mkdir_p || {
5590     as_dirs=
5591     while :; do
5592       case $as_dir in #(
5593       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5594       *) as_qdir=$as_dir;;
5595       esac
5596       as_dirs="'$as_qdir' $as_dirs"
5597       as_dir=`$as_dirname -- "$as_dir" ||
5598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5599          X"$as_dir" : 'X\(//\)[^/]' \| \
5600          X"$as_dir" : 'X\(//\)$' \| \
5601          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5602 $as_echo X"$as_dir" |
5603     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5604             s//\1/
5605             q
5606           }
5607           /^X\(\/\/\)[^/].*/{
5608             s//\1/
5609             q
5610           }
5611           /^X\(\/\/\)$/{
5612             s//\1/
5613             q
5614           }
5615           /^X\(\/\).*/{
5616             s//\1/
5617             q
5618           }
5619           s/.*/./; q'`
5620       test -d "$as_dir" && break
5621     done
5622     test -z "$as_dirs" || eval "mkdir $as_dirs"
5623   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5624
5625
5626 } # as_fn_mkdir_p
5627 if mkdir -p . 2>/dev/null; then
5628   as_mkdir_p='mkdir -p "$as_dir"'
5629 else
5630   test -d ./-p && rmdir ./-p
5631   as_mkdir_p=false
5632 fi
5633
5634
5635 # as_fn_executable_p FILE
5636 # -----------------------
5637 # Test if FILE is an executable regular file.
5638 as_fn_executable_p ()
5639 {
5640   test -f "$1" && test -x "$1"
5641 } # as_fn_executable_p
5642 as_test_x='test -x'
5643 as_executable_p=as_fn_executable_p
5644
5645 # Sed expression to map a string onto a valid CPP name.
5646 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5647
5648 # Sed expression to map a string onto a valid variable name.
5649 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5650
5651
5652 exec 6>&1
5653 ## ----------------------------------- ##
5654 ## Main body of $CONFIG_STATUS script. ##
5655 ## ----------------------------------- ##
5656 _ASEOF
5657 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5658
5659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5660 # Save the log message, to keep $0 and so on meaningful, and to
5661 # report actual input values of CONFIG_FILES etc. instead of their
5662 # values after options handling.
5663 ac_log="
5664 This file was extended by cross-lfs-ja $as_me 3.0.0, which was
5665 generated by GNU Autoconf 2.69.  Invocation command line was
5666
5667   CONFIG_FILES    = $CONFIG_FILES
5668   CONFIG_HEADERS  = $CONFIG_HEADERS
5669   CONFIG_LINKS    = $CONFIG_LINKS
5670   CONFIG_COMMANDS = $CONFIG_COMMANDS
5671   $ $0 $@
5672
5673 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5674 "
5675
5676 _ACEOF
5677
5678 case $ac_config_files in *"
5679 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5680 esac
5681
5682 case $ac_config_headers in *"
5683 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5684 esac
5685
5686
5687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5688 # Files that config.status was made for.
5689 config_files="$ac_config_files"
5690 config_headers="$ac_config_headers"
5691 config_commands="$ac_config_commands"
5692
5693 _ACEOF
5694
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696 ac_cs_usage="\
5697 \`$as_me' instantiates files and other configuration actions
5698 from templates according to the current configuration.  Unless the files
5699 and actions are specified as TAGs, all are instantiated by default.
5700
5701 Usage: $0 [OPTION]... [TAG]...
5702
5703   -h, --help       print this help, then exit
5704   -V, --version    print version number and configuration settings, then exit
5705       --config     print configuration, then exit
5706   -q, --quiet, --silent
5707                    do not print progress messages
5708   -d, --debug      don't remove temporary files
5709       --recheck    update $as_me by reconfiguring in the same conditions
5710       --file=FILE[:TEMPLATE]
5711                    instantiate the configuration file FILE
5712       --header=FILE[:TEMPLATE]
5713                    instantiate the configuration header FILE
5714
5715 Configuration files:
5716 $config_files
5717
5718 Configuration headers:
5719 $config_headers
5720
5721 Configuration commands:
5722 $config_commands
5723
5724 Report bugs to <matsuand AT users DOT osdn DOT me>."
5725
5726 _ACEOF
5727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5728 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5729 ac_cs_version="\\
5730 cross-lfs-ja config.status 3.0.0
5731 configured by $0, generated by GNU Autoconf 2.69,
5732   with options \\"\$ac_cs_config\\"
5733
5734 Copyright (C) 2012 Free Software Foundation, Inc.
5735 This config.status script is free software; the Free Software Foundation
5736 gives unlimited permission to copy, distribute and modify it."
5737
5738 ac_pwd='$ac_pwd'
5739 srcdir='$srcdir'
5740 INSTALL='$INSTALL'
5741 MKDIR_P='$MKDIR_P'
5742 AWK='$AWK'
5743 test -n "\$AWK" || AWK=awk
5744 _ACEOF
5745
5746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5747 # The default lists apply if the user does not specify any file.
5748 ac_need_defaults=:
5749 while test $# != 0
5750 do
5751   case $1 in
5752   --*=?*)
5753     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5754     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5755     ac_shift=:
5756     ;;
5757   --*=)
5758     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5759     ac_optarg=
5760     ac_shift=:
5761     ;;
5762   *)
5763     ac_option=$1
5764     ac_optarg=$2
5765     ac_shift=shift
5766     ;;
5767   esac
5768
5769   case $ac_option in
5770   # Handling of the options.
5771   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5772     ac_cs_recheck=: ;;
5773   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5774     $as_echo "$ac_cs_version"; exit ;;
5775   --config | --confi | --conf | --con | --co | --c )
5776     $as_echo "$ac_cs_config"; exit ;;
5777   --debug | --debu | --deb | --de | --d | -d )
5778     debug=: ;;
5779   --file | --fil | --fi | --f )
5780     $ac_shift
5781     case $ac_optarg in
5782     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5783     '') as_fn_error $? "missing file argument" ;;
5784     esac
5785     as_fn_append CONFIG_FILES " '$ac_optarg'"
5786     ac_need_defaults=false;;
5787   --header | --heade | --head | --hea )
5788     $ac_shift
5789     case $ac_optarg in
5790     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5791     esac
5792     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5793     ac_need_defaults=false;;
5794   --he | --h)
5795     # Conflict between --help and --header
5796     as_fn_error $? "ambiguous option: \`$1'
5797 Try \`$0 --help' for more information.";;
5798   --help | --hel | -h )
5799     $as_echo "$ac_cs_usage"; exit ;;
5800   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5801   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5802     ac_cs_silent=: ;;
5803
5804   # This is an error.
5805   -*) as_fn_error $? "unrecognized option: \`$1'
5806 Try \`$0 --help' for more information." ;;
5807
5808   *) as_fn_append ac_config_targets " $1"
5809      ac_need_defaults=false ;;
5810
5811   esac
5812   shift
5813 done
5814
5815 ac_configure_extra_args=
5816
5817 if $ac_cs_silent; then
5818   exec 6>/dev/null
5819   ac_configure_extra_args="$ac_configure_extra_args --silent"
5820 fi
5821
5822 _ACEOF
5823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5824 if \$ac_cs_recheck; then
5825   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5826   shift
5827   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5828   CONFIG_SHELL='$SHELL'
5829   export CONFIG_SHELL
5830   exec "\$@"
5831 fi
5832
5833 _ACEOF
5834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5835 exec 5>>config.log
5836 {
5837   echo
5838   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5839 ## Running $as_me. ##
5840 _ASBOX
5841   $as_echo "$ac_log"
5842 } >&5
5843
5844 _ACEOF
5845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5846 #
5847 # INIT-COMMANDS
5848 #
5849 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5850
5851 _ACEOF
5852
5853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5854
5855 # Handling of arguments.
5856 for ac_config_target in $ac_config_targets
5857 do
5858   case $ac_config_target in
5859     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5860     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5861     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5862     "ctie/Makefile") CONFIG_FILES="$CONFIG_FILES ctie/Makefile" ;;
5863     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5864     "src/userconfig.xml") CONFIG_FILES="$CONFIG_FILES src/userconfig.xml" ;;
5865     "src/appendices/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/Makefile" ;;
5866     "src/appendices/dependencies/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/dependencies/Makefile" ;;
5867     "src/appendices/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/ppc/Makefile" ;;
5868     "src/appendices/rationale/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/rationale/Makefile" ;;
5869     "src/boot/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/Makefile" ;;
5870     "src/boot/64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/64/Makefile" ;;
5871     "src/boot/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/common/Makefile" ;;
5872     "src/boot/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/mips/Makefile" ;;
5873     "src/boot/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/mips64/Makefile" ;;
5874     "src/boot/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/multilib/Makefile" ;;
5875     "src/boot/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/ppc/Makefile" ;;
5876     "src/boot/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/ppc64/Makefile" ;;
5877     "src/boot/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/ppc64-64/Makefile" ;;
5878     "src/boot/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/sparc/Makefile" ;;
5879     "src/boot/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/sparc64/Makefile" ;;
5880     "src/boot/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/sparc64-64/Makefile" ;;
5881     "src/boot/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/x86/Makefile" ;;
5882     "src/boot/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/x86_64/Makefile" ;;
5883     "src/bootable/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/Makefile" ;;
5884     "src/bootable/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/common/Makefile" ;;
5885     "src/bootable/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/mips/Makefile" ;;
5886     "src/bootable/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/mips64/Makefile" ;;
5887     "src/bootable/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/ppc/Makefile" ;;
5888     "src/bootable/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/ppc64/Makefile" ;;
5889     "src/bootable/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/sparc/Makefile" ;;
5890     "src/bootable/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/x86/Makefile" ;;
5891     "src/bootable/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/bootable/x86_64/Makefile" ;;
5892     "src/chroot/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/Makefile" ;;
5893     "src/chroot/64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/64/Makefile" ;;
5894     "src/chroot/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/common/Makefile" ;;
5895     "src/chroot/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/mips/Makefile" ;;
5896     "src/chroot/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/mips64/Makefile" ;;
5897     "src/chroot/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/mips64-64/Makefile" ;;
5898     "src/chroot/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/multilib/Makefile" ;;
5899     "src/chroot/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/ppc/Makefile" ;;
5900     "src/chroot/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/ppc64/Makefile" ;;
5901     "src/chroot/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/sparc/Makefile" ;;
5902     "src/chroot/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/sparc64/Makefile" ;;
5903     "src/chroot/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/sparc64-64/Makefile" ;;
5904     "src/chroot/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/x86/Makefile" ;;
5905     "src/chroot/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/x86_64/Makefile" ;;
5906     "src/chroot/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/chroot/x86_64-64/Makefile" ;;
5907     "src/cross-tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/Makefile" ;;
5908     "src/cross-tools/64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/64/Makefile" ;;
5909     "src/cross-tools/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/common/Makefile" ;;
5910     "src/cross-tools/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/mips/Makefile" ;;
5911     "src/cross-tools/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/mips64/Makefile" ;;
5912     "src/cross-tools/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/mips64-64/Makefile" ;;
5913     "src/cross-tools/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/multilib/Makefile" ;;
5914     "src/cross-tools/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/ppc/Makefile" ;;
5915     "src/cross-tools/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/ppc64-64/Makefile" ;;
5916     "src/cross-tools/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/sparc/Makefile" ;;
5917     "src/cross-tools/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/sparc64/Makefile" ;;
5918     "src/cross-tools/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/sparc64-64/Makefile" ;;
5919     "src/cross-tools/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/x86/Makefile" ;;
5920     "src/cross-tools/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/cross-tools/x86_64/Makefile" ;;
5921     "src/final-preps/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/Makefile" ;;
5922     "src/final-preps/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/common/Makefile" ;;
5923     "src/final-preps/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/mips/Makefile" ;;
5924     "src/final-preps/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/mips64/Makefile" ;;
5925     "src/final-preps/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/mips64-64/Makefile" ;;
5926     "src/final-preps/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/ppc/Makefile" ;;
5927     "src/final-preps/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/ppc64/Makefile" ;;
5928     "src/final-preps/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/ppc64-64/Makefile" ;;
5929     "src/final-preps/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/sparc/Makefile" ;;
5930     "src/final-preps/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/sparc64/Makefile" ;;
5931     "src/final-preps/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/sparc64-64/Makefile" ;;
5932     "src/final-preps/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/x86/Makefile" ;;
5933     "src/final-preps/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/x86_64/Makefile" ;;
5934     "src/final-preps/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-preps/x86_64-64/Makefile" ;;
5935     "src/final-system/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/Makefile" ;;
5936     "src/final-system/64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/64/Makefile" ;;
5937     "src/final-system/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/common/Makefile" ;;
5938     "src/final-system/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/mips/Makefile" ;;
5939     "src/final-system/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/mips64/Makefile" ;;
5940     "src/final-system/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/mips64-64/Makefile" ;;
5941     "src/final-system/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/multilib/Makefile" ;;
5942     "src/final-system/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/ppc/Makefile" ;;
5943     "src/final-system/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/ppc64/Makefile" ;;
5944     "src/final-system/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/ppc64-64/Makefile" ;;
5945     "src/final-system/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/sparc/Makefile" ;;
5946     "src/final-system/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/sparc64/Makefile" ;;
5947     "src/final-system/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/sparc64-64/Makefile" ;;
5948     "src/final-system/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/x86/Makefile" ;;
5949     "src/final-system/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/x86_64/Makefile" ;;
5950     "src/final-system/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/final-system/x86_64-64/Makefile" ;;
5951     "src/introduction/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/Makefile" ;;
5952     "src/introduction/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/common/Makefile" ;;
5953     "src/introduction/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/mips/Makefile" ;;
5954     "src/introduction/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/mips64/Makefile" ;;
5955     "src/introduction/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/mips64-64/Makefile" ;;
5956     "src/introduction/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/ppc/Makefile" ;;
5957     "src/introduction/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/ppc64/Makefile" ;;
5958     "src/introduction/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/ppc64-64/Makefile" ;;
5959     "src/introduction/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/sparc/Makefile" ;;
5960     "src/introduction/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/sparc64/Makefile" ;;
5961     "src/introduction/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/sparc64-64/Makefile" ;;
5962     "src/introduction/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/x86/Makefile" ;;
5963     "src/introduction/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/x86_64/Makefile" ;;
5964     "src/introduction/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/introduction/x86_64-64/Makefile" ;;
5965     "src/materials/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/Makefile" ;;
5966     "src/materials/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/common/Makefile" ;;
5967     "src/materials/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/mips/Makefile" ;;
5968     "src/materials/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/mips64/Makefile" ;;
5969     "src/materials/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/mips64-64/Makefile" ;;
5970     "src/materials/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/ppc/Makefile" ;;
5971     "src/materials/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/ppc64/Makefile" ;;
5972     "src/materials/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/ppc64-64/Makefile" ;;
5973     "src/materials/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/sparc/Makefile" ;;
5974     "src/materials/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/sparc64/Makefile" ;;
5975     "src/materials/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/sparc64-64/Makefile" ;;
5976     "src/materials/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/x86/Makefile" ;;
5977     "src/materials/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/x86_64/Makefile" ;;
5978     "src/materials/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/materials/x86_64-64/Makefile" ;;
5979     "src/network/Makefile") CONFIG_FILES="$CONFIG_FILES src/network/Makefile" ;;
5980     "src/network/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/network/common/Makefile" ;;
5981     "src/network/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/network/multilib/Makefile" ;;
5982     "src/partitioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/partitioning/Makefile" ;;
5983     "src/partitioning/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/partitioning/common/Makefile" ;;
5984     "src/partitioning/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/partitioning/mips/Makefile" ;;
5985     "src/partitioning/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/partitioning/ppc/Makefile" ;;
5986     "src/partitioning/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/partitioning/sparc/Makefile" ;;
5987     "src/prologue/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/Makefile" ;;
5988     "src/prologue/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/common/Makefile" ;;
5989     "src/prologue/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/mips/Makefile" ;;
5990     "src/prologue/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/mips64/Makefile" ;;
5991     "src/prologue/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/mips64-64/Makefile" ;;
5992     "src/prologue/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/ppc/Makefile" ;;
5993     "src/prologue/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/ppc64/Makefile" ;;
5994     "src/prologue/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/ppc64-64/Makefile" ;;
5995     "src/prologue/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/sparc/Makefile" ;;
5996     "src/prologue/sparc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/sparc64/Makefile" ;;
5997     "src/prologue/sparc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/sparc64-64/Makefile" ;;
5998     "src/prologue/x86/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/x86/Makefile" ;;
5999     "src/prologue/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/x86_64/Makefile" ;;
6000     "src/prologue/x86_64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/x86_64-64/Makefile" ;;
6001     "src/schema/Makefile") CONFIG_FILES="$CONFIG_FILES src/schema/Makefile" ;;
6002     "src/schema/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES src/schema/docbook/Makefile" ;;
6003     "src/schema/docbook/4.5/Makefile") CONFIG_FILES="$CONFIG_FILES src/schema/docbook/4.5/Makefile" ;;
6004     "src/schema/docbook/4.5/rng/Makefile") CONFIG_FILES="$CONFIG_FILES src/schema/docbook/4.5/rng/Makefile" ;;
6005     "src/stylesheets/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/Makefile" ;;
6006     "src/stylesheets/lfs-xsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/Makefile" ;;
6007     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/Makefile" ;;
6008     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/Makefile" ;;
6009     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/Makefile" ;;
6010     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/highlighting/Makefile" ;;
6011     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/html/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/html/Makefile" ;;
6012     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/Makefile" ;;
6013     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/Makefile" ;;
6014     "src/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/Makefile" ;;
6015     "src/stylesheets/lfs-xsl/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/pdf/Makefile" ;;
6016     "src/stylesheets/lfs-xsl/xhtml/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/xhtml/Makefile" ;;
6017     "src/system-config/Makefile") CONFIG_FILES="$CONFIG_FILES src/system-config/Makefile" ;;
6018     "src/system-config/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/system-config/common/Makefile" ;;
6019     "src/system-config/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES src/system-config/sparc/Makefile" ;;
6020     "src/temp-system/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/Makefile" ;;
6021     "src/temp-system/64/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/64/Makefile" ;;
6022     "src/temp-system/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/common/Makefile" ;;
6023     "src/temp-system/mips64/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/mips64/Makefile" ;;
6024     "src/temp-system/mips64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/mips64-64/Makefile" ;;
6025     "src/temp-system/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/multilib/Makefile" ;;
6026     "src/temp-system/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/ppc/Makefile" ;;
6027     "src/temp-system/ppc64/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/ppc64/Makefile" ;;
6028     "src/temp-system/ppc64-64/Makefile") CONFIG_FILES="$CONFIG_FILES src/temp-system/ppc64-64/Makefile" ;;
6029     "src/testsuite-tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite-tools/Makefile" ;;
6030     "src/testsuite-tools/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite-tools/common/Makefile" ;;
6031     "src/testsuite-tools/multilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite-tools/multilib/Makefile" ;;
6032     "src/the-end/Makefile") CONFIG_FILES="$CONFIG_FILES src/the-end/Makefile" ;;
6033
6034   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6035   esac
6036 done
6037
6038
6039 # If the user did not use the arguments to specify the items to instantiate,
6040 # then the envvar interface is used.  Set only those that are not.
6041 # We use the long form for the default assignment because of an extremely
6042 # bizarre bug on SunOS 4.1.3.
6043 if $ac_need_defaults; then
6044   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6045   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6046   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6047 fi
6048
6049 # Have a temporary directory for convenience.  Make it in the build tree
6050 # simply because there is no reason against having it here, and in addition,
6051 # creating and moving files from /tmp can sometimes cause problems.
6052 # Hook for its removal unless debugging.
6053 # Note that there is a small window in which the directory will not be cleaned:
6054 # after its creation but before its name has been assigned to `$tmp'.
6055 $debug ||
6056 {
6057   tmp= ac_tmp=
6058   trap 'exit_status=$?
6059   : "${ac_tmp:=$tmp}"
6060   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6061 ' 0
6062   trap 'as_fn_exit 1' 1 2 13 15
6063 }
6064 # Create a (secure) tmp directory for tmp files.
6065
6066 {
6067   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6068   test -d "$tmp"
6069 }  ||
6070 {
6071   tmp=./conf$$-$RANDOM
6072   (umask 077 && mkdir "$tmp")
6073 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6074 ac_tmp=$tmp
6075
6076 # Set up the scripts for CONFIG_FILES section.
6077 # No need to generate them if there are no CONFIG_FILES.
6078 # This happens for instance with `./config.status config.h'.
6079 if test -n "$CONFIG_FILES"; then
6080
6081
6082 ac_cr=`echo X | tr X '\015'`
6083 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6084 # But we know of no other shell where ac_cr would be empty at this
6085 # point, so we can use a bashism as a fallback.
6086 if test "x$ac_cr" = x; then
6087   eval ac_cr=\$\'\\r\'
6088 fi
6089 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6090 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6091   ac_cs_awk_cr='\\r'
6092 else
6093   ac_cs_awk_cr=$ac_cr
6094 fi
6095
6096 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6097 _ACEOF
6098
6099
6100 {
6101   echo "cat >conf$$subs.awk <<_ACEOF" &&
6102   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6103   echo "_ACEOF"
6104 } >conf$$subs.sh ||
6105   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6106 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6107 ac_delim='%!_!# '
6108 for ac_last_try in false false false false false :; do
6109   . ./conf$$subs.sh ||
6110     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6111
6112   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6113   if test $ac_delim_n = $ac_delim_num; then
6114     break
6115   elif $ac_last_try; then
6116     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6117   else
6118     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6119   fi
6120 done
6121 rm -f conf$$subs.sh
6122
6123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6124 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6125 _ACEOF
6126 sed -n '
6127 h
6128 s/^/S["/; s/!.*/"]=/
6129 p
6130 g
6131 s/^[^!]*!//
6132 :repl
6133 t repl
6134 s/'"$ac_delim"'$//
6135 t delim
6136 :nl
6137 h
6138 s/\(.\{148\}\)..*/\1/
6139 t more1
6140 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6141 p
6142 n
6143 b repl
6144 :more1
6145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6146 p
6147 g
6148 s/.\{148\}//
6149 t nl
6150 :delim
6151 h
6152 s/\(.\{148\}\)..*/\1/
6153 t more2
6154 s/["\\]/\\&/g; s/^/"/; s/$/"/
6155 p
6156 b
6157 :more2
6158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6159 p
6160 g
6161 s/.\{148\}//
6162 t delim
6163 ' <conf$$subs.awk | sed '
6164 /^[^""]/{
6165   N
6166   s/\n//
6167 }
6168 ' >>$CONFIG_STATUS || ac_write_fail=1
6169 rm -f conf$$subs.awk
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 _ACAWK
6172 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6173   for (key in S) S_is_set[key] = 1
6174   FS = "\a"
6175
6176 }
6177 {
6178   line = $ 0
6179   nfields = split(line, field, "@")
6180   substed = 0
6181   len = length(field[1])
6182   for (i = 2; i < nfields; i++) {
6183     key = field[i]
6184     keylen = length(key)
6185     if (S_is_set[key]) {
6186       value = S[key]
6187       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6188       len += length(value) + length(field[++i])
6189       substed = 1
6190     } else
6191       len += 1 + keylen
6192   }
6193
6194   print line
6195 }
6196
6197 _ACAWK
6198 _ACEOF
6199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6200 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6201   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6202 else
6203   cat
6204 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6205   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6206 _ACEOF
6207
6208 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6209 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6210 # trailing colons and then remove the whole line if VPATH becomes empty
6211 # (actually we leave an empty line to preserve line numbers).
6212 if test "x$srcdir" = x.; then
6213   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6214 h
6215 s///
6216 s/^/:/
6217 s/[      ]*$/:/
6218 s/:\$(srcdir):/:/g
6219 s/:\${srcdir}:/:/g
6220 s/:@srcdir@:/:/g
6221 s/^:*//
6222 s/:*$//
6223 x
6224 s/\(=[   ]*\).*/\1/
6225 G
6226 s/\n//
6227 s/^[^=]*=[       ]*$//
6228 }'
6229 fi
6230
6231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6232 fi # test -n "$CONFIG_FILES"
6233
6234 # Set up the scripts for CONFIG_HEADERS section.
6235 # No need to generate them if there are no CONFIG_HEADERS.
6236 # This happens for instance with `./config.status Makefile'.
6237 if test -n "$CONFIG_HEADERS"; then
6238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6239 BEGIN {
6240 _ACEOF
6241
6242 # Transform confdefs.h into an awk script `defines.awk', embedded as
6243 # here-document in config.status, that substitutes the proper values into
6244 # config.h.in to produce config.h.
6245
6246 # Create a delimiter string that does not exist in confdefs.h, to ease
6247 # handling of long lines.
6248 ac_delim='%!_!# '
6249 for ac_last_try in false false :; do
6250   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6251   if test -z "$ac_tt"; then
6252     break
6253   elif $ac_last_try; then
6254     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6255   else
6256     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6257   fi
6258 done
6259
6260 # For the awk script, D is an array of macro values keyed by name,
6261 # likewise P contains macro parameters if any.  Preserve backslash
6262 # newline sequences.
6263
6264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6265 sed -n '
6266 s/.\{148\}/&'"$ac_delim"'/g
6267 t rset
6268 :rset
6269 s/^[     ]*#[    ]*define[       ][      ]*/ /
6270 t def
6271 d
6272 :def
6273 s/\\$//
6274 t bsnl
6275 s/["\\]/\\&/g
6276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6277 D["\1"]=" \3"/p
6278 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6279 d
6280 :bsnl
6281 s/["\\]/\\&/g
6282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6283 D["\1"]=" \3\\\\\\n"\\/p
6284 t cont
6285 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6286 t cont
6287 d
6288 :cont
6289 n
6290 s/.\{148\}/&'"$ac_delim"'/g
6291 t clear
6292 :clear
6293 s/\\$//
6294 t bsnlc
6295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6296 d
6297 :bsnlc
6298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6299 b cont
6300 ' <confdefs.h | sed '
6301 s/'"$ac_delim"'/"\\\
6302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6303
6304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6305   for (key in D) D_is_set[key] = 1
6306   FS = "\a"
6307 }
6308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6309   line = \$ 0
6310   split(line, arg, " ")
6311   if (arg[1] == "#") {
6312     defundef = arg[2]
6313     mac1 = arg[3]
6314   } else {
6315     defundef = substr(arg[1], 2)
6316     mac1 = arg[2]
6317   }
6318   split(mac1, mac2, "(") #)
6319   macro = mac2[1]
6320   prefix = substr(line, 1, index(line, defundef) - 1)
6321   if (D_is_set[macro]) {
6322     # Preserve the white space surrounding the "#".
6323     print prefix "define", macro P[macro] D[macro]
6324     next
6325   } else {
6326     # Replace #undef with comments.  This is necessary, for example,
6327     # in the case of _POSIX_SOURCE, which is predefined and required
6328     # on some systems where configure will not decide to define it.
6329     if (defundef == "undef") {
6330       print "/*", prefix defundef, macro, "*/"
6331       next
6332     }
6333   }
6334 }
6335 { print }
6336 _ACAWK
6337 _ACEOF
6338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6339   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6340 fi # test -n "$CONFIG_HEADERS"
6341
6342
6343 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6344 shift
6345 for ac_tag
6346 do
6347   case $ac_tag in
6348   :[FHLC]) ac_mode=$ac_tag; continue;;
6349   esac
6350   case $ac_mode$ac_tag in
6351   :[FHL]*:*);;
6352   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6353   :[FH]-) ac_tag=-:-;;
6354   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6355   esac
6356   ac_save_IFS=$IFS
6357   IFS=:
6358   set x $ac_tag
6359   IFS=$ac_save_IFS
6360   shift
6361   ac_file=$1
6362   shift
6363
6364   case $ac_mode in
6365   :L) ac_source=$1;;
6366   :[FH])
6367     ac_file_inputs=
6368     for ac_f
6369     do
6370       case $ac_f in
6371       -) ac_f="$ac_tmp/stdin";;
6372       *) # Look for the file first in the build tree, then in the source tree
6373          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6374          # because $ac_f cannot contain `:'.
6375          test -f "$ac_f" ||
6376            case $ac_f in
6377            [\\/$]*) false;;
6378            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6379            esac ||
6380            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6381       esac
6382       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6383       as_fn_append ac_file_inputs " '$ac_f'"
6384     done
6385
6386     # Let's still pretend it is `configure' which instantiates (i.e., don't
6387     # use $as_me), people would be surprised to read:
6388     #    /* config.h.  Generated by config.status.  */
6389     configure_input='Generated from '`
6390           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6391         `' by configure.'
6392     if test x"$ac_file" != x-; then
6393       configure_input="$ac_file.  $configure_input"
6394       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6395 $as_echo "$as_me: creating $ac_file" >&6;}
6396     fi
6397     # Neutralize special characters interpreted by sed in replacement strings.
6398     case $configure_input in #(
6399     *\&* | *\|* | *\\* )
6400        ac_sed_conf_input=`$as_echo "$configure_input" |
6401        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6402     *) ac_sed_conf_input=$configure_input;;
6403     esac
6404
6405     case $ac_tag in
6406     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6407       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6408     esac
6409     ;;
6410   esac
6411
6412   ac_dir=`$as_dirname -- "$ac_file" ||
6413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6414          X"$ac_file" : 'X\(//\)[^/]' \| \
6415          X"$ac_file" : 'X\(//\)$' \| \
6416          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6417 $as_echo X"$ac_file" |
6418     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6419             s//\1/
6420             q
6421           }
6422           /^X\(\/\/\)[^/].*/{
6423             s//\1/
6424             q
6425           }
6426           /^X\(\/\/\)$/{
6427             s//\1/
6428             q
6429           }
6430           /^X\(\/\).*/{
6431             s//\1/
6432             q
6433           }
6434           s/.*/./; q'`
6435   as_dir="$ac_dir"; as_fn_mkdir_p
6436   ac_builddir=.
6437
6438 case "$ac_dir" in
6439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6440 *)
6441   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6442   # A ".." for each directory in $ac_dir_suffix.
6443   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6444   case $ac_top_builddir_sub in
6445   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6446   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6447   esac ;;
6448 esac
6449 ac_abs_top_builddir=$ac_pwd
6450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6451 # for backward compatibility:
6452 ac_top_builddir=$ac_top_build_prefix
6453
6454 case $srcdir in
6455   .)  # We are building in place.
6456     ac_srcdir=.
6457     ac_top_srcdir=$ac_top_builddir_sub
6458     ac_abs_top_srcdir=$ac_pwd ;;
6459   [\\/]* | ?:[\\/]* )  # Absolute name.
6460     ac_srcdir=$srcdir$ac_dir_suffix;
6461     ac_top_srcdir=$srcdir
6462     ac_abs_top_srcdir=$srcdir ;;
6463   *) # Relative name.
6464     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6465     ac_top_srcdir=$ac_top_build_prefix$srcdir
6466     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6467 esac
6468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6469
6470
6471   case $ac_mode in
6472   :F)
6473   #
6474   # CONFIG_FILE
6475   #
6476
6477   case $INSTALL in
6478   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6479   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6480   esac
6481   ac_MKDIR_P=$MKDIR_P
6482   case $MKDIR_P in
6483   [\\/$]* | ?:[\\/]* ) ;;
6484   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6485   esac
6486 _ACEOF
6487
6488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6489 # If the template does not know about datarootdir, expand it.
6490 # FIXME: This hack should be removed a few years after 2.60.
6491 ac_datarootdir_hack=; ac_datarootdir_seen=
6492 ac_sed_dataroot='
6493 /datarootdir/ {
6494   p
6495   q
6496 }
6497 /@datadir@/p
6498 /@docdir@/p
6499 /@infodir@/p
6500 /@localedir@/p
6501 /@mandir@/p'
6502 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6503 *datarootdir*) ac_datarootdir_seen=yes;;
6504 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6505   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6506 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6507 _ACEOF
6508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6509   ac_datarootdir_hack='
6510   s&@datadir@&$datadir&g
6511   s&@docdir@&$docdir&g
6512   s&@infodir@&$infodir&g
6513   s&@localedir@&$localedir&g
6514   s&@mandir@&$mandir&g
6515   s&\\\${datarootdir}&$datarootdir&g' ;;
6516 esac
6517 _ACEOF
6518
6519 # Neutralize VPATH when `$srcdir' = `.'.
6520 # Shell code in configure.ac might set extrasub.
6521 # FIXME: do we really want to maintain this feature?
6522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6523 ac_sed_extra="$ac_vpsub
6524 $extrasub
6525 _ACEOF
6526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6527 :t
6528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6529 s|@configure_input@|$ac_sed_conf_input|;t t
6530 s&@top_builddir@&$ac_top_builddir_sub&;t t
6531 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6532 s&@srcdir@&$ac_srcdir&;t t
6533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6534 s&@top_srcdir@&$ac_top_srcdir&;t t
6535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6536 s&@builddir@&$ac_builddir&;t t
6537 s&@abs_builddir@&$ac_abs_builddir&;t t
6538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6539 s&@INSTALL@&$ac_INSTALL&;t t
6540 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6541 $ac_datarootdir_hack
6542 "
6543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6544   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6545
6546 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6547   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6548   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6549       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6550   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6551 which seems to be undefined.  Please make sure it is defined" >&5
6552 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6553 which seems to be undefined.  Please make sure it is defined" >&2;}
6554
6555   rm -f "$ac_tmp/stdin"
6556   case $ac_file in
6557   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6558   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6559   esac \
6560   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6561  ;;
6562   :H)
6563   #
6564   # CONFIG_HEADER
6565   #
6566   if test x"$ac_file" != x-; then
6567     {
6568       $as_echo "/* $configure_input  */" \
6569       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6570     } >"$ac_tmp/config.h" \
6571       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6572     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6573       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6574 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6575     else
6576       rm -f "$ac_file"
6577       mv "$ac_tmp/config.h" "$ac_file" \
6578         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6579     fi
6580   else
6581     $as_echo "/* $configure_input  */" \
6582       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6583       || as_fn_error $? "could not create -" "$LINENO" 5
6584   fi
6585 # Compute "$ac_file"'s index in $config_headers.
6586 _am_arg="$ac_file"
6587 _am_stamp_count=1
6588 for _am_header in $config_headers :; do
6589   case $_am_header in
6590     $_am_arg | $_am_arg:* )
6591       break ;;
6592     * )
6593       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6594   esac
6595 done
6596 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6597 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6598          X"$_am_arg" : 'X\(//\)[^/]' \| \
6599          X"$_am_arg" : 'X\(//\)$' \| \
6600          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6601 $as_echo X"$_am_arg" |
6602     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6603             s//\1/
6604             q
6605           }
6606           /^X\(\/\/\)[^/].*/{
6607             s//\1/
6608             q
6609           }
6610           /^X\(\/\/\)$/{
6611             s//\1/
6612             q
6613           }
6614           /^X\(\/\).*/{
6615             s//\1/
6616             q
6617           }
6618           s/.*/./; q'`/stamp-h$_am_stamp_count
6619  ;;
6620
6621   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6622 $as_echo "$as_me: executing $ac_file commands" >&6;}
6623  ;;
6624   esac
6625
6626
6627   case $ac_file$ac_mode in
6628     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6629   # Older Autoconf quotes --file arguments for eval, but not when files
6630   # are listed without --file.  Let's play safe and only enable the eval
6631   # if we detect the quoting.
6632   case $CONFIG_FILES in
6633   *\'*) eval set x "$CONFIG_FILES" ;;
6634   *)   set x $CONFIG_FILES ;;
6635   esac
6636   shift
6637   for mf
6638   do
6639     # Strip MF so we end up with the name of the file.
6640     mf=`echo "$mf" | sed -e 's/:.*$//'`
6641     # Check whether this is an Automake generated Makefile or not.
6642     # We used to match only the files named 'Makefile.in', but
6643     # some people rename them; so instead we look at the file content.
6644     # Grep'ing the first line is not enough: some people post-process
6645     # each Makefile.in and add a new line on top of each file to say so.
6646     # Grep'ing the whole file is not good either: AIX grep has a line
6647     # limit of 2048, but all sed's we know have understand at least 4000.
6648     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6649       dirpart=`$as_dirname -- "$mf" ||
6650 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6651          X"$mf" : 'X\(//\)[^/]' \| \
6652          X"$mf" : 'X\(//\)$' \| \
6653          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6654 $as_echo X"$mf" |
6655     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6656             s//\1/
6657             q
6658           }
6659           /^X\(\/\/\)[^/].*/{
6660             s//\1/
6661             q
6662           }
6663           /^X\(\/\/\)$/{
6664             s//\1/
6665             q
6666           }
6667           /^X\(\/\).*/{
6668             s//\1/
6669             q
6670           }
6671           s/.*/./; q'`
6672     else
6673       continue
6674     fi
6675     # Extract the definition of DEPDIR, am__include, and am__quote
6676     # from the Makefile without running 'make'.
6677     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6678     test -z "$DEPDIR" && continue
6679     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6680     test -z "$am__include" && continue
6681     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6682     # Find all dependency output files, they are included files with
6683     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6684     # simplest approach to changing $(DEPDIR) to its actual value in the
6685     # expansion.
6686     for file in `sed -n "
6687       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6688          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6689       # Make sure the directory exists.
6690       test -f "$dirpart/$file" && continue
6691       fdir=`$as_dirname -- "$file" ||
6692 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6693          X"$file" : 'X\(//\)[^/]' \| \
6694          X"$file" : 'X\(//\)$' \| \
6695          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6696 $as_echo X"$file" |
6697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6698             s//\1/
6699             q
6700           }
6701           /^X\(\/\/\)[^/].*/{
6702             s//\1/
6703             q
6704           }
6705           /^X\(\/\/\)$/{
6706             s//\1/
6707             q
6708           }
6709           /^X\(\/\).*/{
6710             s//\1/
6711             q
6712           }
6713           s/.*/./; q'`
6714       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6715       # echo "creating $dirpart/$file"
6716       echo '# dummy' > "$dirpart/$file"
6717     done
6718   done
6719 }
6720  ;;
6721
6722   esac
6723 done # for ac_tag
6724
6725
6726 as_fn_exit 0
6727 _ACEOF
6728 ac_clean_files=$ac_clean_files_save
6729
6730 test $ac_write_fail = 0 ||
6731   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6732
6733
6734 # configure is writing to config.log, and then calls config.status.
6735 # config.status does its own redirection, appending to config.log.
6736 # Unfortunately, on DOS this fails, as config.log is still kept open
6737 # by configure, so config.status won't be able to write to it; its
6738 # output is simply discarded.  So we exec the FD to /dev/null,
6739 # effectively closing config.log, so it can be properly (re)opened and
6740 # appended to by config.status.  When coming back to configure, we
6741 # need to make the FD available again.
6742 if test "$no_create" != yes; then
6743   ac_cs_success=:
6744   ac_config_status_args=
6745   test "$silent" = yes &&
6746     ac_config_status_args="$ac_config_status_args --quiet"
6747   exec 5>/dev/null
6748   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6749   exec 5>>config.log
6750   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6751   # would make configure fail if this is the last instruction.
6752   $ac_cs_success || as_fn_exit 1
6753 fi
6754 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6755   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6756 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6757 fi
6758