(all): Add `build-HNG'.
[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/MJ/Makefile"
1866
1867 ac_config_files="$ac_config_files BDF/CBETA/Makefile"
1868
1869 ac_config_files="$ac_config_files TrueType/Makefile"
1870
1871 ac_config_files="$ac_config_files TrueType/Hanazono/Makefile"
1872
1873 ac_config_files="$ac_config_files TrueType/Arphic/Makefile"
1874
1875 ac_config_files="$ac_config_files TrueType/Zinbun/Makefile"
1876
1877 ac_config_files="$ac_config_files TrueType/GT/Makefile"
1878
1879 cat >confcache <<\_ACEOF
1880 # This file is a shell script that caches the results of configure
1881 # tests run on this system so they can be shared between configure
1882 # scripts and configure runs, see configure's option --config-cache.
1883 # It is not useful on other systems.  If it contains results you don't
1884 # want to keep, you may remove or edit it.
1885 #
1886 # config.status only pays attention to the cache file if you give it
1887 # the --recheck option to rerun configure.
1888 #
1889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1891 # following values.
1892
1893 _ACEOF
1894
1895 # The following way of writing the cache mishandles newlines in values,
1896 # but we know of no workaround that is simple, portable, and efficient.
1897 # So, we kill variables containing newlines.
1898 # Ultrix sh set writes to stderr and can't be redirected directly,
1899 # and sets the high bit in the cache file unless we assign to the vars.
1900 (
1901   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1902     eval ac_val=\$$ac_var
1903     case $ac_val in #(
1904     *${as_nl}*)
1905       case $ac_var in #(
1906       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1907 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1908       esac
1909       case $ac_var in #(
1910       _ | IFS | as_nl) ;; #(
1911       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1912       *) { eval $ac_var=; unset $ac_var;} ;;
1913       esac ;;
1914     esac
1915   done
1916
1917   (set) 2>&1 |
1918     case $as_nl`(ac_space=' '; set) 2>&1` in #(
1919     *${as_nl}ac_space=\ *)
1920       # `set' does not quote correctly, so add quotes: double-quote
1921       # substitution turns \\\\ into \\, and sed turns \\ into \.
1922       sed -n \
1923         "s/'/'\\\\''/g;
1924           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1925       ;; #(
1926     *)
1927       # `set' quotes correctly as required by POSIX, so do not add quotes.
1928       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1929       ;;
1930     esac |
1931     sort
1932 ) |
1933   sed '
1934      /^ac_cv_env_/b end
1935      t clear
1936      :clear
1937      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1938      t end
1939      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1940      :end' >>confcache
1941 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1942   if test -w "$cache_file"; then
1943     if test "x$cache_file" != "x/dev/null"; then
1944       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1945 $as_echo "$as_me: updating cache $cache_file" >&6;}
1946       if test ! -f "$cache_file" || test -h "$cache_file"; then
1947         cat confcache >"$cache_file"
1948       else
1949         case $cache_file in #(
1950         */* | ?:*)
1951           mv -f confcache "$cache_file"$$ &&
1952           mv -f "$cache_file"$$ "$cache_file" ;; #(
1953         *)
1954           mv -f confcache "$cache_file" ;;
1955         esac
1956       fi
1957     fi
1958   else
1959     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1961   fi
1962 fi
1963 rm -f confcache
1964
1965 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1966 # Let make expand exec_prefix.
1967 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1968
1969 # Transform confdefs.h into DEFS.
1970 # Protect against shell expansion while executing Makefile rules.
1971 # Protect against Makefile macro expansion.
1972 #
1973 # If the first sed substitution is executed (which looks for macros that
1974 # take arguments), then branch to the quote section.  Otherwise,
1975 # look for a macro that doesn't take arguments.
1976 ac_script='
1977 :mline
1978 /\\$/{
1979  N
1980  s,\\\n,,
1981  b mline
1982 }
1983 t clear
1984 :clear
1985 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1986 t quote
1987 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1988 t quote
1989 b any
1990 :quote
1991 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1992 s/\[/\\&/g
1993 s/\]/\\&/g
1994 s/\$/$$/g
1995 H
1996 :any
1997 ${
1998         g
1999         s/^\n//
2000         s/\n/ /g
2001         p
2002 }
2003 '
2004 DEFS=`sed -n "$ac_script" confdefs.h`
2005
2006
2007 ac_libobjs=
2008 ac_ltlibobjs=
2009 U=
2010 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2011   # 1. Remove the extension, and $U if already installed.
2012   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2013   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2014   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2015   #    will be set to the directory where LIBOBJS objects are built.
2016   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2017   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2018 done
2019 LIBOBJS=$ac_libobjs
2020
2021 LTLIBOBJS=$ac_ltlibobjs
2022
2023
2024
2025 : "${CONFIG_STATUS=./config.status}"
2026 ac_write_fail=0
2027 ac_clean_files_save=$ac_clean_files
2028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2030 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2031 as_write_fail=0
2032 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2033 #! $SHELL
2034 # Generated by $as_me.
2035 # Run this file to recreate the current configuration.
2036 # Compiler output produced by configure, useful for debugging
2037 # configure, is in config.log if it exists.
2038
2039 debug=false
2040 ac_cs_recheck=false
2041 ac_cs_silent=false
2042
2043 SHELL=\${CONFIG_SHELL-$SHELL}
2044 export SHELL
2045 _ASEOF
2046 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2047 ## -------------------- ##
2048 ## M4sh Initialization. ##
2049 ## -------------------- ##
2050
2051 # Be more Bourne compatible
2052 DUALCASE=1; export DUALCASE # for MKS sh
2053 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2054   emulate sh
2055   NULLCMD=:
2056   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2057   # is contrary to our usage.  Disable this feature.
2058   alias -g '${1+"$@"}'='"$@"'
2059   setopt NO_GLOB_SUBST
2060 else
2061   case `(set -o) 2>/dev/null` in #(
2062   *posix*) :
2063     set -o posix ;; #(
2064   *) :
2065      ;;
2066 esac
2067 fi
2068
2069
2070 as_nl='
2071 '
2072 export as_nl
2073 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2074 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2075 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2076 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2077 # Prefer a ksh shell builtin over an external printf program on Solaris,
2078 # but without wasting forks for bash or zsh.
2079 if test -z "$BASH_VERSION$ZSH_VERSION" \
2080     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2081   as_echo='print -r --'
2082   as_echo_n='print -rn --'
2083 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2084   as_echo='printf %s\n'
2085   as_echo_n='printf %s'
2086 else
2087   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2088     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2089     as_echo_n='/usr/ucb/echo -n'
2090   else
2091     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2092     as_echo_n_body='eval
2093       arg=$1;
2094       case $arg in #(
2095       *"$as_nl"*)
2096         expr "X$arg" : "X\\(.*\\)$as_nl";
2097         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2098       esac;
2099       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2100     '
2101     export as_echo_n_body
2102     as_echo_n='sh -c $as_echo_n_body as_echo'
2103   fi
2104   export as_echo_body
2105   as_echo='sh -c $as_echo_body as_echo'
2106 fi
2107
2108 # The user is always right.
2109 if test "${PATH_SEPARATOR+set}" != set; then
2110   PATH_SEPARATOR=:
2111   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2112     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2113       PATH_SEPARATOR=';'
2114   }
2115 fi
2116
2117
2118 # IFS
2119 # We need space, tab and new line, in precisely that order.  Quoting is
2120 # there to prevent editors from complaining about space-tab.
2121 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2122 # splitting by setting IFS to empty value.)
2123 IFS=" ""        $as_nl"
2124
2125 # Find who we are.  Look in the path if we contain no directory separator.
2126 as_myself=
2127 case $0 in #((
2128   *[\\/]* ) as_myself=$0 ;;
2129   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 for as_dir in $PATH
2131 do
2132   IFS=$as_save_IFS
2133   test -z "$as_dir" && as_dir=.
2134     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2135   done
2136 IFS=$as_save_IFS
2137
2138      ;;
2139 esac
2140 # We did not find ourselves, most probably we were run as `sh COMMAND'
2141 # in which case we are not to be found in the path.
2142 if test "x$as_myself" = x; then
2143   as_myself=$0
2144 fi
2145 if test ! -f "$as_myself"; then
2146   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2147   exit 1
2148 fi
2149
2150 # Unset variables that we do not need and which cause bugs (e.g. in
2151 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2152 # suppresses any "Segmentation fault" message there.  '((' could
2153 # trigger a bug in pdksh 5.2.14.
2154 for as_var in BASH_ENV ENV MAIL MAILPATH
2155 do eval test x\${$as_var+set} = xset \
2156   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2157 done
2158 PS1='$ '
2159 PS2='> '
2160 PS4='+ '
2161
2162 # NLS nuisances.
2163 LC_ALL=C
2164 export LC_ALL
2165 LANGUAGE=C
2166 export LANGUAGE
2167
2168 # CDPATH.
2169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2170
2171
2172 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2173 # ----------------------------------------
2174 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2175 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2176 # script with STATUS, using 1 if that was 0.
2177 as_fn_error ()
2178 {
2179   as_status=$1; test $as_status -eq 0 && as_status=1
2180   if test "$4"; then
2181     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2183   fi
2184   $as_echo "$as_me: error: $2" >&2
2185   as_fn_exit $as_status
2186 } # as_fn_error
2187
2188
2189 # as_fn_set_status STATUS
2190 # -----------------------
2191 # Set $? to STATUS, without forking.
2192 as_fn_set_status ()
2193 {
2194   return $1
2195 } # as_fn_set_status
2196
2197 # as_fn_exit STATUS
2198 # -----------------
2199 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2200 as_fn_exit ()
2201 {
2202   set +e
2203   as_fn_set_status $1
2204   exit $1
2205 } # as_fn_exit
2206
2207 # as_fn_unset VAR
2208 # ---------------
2209 # Portably unset VAR.
2210 as_fn_unset ()
2211 {
2212   { eval $1=; unset $1;}
2213 }
2214 as_unset=as_fn_unset
2215 # as_fn_append VAR VALUE
2216 # ----------------------
2217 # Append the text in VALUE to the end of the definition contained in VAR. Take
2218 # advantage of any shell optimizations that allow amortized linear growth over
2219 # repeated appends, instead of the typical quadratic growth present in naive
2220 # implementations.
2221 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2222   eval 'as_fn_append ()
2223   {
2224     eval $1+=\$2
2225   }'
2226 else
2227   as_fn_append ()
2228   {
2229     eval $1=\$$1\$2
2230   }
2231 fi # as_fn_append
2232
2233 # as_fn_arith ARG...
2234 # ------------------
2235 # Perform arithmetic evaluation on the ARGs, and store the result in the
2236 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2237 # must be portable across $(()) and expr.
2238 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2239   eval 'as_fn_arith ()
2240   {
2241     as_val=$(( $* ))
2242   }'
2243 else
2244   as_fn_arith ()
2245   {
2246     as_val=`expr "$@" || test $? -eq 1`
2247   }
2248 fi # as_fn_arith
2249
2250
2251 if expr a : '\(a\)' >/dev/null 2>&1 &&
2252    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2253   as_expr=expr
2254 else
2255   as_expr=false
2256 fi
2257
2258 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2259   as_basename=basename
2260 else
2261   as_basename=false
2262 fi
2263
2264 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2265   as_dirname=dirname
2266 else
2267   as_dirname=false
2268 fi
2269
2270 as_me=`$as_basename -- "$0" ||
2271 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2272          X"$0" : 'X\(//\)$' \| \
2273          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2274 $as_echo X/"$0" |
2275     sed '/^.*\/\([^/][^/]*\)\/*$/{
2276             s//\1/
2277             q
2278           }
2279           /^X\/\(\/\/\)$/{
2280             s//\1/
2281             q
2282           }
2283           /^X\/\(\/\).*/{
2284             s//\1/
2285             q
2286           }
2287           s/.*/./; q'`
2288
2289 # Avoid depending upon Character Ranges.
2290 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2291 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2292 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2293 as_cr_digits='0123456789'
2294 as_cr_alnum=$as_cr_Letters$as_cr_digits
2295
2296 ECHO_C= ECHO_N= ECHO_T=
2297 case `echo -n x` in #(((((
2298 -n*)
2299   case `echo 'xy\c'` in
2300   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2301   xy)  ECHO_C='\c';;
2302   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2303        ECHO_T=' ';;
2304   esac;;
2305 *)
2306   ECHO_N='-n';;
2307 esac
2308
2309 rm -f conf$$ conf$$.exe conf$$.file
2310 if test -d conf$$.dir; then
2311   rm -f conf$$.dir/conf$$.file
2312 else
2313   rm -f conf$$.dir
2314   mkdir conf$$.dir 2>/dev/null
2315 fi
2316 if (echo >conf$$.file) 2>/dev/null; then
2317   if ln -s conf$$.file conf$$ 2>/dev/null; then
2318     as_ln_s='ln -s'
2319     # ... but there are two gotchas:
2320     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2321     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2322     # In both cases, we have to default to `cp -pR'.
2323     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2324       as_ln_s='cp -pR'
2325   elif ln conf$$.file conf$$ 2>/dev/null; then
2326     as_ln_s=ln
2327   else
2328     as_ln_s='cp -pR'
2329   fi
2330 else
2331   as_ln_s='cp -pR'
2332 fi
2333 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2334 rmdir conf$$.dir 2>/dev/null
2335
2336
2337 # as_fn_mkdir_p
2338 # -------------
2339 # Create "$as_dir" as a directory, including parents if necessary.
2340 as_fn_mkdir_p ()
2341 {
2342
2343   case $as_dir in #(
2344   -*) as_dir=./$as_dir;;
2345   esac
2346   test -d "$as_dir" || eval $as_mkdir_p || {
2347     as_dirs=
2348     while :; do
2349       case $as_dir in #(
2350       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2351       *) as_qdir=$as_dir;;
2352       esac
2353       as_dirs="'$as_qdir' $as_dirs"
2354       as_dir=`$as_dirname -- "$as_dir" ||
2355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2356          X"$as_dir" : 'X\(//\)[^/]' \| \
2357          X"$as_dir" : 'X\(//\)$' \| \
2358          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2359 $as_echo X"$as_dir" |
2360     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2361             s//\1/
2362             q
2363           }
2364           /^X\(\/\/\)[^/].*/{
2365             s//\1/
2366             q
2367           }
2368           /^X\(\/\/\)$/{
2369             s//\1/
2370             q
2371           }
2372           /^X\(\/\).*/{
2373             s//\1/
2374             q
2375           }
2376           s/.*/./; q'`
2377       test -d "$as_dir" && break
2378     done
2379     test -z "$as_dirs" || eval "mkdir $as_dirs"
2380   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2381
2382
2383 } # as_fn_mkdir_p
2384 if mkdir -p . 2>/dev/null; then
2385   as_mkdir_p='mkdir -p "$as_dir"'
2386 else
2387   test -d ./-p && rmdir ./-p
2388   as_mkdir_p=false
2389 fi
2390
2391
2392 # as_fn_executable_p FILE
2393 # -----------------------
2394 # Test if FILE is an executable regular file.
2395 as_fn_executable_p ()
2396 {
2397   test -f "$1" && test -x "$1"
2398 } # as_fn_executable_p
2399 as_test_x='test -x'
2400 as_executable_p=as_fn_executable_p
2401
2402 # Sed expression to map a string onto a valid CPP name.
2403 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2404
2405 # Sed expression to map a string onto a valid variable name.
2406 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2407
2408
2409 exec 6>&1
2410 ## ----------------------------------- ##
2411 ## Main body of $CONFIG_STATUS script. ##
2412 ## ----------------------------------- ##
2413 _ASEOF
2414 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2415
2416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2417 # Save the log message, to keep $0 and so on meaningful, and to
2418 # report actual input values of CONFIG_FILES etc. instead of their
2419 # values after options handling.
2420 ac_log="
2421 This file was extended by chise-fonts-installer $as_me 0.2, which was
2422 generated by GNU Autoconf 2.69.  Invocation command line was
2423
2424   CONFIG_FILES    = $CONFIG_FILES
2425   CONFIG_HEADERS  = $CONFIG_HEADERS
2426   CONFIG_LINKS    = $CONFIG_LINKS
2427   CONFIG_COMMANDS = $CONFIG_COMMANDS
2428   $ $0 $@
2429
2430 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2431 "
2432
2433 _ACEOF
2434
2435 case $ac_config_files in *"
2436 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2437 esac
2438
2439
2440
2441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2442 # Files that config.status was made for.
2443 config_files="$ac_config_files"
2444
2445 _ACEOF
2446
2447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2448 ac_cs_usage="\
2449 \`$as_me' instantiates files and other configuration actions
2450 from templates according to the current configuration.  Unless the files
2451 and actions are specified as TAGs, all are instantiated by default.
2452
2453 Usage: $0 [OPTION]... [TAG]...
2454
2455   -h, --help       print this help, then exit
2456   -V, --version    print version number and configuration settings, then exit
2457       --config     print configuration, then exit
2458   -q, --quiet, --silent
2459                    do not print progress messages
2460   -d, --debug      don't remove temporary files
2461       --recheck    update $as_me by reconfiguring in the same conditions
2462       --file=FILE[:TEMPLATE]
2463                    instantiate the configuration file FILE
2464
2465 Configuration files:
2466 $config_files
2467
2468 Report bugs to <chise-en@m17n.org>."
2469
2470 _ACEOF
2471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2472 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2473 ac_cs_version="\\
2474 chise-fonts-installer config.status 0.2
2475 configured by $0, generated by GNU Autoconf 2.69,
2476   with options \\"\$ac_cs_config\\"
2477
2478 Copyright (C) 2012 Free Software Foundation, Inc.
2479 This config.status script is free software; the Free Software Foundation
2480 gives unlimited permission to copy, distribute and modify it."
2481
2482 ac_pwd='$ac_pwd'
2483 srcdir='$srcdir'
2484 test -n "\$AWK" || AWK=awk
2485 _ACEOF
2486
2487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2488 # The default lists apply if the user does not specify any file.
2489 ac_need_defaults=:
2490 while test $# != 0
2491 do
2492   case $1 in
2493   --*=?*)
2494     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2495     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2496     ac_shift=:
2497     ;;
2498   --*=)
2499     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2500     ac_optarg=
2501     ac_shift=:
2502     ;;
2503   *)
2504     ac_option=$1
2505     ac_optarg=$2
2506     ac_shift=shift
2507     ;;
2508   esac
2509
2510   case $ac_option in
2511   # Handling of the options.
2512   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2513     ac_cs_recheck=: ;;
2514   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2515     $as_echo "$ac_cs_version"; exit ;;
2516   --config | --confi | --conf | --con | --co | --c )
2517     $as_echo "$ac_cs_config"; exit ;;
2518   --debug | --debu | --deb | --de | --d | -d )
2519     debug=: ;;
2520   --file | --fil | --fi | --f )
2521     $ac_shift
2522     case $ac_optarg in
2523     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2524     '') as_fn_error $? "missing file argument" ;;
2525     esac
2526     as_fn_append CONFIG_FILES " '$ac_optarg'"
2527     ac_need_defaults=false;;
2528   --he | --h |  --help | --hel | -h )
2529     $as_echo "$ac_cs_usage"; exit ;;
2530   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2531   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2532     ac_cs_silent=: ;;
2533
2534   # This is an error.
2535   -*) as_fn_error $? "unrecognized option: \`$1'
2536 Try \`$0 --help' for more information." ;;
2537
2538   *) as_fn_append ac_config_targets " $1"
2539      ac_need_defaults=false ;;
2540
2541   esac
2542   shift
2543 done
2544
2545 ac_configure_extra_args=
2546
2547 if $ac_cs_silent; then
2548   exec 6>/dev/null
2549   ac_configure_extra_args="$ac_configure_extra_args --silent"
2550 fi
2551
2552 _ACEOF
2553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2554 if \$ac_cs_recheck; then
2555   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2556   shift
2557   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2558   CONFIG_SHELL='$SHELL'
2559   export CONFIG_SHELL
2560   exec "\$@"
2561 fi
2562
2563 _ACEOF
2564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2565 exec 5>>config.log
2566 {
2567   echo
2568   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2569 ## Running $as_me. ##
2570 _ASBOX
2571   $as_echo "$ac_log"
2572 } >&5
2573
2574 _ACEOF
2575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2576 _ACEOF
2577
2578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2579
2580 # Handling of arguments.
2581 for ac_config_target in $ac_config_targets
2582 do
2583   case $ac_config_target in
2584     "chise-setup-xfonts") CONFIG_FILES="$CONFIG_FILES chise-setup-xfonts" ;;
2585     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2586     "BDF/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Makefile" ;;
2587     "BDF/JISX0213/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/JISX0213/Makefile" ;;
2588     "BDF/EGB/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/EGB/Makefile" ;;
2589     "BDF/ETL-VN2/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/ETL-VN2/Makefile" ;;
2590     "BDF/Thai-XTIS/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Thai-XTIS/Makefile" ;;
2591     "BDF/Zinbun/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Zinbun/Makefile" ;;
2592     "BDF/Hanazono/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/Hanazono/Makefile" ;;
2593     "BDF/MJ/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/MJ/Makefile" ;;
2594     "BDF/CBETA/Makefile") CONFIG_FILES="$CONFIG_FILES BDF/CBETA/Makefile" ;;
2595     "TrueType/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Makefile" ;;
2596     "TrueType/Hanazono/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Hanazono/Makefile" ;;
2597     "TrueType/Arphic/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Arphic/Makefile" ;;
2598     "TrueType/Zinbun/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/Zinbun/Makefile" ;;
2599     "TrueType/GT/Makefile") CONFIG_FILES="$CONFIG_FILES TrueType/GT/Makefile" ;;
2600
2601   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2602   esac
2603 done
2604
2605
2606 # If the user did not use the arguments to specify the items to instantiate,
2607 # then the envvar interface is used.  Set only those that are not.
2608 # We use the long form for the default assignment because of an extremely
2609 # bizarre bug on SunOS 4.1.3.
2610 if $ac_need_defaults; then
2611   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2612 fi
2613
2614 # Have a temporary directory for convenience.  Make it in the build tree
2615 # simply because there is no reason against having it here, and in addition,
2616 # creating and moving files from /tmp can sometimes cause problems.
2617 # Hook for its removal unless debugging.
2618 # Note that there is a small window in which the directory will not be cleaned:
2619 # after its creation but before its name has been assigned to `$tmp'.
2620 $debug ||
2621 {
2622   tmp= ac_tmp=
2623   trap 'exit_status=$?
2624   : "${ac_tmp:=$tmp}"
2625   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2626 ' 0
2627   trap 'as_fn_exit 1' 1 2 13 15
2628 }
2629 # Create a (secure) tmp directory for tmp files.
2630
2631 {
2632   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2633   test -d "$tmp"
2634 }  ||
2635 {
2636   tmp=./conf$$-$RANDOM
2637   (umask 077 && mkdir "$tmp")
2638 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2639 ac_tmp=$tmp
2640
2641 # Set up the scripts for CONFIG_FILES section.
2642 # No need to generate them if there are no CONFIG_FILES.
2643 # This happens for instance with `./config.status config.h'.
2644 if test -n "$CONFIG_FILES"; then
2645
2646
2647 ac_cr=`echo X | tr X '\015'`
2648 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2649 # But we know of no other shell where ac_cr would be empty at this
2650 # point, so we can use a bashism as a fallback.
2651 if test "x$ac_cr" = x; then
2652   eval ac_cr=\$\'\\r\'
2653 fi
2654 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2655 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2656   ac_cs_awk_cr='\\r'
2657 else
2658   ac_cs_awk_cr=$ac_cr
2659 fi
2660
2661 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2662 _ACEOF
2663
2664
2665 {
2666   echo "cat >conf$$subs.awk <<_ACEOF" &&
2667   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2668   echo "_ACEOF"
2669 } >conf$$subs.sh ||
2670   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2671 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2672 ac_delim='%!_!# '
2673 for ac_last_try in false false false false false :; do
2674   . ./conf$$subs.sh ||
2675     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2676
2677   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2678   if test $ac_delim_n = $ac_delim_num; then
2679     break
2680   elif $ac_last_try; then
2681     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2682   else
2683     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2684   fi
2685 done
2686 rm -f conf$$subs.sh
2687
2688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2689 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2690 _ACEOF
2691 sed -n '
2692 h
2693 s/^/S["/; s/!.*/"]=/
2694 p
2695 g
2696 s/^[^!]*!//
2697 :repl
2698 t repl
2699 s/'"$ac_delim"'$//
2700 t delim
2701 :nl
2702 h
2703 s/\(.\{148\}\)..*/\1/
2704 t more1
2705 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2706 p
2707 n
2708 b repl
2709 :more1
2710 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2711 p
2712 g
2713 s/.\{148\}//
2714 t nl
2715 :delim
2716 h
2717 s/\(.\{148\}\)..*/\1/
2718 t more2
2719 s/["\\]/\\&/g; s/^/"/; s/$/"/
2720 p
2721 b
2722 :more2
2723 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2724 p
2725 g
2726 s/.\{148\}//
2727 t delim
2728 ' <conf$$subs.awk | sed '
2729 /^[^""]/{
2730   N
2731   s/\n//
2732 }
2733 ' >>$CONFIG_STATUS || ac_write_fail=1
2734 rm -f conf$$subs.awk
2735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2736 _ACAWK
2737 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2738   for (key in S) S_is_set[key] = 1
2739   FS = "\a"
2740
2741 }
2742 {
2743   line = $ 0
2744   nfields = split(line, field, "@")
2745   substed = 0
2746   len = length(field[1])
2747   for (i = 2; i < nfields; i++) {
2748     key = field[i]
2749     keylen = length(key)
2750     if (S_is_set[key]) {
2751       value = S[key]
2752       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2753       len += length(value) + length(field[++i])
2754       substed = 1
2755     } else
2756       len += 1 + keylen
2757   }
2758
2759   print line
2760 }
2761
2762 _ACAWK
2763 _ACEOF
2764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2765 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2766   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2767 else
2768   cat
2769 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2770   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2771 _ACEOF
2772
2773 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2774 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2775 # trailing colons and then remove the whole line if VPATH becomes empty
2776 # (actually we leave an empty line to preserve line numbers).
2777 if test "x$srcdir" = x.; then
2778   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
2779 h
2780 s///
2781 s/^/:/
2782 s/[      ]*$/:/
2783 s/:\$(srcdir):/:/g
2784 s/:\${srcdir}:/:/g
2785 s/:@srcdir@:/:/g
2786 s/^:*//
2787 s/:*$//
2788 x
2789 s/\(=[   ]*\).*/\1/
2790 G
2791 s/\n//
2792 s/^[^=]*=[       ]*$//
2793 }'
2794 fi
2795
2796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2797 fi # test -n "$CONFIG_FILES"
2798
2799
2800 eval set X "  :F $CONFIG_FILES      "
2801 shift
2802 for ac_tag
2803 do
2804   case $ac_tag in
2805   :[FHLC]) ac_mode=$ac_tag; continue;;
2806   esac
2807   case $ac_mode$ac_tag in
2808   :[FHL]*:*);;
2809   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2810   :[FH]-) ac_tag=-:-;;
2811   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2812   esac
2813   ac_save_IFS=$IFS
2814   IFS=:
2815   set x $ac_tag
2816   IFS=$ac_save_IFS
2817   shift
2818   ac_file=$1
2819   shift
2820
2821   case $ac_mode in
2822   :L) ac_source=$1;;
2823   :[FH])
2824     ac_file_inputs=
2825     for ac_f
2826     do
2827       case $ac_f in
2828       -) ac_f="$ac_tmp/stdin";;
2829       *) # Look for the file first in the build tree, then in the source tree
2830          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2831          # because $ac_f cannot contain `:'.
2832          test -f "$ac_f" ||
2833            case $ac_f in
2834            [\\/$]*) false;;
2835            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2836            esac ||
2837            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2838       esac
2839       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2840       as_fn_append ac_file_inputs " '$ac_f'"
2841     done
2842
2843     # Let's still pretend it is `configure' which instantiates (i.e., don't
2844     # use $as_me), people would be surprised to read:
2845     #    /* config.h.  Generated by config.status.  */
2846     configure_input='Generated from '`
2847           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2848         `' by configure.'
2849     if test x"$ac_file" != x-; then
2850       configure_input="$ac_file.  $configure_input"
2851       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2852 $as_echo "$as_me: creating $ac_file" >&6;}
2853     fi
2854     # Neutralize special characters interpreted by sed in replacement strings.
2855     case $configure_input in #(
2856     *\&* | *\|* | *\\* )
2857        ac_sed_conf_input=`$as_echo "$configure_input" |
2858        sed 's/[\\\\&|]/\\\\&/g'`;; #(
2859     *) ac_sed_conf_input=$configure_input;;
2860     esac
2861
2862     case $ac_tag in
2863     *:-:* | *:-) cat >"$ac_tmp/stdin" \
2864       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2865     esac
2866     ;;
2867   esac
2868
2869   ac_dir=`$as_dirname -- "$ac_file" ||
2870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2871          X"$ac_file" : 'X\(//\)[^/]' \| \
2872          X"$ac_file" : 'X\(//\)$' \| \
2873          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2874 $as_echo X"$ac_file" |
2875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2876             s//\1/
2877             q
2878           }
2879           /^X\(\/\/\)[^/].*/{
2880             s//\1/
2881             q
2882           }
2883           /^X\(\/\/\)$/{
2884             s//\1/
2885             q
2886           }
2887           /^X\(\/\).*/{
2888             s//\1/
2889             q
2890           }
2891           s/.*/./; q'`
2892   as_dir="$ac_dir"; as_fn_mkdir_p
2893   ac_builddir=.
2894
2895 case "$ac_dir" in
2896 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2897 *)
2898   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2899   # A ".." for each directory in $ac_dir_suffix.
2900   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2901   case $ac_top_builddir_sub in
2902   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2903   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2904   esac ;;
2905 esac
2906 ac_abs_top_builddir=$ac_pwd
2907 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2908 # for backward compatibility:
2909 ac_top_builddir=$ac_top_build_prefix
2910
2911 case $srcdir in
2912   .)  # We are building in place.
2913     ac_srcdir=.
2914     ac_top_srcdir=$ac_top_builddir_sub
2915     ac_abs_top_srcdir=$ac_pwd ;;
2916   [\\/]* | ?:[\\/]* )  # Absolute name.
2917     ac_srcdir=$srcdir$ac_dir_suffix;
2918     ac_top_srcdir=$srcdir
2919     ac_abs_top_srcdir=$srcdir ;;
2920   *) # Relative name.
2921     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2922     ac_top_srcdir=$ac_top_build_prefix$srcdir
2923     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2924 esac
2925 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2926
2927
2928   case $ac_mode in
2929   :F)
2930   #
2931   # CONFIG_FILE
2932   #
2933
2934 _ACEOF
2935
2936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2937 # If the template does not know about datarootdir, expand it.
2938 # FIXME: This hack should be removed a few years after 2.60.
2939 ac_datarootdir_hack=; ac_datarootdir_seen=
2940 ac_sed_dataroot='
2941 /datarootdir/ {
2942   p
2943   q
2944 }
2945 /@datadir@/p
2946 /@docdir@/p
2947 /@infodir@/p
2948 /@localedir@/p
2949 /@mandir@/p'
2950 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2951 *datarootdir*) ac_datarootdir_seen=yes;;
2952 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2953   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2954 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2955 _ACEOF
2956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2957   ac_datarootdir_hack='
2958   s&@datadir@&$datadir&g
2959   s&@docdir@&$docdir&g
2960   s&@infodir@&$infodir&g
2961   s&@localedir@&$localedir&g
2962   s&@mandir@&$mandir&g
2963   s&\\\${datarootdir}&$datarootdir&g' ;;
2964 esac
2965 _ACEOF
2966
2967 # Neutralize VPATH when `$srcdir' = `.'.
2968 # Shell code in configure.ac might set extrasub.
2969 # FIXME: do we really want to maintain this feature?
2970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2971 ac_sed_extra="$ac_vpsub
2972 $extrasub
2973 _ACEOF
2974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2975 :t
2976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2977 s|@configure_input@|$ac_sed_conf_input|;t t
2978 s&@top_builddir@&$ac_top_builddir_sub&;t t
2979 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2980 s&@srcdir@&$ac_srcdir&;t t
2981 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2982 s&@top_srcdir@&$ac_top_srcdir&;t t
2983 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2984 s&@builddir@&$ac_builddir&;t t
2985 s&@abs_builddir@&$ac_abs_builddir&;t t
2986 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2987 $ac_datarootdir_hack
2988 "
2989 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2990   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2991
2992 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2993   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2994   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
2995       "$ac_tmp/out"`; test -z "$ac_out"; } &&
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2997 which seems to be undefined.  Please make sure it is defined" >&5
2998 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2999 which seems to be undefined.  Please make sure it is defined" >&2;}
3000
3001   rm -f "$ac_tmp/stdin"
3002   case $ac_file in
3003   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3004   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3005   esac \
3006   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3007  ;;
3008
3009
3010
3011   esac
3012
3013 done # for ac_tag
3014
3015
3016 as_fn_exit 0
3017 _ACEOF
3018 ac_clean_files=$ac_clean_files_save
3019
3020 test $ac_write_fail = 0 ||
3021   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3022
3023
3024 # configure is writing to config.log, and then calls config.status.
3025 # config.status does its own redirection, appending to config.log.
3026 # Unfortunately, on DOS this fails, as config.log is still kept open
3027 # by configure, so config.status won't be able to write to it; its
3028 # output is simply discarded.  So we exec the FD to /dev/null,
3029 # effectively closing config.log, so it can be properly (re)opened and
3030 # appended to by config.status.  When coming back to configure, we
3031 # need to make the FD available again.
3032 if test "$no_create" != yes; then
3033   ac_cs_success=:
3034   ac_config_status_args=
3035   test "$silent" = yes &&
3036     ac_config_status_args="$ac_config_status_args --quiet"
3037   exec 5>/dev/null
3038   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3039   exec 5>>config.log
3040   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3041   # would make configure fail if this is the last instruction.
3042   $ac_cs_success || as_fn_exit 1
3043 fi
3044 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3045   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3046 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3047 fi
3048