Add Hanazono's path if it is found.
[chise/chise-fonts-installer.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for chise-fonts-installer 0.2.
4 #
5 # Report bugs to <chise-en@m17n.org>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 # Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176   if (eval "$as_required") 2>/dev/null; then :
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188   IFS=$as_save_IFS
189   test -z "$as_dir" && as_dir=.
190   as_found=:
191   case $as_dir in #(
192          /*)
193            for as_base in sh bash ksh sh5; do
194              # Try only shells that exist, to save several forks.
195              as_shell=$as_dir/$as_base
196              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198   CONFIG_SHELL=$as_shell as_have_required=yes
199                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   break 2
201 fi
202 fi
203            done;;
204        esac
205   as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209   CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214       if test "x$CONFIG_SHELL" != x; then :
215   # We cannot yet assume a decent shell, so we have to provide a
216         # neutralization value for shells without unset; and this also
217         # works around shells that cannot unset nonexistent variables.
218         BASH_ENV=/dev/null
219         ENV=/dev/null
220         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221         export CONFIG_SHELL
222         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 fi
224
225     if test x$as_have_required = xno; then :
226   $as_echo "$0: This script requires a shell more modern than all"
227   $as_echo "$0: the shells that I found on your system."
228   if test x${ZSH_VERSION+set} = xset ; then
229     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231   else
232     $as_echo "$0: Please tell bug-autoconf@gnu.org and chise-en@m17n.org
233 $0: about your system, including any error possibly output
234 $0: before this message. Then install a modern shell, or
235 $0: manually run the script under such a shell if you do
236 $0: have one."
237   fi
238   exit 1
239 fi
240 fi
241 fi
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
247
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 # as_fn_unset VAR
252 # ---------------
253 # Portably unset VAR.
254 as_fn_unset ()
255 {
256   { eval $1=; unset $1;}
257 }
258 as_unset=as_fn_unset
259
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
263 as_fn_set_status ()
264 {
265   return $1
266 } # as_fn_set_status
267
268 # as_fn_exit STATUS
269 # -----------------
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
272 {
273   set +e
274   as_fn_set_status $1
275   exit $1
276 } # as_fn_exit
277
278 # as_fn_mkdir_p
279 # -------------
280 # Create "$as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
282 {
283
284   case $as_dir in #(
285   -*) as_dir=./$as_dir;;
286   esac
287   test -d "$as_dir" || eval $as_mkdir_p || {
288     as_dirs=
289     while :; do
290       case $as_dir in #(
291       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292       *) as_qdir=$as_dir;;
293       esac
294       as_dirs="'$as_qdir' $as_dirs"
295       as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297          X"$as_dir" : 'X\(//\)[^/]' \| \
298          X"$as_dir" : 'X\(//\)$' \| \
299          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)[^/].*/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)$/{
310             s//\1/
311             q
312           }
313           /^X\(\/\).*/{
314             s//\1/
315             q
316           }
317           s/.*/./; q'`
318       test -d "$as_dir" && break
319     done
320     test -z "$as_dirs" || eval "mkdir $as_dirs"
321   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322
323
324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
330 # implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332   eval 'as_fn_append ()
333   {
334     eval $1+=\$2
335   }'
336 else
337   as_fn_append ()
338   {
339     eval $1=\$$1\$2
340   }
341 fi # as_fn_append
342
343 # as_fn_arith ARG...
344 # ------------------
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349   eval 'as_fn_arith ()
350   {
351     as_val=$(( $* ))
352   }'
353 else
354   as_fn_arith ()
355   {
356     as_val=`expr "$@" || test $? -eq 1`
357   }
358 fi # as_fn_arith
359
360
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
366 as_fn_error ()
367 {
368   as_status=$?; test $as_status -eq 0 && as_status=1
369   if test "$3"; then
370     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372   fi
373   $as_echo "$as_me: error: $1" >&2
374   as_fn_exit $as_status
375 } # as_fn_error
376
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378    test "X`expr 00001 : '.*\(...\)'`" = X001; then
379   as_expr=expr
380 else
381   as_expr=false
382 fi
383
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385   as_basename=basename
386 else
387   as_basename=false
388 fi
389
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391   as_dirname=dirname
392 else
393   as_dirname=false
394 fi
395
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398          X"$0" : 'X\(//\)$' \| \
399          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 $as_echo X/"$0" |
401     sed '/^.*\/\([^/][^/]*\)\/*$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\/\)$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\).*/{
410             s//\1/
411             q
412           }
413           s/.*/./; q'`
414
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423   as_lineno_1=$LINENO as_lineno_1a=$LINENO
424   as_lineno_2=$LINENO as_lineno_2a=$LINENO
425   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
428   sed -n '
429     p
430     /[$]LINENO/=
431   ' <$as_myself |
432     sed '
433       s/[$]LINENO.*/&-/
434       t lineno
435       b
436       :lineno
437       N
438       :loop
439       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440       t loop
441       s/-\n.*//
442     ' >$as_me.lineno &&
443   chmod +x "$as_me.lineno" ||
444     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445
446   # Don't try to exec as it changes $[0], causing all sort of problems
447   # (the dirname of $[0] is not the place where we might find the
448   # original and so on.  Autoconf is especially sensitive to this).
449   . "./$as_me.lineno"
450   # Exit status is that of the last command.
451   exit
452 }
453
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
456 -n*)
457   case `echo 'xy\c'` in
458   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
459   xy)  ECHO_C='\c';;
460   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461        ECHO_T=' ';;
462   esac;;
463 *)
464   ECHO_N='-n';;
465 esac
466
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469   rm -f conf$$.dir/conf$$.file
470 else
471   rm -f conf$$.dir
472   mkdir conf$$.dir 2>/dev/null
473 fi
474 if (echo >conf$$.file) 2>/dev/null; then
475   if ln -s conf$$.file conf$$ 2>/dev/null; then
476     as_ln_s='ln -s'
477     # ... but there are two gotchas:
478     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480     # In both cases, we have to default to `cp -p'.
481     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482       as_ln_s='cp -p'
483   elif ln conf$$.file conf$$ 2>/dev/null; then
484     as_ln_s=ln
485   else
486     as_ln_s='cp -p'
487   fi
488 else
489   as_ln_s='cp -p'
490 fi
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
493
494 if mkdir -p . 2>/dev/null; then
495   as_mkdir_p='mkdir -p "$as_dir"'
496 else
497   test -d ./-p && rmdir ./-p
498   as_mkdir_p=false
499 fi
500
501 if test -x / >/dev/null 2>&1; then
502   as_test_x='test -x'
503 else
504   if ls -dL / >/dev/null 2>&1; then
505     as_ls_L_option=L
506   else
507     as_ls_L_option=
508   fi
509   as_test_x='
510     eval sh -c '\''
511       if test -d "$1"; then
512         test -d "$1/.";
513       else
514         case $1 in #(
515         -*)set "./$1";;
516         esac;
517         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518         ???[sx]*):;;*)false;;esac;fi
519     '\'' sh
520   '
521 fi
522 as_executable_p=$as_test_x
523
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
530
531 test -n "$DJDIR" || exec 7<&0 </dev/null
532 exec 6>&1
533
534 # Name of the host.
535 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538
539 #
540 # Initializations.
541 #
542 ac_default_prefix=/usr/local
543 ac_clean_files=
544 ac_config_libobj_dir=.
545 LIBOBJS=
546 cross_compiling=no
547 subdirs=
548 MFLAGS=
549 MAKEFLAGS=
550
551 # Identity of this package.
552 PACKAGE_NAME='chise-fonts-installer'
553 PACKAGE_TARNAME='chise-fonts-installer'
554 PACKAGE_VERSION='0.2'
555 PACKAGE_STRING='chise-fonts-installer 0.2'
556 PACKAGE_BUGREPORT='chise-en@m17n.org'
557 PACKAGE_URL=''
558
559 ac_subst_vars='LTLIBOBJS
560 LIBOBJS
561 ac_configure_args
562 target_os
563 target_vendor
564 target_cpu
565 target
566 host_os
567 host_vendor
568 host_cpu
569 host
570 build_os
571 build_vendor
572 build_cpu
573 build
574 target_alias
575 host_alias
576 build_alias
577 LIBS
578 ECHO_T
579 ECHO_N
580 ECHO_C
581 DEFS
582 mandir
583 localedir
584 libdir
585 psdir
586 pdfdir
587 dvidir
588 htmldir
589 infodir
590 docdir
591 oldincludedir
592 includedir
593 localstatedir
594 sharedstatedir
595 sysconfdir
596 datadir
597 datarootdir
598 libexecdir
599 sbindir
600 bindir
601 program_transform_name
602 prefix
603 exec_prefix
604 PACKAGE_URL
605 PACKAGE_BUGREPORT
606 PACKAGE_STRING
607 PACKAGE_VERSION
608 PACKAGE_TARNAME
609 PACKAGE_NAME
610 PATH_SEPARATOR
611 SHELL'
612 ac_subst_files=''
613 ac_user_opts='
614 enable_option_checking
615 '
616       ac_precious_vars='build_alias
617 host_alias
618 target_alias'
619
620
621 # Initialize some variables set by options.
622 ac_init_help=
623 ac_init_version=false
624 ac_unrecognized_opts=
625 ac_unrecognized_sep=
626 # The variables have the same names as the options, with
627 # dashes changed to underlines.
628 cache_file=/dev/null
629 exec_prefix=NONE
630 no_create=
631 no_recursion=
632 prefix=NONE
633 program_prefix=NONE
634 program_suffix=NONE
635 program_transform_name=s,x,x,
636 silent=
637 site=
638 srcdir=
639 verbose=
640 x_includes=NONE
641 x_libraries=NONE
642
643 # Installation directory options.
644 # These are left unexpanded so users can "make install exec_prefix=/foo"
645 # and all the variables that are supposed to be based on exec_prefix
646 # by default will actually change.
647 # Use braces instead of parens because sh, perl, etc. also accept them.
648 # (The list follows the same order as the GNU Coding Standards.)
649 bindir='${exec_prefix}/bin'
650 sbindir='${exec_prefix}/sbin'
651 libexecdir='${exec_prefix}/libexec'
652 datarootdir='${prefix}/share'
653 datadir='${datarootdir}'
654 sysconfdir='${prefix}/etc'
655 sharedstatedir='${prefix}/com'
656 localstatedir='${prefix}/var'
657 includedir='${prefix}/include'
658 oldincludedir='/usr/include'
659 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
660 infodir='${datarootdir}/info'
661 htmldir='${docdir}'
662 dvidir='${docdir}'
663 pdfdir='${docdir}'
664 psdir='${docdir}'
665 libdir='${exec_prefix}/lib'
666 localedir='${datarootdir}/locale'
667 mandir='${datarootdir}/man'
668
669 ac_prev=
670 ac_dashdash=
671 for ac_option
672 do
673   # If the previous option needs an argument, assign it.
674   if test -n "$ac_prev"; then
675     eval $ac_prev=\$ac_option
676     ac_prev=
677     continue
678   fi
679
680   case $ac_option in
681   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
682   *)    ac_optarg=yes ;;
683   esac
684
685   # Accept the important Cygnus configure options, so we can diagnose typos.
686
687   case $ac_dashdash$ac_option in
688   --)
689     ac_dashdash=yes ;;
690
691   -bindir | --bindir | --bindi | --bind | --bin | --bi)
692     ac_prev=bindir ;;
693   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
694     bindir=$ac_optarg ;;
695
696   -build | --build | --buil | --bui | --bu)
697     ac_prev=build_alias ;;
698   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
699     build_alias=$ac_optarg ;;
700
701   -cache-file | --cache-file | --cache-fil | --cache-fi \
702   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
703     ac_prev=cache_file ;;
704   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
705   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
706     cache_file=$ac_optarg ;;
707
708   --config-cache | -C)
709     cache_file=config.cache ;;
710
711   -datadir | --datadir | --datadi | --datad)
712     ac_prev=datadir ;;
713   -datadir=* | --datadir=* | --datadi=* | --datad=*)
714     datadir=$ac_optarg ;;
715
716   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
717   | --dataroo | --dataro | --datar)
718     ac_prev=datarootdir ;;
719   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
720   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
721     datarootdir=$ac_optarg ;;
722
723   -disable-* | --disable-*)
724     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
725     # Reject names that are not valid shell variable names.
726     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
727       as_fn_error "invalid feature name: $ac_useropt"
728     ac_useropt_orig=$ac_useropt
729     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
730     case $ac_user_opts in
731       *"
732 "enable_$ac_useropt"
733 "*) ;;
734       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
735          ac_unrecognized_sep=', ';;
736     esac
737     eval enable_$ac_useropt=no ;;
738
739   -docdir | --docdir | --docdi | --doc | --do)
740     ac_prev=docdir ;;
741   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
742     docdir=$ac_optarg ;;
743
744   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
745     ac_prev=dvidir ;;
746   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
747     dvidir=$ac_optarg ;;
748
749   -enable-* | --enable-*)
750     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
753       as_fn_error "invalid feature name: $ac_useropt"
754     ac_useropt_orig=$ac_useropt
755     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756     case $ac_user_opts in
757       *"
758 "enable_$ac_useropt"
759 "*) ;;
760       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
761          ac_unrecognized_sep=', ';;
762     esac
763     eval enable_$ac_useropt=\$ac_optarg ;;
764
765   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767   | --exec | --exe | --ex)
768     ac_prev=exec_prefix ;;
769   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771   | --exec=* | --exe=* | --ex=*)
772     exec_prefix=$ac_optarg ;;
773
774   -gas | --gas | --ga | --g)
775     # Obsolete; use --with-gas.
776     with_gas=yes ;;
777
778   -help | --help | --hel | --he | -h)
779     ac_init_help=long ;;
780   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781     ac_init_help=recursive ;;
782   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783     ac_init_help=short ;;
784
785   -host | --host | --hos | --ho)
786     ac_prev=host_alias ;;
787   -host=* | --host=* | --hos=* | --ho=*)
788     host_alias=$ac_optarg ;;
789
790   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791     ac_prev=htmldir ;;
792   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793   | --ht=*)
794     htmldir=$ac_optarg ;;
795
796   -includedir | --includedir | --includedi | --included | --include \
797   | --includ | --inclu | --incl | --inc)
798     ac_prev=includedir ;;
799   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800   | --includ=* | --inclu=* | --incl=* | --inc=*)
801     includedir=$ac_optarg ;;
802
803   -infodir | --infodir | --infodi | --infod | --info | --inf)
804     ac_prev=infodir ;;
805   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806     infodir=$ac_optarg ;;
807
808   -libdir | --libdir | --libdi | --libd)
809     ac_prev=libdir ;;
810   -libdir=* | --libdir=* | --libdi=* | --libd=*)
811     libdir=$ac_optarg ;;
812
813   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814   | --libexe | --libex | --libe)
815     ac_prev=libexecdir ;;
816   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817   | --libexe=* | --libex=* | --libe=*)
818     libexecdir=$ac_optarg ;;
819
820   -localedir | --localedir | --localedi | --localed | --locale)
821     ac_prev=localedir ;;
822   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823     localedir=$ac_optarg ;;
824
825   -localstatedir | --localstatedir | --localstatedi | --localstated \
826   | --localstate | --localstat | --localsta | --localst | --locals)
827     ac_prev=localstatedir ;;
828   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830     localstatedir=$ac_optarg ;;
831
832   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833     ac_prev=mandir ;;
834   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835     mandir=$ac_optarg ;;
836
837   -nfp | --nfp | --nf)
838     # Obsolete; use --without-fp.
839     with_fp=no ;;
840
841   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842   | --no-cr | --no-c | -n)
843     no_create=yes ;;
844
845   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847     no_recursion=yes ;;
848
849   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851   | --oldin | --oldi | --old | --ol | --o)
852     ac_prev=oldincludedir ;;
853   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856     oldincludedir=$ac_optarg ;;
857
858   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859     ac_prev=prefix ;;
860   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861     prefix=$ac_optarg ;;
862
863   -program-prefix | --program-prefix | --program-prefi | --program-pref \
864   | --program-pre | --program-pr | --program-p)
865     ac_prev=program_prefix ;;
866   -program-prefix=* | --program-prefix=* | --program-prefi=* \
867   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868     program_prefix=$ac_optarg ;;
869
870   -program-suffix | --program-suffix | --program-suffi | --program-suff \
871   | --program-suf | --program-su | --program-s)
872     ac_prev=program_suffix ;;
873   -program-suffix=* | --program-suffix=* | --program-suffi=* \
874   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875     program_suffix=$ac_optarg ;;
876
877   -program-transform-name | --program-transform-name \
878   | --program-transform-nam | --program-transform-na \
879   | --program-transform-n | --program-transform- \
880   | --program-transform | --program-transfor \
881   | --program-transfo | --program-transf \
882   | --program-trans | --program-tran \
883   | --progr-tra | --program-tr | --program-t)
884     ac_prev=program_transform_name ;;
885   -program-transform-name=* | --program-transform-name=* \
886   | --program-transform-nam=* | --program-transform-na=* \
887   | --program-transform-n=* | --program-transform-=* \
888   | --program-transform=* | --program-transfor=* \
889   | --program-transfo=* | --program-transf=* \
890   | --program-trans=* | --program-tran=* \
891   | --progr-tra=* | --program-tr=* | --program-t=*)
892     program_transform_name=$ac_optarg ;;
893
894   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895     ac_prev=pdfdir ;;
896   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897     pdfdir=$ac_optarg ;;
898
899   -psdir | --psdir | --psdi | --psd | --ps)
900     ac_prev=psdir ;;
901   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902     psdir=$ac_optarg ;;
903
904   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905   | -silent | --silent | --silen | --sile | --sil)
906     silent=yes ;;
907
908   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909     ac_prev=sbindir ;;
910   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911   | --sbi=* | --sb=*)
912     sbindir=$ac_optarg ;;
913
914   -sharedstatedir | --sharedstatedir | --sharedstatedi \
915   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916   | --sharedst | --shareds | --shared | --share | --shar \
917   | --sha | --sh)
918     ac_prev=sharedstatedir ;;
919   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922   | --sha=* | --sh=*)
923     sharedstatedir=$ac_optarg ;;
924
925   -site | --site | --sit)
926     ac_prev=site ;;
927   -site=* | --site=* | --sit=*)
928     site=$ac_optarg ;;
929
930   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931     ac_prev=srcdir ;;
932   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933     srcdir=$ac_optarg ;;
934
935   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936   | --syscon | --sysco | --sysc | --sys | --sy)
937     ac_prev=sysconfdir ;;
938   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940     sysconfdir=$ac_optarg ;;
941
942   -target | --target | --targe | --targ | --tar | --ta | --t)
943     ac_prev=target_alias ;;
944   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945     target_alias=$ac_optarg ;;
946
947   -v | -verbose | --verbose | --verbos | --verbo | --verb)
948     verbose=yes ;;
949
950   -version | --version | --versio | --versi | --vers | -V)
951     ac_init_version=: ;;
952
953   -with-* | --with-*)
954     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955     # Reject names that are not valid shell variable names.
956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957       as_fn_error "invalid package name: $ac_useropt"
958     ac_useropt_orig=$ac_useropt
959     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960     case $ac_user_opts in
961       *"
962 "with_$ac_useropt"
963 "*) ;;
964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
965          ac_unrecognized_sep=', ';;
966     esac
967     eval with_$ac_useropt=\$ac_optarg ;;
968
969   -without-* | --without-*)
970     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971     # Reject names that are not valid shell variable names.
972     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973       as_fn_error "invalid package name: $ac_useropt"
974     ac_useropt_orig=$ac_useropt
975     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976     case $ac_user_opts in
977       *"
978 "with_$ac_useropt"
979 "*) ;;
980       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
981          ac_unrecognized_sep=', ';;
982     esac
983     eval with_$ac_useropt=no ;;
984
985   --x)
986     # Obsolete; use --with-x.
987     with_x=yes ;;
988
989   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
990   | --x-incl | --x-inc | --x-in | --x-i)
991     ac_prev=x_includes ;;
992   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
993   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
994     x_includes=$ac_optarg ;;
995
996   -x-libraries | --x-libraries | --x-librarie | --x-librari \
997   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
998     ac_prev=x_libraries ;;
999   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1000   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1001     x_libraries=$ac_optarg ;;
1002
1003   -*) as_fn_error "unrecognized option: \`$ac_option'
1004 Try \`$0 --help' for more information."
1005     ;;
1006
1007   *=*)
1008     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1009     # Reject names that are not valid shell variable names.
1010     case $ac_envvar in #(
1011       '' | [0-9]* | *[!_$as_cr_alnum]* )
1012       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1013     esac
1014     eval $ac_envvar=\$ac_optarg
1015     export $ac_envvar ;;
1016
1017   *)
1018     # FIXME: should be removed in autoconf 3.0.
1019     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1020     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1022     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1023     ;;
1024
1025   esac
1026 done
1027
1028 if test -n "$ac_prev"; then
1029   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1030   as_fn_error "missing argument to $ac_option"
1031 fi
1032
1033 if test -n "$ac_unrecognized_opts"; then
1034   case $enable_option_checking in
1035     no) ;;
1036     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1037     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1038   esac
1039 fi
1040
1041 # Check all directory arguments for consistency.
1042 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1043                 datadir sysconfdir sharedstatedir localstatedir includedir \
1044                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1045                 libdir localedir mandir
1046 do
1047   eval ac_val=\$$ac_var
1048   # Remove trailing slashes.
1049   case $ac_val in
1050     */ )
1051       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1052       eval $ac_var=\$ac_val;;
1053   esac
1054   # Be sure to have absolute directory names.
1055   case $ac_val in
1056     [\\/$]* | ?:[\\/]* )  continue;;
1057     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1058   esac
1059   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1060 done
1061
1062 # There might be people who depend on the old broken behavior: `$host'
1063 # used to hold the argument of --host etc.
1064 # FIXME: To remove some day.
1065 build=$build_alias
1066 host=$host_alias
1067 target=$target_alias
1068
1069 # FIXME: To remove some day.
1070 if test "x$host_alias" != x; then
1071   if test "x$build_alias" = x; then
1072     cross_compiling=maybe
1073     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074     If a cross compiler is detected then cross compile mode will be used." >&2
1075   elif test "x$build_alias" != "x$host_alias"; then
1076     cross_compiling=yes
1077   fi
1078 fi
1079
1080 ac_tool_prefix=
1081 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082
1083 test "$silent" = yes && exec 6>/dev/null
1084
1085
1086 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087 ac_ls_di=`ls -di .` &&
1088 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089   as_fn_error "working directory cannot be determined"
1090 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091   as_fn_error "pwd does not report name of working directory"
1092
1093
1094 # Find the source files, if location was not specified.
1095 if test -z "$srcdir"; then
1096   ac_srcdir_defaulted=yes
1097   # Try the directory containing this script, then the parent directory.
1098   ac_confdir=`$as_dirname -- "$as_myself" ||
1099 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100          X"$as_myself" : 'X\(//\)[^/]' \| \
1101          X"$as_myself" : 'X\(//\)$' \| \
1102          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1103 $as_echo X"$as_myself" |
1104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1105             s//\1/
1106             q
1107           }
1108           /^X\(\/\/\)[^/].*/{
1109             s//\1/
1110             q
1111           }
1112           /^X\(\/\/\)$/{
1113             s//\1/
1114             q
1115           }
1116           /^X\(\/\).*/{
1117             s//\1/
1118             q
1119           }
1120           s/.*/./; q'`
1121   srcdir=$ac_confdir
1122   if test ! -r "$srcdir/$ac_unique_file"; then
1123     srcdir=..
1124   fi
1125 else
1126   ac_srcdir_defaulted=no
1127 fi
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1131 fi
1132 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1133 ac_abs_confdir=`(
1134         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1135         pwd)`
1136 # When building in place, set srcdir=.
1137 if test "$ac_abs_confdir" = "$ac_pwd"; then
1138   srcdir=.
1139 fi
1140 # Remove unnecessary trailing slashes from srcdir.
1141 # Double slashes in file names in object file debugging info
1142 # mess up M-x gdb in Emacs.
1143 case $srcdir in
1144 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1145 esac
1146 for ac_var in $ac_precious_vars; do
1147   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1148   eval ac_env_${ac_var}_value=\$${ac_var}
1149   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1150   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1151 done
1152
1153 #
1154 # Report the --help message.
1155 #
1156 if test "$ac_init_help" = "long"; then
1157   # Omit some internal or obsolete options to make the list less imposing.
1158   # This message is too long to be a string in the A/UX 3.1 sh.
1159   cat <<_ACEOF
1160 \`configure' configures chise-fonts-installer 0.2 to adapt to many kinds of systems.
1161
1162 Usage: $0 [OPTION]... [VAR=VALUE]...
1163
1164 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1165 VAR=VALUE.  See below for descriptions of some of the useful variables.
1166
1167 Defaults for the options are specified in brackets.
1168
1169 Configuration:
1170   -h, --help              display this help and exit
1171       --help=short        display options specific to this package
1172       --help=recursive    display the short help of all the included packages
1173   -V, --version           display version information and exit
1174   -q, --quiet, --silent   do not print \`checking...' messages
1175       --cache-file=FILE   cache test results in FILE [disabled]
1176   -C, --config-cache      alias for \`--cache-file=config.cache'
1177   -n, --no-create         do not create output files
1178       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1179
1180 Installation directories:
1181   --prefix=PREFIX         install architecture-independent files in PREFIX
1182                           [$ac_default_prefix]
1183   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1184                           [PREFIX]
1185
1186 By default, \`make install' will install all the files in
1187 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1188 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1189 for instance \`--prefix=\$HOME'.
1190
1191 For better control, use the options below.
1192
1193 Fine tuning of the installation directories:
1194   --bindir=DIR            user executables [EPREFIX/bin]
1195   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1196   --libexecdir=DIR        program executables [EPREFIX/libexec]
1197   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1198   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1199   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1200   --libdir=DIR            object code libraries [EPREFIX/lib]
1201   --includedir=DIR        C header files [PREFIX/include]
1202   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1203   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1204   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1205   --infodir=DIR           info documentation [DATAROOTDIR/info]
1206   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1207   --mandir=DIR            man documentation [DATAROOTDIR/man]
1208   --docdir=DIR            documentation root
1209                           [DATAROOTDIR/doc/chise-fonts-installer]
1210   --htmldir=DIR           html documentation [DOCDIR]
1211   --dvidir=DIR            dvi documentation [DOCDIR]
1212   --pdfdir=DIR            pdf documentation [DOCDIR]
1213   --psdir=DIR             ps documentation [DOCDIR]
1214 _ACEOF
1215
1216   cat <<\_ACEOF
1217
1218 System types:
1219   --build=BUILD     configure for building on BUILD [guessed]
1220   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1221   --target=TARGET   configure for building compilers for TARGET [HOST]
1222 _ACEOF
1223 fi
1224
1225 if test -n "$ac_init_help"; then
1226   case $ac_init_help in
1227      short | recursive ) echo "Configuration of chise-fonts-installer 0.2:";;
1228    esac
1229   cat <<\_ACEOF
1230
1231 Report bugs to <chise-en@m17n.org>.
1232 _ACEOF
1233 ac_status=$?
1234 fi
1235
1236 if test "$ac_init_help" = "recursive"; then
1237   # If there are subdirs, report their specific --help.
1238   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1239     test -d "$ac_dir" ||
1240       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1241       continue
1242     ac_builddir=.
1243
1244 case "$ac_dir" in
1245 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1246 *)
1247   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1248   # A ".." for each directory in $ac_dir_suffix.
1249   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1250   case $ac_top_builddir_sub in
1251   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1252   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1253   esac ;;
1254 esac
1255 ac_abs_top_builddir=$ac_pwd
1256 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1257 # for backward compatibility:
1258 ac_top_builddir=$ac_top_build_prefix
1259
1260 case $srcdir in
1261   .)  # We are building in place.
1262     ac_srcdir=.
1263     ac_top_srcdir=$ac_top_builddir_sub
1264     ac_abs_top_srcdir=$ac_pwd ;;
1265   [\\/]* | ?:[\\/]* )  # Absolute name.
1266     ac_srcdir=$srcdir$ac_dir_suffix;
1267     ac_top_srcdir=$srcdir
1268     ac_abs_top_srcdir=$srcdir ;;
1269   *) # Relative name.
1270     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1271     ac_top_srcdir=$ac_top_build_prefix$srcdir
1272     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1273 esac
1274 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1275
1276     cd "$ac_dir" || { ac_status=$?; continue; }
1277     # Check for guested configure.
1278     if test -f "$ac_srcdir/configure.gnu"; then
1279       echo &&
1280       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1281     elif test -f "$ac_srcdir/configure"; then
1282       echo &&
1283       $SHELL "$ac_srcdir/configure" --help=recursive
1284     else
1285       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1286     fi || ac_status=$?
1287     cd "$ac_pwd" || { ac_status=$?; break; }
1288   done
1289 fi
1290
1291 test -n "$ac_init_help" && exit $ac_status
1292 if $ac_init_version; then
1293   cat <<\_ACEOF
1294 chise-fonts-installer configure 0.2
1295 generated by GNU Autoconf 2.65
1296
1297 Copyright (C) 2009 Free Software Foundation, Inc.
1298 This configure script is free software; the Free Software Foundation
1299 gives unlimited permission to copy, distribute and modify it.
1300 _ACEOF
1301   exit
1302 fi
1303
1304 ## ------------------------ ##
1305 ## Autoconf initialization. ##
1306 ## ------------------------ ##
1307 cat >config.log <<_ACEOF
1308 This file contains any messages produced by compilers while
1309 running configure, to aid debugging if configure makes a mistake.
1310
1311 It was created by chise-fonts-installer $as_me 0.2, which was
1312 generated by GNU Autoconf 2.65.  Invocation command line was
1313
1314   $ $0 $@
1315
1316 _ACEOF
1317 exec 5>>config.log
1318 {
1319 cat <<_ASUNAME
1320 ## --------- ##
1321 ## Platform. ##
1322 ## --------- ##
1323
1324 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1325 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1326 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1327 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1328 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1329
1330 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1331 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1332
1333 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1334 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1335 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1336 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1337 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1338 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1339 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1340
1341 _ASUNAME
1342
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344 for as_dir in $PATH
1345 do
1346   IFS=$as_save_IFS
1347   test -z "$as_dir" && as_dir=.
1348     $as_echo "PATH: $as_dir"
1349   done
1350 IFS=$as_save_IFS
1351
1352 } >&5
1353
1354 cat >&5 <<_ACEOF
1355
1356
1357 ## ----------- ##
1358 ## Core tests. ##
1359 ## ----------- ##
1360
1361 _ACEOF
1362
1363
1364 # Keep a trace of the command line.
1365 # Strip out --no-create and --no-recursion so they do not pile up.
1366 # Strip out --silent because we don't want to record it for future runs.
1367 # Also quote any args containing shell meta-characters.
1368 # Make two passes to allow for proper duplicate-argument suppression.
1369 ac_configure_args=
1370 ac_configure_args0=
1371 ac_configure_args1=
1372 ac_must_keep_next=false
1373 for ac_pass in 1 2
1374 do
1375   for ac_arg
1376   do
1377     case $ac_arg in
1378     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1379     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1380     | -silent | --silent | --silen | --sile | --sil)
1381       continue ;;
1382     *\'*)
1383       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1384     esac
1385     case $ac_pass in
1386     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1387     2)
1388       as_fn_append ac_configure_args1 " '$ac_arg'"
1389       if test $ac_must_keep_next = true; then
1390         ac_must_keep_next=false # Got value, back to normal.
1391       else
1392         case $ac_arg in
1393           *=* | --config-cache | -C | -disable-* | --disable-* \
1394           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1395           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1396           | -with-* | --with-* | -without-* | --without-* | --x)
1397             case "$ac_configure_args0 " in
1398               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1399             esac
1400             ;;
1401           -* ) ac_must_keep_next=true ;;
1402         esac
1403       fi
1404       as_fn_append ac_configure_args " '$ac_arg'"
1405       ;;
1406     esac
1407   done
1408 done
1409 { ac_configure_args0=; unset ac_configure_args0;}
1410 { ac_configure_args1=; unset ac_configure_args1;}
1411
1412 # When interrupted or exit'd, cleanup temporary files, and complete
1413 # config.log.  We remove comments because anyway the quotes in there
1414 # would cause problems or look ugly.
1415 # WARNING: Use '\'' to represent an apostrophe within the trap.
1416 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1417 trap 'exit_status=$?
1418   # Save into config.log some information that might help in debugging.
1419   {
1420     echo
1421
1422     cat <<\_ASBOX
1423 ## ---------------- ##
1424 ## Cache variables. ##
1425 ## ---------------- ##
1426 _ASBOX
1427     echo
1428     # The following way of writing the cache mishandles newlines in values,
1429 (
1430   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1431     eval ac_val=\$$ac_var
1432     case $ac_val in #(
1433     *${as_nl}*)
1434       case $ac_var in #(
1435       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1436 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1437       esac
1438       case $ac_var in #(
1439       _ | IFS | as_nl) ;; #(
1440       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1441       *) { eval $ac_var=; unset $ac_var;} ;;
1442       esac ;;
1443     esac
1444   done
1445   (set) 2>&1 |
1446     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1447     *${as_nl}ac_space=\ *)
1448       sed -n \
1449         "s/'\''/'\''\\\\'\'''\''/g;
1450           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1451       ;; #(
1452     *)
1453       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1454       ;;
1455     esac |
1456     sort
1457 )
1458     echo
1459
1460     cat <<\_ASBOX
1461 ## ----------------- ##
1462 ## Output variables. ##
1463 ## ----------------- ##
1464 _ASBOX
1465     echo
1466     for ac_var in $ac_subst_vars
1467     do
1468       eval ac_val=\$$ac_var
1469       case $ac_val in
1470       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1471       esac
1472       $as_echo "$ac_var='\''$ac_val'\''"
1473     done | sort
1474     echo
1475
1476     if test -n "$ac_subst_files"; then
1477       cat <<\_ASBOX
1478 ## ------------------- ##
1479 ## File substitutions. ##
1480 ## ------------------- ##
1481 _ASBOX
1482       echo
1483       for ac_var in $ac_subst_files
1484       do
1485         eval ac_val=\$$ac_var
1486         case $ac_val in
1487         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488         esac
1489         $as_echo "$ac_var='\''$ac_val'\''"
1490       done | sort
1491       echo
1492     fi
1493
1494     if test -s confdefs.h; then
1495       cat <<\_ASBOX
1496 ## ----------- ##
1497 ## confdefs.h. ##
1498 ## ----------- ##
1499 _ASBOX
1500       echo
1501       cat confdefs.h
1502       echo
1503     fi
1504     test "$ac_signal" != 0 &&
1505       $as_echo "$as_me: caught signal $ac_signal"
1506     $as_echo "$as_me: exit $exit_status"
1507   } >&5
1508   rm -f core *.core core.conftest.* &&
1509     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1510     exit $exit_status
1511 ' 0
1512 for ac_signal in 1 2 13 15; do
1513   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1514 done
1515 ac_signal=0
1516
1517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1518 rm -f -r conftest* confdefs.h
1519
1520 $as_echo "/* confdefs.h */" > confdefs.h
1521
1522 # Predefined preprocessor variables.
1523
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_NAME "$PACKAGE_NAME"
1526 _ACEOF
1527
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1530 _ACEOF
1531
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1534 _ACEOF
1535
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_STRING "$PACKAGE_STRING"
1538 _ACEOF
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1542 _ACEOF
1543
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_URL "$PACKAGE_URL"
1546 _ACEOF
1547
1548
1549 # Let the site file select an alternate cache file if it wants to.
1550 # Prefer an explicitly selected file to automatically selected ones.
1551 ac_site_file1=NONE
1552 ac_site_file2=NONE
1553 if test -n "$CONFIG_SITE"; then
1554   ac_site_file1=$CONFIG_SITE
1555 elif test "x$prefix" != xNONE; then
1556   ac_site_file1=$prefix/share/config.site
1557   ac_site_file2=$prefix/etc/config.site
1558 else
1559   ac_site_file1=$ac_default_prefix/share/config.site
1560   ac_site_file2=$ac_default_prefix/etc/config.site
1561 fi
1562 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1563 do
1564   test "x$ac_site_file" = xNONE && continue
1565   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1566     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1567 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1568     sed 's/^/| /' "$ac_site_file" >&5
1569     . "$ac_site_file"
1570   fi
1571 done
1572
1573 if test -r "$cache_file"; then
1574   # Some versions of bash will fail to source /dev/null (special files
1575   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1576   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1577     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1578 $as_echo "$as_me: loading cache $cache_file" >&6;}
1579     case $cache_file in
1580       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1581       *)                      . "./$cache_file";;
1582     esac
1583   fi
1584 else
1585   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1586 $as_echo "$as_me: creating cache $cache_file" >&6;}
1587   >$cache_file
1588 fi
1589
1590 # Check that the precious variables saved in the cache have kept the same
1591 # value.
1592 ac_cache_corrupted=false
1593 for ac_var in $ac_precious_vars; do
1594   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1595   eval ac_new_set=\$ac_env_${ac_var}_set
1596   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1597   eval ac_new_val=\$ac_env_${ac_var}_value
1598   case $ac_old_set,$ac_new_set in
1599     set,)
1600       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1601 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1602       ac_cache_corrupted=: ;;
1603     ,set)
1604       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1605 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1606       ac_cache_corrupted=: ;;
1607     ,);;
1608     *)
1609       if test "x$ac_old_val" != "x$ac_new_val"; then
1610         # differences in whitespace do not lead to failure.
1611         ac_old_val_w=`echo x $ac_old_val`
1612         ac_new_val_w=`echo x $ac_new_val`
1613         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1614           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1615 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1616           ac_cache_corrupted=:
1617         else
1618           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1619 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1620           eval $ac_var=\$ac_old_val
1621         fi
1622         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1623 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1624         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1625 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1626       fi;;
1627   esac
1628   # Pass precious variables to config.status.
1629   if test "$ac_new_set" = set; then
1630     case $ac_new_val in
1631     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1632     *) ac_arg=$ac_var=$ac_new_val ;;
1633     esac
1634     case " $ac_configure_args " in
1635       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1636       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1637     esac
1638   fi
1639 done
1640 if $ac_cache_corrupted; then
1641   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1643   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1644 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1645   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1646 fi
1647 ## -------------------- ##
1648 ## Main body of script. ##
1649 ## -------------------- ##
1650
1651 ac_ext=c
1652 ac_cpp='$CPP $CPPFLAGS'
1653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1656
1657
1658
1659 ac_aux_dir=
1660 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1661   for ac_t in install-sh install.sh shtool; do
1662     if test -f "$ac_dir/$ac_t"; then
1663       ac_aux_dir=$ac_dir
1664       ac_install_sh="$ac_aux_dir/$ac_t -c"
1665       break 2
1666     fi
1667   done
1668 done
1669 if test -z "$ac_aux_dir"; then
1670   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1671 fi
1672
1673 # These three variables are undocumented and unsupported,
1674 # and are intended to be withdrawn in a future Autoconf release.
1675 # They can cause serious problems if a builder's source tree is in a directory
1676 # whose full name contains unusual characters.
1677 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1678 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1679 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1680
1681
1682 # Make sure we can run config.sub.
1683 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1684   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1685
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1687 $as_echo_n "checking build system type... " >&6; }
1688 if test "${ac_cv_build+set}" = set; then :
1689   $as_echo_n "(cached) " >&6
1690 else
1691   ac_build_alias=$build_alias
1692 test "x$ac_build_alias" = x &&
1693   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1694 test "x$ac_build_alias" = x &&
1695   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1696 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1697   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1698
1699 fi
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1701 $as_echo "$ac_cv_build" >&6; }
1702 case $ac_cv_build in
1703 *-*-*) ;;
1704 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1705 esac
1706 build=$ac_cv_build
1707 ac_save_IFS=$IFS; IFS='-'
1708 set x $ac_cv_build
1709 shift
1710 build_cpu=$1
1711 build_vendor=$2
1712 shift; shift
1713 # Remember, the first character of IFS is used to create $*,
1714 # except with old shells:
1715 build_os=$*
1716 IFS=$ac_save_IFS
1717 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1718
1719
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1721 $as_echo_n "checking host system type... " >&6; }
1722 if test "${ac_cv_host+set}" = set; then :
1723   $as_echo_n "(cached) " >&6
1724 else
1725   if test "x$host_alias" = x; then
1726   ac_cv_host=$ac_cv_build
1727 else
1728   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1729     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1730 fi
1731
1732 fi
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1734 $as_echo "$ac_cv_host" >&6; }
1735 case $ac_cv_host in
1736 *-*-*) ;;
1737 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1738 esac
1739 host=$ac_cv_host
1740 ac_save_IFS=$IFS; IFS='-'
1741 set x $ac_cv_host
1742 shift
1743 host_cpu=$1
1744 host_vendor=$2
1745 shift; shift
1746 # Remember, the first character of IFS is used to create $*,
1747 # except with old shells:
1748 host_os=$*
1749 IFS=$ac_save_IFS
1750 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1751
1752
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1754 $as_echo_n "checking target system type... " >&6; }
1755 if test "${ac_cv_target+set}" = set; then :
1756   $as_echo_n "(cached) " >&6
1757 else
1758   if test "x$target_alias" = x; then
1759   ac_cv_target=$ac_cv_host
1760 else
1761   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1762     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1763 fi
1764
1765 fi
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1767 $as_echo "$ac_cv_target" >&6; }
1768 case $ac_cv_target in
1769 *-*-*) ;;
1770 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1771 esac
1772 target=$ac_cv_target
1773 ac_save_IFS=$IFS; IFS='-'
1774 set x $ac_cv_target
1775 shift
1776 target_cpu=$1
1777 target_vendor=$2
1778 shift; shift
1779 # Remember, the first character of IFS is used to create $*,
1780 # except with old shells:
1781 target_os=$*
1782 IFS=$ac_save_IFS
1783 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1784
1785
1786 # The aliases save the names the user supplied, while $host etc.
1787 # will get canonicalized.
1788 test -n "$target_alias" &&
1789   test "$program_prefix$program_suffix$program_transform_name" = \
1790     NONENONEs,x,x, &&
1791   program_prefix=${target_alias}-
1792
1793 # Checks for programs.
1794 # AC_PROG_CC
1795 # AC_PROG_LIBTOOL
1796 #  AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
1797 #       /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
1798
1799
1800
1801 # Checks for header files.
1802
1803 # Checks for typedefs, structures, and compiler characteristics.
1804 #AC_C_CONST
1805 #AC_C_INLINE
1806
1807 # Checks for library functions.
1808 #AC_FUNC_ALLOCA
1809 #AC_FUNC_STRNLEN
1810
1811 #AC_CHECK_FUNCS(strnlen)
1812
1813 ac_config_files="$ac_config_files chise-setup-xfonts"
1814
1815 ac_config_files="$ac_config_files Makefile"
1816
1817 ac_config_files="$ac_config_files BDF/Makefile"
1818
1819 ac_config_files="$ac_config_files BDF/JISX0213/Makefile"
1820
1821 ac_config_files="$ac_config_files BDF/EGB/Makefile"
1822
1823 ac_config_files="$ac_config_files BDF/ETL-VN2/Makefile"
1824
1825 ac_config_files="$ac_config_files BDF/Thai-XTIS/Makefile"
1826
1827 ac_config_files="$ac_config_files BDF/Zinbun/Makefile"
1828
1829 ac_config_files="$ac_config_files BDF/CBETA/Makefile"
1830
1831 ac_config_files="$ac_config_files TrueType/Makefile"
1832
1833 ac_config_files="$ac_config_files TrueType/Arphic/Makefile"
1834
1835 ac_config_files="$ac_config_files TrueType/Zinbun/Makefile"
1836
1837 ac_config_files="$ac_config_files GT/Makefile"
1838
1839 cat >confcache <<\_ACEOF
1840 # This file is a shell script that caches the results of configure
1841 # tests run on this system so they can be shared between configure
1842 # scripts and configure runs, see configure's option --config-cache.
1843 # It is not useful on other systems.  If it contains results you don't
1844 # want to keep, you may remove or edit it.
1845 #
1846 # config.status only pays attention to the cache file if you give it
1847 # the --recheck option to rerun configure.
1848 #
1849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1851 # following values.
1852
1853 _ACEOF
1854
1855 # The following way of writing the cache mishandles newlines in values,
1856 # but we know of no workaround that is simple, portable, and efficient.
1857 # So, we kill variables containing newlines.
1858 # Ultrix sh set writes to stderr and can't be redirected directly,
1859 # and sets the high bit in the cache file unless we assign to the vars.
1860 (
1861   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1862     eval ac_val=\$$ac_var
1863     case $ac_val in #(
1864     *${as_nl}*)
1865       case $ac_var in #(
1866       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868       esac
1869       case $ac_var in #(
1870       _ | IFS | as_nl) ;; #(
1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872       *) { eval $ac_var=; unset $ac_var;} ;;
1873       esac ;;
1874     esac
1875   done
1876
1877   (set) 2>&1 |
1878     case $as_nl`(ac_space=' '; set) 2>&1` in #(
1879     *${as_nl}ac_space=\ *)
1880       # `set' does not quote correctly, so add quotes: double-quote
1881       # substitution turns \\\\ into \\, and sed turns \\ into \.
1882       sed -n \
1883         "s/'/'\\\\''/g;
1884           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1885       ;; #(
1886     *)
1887       # `set' quotes correctly as required by POSIX, so do not add quotes.
1888       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1889       ;;
1890     esac |
1891     sort
1892 ) |
1893   sed '
1894      /^ac_cv_env_/b end
1895      t clear
1896      :clear
1897      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1898      t end
1899      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1900      :end' >>confcache
1901 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1902   if test -w "$cache_file"; then
1903     test "x$cache_file" != "x/dev/null" &&
1904       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1905 $as_echo "$as_me: updating cache $cache_file" >&6;}
1906     cat confcache >$cache_file
1907   else
1908     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1909 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1910   fi
1911 fi
1912 rm -f confcache
1913
1914 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1915 # Let make expand exec_prefix.
1916 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1917
1918 # Transform confdefs.h into DEFS.
1919 # Protect against shell expansion while executing Makefile rules.
1920 # Protect against Makefile macro expansion.
1921 #
1922 # If the first sed substitution is executed (which looks for macros that
1923 # take arguments), then branch to the quote section.  Otherwise,
1924 # look for a macro that doesn't take arguments.
1925 ac_script='
1926 :mline
1927 /\\$/{
1928  N
1929  s,\\\n,,
1930  b mline
1931 }
1932 t clear
1933 :clear
1934 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1935 t quote
1936 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1937 t quote
1938 b any
1939 :quote
1940 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1941 s/\[/\\&/g
1942 s/\]/\\&/g
1943 s/\$/$$/g
1944 H
1945 :any
1946 ${
1947         g
1948         s/^\n//
1949         s/\n/ /g
1950         p
1951 }
1952 '
1953 DEFS=`sed -n "$ac_script" confdefs.h`
1954
1955
1956 ac_libobjs=
1957 ac_ltlibobjs=
1958 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1959   # 1. Remove the extension, and $U if already installed.
1960   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1961   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1962   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1963   #    will be set to the directory where LIBOBJS objects are built.
1964   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1965   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1966 done
1967 LIBOBJS=$ac_libobjs
1968
1969 LTLIBOBJS=$ac_ltlibobjs
1970
1971
1972
1973 : ${CONFIG_STATUS=./config.status}
1974 ac_write_fail=0
1975 ac_clean_files_save=$ac_clean_files
1976 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1978 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1979 as_write_fail=0
1980 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1981 #! $SHELL
1982 # Generated by $as_me.
1983 # Run this file to recreate the current configuration.
1984 # Compiler output produced by configure, useful for debugging
1985 # configure, is in config.log if it exists.
1986
1987 debug=false
1988 ac_cs_recheck=false
1989 ac_cs_silent=false
1990
1991 SHELL=\${CONFIG_SHELL-$SHELL}
1992 export SHELL
1993 _ASEOF
1994 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1995 ## -------------------- ##
1996 ## M4sh Initialization. ##
1997 ## -------------------- ##
1998
1999 # Be more Bourne compatible
2000 DUALCASE=1; export DUALCASE # for MKS sh
2001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2002   emulate sh
2003   NULLCMD=:
2004   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2005   # is contrary to our usage.  Disable this feature.
2006   alias -g '${1+"$@"}'='"$@"'
2007   setopt NO_GLOB_SUBST
2008 else
2009   case `(set -o) 2>/dev/null` in #(
2010   *posix*) :
2011     set -o posix ;; #(
2012   *) :
2013      ;;
2014 esac
2015 fi
2016
2017
2018 as_nl='
2019 '
2020 export as_nl
2021 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2022 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2024 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2025 # Prefer a ksh shell builtin over an external printf program on Solaris,
2026 # but without wasting forks for bash or zsh.
2027 if test -z "$BASH_VERSION$ZSH_VERSION" \
2028     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2029   as_echo='print -r --'
2030   as_echo_n='print -rn --'
2031 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2032   as_echo='printf %s\n'
2033   as_echo_n='printf %s'
2034 else
2035   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2036     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2037     as_echo_n='/usr/ucb/echo -n'
2038   else
2039     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2040     as_echo_n_body='eval
2041       arg=$1;
2042       case $arg in #(
2043       *"$as_nl"*)
2044         expr "X$arg" : "X\\(.*\\)$as_nl";
2045         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2046       esac;
2047       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2048     '
2049     export as_echo_n_body
2050     as_echo_n='sh -c $as_echo_n_body as_echo'
2051   fi
2052   export as_echo_body
2053   as_echo='sh -c $as_echo_body as_echo'
2054 fi
2055
2056 # The user is always right.
2057 if test "${PATH_SEPARATOR+set}" != set; then
2058   PATH_SEPARATOR=:
2059   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2060     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2061       PATH_SEPARATOR=';'
2062   }
2063 fi
2064
2065
2066 # IFS
2067 # We need space, tab and new line, in precisely that order.  Quoting is
2068 # there to prevent editors from complaining about space-tab.
2069 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2070 # splitting by setting IFS to empty value.)
2071 IFS=" ""        $as_nl"
2072
2073 # Find who we are.  Look in the path if we contain no directory separator.
2074 case $0 in #((
2075   *[\\/]* ) as_myself=$0 ;;
2076   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079   IFS=$as_save_IFS
2080   test -z "$as_dir" && as_dir=.
2081     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2082   done
2083 IFS=$as_save_IFS
2084
2085      ;;
2086 esac
2087 # We did not find ourselves, most probably we were run as `sh COMMAND'
2088 # in which case we are not to be found in the path.
2089 if test "x$as_myself" = x; then
2090   as_myself=$0
2091 fi
2092 if test ! -f "$as_myself"; then
2093   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2094   exit 1
2095 fi
2096
2097 # Unset variables that we do not need and which cause bugs (e.g. in
2098 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2099 # suppresses any "Segmentation fault" message there.  '((' could
2100 # trigger a bug in pdksh 5.2.14.
2101 for as_var in BASH_ENV ENV MAIL MAILPATH
2102 do eval test x\${$as_var+set} = xset \
2103   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2104 done
2105 PS1='$ '
2106 PS2='> '
2107 PS4='+ '
2108
2109 # NLS nuisances.
2110 LC_ALL=C
2111 export LC_ALL
2112 LANGUAGE=C
2113 export LANGUAGE
2114
2115 # CDPATH.
2116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2117
2118
2119 # as_fn_error ERROR [LINENO LOG_FD]
2120 # ---------------------------------
2121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2123 # script with status $?, using 1 if that was 0.
2124 as_fn_error ()
2125 {
2126   as_status=$?; test $as_status -eq 0 && as_status=1
2127   if test "$3"; then
2128     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2129     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2130   fi
2131   $as_echo "$as_me: error: $1" >&2
2132   as_fn_exit $as_status
2133 } # as_fn_error
2134
2135
2136 # as_fn_set_status STATUS
2137 # -----------------------
2138 # Set $? to STATUS, without forking.
2139 as_fn_set_status ()
2140 {
2141   return $1
2142 } # as_fn_set_status
2143
2144 # as_fn_exit STATUS
2145 # -----------------
2146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2147 as_fn_exit ()
2148 {
2149   set +e
2150   as_fn_set_status $1
2151   exit $1
2152 } # as_fn_exit
2153
2154 # as_fn_unset VAR
2155 # ---------------
2156 # Portably unset VAR.
2157 as_fn_unset ()
2158 {
2159   { eval $1=; unset $1;}
2160 }
2161 as_unset=as_fn_unset
2162 # as_fn_append VAR VALUE
2163 # ----------------------
2164 # Append the text in VALUE to the end of the definition contained in VAR. Take
2165 # advantage of any shell optimizations that allow amortized linear growth over
2166 # repeated appends, instead of the typical quadratic growth present in naive
2167 # implementations.
2168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2169   eval 'as_fn_append ()
2170   {
2171     eval $1+=\$2
2172   }'
2173 else
2174   as_fn_append ()
2175   {
2176     eval $1=\$$1\$2
2177   }
2178 fi # as_fn_append
2179
2180 # as_fn_arith ARG...
2181 # ------------------
2182 # Perform arithmetic evaluation on the ARGs, and store the result in the
2183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2184 # must be portable across $(()) and expr.
2185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2186   eval 'as_fn_arith ()
2187   {
2188     as_val=$(( $* ))
2189   }'
2190 else
2191   as_fn_arith ()
2192   {
2193     as_val=`expr "$@" || test $? -eq 1`
2194   }
2195 fi # as_fn_arith
2196
2197
2198 if expr a : '\(a\)' >/dev/null 2>&1 &&
2199    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2200   as_expr=expr
2201 else
2202   as_expr=false
2203 fi
2204
2205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2206   as_basename=basename
2207 else
2208   as_basename=false
2209 fi
2210
2211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2212   as_dirname=dirname
2213 else
2214   as_dirname=false
2215 fi
2216
2217 as_me=`$as_basename -- "$0" ||
2218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2219          X"$0" : 'X\(//\)$' \| \
2220          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2221 $as_echo X/"$0" |
2222     sed '/^.*\/\([^/][^/]*\)\/*$/{
2223             s//\1/
2224             q
2225           }
2226           /^X\/\(\/\/\)$/{
2227             s//\1/
2228             q
2229           }
2230           /^X\/\(\/\).*/{
2231             s//\1/
2232             q
2233           }
2234           s/.*/./; q'`
2235
2236 # Avoid depending upon Character Ranges.
2237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2240 as_cr_digits='0123456789'
2241 as_cr_alnum=$as_cr_Letters$as_cr_digits
2242
2243 ECHO_C= ECHO_N= ECHO_T=
2244 case `echo -n x` in #(((((
2245 -n*)
2246   case `echo 'xy\c'` in
2247   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2248   xy)  ECHO_C='\c';;
2249   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2250        ECHO_T=' ';;
2251   esac;;
2252 *)
2253   ECHO_N='-n';;
2254 esac
2255
2256 rm -f conf$$ conf$$.exe conf$$.file
2257 if test -d conf$$.dir; then
2258   rm -f conf$$.dir/conf$$.file
2259 else
2260   rm -f conf$$.dir
2261   mkdir conf$$.dir 2>/dev/null
2262 fi
2263 if (echo >conf$$.file) 2>/dev/null; then
2264   if ln -s conf$$.file conf$$ 2>/dev/null; then
2265     as_ln_s='ln -s'
2266     # ... but there are two gotchas:
2267     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2268     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2269     # In both cases, we have to default to `cp -p'.
2270     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2271       as_ln_s='cp -p'
2272   elif ln conf$$.file conf$$ 2>/dev/null; then
2273     as_ln_s=ln
2274   else
2275     as_ln_s='cp -p'
2276   fi
2277 else
2278   as_ln_s='cp -p'
2279 fi
2280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2281 rmdir conf$$.dir 2>/dev/null
2282
2283
2284 # as_fn_mkdir_p
2285 # -------------
2286 # Create "$as_dir" as a directory, including parents if necessary.
2287 as_fn_mkdir_p ()
2288 {
2289
2290   case $as_dir in #(
2291   -*) as_dir=./$as_dir;;
2292   esac
2293   test -d "$as_dir" || eval $as_mkdir_p || {
2294     as_dirs=
2295     while :; do
2296       case $as_dir in #(
2297       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2298       *) as_qdir=$as_dir;;
2299       esac
2300       as_dirs="'$as_qdir' $as_dirs"
2301       as_dir=`$as_dirname -- "$as_dir" ||
2302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2303          X"$as_dir" : 'X\(//\)[^/]' \| \
2304          X"$as_dir" : 'X\(//\)$' \| \
2305          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2306 $as_echo X"$as_dir" |
2307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2308             s//\1/
2309             q
2310           }
2311           /^X\(\/\/\)[^/].*/{
2312             s//\1/
2313             q
2314           }
2315           /^X\(\/\/\)$/{
2316             s//\1/
2317             q
2318           }
2319           /^X\(\/\).*/{
2320             s//\1/
2321             q
2322           }
2323           s/.*/./; q'`
2324       test -d "$as_dir" && break
2325     done
2326     test -z "$as_dirs" || eval "mkdir $as_dirs"
2327   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2328
2329
2330 } # as_fn_mkdir_p
2331 if mkdir -p . 2>/dev/null; then
2332   as_mkdir_p='mkdir -p "$as_dir"'
2333 else
2334   test -d ./-p && rmdir ./-p
2335   as_mkdir_p=false
2336 fi
2337
2338 if test -x / >/dev/null 2>&1; then
2339   as_test_x='test -x'
2340 else
2341   if ls -dL / >/dev/null 2>&1; then
2342     as_ls_L_option=L
2343   else
2344     as_ls_L_option=
2345   fi
2346   as_test_x='
2347     eval sh -c '\''
2348       if test -d "$1"; then
2349         test -d "$1/.";
2350       else
2351         case $1 in #(
2352         -*)set "./$1";;
2353         esac;
2354         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2355         ???[sx]*):;;*)false;;esac;fi
2356     '\'' sh
2357   '
2358 fi
2359 as_executable_p=$as_test_x
2360
2361 # Sed expression to map a string onto a valid CPP name.
2362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2363
2364 # Sed expression to map a string onto a valid variable name.
2365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2366
2367
2368 exec 6>&1
2369 ## ----------------------------------- ##
2370 ## Main body of $CONFIG_STATUS script. ##
2371 ## ----------------------------------- ##
2372 _ASEOF
2373 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2374
2375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2376 # Save the log message, to keep $0 and so on meaningful, and to
2377 # report actual input values of CONFIG_FILES etc. instead of their
2378 # values after options handling.
2379 ac_log="
2380 This file was extended by chise-fonts-installer $as_me 0.2, which was
2381 generated by GNU Autoconf 2.65.  Invocation command line was
2382
2383   CONFIG_FILES    = $CONFIG_FILES
2384   CONFIG_HEADERS  = $CONFIG_HEADERS
2385   CONFIG_LINKS    = $CONFIG_LINKS
2386   CONFIG_COMMANDS = $CONFIG_COMMANDS
2387   $ $0 $@
2388
2389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2390 "
2391
2392 _ACEOF
2393
2394 case $ac_config_files in *"
2395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2396 esac
2397
2398
2399
2400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2401 # Files that config.status was made for.
2402 config_files="$ac_config_files"
2403
2404 _ACEOF
2405
2406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2407 ac_cs_usage="\
2408 \`$as_me' instantiates files and other configuration actions
2409 from templates according to the current configuration.  Unless the files
2410 and actions are specified as TAGs, all are instantiated by default.
2411
2412 Usage: $0 [OPTION]... [TAG]...
2413
2414   -h, --help       print this help, then exit
2415   -V, --version    print version number and configuration settings, then exit
2416       --config     print configuration, then exit
2417   -q, --quiet, --silent
2418                    do not print progress messages
2419   -d, --debug      don't remove temporary files
2420       --recheck    update $as_me by reconfiguring in the same conditions
2421       --file=FILE[:TEMPLATE]
2422                    instantiate the configuration file FILE
2423
2424 Configuration files:
2425 $config_files
2426
2427 Report bugs to <chise-en@m17n.org>."
2428
2429 _ACEOF
2430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2431 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2432 ac_cs_version="\\
2433 chise-fonts-installer config.status 0.2
2434 configured by $0, generated by GNU Autoconf 2.65,
2435   with options \\"\$ac_cs_config\\"
2436
2437 Copyright (C) 2009 Free Software Foundation, Inc.
2438 This config.status script is free software; the Free Software Foundation
2439 gives unlimited permission to copy, distribute and modify it."
2440
2441 ac_pwd='$ac_pwd'
2442 srcdir='$srcdir'
2443 test -n "\$AWK" || AWK=awk
2444 _ACEOF
2445
2446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2447 # The default lists apply if the user does not specify any file.
2448 ac_need_defaults=:
2449 while test $# != 0
2450 do
2451   case $1 in
2452   --*=*)
2453     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2454     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2455     ac_shift=:
2456     ;;
2457   *)
2458     ac_option=$1
2459     ac_optarg=$2
2460     ac_shift=shift
2461     ;;
2462   esac
2463
2464   case $ac_option in
2465   # Handling of the options.
2466   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2467     ac_cs_recheck=: ;;
2468   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2469     $as_echo "$ac_cs_version"; exit ;;
2470   --config | --confi | --conf | --con | --co | --c )
2471     $as_echo "$ac_cs_config"; exit ;;
2472   --debug | --debu | --deb | --de | --d | -d )
2473     debug=: ;;
2474   --file | --fil | --fi | --f )
2475     $ac_shift
2476     case $ac_optarg in
2477     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2478     esac
2479     as_fn_append CONFIG_FILES " '$ac_optarg'"
2480     ac_need_defaults=false;;
2481   --he | --h |  --help | --hel | -h )
2482     $as_echo "$ac_cs_usage"; exit ;;
2483   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2484   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2485     ac_cs_silent=: ;;
2486
2487   # This is an error.
2488   -*) as_fn_error "unrecognized option: \`$1'
2489 Try \`$0 --help' for more information." ;;
2490
2491   *) as_fn_append ac_config_targets " $1"
2492      ac_need_defaults=false ;;
2493
2494   esac
2495   shift
2496 done
2497
2498 ac_configure_extra_args=
2499
2500 if $ac_cs_silent; then
2501   exec 6>/dev/null
2502   ac_configure_extra_args="$ac_configure_extra_args --silent"
2503 fi
2504
2505 _ACEOF
2506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2507 if \$ac_cs_recheck; then
2508   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2509   shift
2510   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2511   CONFIG_SHELL='$SHELL'
2512   export CONFIG_SHELL
2513   exec "\$@"
2514 fi
2515
2516 _ACEOF
2517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2518 exec 5>>config.log
2519 {
2520   echo
2521   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2522 ## Running $as_me. ##
2523 _ASBOX
2524   $as_echo "$ac_log"
2525 } >&5
2526
2527 _ACEOF
2528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2529 _ACEOF
2530
2531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2532
2533 # Handling of arguments.
2534 for ac_config_target in $ac_config_targets
2535 do
2536   case $ac_config_target in
2537     "chise-setup-xfonts") CONFIG_FILES="$CONFIG_FILES chise-setup-xfonts" ;;
2538     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2539     "BDF/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Makefile" ;;
2540     "BDF/JISX0213/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/JISX0213/Makefile" ;;
2541     "BDF/EGB/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/EGB/Makefile" ;;
2542     "BDF/ETL-VN2/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/ETL-VN2/Makefile" ;;
2543     "BDF/Thai-XTIS/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Thai-XTIS/Makefile" ;;
2544     "BDF/Zinbun/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Zinbun/Makefile" ;;
2545     "BDF/CBETA/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/CBETA/Makefile" ;;
2546     "TrueType/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Makefile" ;;
2547     "TrueType/Arphic/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Arphic/Makefile" ;;
2548     "TrueType/Zinbun/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Zinbun/Makefile" ;;
2549     "GT/Makefile") CONFIG_FILES="$CONFIG_FILES GT/Makefile" ;;
2550
2551   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2552   esac
2553 done
2554
2555
2556 # If the user did not use the arguments to specify the items to instantiate,
2557 # then the envvar interface is used.  Set only those that are not.
2558 # We use the long form for the default assignment because of an extremely
2559 # bizarre bug on SunOS 4.1.3.
2560 if $ac_need_defaults; then
2561   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2562 fi
2563
2564 # Have a temporary directory for convenience.  Make it in the build tree
2565 # simply because there is no reason against having it here, and in addition,
2566 # creating and moving files from /tmp can sometimes cause problems.
2567 # Hook for its removal unless debugging.
2568 # Note that there is a small window in which the directory will not be cleaned:
2569 # after its creation but before its name has been assigned to `$tmp'.
2570 $debug ||
2571 {
2572   tmp=
2573   trap 'exit_status=$?
2574   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2575 ' 0
2576   trap 'as_fn_exit 1' 1 2 13 15
2577 }
2578 # Create a (secure) tmp directory for tmp files.
2579
2580 {
2581   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2582   test -n "$tmp" && test -d "$tmp"
2583 }  ||
2584 {
2585   tmp=./conf$$-$RANDOM
2586   (umask 077 && mkdir "$tmp")
2587 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2588
2589 # Set up the scripts for CONFIG_FILES section.
2590 # No need to generate them if there are no CONFIG_FILES.
2591 # This happens for instance with `./config.status config.h'.
2592 if test -n "$CONFIG_FILES"; then
2593
2594
2595 ac_cr=`echo X | tr X '\015'`
2596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2597 # But we know of no other shell where ac_cr would be empty at this
2598 # point, so we can use a bashism as a fallback.
2599 if test "x$ac_cr" = x; then
2600   eval ac_cr=\$\'\\r\'
2601 fi
2602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2604   ac_cs_awk_cr='\r'
2605 else
2606   ac_cs_awk_cr=$ac_cr
2607 fi
2608
2609 echo 'BEGIN {' >"$tmp/subs1.awk" &&
2610 _ACEOF
2611
2612
2613 {
2614   echo "cat >conf$$subs.awk <<_ACEOF" &&
2615   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2616   echo "_ACEOF"
2617 } >conf$$subs.sh ||
2618   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2620 ac_delim='%!_!# '
2621 for ac_last_try in false false false false false :; do
2622   . ./conf$$subs.sh ||
2623     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2624
2625   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2626   if test $ac_delim_n = $ac_delim_num; then
2627     break
2628   elif $ac_last_try; then
2629     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2630   else
2631     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2632   fi
2633 done
2634 rm -f conf$$subs.sh
2635
2636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2637 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2638 _ACEOF
2639 sed -n '
2640 h
2641 s/^/S["/; s/!.*/"]=/
2642 p
2643 g
2644 s/^[^!]*!//
2645 :repl
2646 t repl
2647 s/'"$ac_delim"'$//
2648 t delim
2649 :nl
2650 h
2651 s/\(.\{148\}\)..*/\1/
2652 t more1
2653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2654 p
2655 n
2656 b repl
2657 :more1
2658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2659 p
2660 g
2661 s/.\{148\}//
2662 t nl
2663 :delim
2664 h
2665 s/\(.\{148\}\)..*/\1/
2666 t more2
2667 s/["\\]/\\&/g; s/^/"/; s/$/"/
2668 p
2669 b
2670 :more2
2671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2672 p
2673 g
2674 s/.\{148\}//
2675 t delim
2676 ' <conf$$subs.awk | sed '
2677 /^[^""]/{
2678   N
2679   s/\n//
2680 }
2681 ' >>$CONFIG_STATUS || ac_write_fail=1
2682 rm -f conf$$subs.awk
2683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2684 _ACAWK
2685 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2686   for (key in S) S_is_set[key] = 1
2687   FS = "\a"
2688
2689 }
2690 {
2691   line = $ 0
2692   nfields = split(line, field, "@")
2693   substed = 0
2694   len = length(field[1])
2695   for (i = 2; i < nfields; i++) {
2696     key = field[i]
2697     keylen = length(key)
2698     if (S_is_set[key]) {
2699       value = S[key]
2700       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2701       len += length(value) + length(field[++i])
2702       substed = 1
2703     } else
2704       len += 1 + keylen
2705   }
2706
2707   print line
2708 }
2709
2710 _ACAWK
2711 _ACEOF
2712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2713 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2714   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2715 else
2716   cat
2717 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2718   || as_fn_error "could not setup config files machinery" "$LINENO" 5
2719 _ACEOF
2720
2721 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2722 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2723 # trailing colons and then remove the whole line if VPATH becomes empty
2724 # (actually we leave an empty line to preserve line numbers).
2725 if test "x$srcdir" = x.; then
2726   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2727 s/:*\$(srcdir):*/:/
2728 s/:*\${srcdir}:*/:/
2729 s/:*@srcdir@:*/:/
2730 s/^\([^=]*=[     ]*\):*/\1/
2731 s/:*$//
2732 s/^[^=]*=[       ]*$//
2733 }'
2734 fi
2735
2736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2737 fi # test -n "$CONFIG_FILES"
2738
2739
2740 eval set X "  :F $CONFIG_FILES      "
2741 shift
2742 for ac_tag
2743 do
2744   case $ac_tag in
2745   :[FHLC]) ac_mode=$ac_tag; continue;;
2746   esac
2747   case $ac_mode$ac_tag in
2748   :[FHL]*:*);;
2749   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2750   :[FH]-) ac_tag=-:-;;
2751   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2752   esac
2753   ac_save_IFS=$IFS
2754   IFS=:
2755   set x $ac_tag
2756   IFS=$ac_save_IFS
2757   shift
2758   ac_file=$1
2759   shift
2760
2761   case $ac_mode in
2762   :L) ac_source=$1;;
2763   :[FH])
2764     ac_file_inputs=
2765     for ac_f
2766     do
2767       case $ac_f in
2768       -) ac_f="$tmp/stdin";;
2769       *) # Look for the file first in the build tree, then in the source tree
2770          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2771          # because $ac_f cannot contain `:'.
2772          test -f "$ac_f" ||
2773            case $ac_f in
2774            [\\/$]*) false;;
2775            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2776            esac ||
2777            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2778       esac
2779       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2780       as_fn_append ac_file_inputs " '$ac_f'"
2781     done
2782
2783     # Let's still pretend it is `configure' which instantiates (i.e., don't
2784     # use $as_me), people would be surprised to read:
2785     #    /* config.h.  Generated by config.status.  */
2786     configure_input='Generated from '`
2787           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2788         `' by configure.'
2789     if test x"$ac_file" != x-; then
2790       configure_input="$ac_file.  $configure_input"
2791       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2792 $as_echo "$as_me: creating $ac_file" >&6;}
2793     fi
2794     # Neutralize special characters interpreted by sed in replacement strings.
2795     case $configure_input in #(
2796     *\&* | *\|* | *\\* )
2797        ac_sed_conf_input=`$as_echo "$configure_input" |
2798        sed 's/[\\\\&|]/\\\\&/g'`;; #(
2799     *) ac_sed_conf_input=$configure_input;;
2800     esac
2801
2802     case $ac_tag in
2803     *:-:* | *:-) cat >"$tmp/stdin" \
2804       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2805     esac
2806     ;;
2807   esac
2808
2809   ac_dir=`$as_dirname -- "$ac_file" ||
2810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2811          X"$ac_file" : 'X\(//\)[^/]' \| \
2812          X"$ac_file" : 'X\(//\)$' \| \
2813          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2814 $as_echo X"$ac_file" |
2815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2816             s//\1/
2817             q
2818           }
2819           /^X\(\/\/\)[^/].*/{
2820             s//\1/
2821             q
2822           }
2823           /^X\(\/\/\)$/{
2824             s//\1/
2825             q
2826           }
2827           /^X\(\/\).*/{
2828             s//\1/
2829             q
2830           }
2831           s/.*/./; q'`
2832   as_dir="$ac_dir"; as_fn_mkdir_p
2833   ac_builddir=.
2834
2835 case "$ac_dir" in
2836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2837 *)
2838   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2839   # A ".." for each directory in $ac_dir_suffix.
2840   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2841   case $ac_top_builddir_sub in
2842   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2843   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2844   esac ;;
2845 esac
2846 ac_abs_top_builddir=$ac_pwd
2847 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2848 # for backward compatibility:
2849 ac_top_builddir=$ac_top_build_prefix
2850
2851 case $srcdir in
2852   .)  # We are building in place.
2853     ac_srcdir=.
2854     ac_top_srcdir=$ac_top_builddir_sub
2855     ac_abs_top_srcdir=$ac_pwd ;;
2856   [\\/]* | ?:[\\/]* )  # Absolute name.
2857     ac_srcdir=$srcdir$ac_dir_suffix;
2858     ac_top_srcdir=$srcdir
2859     ac_abs_top_srcdir=$srcdir ;;
2860   *) # Relative name.
2861     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2862     ac_top_srcdir=$ac_top_build_prefix$srcdir
2863     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2864 esac
2865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2866
2867
2868   case $ac_mode in
2869   :F)
2870   #
2871   # CONFIG_FILE
2872   #
2873
2874 _ACEOF
2875
2876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2877 # If the template does not know about datarootdir, expand it.
2878 # FIXME: This hack should be removed a few years after 2.60.
2879 ac_datarootdir_hack=; ac_datarootdir_seen=
2880 ac_sed_dataroot='
2881 /datarootdir/ {
2882   p
2883   q
2884 }
2885 /@datadir@/p
2886 /@docdir@/p
2887 /@infodir@/p
2888 /@localedir@/p
2889 /@mandir@/p'
2890 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2891 *datarootdir*) ac_datarootdir_seen=yes;;
2892 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2893   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2894 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2895 _ACEOF
2896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2897   ac_datarootdir_hack='
2898   s&@datadir@&$datadir&g
2899   s&@docdir@&$docdir&g
2900   s&@infodir@&$infodir&g
2901   s&@localedir@&$localedir&g
2902   s&@mandir@&$mandir&g
2903   s&\\\${datarootdir}&$datarootdir&g' ;;
2904 esac
2905 _ACEOF
2906
2907 # Neutralize VPATH when `$srcdir' = `.'.
2908 # Shell code in configure.ac might set extrasub.
2909 # FIXME: do we really want to maintain this feature?
2910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2911 ac_sed_extra="$ac_vpsub
2912 $extrasub
2913 _ACEOF
2914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2915 :t
2916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2917 s|@configure_input@|$ac_sed_conf_input|;t t
2918 s&@top_builddir@&$ac_top_builddir_sub&;t t
2919 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2920 s&@srcdir@&$ac_srcdir&;t t
2921 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2922 s&@top_srcdir@&$ac_top_srcdir&;t t
2923 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2924 s&@builddir@&$ac_builddir&;t t
2925 s&@abs_builddir@&$ac_abs_builddir&;t t
2926 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2927 $ac_datarootdir_hack
2928 "
2929 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2930   || as_fn_error "could not create $ac_file" "$LINENO" 5
2931
2932 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2933   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2934   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2935   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2936 which seems to be undefined.  Please make sure it is defined." >&5
2937 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2938 which seems to be undefined.  Please make sure it is defined." >&2;}
2939
2940   rm -f "$tmp/stdin"
2941   case $ac_file in
2942   -) cat "$tmp/out" && rm -f "$tmp/out";;
2943   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2944   esac \
2945   || as_fn_error "could not create $ac_file" "$LINENO" 5
2946  ;;
2947
2948
2949
2950   esac
2951
2952 done # for ac_tag
2953
2954
2955 as_fn_exit 0
2956 _ACEOF
2957 ac_clean_files=$ac_clean_files_save
2958
2959 test $ac_write_fail = 0 ||
2960   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2961
2962
2963 # configure is writing to config.log, and then calls config.status.
2964 # config.status does its own redirection, appending to config.log.
2965 # Unfortunately, on DOS this fails, as config.log is still kept open
2966 # by configure, so config.status won't be able to write to it; its
2967 # output is simply discarded.  So we exec the FD to /dev/null,
2968 # effectively closing config.log, so it can be properly (re)opened and
2969 # appended to by config.status.  When coming back to configure, we
2970 # need to make the FD available again.
2971 if test "$no_create" != yes; then
2972   ac_cs_success=:
2973   ac_config_status_args=
2974   test "$silent" = yes &&
2975     ac_config_status_args="$ac_config_status_args --quiet"
2976   exec 5>/dev/null
2977   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2978   exec 5>>config.log
2979   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2980   # would make configure fail if this is the last instruction.
2981   $ac_cs_success || as_fn_exit $?
2982 fi
2983 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2985 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2986 fi
2987