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