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