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