OSDN Git Service

Imported Upstream version 0.3.1.20150227.0
[canna-yubin/canna-yubin-deb.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for canna-yubin 0.3.1.20150227.0.
4 #
5 # Report bugs to <canna-yubin-misc@lists.sourceforge.jp>.
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
269 $0: canna-yubin-misc@lists.sourceforge.jp about your
270 $0: system, including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do 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='canna-yubin'
581 PACKAGE_TARNAME='canna-yubin'
582 PACKAGE_VERSION='0.3.1.20150227.0'
583 PACKAGE_STRING='canna-yubin 0.3.1.20150227.0'
584 PACKAGE_BUGREPORT='canna-yubin-misc@lists.sourceforge.jp'
585 PACKAGE_URL=''
586
587 ac_subst_vars='LTLIBOBJS
588 LIBOBJS
589 WNNDICDIR
590 CANNADICDIR
591 WNNTARGETS
592 CANNATARGETS
593 ATOD
594 MKBINDIC
595 AM_BACKSLASH
596 AM_DEFAULT_VERBOSITY
597 AM_DEFAULT_V
598 AM_V
599 am__untar
600 am__tar
601 AMTAR
602 am__leading_dot
603 SET_MAKE
604 AWK
605 mkdir_p
606 MKDIR_P
607 INSTALL_STRIP_PROGRAM
608 STRIP
609 install_sh
610 MAKEINFO
611 AUTOHEADER
612 AUTOMAKE
613 AUTOCONF
614 ACLOCAL
615 VERSION
616 PACKAGE
617 CYGPATH_W
618 am__isrc
619 INSTALL_DATA
620 INSTALL_SCRIPT
621 INSTALL_PROGRAM
622 target_alias
623 host_alias
624 build_alias
625 LIBS
626 ECHO_T
627 ECHO_N
628 ECHO_C
629 DEFS
630 mandir
631 localedir
632 libdir
633 psdir
634 pdfdir
635 dvidir
636 htmldir
637 infodir
638 docdir
639 oldincludedir
640 includedir
641 localstatedir
642 sharedstatedir
643 sysconfdir
644 datadir
645 datarootdir
646 libexecdir
647 sbindir
648 bindir
649 program_transform_name
650 prefix
651 exec_prefix
652 PACKAGE_URL
653 PACKAGE_BUGREPORT
654 PACKAGE_STRING
655 PACKAGE_VERSION
656 PACKAGE_TARNAME
657 PACKAGE_NAME
658 PATH_SEPARATOR
659 SHELL'
660 ac_subst_files=''
661 ac_user_opts='
662 enable_option_checking
663 enable_silent_rules
664 with_canna
665 with_wnn
666 '
667       ac_precious_vars='build_alias
668 host_alias
669 target_alias'
670
671
672 # Initialize some variables set by options.
673 ac_init_help=
674 ac_init_version=false
675 ac_unrecognized_opts=
676 ac_unrecognized_sep=
677 # The variables have the same names as the options, with
678 # dashes changed to underlines.
679 cache_file=/dev/null
680 exec_prefix=NONE
681 no_create=
682 no_recursion=
683 prefix=NONE
684 program_prefix=NONE
685 program_suffix=NONE
686 program_transform_name=s,x,x,
687 silent=
688 site=
689 srcdir=
690 verbose=
691 x_includes=NONE
692 x_libraries=NONE
693
694 # Installation directory options.
695 # These are left unexpanded so users can "make install exec_prefix=/foo"
696 # and all the variables that are supposed to be based on exec_prefix
697 # by default will actually change.
698 # Use braces instead of parens because sh, perl, etc. also accept them.
699 # (The list follows the same order as the GNU Coding Standards.)
700 bindir='${exec_prefix}/bin'
701 sbindir='${exec_prefix}/sbin'
702 libexecdir='${exec_prefix}/libexec'
703 datarootdir='${prefix}/share'
704 datadir='${datarootdir}'
705 sysconfdir='${prefix}/etc'
706 sharedstatedir='${prefix}/com'
707 localstatedir='${prefix}/var'
708 includedir='${prefix}/include'
709 oldincludedir='/usr/include'
710 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
711 infodir='${datarootdir}/info'
712 htmldir='${docdir}'
713 dvidir='${docdir}'
714 pdfdir='${docdir}'
715 psdir='${docdir}'
716 libdir='${exec_prefix}/lib'
717 localedir='${datarootdir}/locale'
718 mandir='${datarootdir}/man'
719
720 ac_prev=
721 ac_dashdash=
722 for ac_option
723 do
724   # If the previous option needs an argument, assign it.
725   if test -n "$ac_prev"; then
726     eval $ac_prev=\$ac_option
727     ac_prev=
728     continue
729   fi
730
731   case $ac_option in
732   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733   *=)   ac_optarg= ;;
734   *)    ac_optarg=yes ;;
735   esac
736
737   # Accept the important Cygnus configure options, so we can diagnose typos.
738
739   case $ac_dashdash$ac_option in
740   --)
741     ac_dashdash=yes ;;
742
743   -bindir | --bindir | --bindi | --bind | --bin | --bi)
744     ac_prev=bindir ;;
745   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
746     bindir=$ac_optarg ;;
747
748   -build | --build | --buil | --bui | --bu)
749     ac_prev=build_alias ;;
750   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
751     build_alias=$ac_optarg ;;
752
753   -cache-file | --cache-file | --cache-fil | --cache-fi \
754   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
755     ac_prev=cache_file ;;
756   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
757   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
758     cache_file=$ac_optarg ;;
759
760   --config-cache | -C)
761     cache_file=config.cache ;;
762
763   -datadir | --datadir | --datadi | --datad)
764     ac_prev=datadir ;;
765   -datadir=* | --datadir=* | --datadi=* | --datad=*)
766     datadir=$ac_optarg ;;
767
768   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
769   | --dataroo | --dataro | --datar)
770     ac_prev=datarootdir ;;
771   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
772   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
773     datarootdir=$ac_optarg ;;
774
775   -disable-* | --disable-*)
776     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
777     # Reject names that are not valid shell variable names.
778     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
779       as_fn_error $? "invalid feature name: $ac_useropt"
780     ac_useropt_orig=$ac_useropt
781     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782     case $ac_user_opts in
783       *"
784 "enable_$ac_useropt"
785 "*) ;;
786       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
787          ac_unrecognized_sep=', ';;
788     esac
789     eval enable_$ac_useropt=no ;;
790
791   -docdir | --docdir | --docdi | --doc | --do)
792     ac_prev=docdir ;;
793   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794     docdir=$ac_optarg ;;
795
796   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797     ac_prev=dvidir ;;
798   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799     dvidir=$ac_optarg ;;
800
801   -enable-* | --enable-*)
802     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803     # Reject names that are not valid shell variable names.
804     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805       as_fn_error $? "invalid feature name: $ac_useropt"
806     ac_useropt_orig=$ac_useropt
807     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808     case $ac_user_opts in
809       *"
810 "enable_$ac_useropt"
811 "*) ;;
812       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
813          ac_unrecognized_sep=', ';;
814     esac
815     eval enable_$ac_useropt=\$ac_optarg ;;
816
817   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
818   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
819   | --exec | --exe | --ex)
820     ac_prev=exec_prefix ;;
821   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
822   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
823   | --exec=* | --exe=* | --ex=*)
824     exec_prefix=$ac_optarg ;;
825
826   -gas | --gas | --ga | --g)
827     # Obsolete; use --with-gas.
828     with_gas=yes ;;
829
830   -help | --help | --hel | --he | -h)
831     ac_init_help=long ;;
832   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
833     ac_init_help=recursive ;;
834   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
835     ac_init_help=short ;;
836
837   -host | --host | --hos | --ho)
838     ac_prev=host_alias ;;
839   -host=* | --host=* | --hos=* | --ho=*)
840     host_alias=$ac_optarg ;;
841
842   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843     ac_prev=htmldir ;;
844   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845   | --ht=*)
846     htmldir=$ac_optarg ;;
847
848   -includedir | --includedir | --includedi | --included | --include \
849   | --includ | --inclu | --incl | --inc)
850     ac_prev=includedir ;;
851   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
852   | --includ=* | --inclu=* | --incl=* | --inc=*)
853     includedir=$ac_optarg ;;
854
855   -infodir | --infodir | --infodi | --infod | --info | --inf)
856     ac_prev=infodir ;;
857   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
858     infodir=$ac_optarg ;;
859
860   -libdir | --libdir | --libdi | --libd)
861     ac_prev=libdir ;;
862   -libdir=* | --libdir=* | --libdi=* | --libd=*)
863     libdir=$ac_optarg ;;
864
865   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
866   | --libexe | --libex | --libe)
867     ac_prev=libexecdir ;;
868   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
869   | --libexe=* | --libex=* | --libe=*)
870     libexecdir=$ac_optarg ;;
871
872   -localedir | --localedir | --localedi | --localed | --locale)
873     ac_prev=localedir ;;
874   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
875     localedir=$ac_optarg ;;
876
877   -localstatedir | --localstatedir | --localstatedi | --localstated \
878   | --localstate | --localstat | --localsta | --localst | --locals)
879     ac_prev=localstatedir ;;
880   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
881   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
882     localstatedir=$ac_optarg ;;
883
884   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885     ac_prev=mandir ;;
886   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
887     mandir=$ac_optarg ;;
888
889   -nfp | --nfp | --nf)
890     # Obsolete; use --without-fp.
891     with_fp=no ;;
892
893   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
894   | --no-cr | --no-c | -n)
895     no_create=yes ;;
896
897   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
898   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899     no_recursion=yes ;;
900
901   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
902   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
903   | --oldin | --oldi | --old | --ol | --o)
904     ac_prev=oldincludedir ;;
905   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
906   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
907   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
908     oldincludedir=$ac_optarg ;;
909
910   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911     ac_prev=prefix ;;
912   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913     prefix=$ac_optarg ;;
914
915   -program-prefix | --program-prefix | --program-prefi | --program-pref \
916   | --program-pre | --program-pr | --program-p)
917     ac_prev=program_prefix ;;
918   -program-prefix=* | --program-prefix=* | --program-prefi=* \
919   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
920     program_prefix=$ac_optarg ;;
921
922   -program-suffix | --program-suffix | --program-suffi | --program-suff \
923   | --program-suf | --program-su | --program-s)
924     ac_prev=program_suffix ;;
925   -program-suffix=* | --program-suffix=* | --program-suffi=* \
926   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
927     program_suffix=$ac_optarg ;;
928
929   -program-transform-name | --program-transform-name \
930   | --program-transform-nam | --program-transform-na \
931   | --program-transform-n | --program-transform- \
932   | --program-transform | --program-transfor \
933   | --program-transfo | --program-transf \
934   | --program-trans | --program-tran \
935   | --progr-tra | --program-tr | --program-t)
936     ac_prev=program_transform_name ;;
937   -program-transform-name=* | --program-transform-name=* \
938   | --program-transform-nam=* | --program-transform-na=* \
939   | --program-transform-n=* | --program-transform-=* \
940   | --program-transform=* | --program-transfor=* \
941   | --program-transfo=* | --program-transf=* \
942   | --program-trans=* | --program-tran=* \
943   | --progr-tra=* | --program-tr=* | --program-t=*)
944     program_transform_name=$ac_optarg ;;
945
946   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947     ac_prev=pdfdir ;;
948   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949     pdfdir=$ac_optarg ;;
950
951   -psdir | --psdir | --psdi | --psd | --ps)
952     ac_prev=psdir ;;
953   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954     psdir=$ac_optarg ;;
955
956   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957   | -silent | --silent | --silen | --sile | --sil)
958     silent=yes ;;
959
960   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961     ac_prev=sbindir ;;
962   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963   | --sbi=* | --sb=*)
964     sbindir=$ac_optarg ;;
965
966   -sharedstatedir | --sharedstatedir | --sharedstatedi \
967   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
968   | --sharedst | --shareds | --shared | --share | --shar \
969   | --sha | --sh)
970     ac_prev=sharedstatedir ;;
971   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
972   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
973   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974   | --sha=* | --sh=*)
975     sharedstatedir=$ac_optarg ;;
976
977   -site | --site | --sit)
978     ac_prev=site ;;
979   -site=* | --site=* | --sit=*)
980     site=$ac_optarg ;;
981
982   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983     ac_prev=srcdir ;;
984   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985     srcdir=$ac_optarg ;;
986
987   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
988   | --syscon | --sysco | --sysc | --sys | --sy)
989     ac_prev=sysconfdir ;;
990   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
991   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
992     sysconfdir=$ac_optarg ;;
993
994   -target | --target | --targe | --targ | --tar | --ta | --t)
995     ac_prev=target_alias ;;
996   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
997     target_alias=$ac_optarg ;;
998
999   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000     verbose=yes ;;
1001
1002   -version | --version | --versio | --versi | --vers | -V)
1003     ac_init_version=: ;;
1004
1005   -with-* | --with-*)
1006     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1007     # Reject names that are not valid shell variable names.
1008     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009       as_fn_error $? "invalid package name: $ac_useropt"
1010     ac_useropt_orig=$ac_useropt
1011     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012     case $ac_user_opts in
1013       *"
1014 "with_$ac_useropt"
1015 "*) ;;
1016       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1017          ac_unrecognized_sep=', ';;
1018     esac
1019     eval with_$ac_useropt=\$ac_optarg ;;
1020
1021   -without-* | --without-*)
1022     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023     # Reject names that are not valid shell variable names.
1024     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025       as_fn_error $? "invalid package name: $ac_useropt"
1026     ac_useropt_orig=$ac_useropt
1027     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028     case $ac_user_opts in
1029       *"
1030 "with_$ac_useropt"
1031 "*) ;;
1032       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1033          ac_unrecognized_sep=', ';;
1034     esac
1035     eval with_$ac_useropt=no ;;
1036
1037   --x)
1038     # Obsolete; use --with-x.
1039     with_x=yes ;;
1040
1041   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1042   | --x-incl | --x-inc | --x-in | --x-i)
1043     ac_prev=x_includes ;;
1044   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1045   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1046     x_includes=$ac_optarg ;;
1047
1048   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1049   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1050     ac_prev=x_libraries ;;
1051   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1052   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1053     x_libraries=$ac_optarg ;;
1054
1055   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1056 Try \`$0 --help' for more information"
1057     ;;
1058
1059   *=*)
1060     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1061     # Reject names that are not valid shell variable names.
1062     case $ac_envvar in #(
1063       '' | [0-9]* | *[!_$as_cr_alnum]* )
1064       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1065     esac
1066     eval $ac_envvar=\$ac_optarg
1067     export $ac_envvar ;;
1068
1069   *)
1070     # FIXME: should be removed in autoconf 3.0.
1071     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1072     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1074     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1075     ;;
1076
1077   esac
1078 done
1079
1080 if test -n "$ac_prev"; then
1081   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1082   as_fn_error $? "missing argument to $ac_option"
1083 fi
1084
1085 if test -n "$ac_unrecognized_opts"; then
1086   case $enable_option_checking in
1087     no) ;;
1088     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1089     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1090   esac
1091 fi
1092
1093 # Check all directory arguments for consistency.
1094 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095                 datadir sysconfdir sharedstatedir localstatedir includedir \
1096                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097                 libdir localedir mandir
1098 do
1099   eval ac_val=\$$ac_var
1100   # Remove trailing slashes.
1101   case $ac_val in
1102     */ )
1103       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1104       eval $ac_var=\$ac_val;;
1105   esac
1106   # Be sure to have absolute directory names.
1107   case $ac_val in
1108     [\\/$]* | ?:[\\/]* )  continue;;
1109     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1110   esac
1111   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1112 done
1113
1114 # There might be people who depend on the old broken behavior: `$host'
1115 # used to hold the argument of --host etc.
1116 # FIXME: To remove some day.
1117 build=$build_alias
1118 host=$host_alias
1119 target=$target_alias
1120
1121 # FIXME: To remove some day.
1122 if test "x$host_alias" != x; then
1123   if test "x$build_alias" = x; then
1124     cross_compiling=maybe
1125   elif test "x$build_alias" != "x$host_alias"; then
1126     cross_compiling=yes
1127   fi
1128 fi
1129
1130 ac_tool_prefix=
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133 test "$silent" = yes && exec 6>/dev/null
1134
1135
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139   as_fn_error $? "working directory cannot be determined"
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141   as_fn_error $? "pwd does not report name of working directory"
1142
1143
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146   ac_srcdir_defaulted=yes
1147   # Try the directory containing this script, then the parent directory.
1148   ac_confdir=`$as_dirname -- "$as_myself" ||
1149 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150          X"$as_myself" : 'X\(//\)[^/]' \| \
1151          X"$as_myself" : 'X\(//\)$' \| \
1152          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1153 $as_echo X"$as_myself" |
1154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155             s//\1/
1156             q
1157           }
1158           /^X\(\/\/\)[^/].*/{
1159             s//\1/
1160             q
1161           }
1162           /^X\(\/\/\)$/{
1163             s//\1/
1164             q
1165           }
1166           /^X\(\/\).*/{
1167             s//\1/
1168             q
1169           }
1170           s/.*/./; q'`
1171   srcdir=$ac_confdir
1172   if test ! -r "$srcdir/$ac_unique_file"; then
1173     srcdir=..
1174   fi
1175 else
1176   ac_srcdir_defaulted=no
1177 fi
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 fi
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 ac_abs_confdir=`(
1184         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185         pwd)`
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188   srcdir=.
1189 fi
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1193 case $srcdir in
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 esac
1196 for ac_var in $ac_precious_vars; do
1197   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198   eval ac_env_${ac_var}_value=\$${ac_var}
1199   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1201 done
1202
1203 #
1204 # Report the --help message.
1205 #
1206 if test "$ac_init_help" = "long"; then
1207   # Omit some internal or obsolete options to make the list less imposing.
1208   # This message is too long to be a string in the A/UX 3.1 sh.
1209   cat <<_ACEOF
1210 \`configure' configures canna-yubin 0.3.1.20150227.0 to adapt to many kinds of systems.
1211
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1213
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE.  See below for descriptions of some of the useful variables.
1216
1217 Defaults for the options are specified in brackets.
1218
1219 Configuration:
1220   -h, --help              display this help and exit
1221       --help=short        display options specific to this package
1222       --help=recursive    display the short help of all the included packages
1223   -V, --version           display version information and exit
1224   -q, --quiet, --silent   do not print \`checking ...' messages
1225       --cache-file=FILE   cache test results in FILE [disabled]
1226   -C, --config-cache      alias for \`--cache-file=config.cache'
1227   -n, --no-create         do not create output files
1228       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1229
1230 Installation directories:
1231   --prefix=PREFIX         install architecture-independent files in PREFIX
1232                           [$ac_default_prefix]
1233   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1234                           [PREFIX]
1235
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1240
1241 For better control, use the options below.
1242
1243 Fine tuning of the installation directories:
1244   --bindir=DIR            user executables [EPREFIX/bin]
1245   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1246   --libexecdir=DIR        program executables [EPREFIX/libexec]
1247   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1248   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1249   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1250   --libdir=DIR            object code libraries [EPREFIX/lib]
1251   --includedir=DIR        C header files [PREFIX/include]
1252   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1253   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1254   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1255   --infodir=DIR           info documentation [DATAROOTDIR/info]
1256   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1257   --mandir=DIR            man documentation [DATAROOTDIR/man]
1258   --docdir=DIR            documentation root [DATAROOTDIR/doc/canna-yubin]
1259   --htmldir=DIR           html documentation [DOCDIR]
1260   --dvidir=DIR            dvi documentation [DOCDIR]
1261   --pdfdir=DIR            pdf documentation [DOCDIR]
1262   --psdir=DIR             ps documentation [DOCDIR]
1263 _ACEOF
1264
1265   cat <<\_ACEOF
1266
1267 Program names:
1268   --program-prefix=PREFIX            prepend PREFIX to installed program names
1269   --program-suffix=SUFFIX            append SUFFIX to installed program names
1270   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1271 _ACEOF
1272 fi
1273
1274 if test -n "$ac_init_help"; then
1275   case $ac_init_help in
1276      short | recursive ) echo "Configuration of canna-yubin 0.3.1.20150227.0:";;
1277    esac
1278   cat <<\_ACEOF
1279
1280 Optional Features:
1281   --disable-option-checking  ignore unrecognized --enable/--with options
1282   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1283   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1284   --enable-silent-rules   less verbose build output (undo: "make V=1")
1285   --disable-silent-rules  verbose build output (undo: "make V=0")
1286
1287 Optional Packages:
1288   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1289   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1290 --with-canna    build Canna dictionary [default=/var/lib/canna/dic/canna/]
1291 --with-wnn      build Wnn dictionary [default=no]
1292
1293 Report bugs to <canna-yubin-misc@lists.sourceforge.jp>.
1294 _ACEOF
1295 ac_status=$?
1296 fi
1297
1298 if test "$ac_init_help" = "recursive"; then
1299   # If there are subdirs, report their specific --help.
1300   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1301     test -d "$ac_dir" ||
1302       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1303       continue
1304     ac_builddir=.
1305
1306 case "$ac_dir" in
1307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 *)
1309   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1310   # A ".." for each directory in $ac_dir_suffix.
1311   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1312   case $ac_top_builddir_sub in
1313   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1315   esac ;;
1316 esac
1317 ac_abs_top_builddir=$ac_pwd
1318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1319 # for backward compatibility:
1320 ac_top_builddir=$ac_top_build_prefix
1321
1322 case $srcdir in
1323   .)  # We are building in place.
1324     ac_srcdir=.
1325     ac_top_srcdir=$ac_top_builddir_sub
1326     ac_abs_top_srcdir=$ac_pwd ;;
1327   [\\/]* | ?:[\\/]* )  # Absolute name.
1328     ac_srcdir=$srcdir$ac_dir_suffix;
1329     ac_top_srcdir=$srcdir
1330     ac_abs_top_srcdir=$srcdir ;;
1331   *) # Relative name.
1332     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1333     ac_top_srcdir=$ac_top_build_prefix$srcdir
1334     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1335 esac
1336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1337
1338     cd "$ac_dir" || { ac_status=$?; continue; }
1339     # Check for guested configure.
1340     if test -f "$ac_srcdir/configure.gnu"; then
1341       echo &&
1342       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1343     elif test -f "$ac_srcdir/configure"; then
1344       echo &&
1345       $SHELL "$ac_srcdir/configure" --help=recursive
1346     else
1347       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1348     fi || ac_status=$?
1349     cd "$ac_pwd" || { ac_status=$?; break; }
1350   done
1351 fi
1352
1353 test -n "$ac_init_help" && exit $ac_status
1354 if $ac_init_version; then
1355   cat <<\_ACEOF
1356 canna-yubin configure 0.3.1.20150227.0
1357 generated by GNU Autoconf 2.69
1358
1359 Copyright (C) 2012 Free Software Foundation, Inc.
1360 This configure script is free software; the Free Software Foundation
1361 gives unlimited permission to copy, distribute and modify it.
1362 _ACEOF
1363   exit
1364 fi
1365
1366 ## ------------------------ ##
1367 ## Autoconf initialization. ##
1368 ## ------------------------ ##
1369 cat >config.log <<_ACEOF
1370 This file contains any messages produced by compilers while
1371 running configure, to aid debugging if configure makes a mistake.
1372
1373 It was created by canna-yubin $as_me 0.3.1.20150227.0, which was
1374 generated by GNU Autoconf 2.69.  Invocation command line was
1375
1376   $ $0 $@
1377
1378 _ACEOF
1379 exec 5>>config.log
1380 {
1381 cat <<_ASUNAME
1382 ## --------- ##
1383 ## Platform. ##
1384 ## --------- ##
1385
1386 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1387 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1388 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1389 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1390 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1391
1392 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1393 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1394
1395 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1396 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1397 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1398 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1399 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1400 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1401 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1402
1403 _ASUNAME
1404
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1406 for as_dir in $PATH
1407 do
1408   IFS=$as_save_IFS
1409   test -z "$as_dir" && as_dir=.
1410     $as_echo "PATH: $as_dir"
1411   done
1412 IFS=$as_save_IFS
1413
1414 } >&5
1415
1416 cat >&5 <<_ACEOF
1417
1418
1419 ## ----------- ##
1420 ## Core tests. ##
1421 ## ----------- ##
1422
1423 _ACEOF
1424
1425
1426 # Keep a trace of the command line.
1427 # Strip out --no-create and --no-recursion so they do not pile up.
1428 # Strip out --silent because we don't want to record it for future runs.
1429 # Also quote any args containing shell meta-characters.
1430 # Make two passes to allow for proper duplicate-argument suppression.
1431 ac_configure_args=
1432 ac_configure_args0=
1433 ac_configure_args1=
1434 ac_must_keep_next=false
1435 for ac_pass in 1 2
1436 do
1437   for ac_arg
1438   do
1439     case $ac_arg in
1440     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1441     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1442     | -silent | --silent | --silen | --sile | --sil)
1443       continue ;;
1444     *\'*)
1445       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1446     esac
1447     case $ac_pass in
1448     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1449     2)
1450       as_fn_append ac_configure_args1 " '$ac_arg'"
1451       if test $ac_must_keep_next = true; then
1452         ac_must_keep_next=false # Got value, back to normal.
1453       else
1454         case $ac_arg in
1455           *=* | --config-cache | -C | -disable-* | --disable-* \
1456           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1457           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1458           | -with-* | --with-* | -without-* | --without-* | --x)
1459             case "$ac_configure_args0 " in
1460               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1461             esac
1462             ;;
1463           -* ) ac_must_keep_next=true ;;
1464         esac
1465       fi
1466       as_fn_append ac_configure_args " '$ac_arg'"
1467       ;;
1468     esac
1469   done
1470 done
1471 { ac_configure_args0=; unset ac_configure_args0;}
1472 { ac_configure_args1=; unset ac_configure_args1;}
1473
1474 # When interrupted or exit'd, cleanup temporary files, and complete
1475 # config.log.  We remove comments because anyway the quotes in there
1476 # would cause problems or look ugly.
1477 # WARNING: Use '\'' to represent an apostrophe within the trap.
1478 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1479 trap 'exit_status=$?
1480   # Save into config.log some information that might help in debugging.
1481   {
1482     echo
1483
1484     $as_echo "## ---------------- ##
1485 ## Cache variables. ##
1486 ## ---------------- ##"
1487     echo
1488     # The following way of writing the cache mishandles newlines in values,
1489 (
1490   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1491     eval ac_val=\$$ac_var
1492     case $ac_val in #(
1493     *${as_nl}*)
1494       case $ac_var in #(
1495       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1496 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1497       esac
1498       case $ac_var in #(
1499       _ | IFS | as_nl) ;; #(
1500       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1501       *) { eval $ac_var=; unset $ac_var;} ;;
1502       esac ;;
1503     esac
1504   done
1505   (set) 2>&1 |
1506     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1507     *${as_nl}ac_space=\ *)
1508       sed -n \
1509         "s/'\''/'\''\\\\'\'''\''/g;
1510           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1511       ;; #(
1512     *)
1513       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1514       ;;
1515     esac |
1516     sort
1517 )
1518     echo
1519
1520     $as_echo "## ----------------- ##
1521 ## Output variables. ##
1522 ## ----------------- ##"
1523     echo
1524     for ac_var in $ac_subst_vars
1525     do
1526       eval ac_val=\$$ac_var
1527       case $ac_val in
1528       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1529       esac
1530       $as_echo "$ac_var='\''$ac_val'\''"
1531     done | sort
1532     echo
1533
1534     if test -n "$ac_subst_files"; then
1535       $as_echo "## ------------------- ##
1536 ## File substitutions. ##
1537 ## ------------------- ##"
1538       echo
1539       for ac_var in $ac_subst_files
1540       do
1541         eval ac_val=\$$ac_var
1542         case $ac_val in
1543         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544         esac
1545         $as_echo "$ac_var='\''$ac_val'\''"
1546       done | sort
1547       echo
1548     fi
1549
1550     if test -s confdefs.h; then
1551       $as_echo "## ----------- ##
1552 ## confdefs.h. ##
1553 ## ----------- ##"
1554       echo
1555       cat confdefs.h
1556       echo
1557     fi
1558     test "$ac_signal" != 0 &&
1559       $as_echo "$as_me: caught signal $ac_signal"
1560     $as_echo "$as_me: exit $exit_status"
1561   } >&5
1562   rm -f core *.core core.conftest.* &&
1563     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1564     exit $exit_status
1565 ' 0
1566 for ac_signal in 1 2 13 15; do
1567   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1568 done
1569 ac_signal=0
1570
1571 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1572 rm -f -r conftest* confdefs.h
1573
1574 $as_echo "/* confdefs.h */" > confdefs.h
1575
1576 # Predefined preprocessor variables.
1577
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_NAME "$PACKAGE_NAME"
1580 _ACEOF
1581
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1584 _ACEOF
1585
1586 cat >>confdefs.h <<_ACEOF
1587 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1588 _ACEOF
1589
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_STRING "$PACKAGE_STRING"
1592 _ACEOF
1593
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1596 _ACEOF
1597
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_URL "$PACKAGE_URL"
1600 _ACEOF
1601
1602
1603 # Let the site file select an alternate cache file if it wants to.
1604 # Prefer an explicitly selected file to automatically selected ones.
1605 ac_site_file1=NONE
1606 ac_site_file2=NONE
1607 if test -n "$CONFIG_SITE"; then
1608   # We do not want a PATH search for config.site.
1609   case $CONFIG_SITE in #((
1610     -*)  ac_site_file1=./$CONFIG_SITE;;
1611     */*) ac_site_file1=$CONFIG_SITE;;
1612     *)   ac_site_file1=./$CONFIG_SITE;;
1613   esac
1614 elif test "x$prefix" != xNONE; then
1615   ac_site_file1=$prefix/share/config.site
1616   ac_site_file2=$prefix/etc/config.site
1617 else
1618   ac_site_file1=$ac_default_prefix/share/config.site
1619   ac_site_file2=$ac_default_prefix/etc/config.site
1620 fi
1621 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1622 do
1623   test "x$ac_site_file" = xNONE && continue
1624   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1625     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1626 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1627     sed 's/^/| /' "$ac_site_file" >&5
1628     . "$ac_site_file" \
1629       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1631 as_fn_error $? "failed to load site script $ac_site_file
1632 See \`config.log' for more details" "$LINENO" 5; }
1633   fi
1634 done
1635
1636 if test -r "$cache_file"; then
1637   # Some versions of bash will fail to source /dev/null (special files
1638   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1639   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1640     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1641 $as_echo "$as_me: loading cache $cache_file" >&6;}
1642     case $cache_file in
1643       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1644       *)                      . "./$cache_file";;
1645     esac
1646   fi
1647 else
1648   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1649 $as_echo "$as_me: creating cache $cache_file" >&6;}
1650   >$cache_file
1651 fi
1652
1653 # Check that the precious variables saved in the cache have kept the same
1654 # value.
1655 ac_cache_corrupted=false
1656 for ac_var in $ac_precious_vars; do
1657   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1658   eval ac_new_set=\$ac_env_${ac_var}_set
1659   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1660   eval ac_new_val=\$ac_env_${ac_var}_value
1661   case $ac_old_set,$ac_new_set in
1662     set,)
1663       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1664 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1665       ac_cache_corrupted=: ;;
1666     ,set)
1667       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1668 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1669       ac_cache_corrupted=: ;;
1670     ,);;
1671     *)
1672       if test "x$ac_old_val" != "x$ac_new_val"; then
1673         # differences in whitespace do not lead to failure.
1674         ac_old_val_w=`echo x $ac_old_val`
1675         ac_new_val_w=`echo x $ac_new_val`
1676         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1677           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1678 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1679           ac_cache_corrupted=:
1680         else
1681           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1682 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1683           eval $ac_var=\$ac_old_val
1684         fi
1685         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1686 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1687         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1688 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1689       fi;;
1690   esac
1691   # Pass precious variables to config.status.
1692   if test "$ac_new_set" = set; then
1693     case $ac_new_val in
1694     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1695     *) ac_arg=$ac_var=$ac_new_val ;;
1696     esac
1697     case " $ac_configure_args " in
1698       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1699       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1700     esac
1701   fi
1702 done
1703 if $ac_cache_corrupted; then
1704   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1706   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1707 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1708   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1709 fi
1710 ## -------------------- ##
1711 ## Main body of script. ##
1712 ## -------------------- ##
1713
1714 ac_ext=c
1715 ac_cpp='$CPP $CPPFLAGS'
1716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1719
1720
1721 am__api_version='1.14'
1722
1723 ac_aux_dir=
1724 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1725   if test -f "$ac_dir/install-sh"; then
1726     ac_aux_dir=$ac_dir
1727     ac_install_sh="$ac_aux_dir/install-sh -c"
1728     break
1729   elif test -f "$ac_dir/install.sh"; then
1730     ac_aux_dir=$ac_dir
1731     ac_install_sh="$ac_aux_dir/install.sh -c"
1732     break
1733   elif test -f "$ac_dir/shtool"; then
1734     ac_aux_dir=$ac_dir
1735     ac_install_sh="$ac_aux_dir/shtool install -c"
1736     break
1737   fi
1738 done
1739 if test -z "$ac_aux_dir"; then
1740   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1741 fi
1742
1743 # These three variables are undocumented and unsupported,
1744 # and are intended to be withdrawn in a future Autoconf release.
1745 # They can cause serious problems if a builder's source tree is in a directory
1746 # whose full name contains unusual characters.
1747 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1748 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1749 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1750
1751
1752 # Find a good install program.  We prefer a C program (faster),
1753 # so one script is as good as another.  But avoid the broken or
1754 # incompatible versions:
1755 # SysV /etc/install, /usr/sbin/install
1756 # SunOS /usr/etc/install
1757 # IRIX /sbin/install
1758 # AIX /bin/install
1759 # AmigaOS /C/install, which installs bootblocks on floppy discs
1760 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1763 # OS/2's system install, which has a completely different semantic
1764 # ./install, which can be erroneously created by make from ./install.sh.
1765 # Reject install programs that cannot install multiple files.
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1767 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1768 if test -z "$INSTALL"; then
1769 if ${ac_cv_path_install+:} false; then :
1770   $as_echo_n "(cached) " >&6
1771 else
1772   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 for as_dir in $PATH
1774 do
1775   IFS=$as_save_IFS
1776   test -z "$as_dir" && as_dir=.
1777     # Account for people who put trailing slashes in PATH elements.
1778 case $as_dir/ in #((
1779   ./ | .// | /[cC]/* | \
1780   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1781   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1782   /usr/ucb/* ) ;;
1783   *)
1784     # OSF1 and SCO ODT 3.0 have their own names for install.
1785     # Don't use installbsd from OSF since it installs stuff as root
1786     # by default.
1787     for ac_prog in ginstall scoinst install; do
1788       for ac_exec_ext in '' $ac_executable_extensions; do
1789         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1790           if test $ac_prog = install &&
1791             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1792             # AIX install.  It has an incompatible calling convention.
1793             :
1794           elif test $ac_prog = install &&
1795             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796             # program-specific install script used by HP pwplus--don't use.
1797             :
1798           else
1799             rm -rf conftest.one conftest.two conftest.dir
1800             echo one > conftest.one
1801             echo two > conftest.two
1802             mkdir conftest.dir
1803             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1804               test -s conftest.one && test -s conftest.two &&
1805               test -s conftest.dir/conftest.one &&
1806               test -s conftest.dir/conftest.two
1807             then
1808               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1809               break 3
1810             fi
1811           fi
1812         fi
1813       done
1814     done
1815     ;;
1816 esac
1817
1818   done
1819 IFS=$as_save_IFS
1820
1821 rm -rf conftest.one conftest.two conftest.dir
1822
1823 fi
1824   if test "${ac_cv_path_install+set}" = set; then
1825     INSTALL=$ac_cv_path_install
1826   else
1827     # As a last resort, use the slow shell script.  Don't cache a
1828     # value for INSTALL within a source directory, because that will
1829     # break other packages using the cache if that directory is
1830     # removed, or if the value is a relative name.
1831     INSTALL=$ac_install_sh
1832   fi
1833 fi
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1835 $as_echo "$INSTALL" >&6; }
1836
1837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1838 # It thinks the first close brace ends the variable substitution.
1839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1840
1841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1842
1843 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1844
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1846 $as_echo_n "checking whether build environment is sane... " >&6; }
1847 # Reject unsafe characters in $srcdir or the absolute working directory
1848 # name.  Accept space and tab only in the latter.
1849 am_lf='
1850 '
1851 case `pwd` in
1852   *[\\\"\#\$\&\'\`$am_lf]*)
1853     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1854 esac
1855 case $srcdir in
1856   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1857     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1858 esac
1859
1860 # Do 'set' in a subshell so we don't clobber the current shell's
1861 # arguments.  Must try -L first in case configure is actually a
1862 # symlink; some systems play weird games with the mod time of symlinks
1863 # (eg FreeBSD returns the mod time of the symlink's containing
1864 # directory).
1865 if (
1866    am_has_slept=no
1867    for am_try in 1 2; do
1868      echo "timestamp, slept: $am_has_slept" > conftest.file
1869      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1870      if test "$*" = "X"; then
1871         # -L didn't work.
1872         set X `ls -t "$srcdir/configure" conftest.file`
1873      fi
1874      if test "$*" != "X $srcdir/configure conftest.file" \
1875         && test "$*" != "X conftest.file $srcdir/configure"; then
1876
1877         # If neither matched, then we have a broken ls.  This can happen
1878         # if, for instance, CONFIG_SHELL is bash and it inherits a
1879         # broken ls alias from the environment.  This has actually
1880         # happened.  Such a system could not be considered "sane".
1881         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1882   alias in your environment" "$LINENO" 5
1883      fi
1884      if test "$2" = conftest.file || test $am_try -eq 2; then
1885        break
1886      fi
1887      # Just in case.
1888      sleep 1
1889      am_has_slept=yes
1890    done
1891    test "$2" = conftest.file
1892    )
1893 then
1894    # Ok.
1895    :
1896 else
1897    as_fn_error $? "newly created file is older than distributed files!
1898 Check your system clock" "$LINENO" 5
1899 fi
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1901 $as_echo "yes" >&6; }
1902 # If we didn't sleep, we still need to ensure time stamps of config.status and
1903 # generated files are strictly newer.
1904 am_sleep_pid=
1905 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1906   ( sleep 1 ) &
1907   am_sleep_pid=$!
1908 fi
1909
1910 rm -f conftest.file
1911
1912 test "$program_prefix" != NONE &&
1913   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1914 # Use a double $ so make ignores it.
1915 test "$program_suffix" != NONE &&
1916   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1917 # Double any \ or $.
1918 # By default was `s,x,x', remove it if useless.
1919 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1920 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1921
1922 # Expand $ac_aux_dir to an absolute path.
1923 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1924
1925 if test x"${MISSING+set}" != xset; then
1926   case $am_aux_dir in
1927   *\ * | *\     *)
1928     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1929   *)
1930     MISSING="\${SHELL} $am_aux_dir/missing" ;;
1931   esac
1932 fi
1933 # Use eval to expand $SHELL
1934 if eval "$MISSING --is-lightweight"; then
1935   am_missing_run="$MISSING "
1936 else
1937   am_missing_run=
1938   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1939 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1940 fi
1941
1942 if test x"${install_sh}" != xset; then
1943   case $am_aux_dir in
1944   *\ * | *\     *)
1945     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1946   *)
1947     install_sh="\${SHELL} $am_aux_dir/install-sh"
1948   esac
1949 fi
1950
1951 # Installed binaries are usually stripped using 'strip' when the user
1952 # run "make install-strip".  However 'strip' might not be the right
1953 # tool to use in cross-compilation environments, therefore Automake
1954 # will honor the 'STRIP' environment variable to overrule this program.
1955 if test "$cross_compiling" != no; then
1956   if test -n "$ac_tool_prefix"; then
1957   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1958 set dummy ${ac_tool_prefix}strip; ac_word=$2
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1960 $as_echo_n "checking for $ac_word... " >&6; }
1961 if ${ac_cv_prog_STRIP+:} false; then :
1962   $as_echo_n "(cached) " >&6
1963 else
1964   if test -n "$STRIP"; then
1965   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1966 else
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1968 for as_dir in $PATH
1969 do
1970   IFS=$as_save_IFS
1971   test -z "$as_dir" && as_dir=.
1972     for ac_exec_ext in '' $ac_executable_extensions; do
1973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1976     break 2
1977   fi
1978 done
1979   done
1980 IFS=$as_save_IFS
1981
1982 fi
1983 fi
1984 STRIP=$ac_cv_prog_STRIP
1985 if test -n "$STRIP"; then
1986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1987 $as_echo "$STRIP" >&6; }
1988 else
1989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1990 $as_echo "no" >&6; }
1991 fi
1992
1993
1994 fi
1995 if test -z "$ac_cv_prog_STRIP"; then
1996   ac_ct_STRIP=$STRIP
1997   # Extract the first word of "strip", so it can be a program name with args.
1998 set dummy strip; ac_word=$2
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2000 $as_echo_n "checking for $ac_word... " >&6; }
2001 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2002   $as_echo_n "(cached) " >&6
2003 else
2004   if test -n "$ac_ct_STRIP"; then
2005   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2006 else
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 for as_dir in $PATH
2009 do
2010   IFS=$as_save_IFS
2011   test -z "$as_dir" && as_dir=.
2012     for ac_exec_ext in '' $ac_executable_extensions; do
2013   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014     ac_cv_prog_ac_ct_STRIP="strip"
2015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2016     break 2
2017   fi
2018 done
2019   done
2020 IFS=$as_save_IFS
2021
2022 fi
2023 fi
2024 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2025 if test -n "$ac_ct_STRIP"; then
2026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2027 $as_echo "$ac_ct_STRIP" >&6; }
2028 else
2029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030 $as_echo "no" >&6; }
2031 fi
2032
2033   if test "x$ac_ct_STRIP" = x; then
2034     STRIP=":"
2035   else
2036     case $cross_compiling:$ac_tool_warned in
2037 yes:)
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2040 ac_tool_warned=yes ;;
2041 esac
2042     STRIP=$ac_ct_STRIP
2043   fi
2044 else
2045   STRIP="$ac_cv_prog_STRIP"
2046 fi
2047
2048 fi
2049 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2050
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2052 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2053 if test -z "$MKDIR_P"; then
2054   if ${ac_cv_path_mkdir+:} false; then :
2055   $as_echo_n "(cached) " >&6
2056 else
2057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2059 do
2060   IFS=$as_save_IFS
2061   test -z "$as_dir" && as_dir=.
2062     for ac_prog in mkdir gmkdir; do
2063          for ac_exec_ext in '' $ac_executable_extensions; do
2064            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2065            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2066              'mkdir (GNU coreutils) '* | \
2067              'mkdir (coreutils) '* | \
2068              'mkdir (fileutils) '4.1*)
2069                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2070                break 3;;
2071            esac
2072          done
2073        done
2074   done
2075 IFS=$as_save_IFS
2076
2077 fi
2078
2079   test -d ./--version && rmdir ./--version
2080   if test "${ac_cv_path_mkdir+set}" = set; then
2081     MKDIR_P="$ac_cv_path_mkdir -p"
2082   else
2083     # As a last resort, use the slow shell script.  Don't cache a
2084     # value for MKDIR_P within a source directory, because that will
2085     # break other packages using the cache if that directory is
2086     # removed, or if the value is a relative name.
2087     MKDIR_P="$ac_install_sh -d"
2088   fi
2089 fi
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2091 $as_echo "$MKDIR_P" >&6; }
2092
2093 for ac_prog in gawk mawk nawk awk
2094 do
2095   # Extract the first word of "$ac_prog", so it can be a program name with args.
2096 set dummy $ac_prog; ac_word=$2
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2098 $as_echo_n "checking for $ac_word... " >&6; }
2099 if ${ac_cv_prog_AWK+:} false; then :
2100   $as_echo_n "(cached) " >&6
2101 else
2102   if test -n "$AWK"; then
2103   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2104 else
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 for as_dir in $PATH
2107 do
2108   IFS=$as_save_IFS
2109   test -z "$as_dir" && as_dir=.
2110     for ac_exec_ext in '' $ac_executable_extensions; do
2111   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112     ac_cv_prog_AWK="$ac_prog"
2113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2114     break 2
2115   fi
2116 done
2117   done
2118 IFS=$as_save_IFS
2119
2120 fi
2121 fi
2122 AWK=$ac_cv_prog_AWK
2123 if test -n "$AWK"; then
2124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2125 $as_echo "$AWK" >&6; }
2126 else
2127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2128 $as_echo "no" >&6; }
2129 fi
2130
2131
2132   test -n "$AWK" && break
2133 done
2134
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2136 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2137 set x ${MAKE-make}
2138 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2139 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2140   $as_echo_n "(cached) " >&6
2141 else
2142   cat >conftest.make <<\_ACEOF
2143 SHELL = /bin/sh
2144 all:
2145         @echo '@@@%%%=$(MAKE)=@@@%%%'
2146 _ACEOF
2147 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2148 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2149   *@@@%%%=?*=@@@%%%*)
2150     eval ac_cv_prog_make_${ac_make}_set=yes;;
2151   *)
2152     eval ac_cv_prog_make_${ac_make}_set=no;;
2153 esac
2154 rm -f conftest.make
2155 fi
2156 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2158 $as_echo "yes" >&6; }
2159   SET_MAKE=
2160 else
2161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2162 $as_echo "no" >&6; }
2163   SET_MAKE="MAKE=${MAKE-make}"
2164 fi
2165
2166 rm -rf .tst 2>/dev/null
2167 mkdir .tst 2>/dev/null
2168 if test -d .tst; then
2169   am__leading_dot=.
2170 else
2171   am__leading_dot=_
2172 fi
2173 rmdir .tst 2>/dev/null
2174
2175 # Check whether --enable-silent-rules was given.
2176 if test "${enable_silent_rules+set}" = set; then :
2177   enableval=$enable_silent_rules;
2178 fi
2179
2180 case $enable_silent_rules in # (((
2181   yes) AM_DEFAULT_VERBOSITY=0;;
2182    no) AM_DEFAULT_VERBOSITY=1;;
2183     *) AM_DEFAULT_VERBOSITY=1;;
2184 esac
2185 am_make=${MAKE-make}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2187 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2188 if ${am_cv_make_support_nested_variables+:} false; then :
2189   $as_echo_n "(cached) " >&6
2190 else
2191   if $as_echo 'TRUE=$(BAR$(V))
2192 BAR0=false
2193 BAR1=true
2194 V=1
2195 am__doit:
2196         @$(TRUE)
2197 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2198   am_cv_make_support_nested_variables=yes
2199 else
2200   am_cv_make_support_nested_variables=no
2201 fi
2202 fi
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2204 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2205 if test $am_cv_make_support_nested_variables = yes; then
2206     AM_V='$(V)'
2207   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2208 else
2209   AM_V=$AM_DEFAULT_VERBOSITY
2210   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2211 fi
2212 AM_BACKSLASH='\'
2213
2214 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2215   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2216   # is not polluted with repeated "-I."
2217   am__isrc=' -I$(srcdir)'
2218   # test to see if srcdir already configured
2219   if test -f $srcdir/config.status; then
2220     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2221   fi
2222 fi
2223
2224 # test whether we have cygpath
2225 if test -z "$CYGPATH_W"; then
2226   if (cygpath --version) >/dev/null 2>/dev/null; then
2227     CYGPATH_W='cygpath -w'
2228   else
2229     CYGPATH_W=echo
2230   fi
2231 fi
2232
2233
2234 # Define the identity of the package.
2235  PACKAGE='canna-yubin'
2236  VERSION='0.3.1.20150227.0'
2237
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE "$PACKAGE"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define VERSION "$VERSION"
2246 _ACEOF
2247
2248 # Some tools Automake needs.
2249
2250 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2251
2252
2253 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2254
2255
2256 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2257
2258
2259 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2260
2261
2262 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2263
2264 # For better backward compatibility.  To be removed once Automake 1.9.x
2265 # dies out for good.  For more background, see:
2266 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2267 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2268 mkdir_p='$(MKDIR_P)'
2269
2270 # We need awk for the "check" target.  The system "awk" is bad on
2271 # some platforms.
2272 # Always define AMTAR for backward compatibility.  Yes, it's still used
2273 # in the wild :-(  We should find a proper way to deprecate it ...
2274 AMTAR='$${TAR-tar}'
2275
2276
2277 # We'll loop over all known methods to create a tar archive until one works.
2278 _am_tools='gnutar  pax cpio none'
2279
2280 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2281
2282
2283
2284
2285
2286
2287 # POSIX will say in a future version that running "rm -f" with no argument
2288 # is OK; and we want to be able to make that assumption in our Makefile
2289 # recipes.  So use an aggressive probe to check that the usage we want is
2290 # actually supported "in the wild" to an acceptable degree.
2291 # See automake bug#10828.
2292 # To make any issue more visible, cause the running configure to be aborted
2293 # by default if the 'rm' program in use doesn't match our expectations; the
2294 # user can still override this though.
2295 if rm -f && rm -fr && rm -rf; then : OK; else
2296   cat >&2 <<'END'
2297 Oops!
2298
2299 Your 'rm' program seems unable to run without file operands specified
2300 on the command line, even when the '-f' option is present.  This is contrary
2301 to the behaviour of most rm programs out there, and not conforming with
2302 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2303
2304 Please tell bug-automake@gnu.org about your system, including the value
2305 of your $PATH and any error possibly output before this message.  This
2306 can help us improve future automake versions.
2307
2308 END
2309   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2310     echo 'Configuration will proceed anyway, since you have set the' >&2
2311     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2312     echo >&2
2313   else
2314     cat >&2 <<'END'
2315 Aborting the configuration process, to ensure you take notice of the issue.
2316
2317 You can download and install GNU coreutils to get an 'rm' implementation
2318 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2319
2320 If you want to complete the configuration process using your problematic
2321 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2322 to "yes", and re-run configure.
2323
2324 END
2325     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2326   fi
2327 fi
2328
2329
2330 # Checks for options.
2331
2332
2333 # Check whether --with-canna was given.
2334 if test "${with_canna+set}" = set; then :
2335   withval=$with_canna;
2336 else
2337   with_canna=yes
2338 fi
2339
2340
2341 # Check whether --with-wnn was given.
2342 if test "${with_wnn+set}" = set; then :
2343   withval=$with_wnn;
2344 else
2345   with_wnn=no
2346 fi
2347
2348
2349 case "x$with_canna" in
2350 'xno') ;;
2351 'xyes') CANNADICDIR='/var/lib/canna/dic/canna/' ;;
2352 *) CANNADICDIR="$with_canna" ;;
2353 esac
2354 case "x$CANNADICDIR" in
2355 'x') ;;
2356 *) CANNATARGETS='yubin7.cbd yubin7.cld' ;;
2357 esac
2358
2359 case "x$with_wnn" in
2360 'xno') ;;
2361 'xyes') WNNDICDIR='/usr/local/lib/wnn/ja_JP/dic/yubin/' ;;
2362 *) WNNDICDIR="$with_wnn" ;;
2363 esac
2364 case "x$WNNDICDIR" in
2365 'x') ;;
2366 *) WNNTARGETS='yubin7.dic';;
2367 esac
2368
2369 # Checks for programs.
2370
2371
2372
2373
2374 case "x$CANNADICDIR" in
2375 'x') ;;
2376 x*)
2377         for ac_prog in mkbindic
2378 do
2379   # Extract the first word of "$ac_prog", so it can be a program name with args.
2380 set dummy $ac_prog; ac_word=$2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382 $as_echo_n "checking for $ac_word... " >&6; }
2383 if ${ac_cv_prog_MKBINDIC+:} false; then :
2384   $as_echo_n "(cached) " >&6
2385 else
2386   if test -n "$MKBINDIC"; then
2387   ac_cv_prog_MKBINDIC="$MKBINDIC" # Let the user override the test.
2388 else
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 for as_dir in $PATH
2391 do
2392   IFS=$as_save_IFS
2393   test -z "$as_dir" && as_dir=.
2394     for ac_exec_ext in '' $ac_executable_extensions; do
2395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396     ac_cv_prog_MKBINDIC="$ac_prog"
2397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2398     break 2
2399   fi
2400 done
2401   done
2402 IFS=$as_save_IFS
2403
2404 fi
2405 fi
2406 MKBINDIC=$ac_cv_prog_MKBINDIC
2407 if test -n "$MKBINDIC"; then
2408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKBINDIC" >&5
2409 $as_echo "$MKBINDIC" >&6; }
2410 else
2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2413 fi
2414
2415
2416   test -n "$MKBINDIC" && break
2417 done
2418
2419         case "x$MKBINDIC" in
2420         'x') as_fn_error $? "could not find mkbindic.  Did you install Canna?" "$LINENO" 5 ;;
2421         esac
2422         ;;
2423 esac
2424
2425 case "x$WNNDICDIR" in
2426 'x') ;;
2427 x*)
2428         for ac_prog in atod
2429 do
2430   # Extract the first word of "$ac_prog", so it can be a program name with args.
2431 set dummy $ac_prog; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if ${ac_cv_prog_ATOD+:} false; then :
2435   $as_echo_n "(cached) " >&6
2436 else
2437   if test -n "$ATOD"; then
2438   ac_cv_prog_ATOD="$ATOD" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2442 do
2443   IFS=$as_save_IFS
2444   test -z "$as_dir" && as_dir=.
2445     for ac_exec_ext in '' $ac_executable_extensions; do
2446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447     ac_cv_prog_ATOD="$ac_prog"
2448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449     break 2
2450   fi
2451 done
2452   done
2453 IFS=$as_save_IFS
2454
2455 fi
2456 fi
2457 ATOD=$ac_cv_prog_ATOD
2458 if test -n "$ATOD"; then
2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ATOD" >&5
2460 $as_echo "$ATOD" >&6; }
2461 else
2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463 $as_echo "no" >&6; }
2464 fi
2465
2466
2467   test -n "$ATOD" && break
2468 done
2469
2470         case "x$ATOD" in
2471         'x')
2472                 as_fn_error $? "could not find atod.  Did you install Wnn and set your PATH?  FreeWnn default, atod is installed /usr/local/bin/Wnn4/!" "$LINENO" 5
2473                 ;;
2474         esac
2475         ;;
2476 esac
2477
2478
2479
2480
2481
2482
2483 # Checks for libraries.
2484
2485 # Checks for header files.
2486
2487 # Checks for typedefs, structures, and compiler characteristics.
2488
2489 # Checks for library functions.
2490
2491 ac_config_files="$ac_config_files Makefile"
2492
2493 cat >confcache <<\_ACEOF
2494 # This file is a shell script that caches the results of configure
2495 # tests run on this system so they can be shared between configure
2496 # scripts and configure runs, see configure's option --config-cache.
2497 # It is not useful on other systems.  If it contains results you don't
2498 # want to keep, you may remove or edit it.
2499 #
2500 # config.status only pays attention to the cache file if you give it
2501 # the --recheck option to rerun configure.
2502 #
2503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2505 # following values.
2506
2507 _ACEOF
2508
2509 # The following way of writing the cache mishandles newlines in values,
2510 # but we know of no workaround that is simple, portable, and efficient.
2511 # So, we kill variables containing newlines.
2512 # Ultrix sh set writes to stderr and can't be redirected directly,
2513 # and sets the high bit in the cache file unless we assign to the vars.
2514 (
2515   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2516     eval ac_val=\$$ac_var
2517     case $ac_val in #(
2518     *${as_nl}*)
2519       case $ac_var in #(
2520       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2522       esac
2523       case $ac_var in #(
2524       _ | IFS | as_nl) ;; #(
2525       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2526       *) { eval $ac_var=; unset $ac_var;} ;;
2527       esac ;;
2528     esac
2529   done
2530
2531   (set) 2>&1 |
2532     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2533     *${as_nl}ac_space=\ *)
2534       # `set' does not quote correctly, so add quotes: double-quote
2535       # substitution turns \\\\ into \\, and sed turns \\ into \.
2536       sed -n \
2537         "s/'/'\\\\''/g;
2538           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2539       ;; #(
2540     *)
2541       # `set' quotes correctly as required by POSIX, so do not add quotes.
2542       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2543       ;;
2544     esac |
2545     sort
2546 ) |
2547   sed '
2548      /^ac_cv_env_/b end
2549      t clear
2550      :clear
2551      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2552      t end
2553      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2554      :end' >>confcache
2555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2556   if test -w "$cache_file"; then
2557     if test "x$cache_file" != "x/dev/null"; then
2558       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2559 $as_echo "$as_me: updating cache $cache_file" >&6;}
2560       if test ! -f "$cache_file" || test -h "$cache_file"; then
2561         cat confcache >"$cache_file"
2562       else
2563         case $cache_file in #(
2564         */* | ?:*)
2565           mv -f confcache "$cache_file"$$ &&
2566           mv -f "$cache_file"$$ "$cache_file" ;; #(
2567         *)
2568           mv -f confcache "$cache_file" ;;
2569         esac
2570       fi
2571     fi
2572   else
2573     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2574 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2575   fi
2576 fi
2577 rm -f confcache
2578
2579 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2580 # Let make expand exec_prefix.
2581 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2582
2583 # Transform confdefs.h into DEFS.
2584 # Protect against shell expansion while executing Makefile rules.
2585 # Protect against Makefile macro expansion.
2586 #
2587 # If the first sed substitution is executed (which looks for macros that
2588 # take arguments), then branch to the quote section.  Otherwise,
2589 # look for a macro that doesn't take arguments.
2590 ac_script='
2591 :mline
2592 /\\$/{
2593  N
2594  s,\\\n,,
2595  b mline
2596 }
2597 t clear
2598 :clear
2599 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2600 t quote
2601 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2602 t quote
2603 b any
2604 :quote
2605 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2606 s/\[/\\&/g
2607 s/\]/\\&/g
2608 s/\$/$$/g
2609 H
2610 :any
2611 ${
2612         g
2613         s/^\n//
2614         s/\n/ /g
2615         p
2616 }
2617 '
2618 DEFS=`sed -n "$ac_script" confdefs.h`
2619
2620
2621 ac_libobjs=
2622 ac_ltlibobjs=
2623 U=
2624 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2625   # 1. Remove the extension, and $U if already installed.
2626   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2627   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2628   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2629   #    will be set to the directory where LIBOBJS objects are built.
2630   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2631   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2632 done
2633 LIBOBJS=$ac_libobjs
2634
2635 LTLIBOBJS=$ac_ltlibobjs
2636
2637
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2639 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2640    if test -n "$am_sleep_pid"; then
2641      # Hide warnings about reused PIDs.
2642      wait $am_sleep_pid 2>/dev/null
2643    fi
2644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2645 $as_echo "done" >&6; }
2646
2647
2648 : "${CONFIG_STATUS=./config.status}"
2649 ac_write_fail=0
2650 ac_clean_files_save=$ac_clean_files
2651 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2653 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2654 as_write_fail=0
2655 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2656 #! $SHELL
2657 # Generated by $as_me.
2658 # Run this file to recreate the current configuration.
2659 # Compiler output produced by configure, useful for debugging
2660 # configure, is in config.log if it exists.
2661
2662 debug=false
2663 ac_cs_recheck=false
2664 ac_cs_silent=false
2665
2666 SHELL=\${CONFIG_SHELL-$SHELL}
2667 export SHELL
2668 _ASEOF
2669 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2670 ## -------------------- ##
2671 ## M4sh Initialization. ##
2672 ## -------------------- ##
2673
2674 # Be more Bourne compatible
2675 DUALCASE=1; export DUALCASE # for MKS sh
2676 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2677   emulate sh
2678   NULLCMD=:
2679   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2680   # is contrary to our usage.  Disable this feature.
2681   alias -g '${1+"$@"}'='"$@"'
2682   setopt NO_GLOB_SUBST
2683 else
2684   case `(set -o) 2>/dev/null` in #(
2685   *posix*) :
2686     set -o posix ;; #(
2687   *) :
2688      ;;
2689 esac
2690 fi
2691
2692
2693 as_nl='
2694 '
2695 export as_nl
2696 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2697 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2699 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2700 # Prefer a ksh shell builtin over an external printf program on Solaris,
2701 # but without wasting forks for bash or zsh.
2702 if test -z "$BASH_VERSION$ZSH_VERSION" \
2703     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2704   as_echo='print -r --'
2705   as_echo_n='print -rn --'
2706 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2707   as_echo='printf %s\n'
2708   as_echo_n='printf %s'
2709 else
2710   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2711     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2712     as_echo_n='/usr/ucb/echo -n'
2713   else
2714     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2715     as_echo_n_body='eval
2716       arg=$1;
2717       case $arg in #(
2718       *"$as_nl"*)
2719         expr "X$arg" : "X\\(.*\\)$as_nl";
2720         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2721       esac;
2722       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2723     '
2724     export as_echo_n_body
2725     as_echo_n='sh -c $as_echo_n_body as_echo'
2726   fi
2727   export as_echo_body
2728   as_echo='sh -c $as_echo_body as_echo'
2729 fi
2730
2731 # The user is always right.
2732 if test "${PATH_SEPARATOR+set}" != set; then
2733   PATH_SEPARATOR=:
2734   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2735     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2736       PATH_SEPARATOR=';'
2737   }
2738 fi
2739
2740
2741 # IFS
2742 # We need space, tab and new line, in precisely that order.  Quoting is
2743 # there to prevent editors from complaining about space-tab.
2744 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2745 # splitting by setting IFS to empty value.)
2746 IFS=" ""        $as_nl"
2747
2748 # Find who we are.  Look in the path if we contain no directory separator.
2749 as_myself=
2750 case $0 in #((
2751   *[\\/]* ) as_myself=$0 ;;
2752   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755   IFS=$as_save_IFS
2756   test -z "$as_dir" && as_dir=.
2757     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2758   done
2759 IFS=$as_save_IFS
2760
2761      ;;
2762 esac
2763 # We did not find ourselves, most probably we were run as `sh COMMAND'
2764 # in which case we are not to be found in the path.
2765 if test "x$as_myself" = x; then
2766   as_myself=$0
2767 fi
2768 if test ! -f "$as_myself"; then
2769   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2770   exit 1
2771 fi
2772
2773 # Unset variables that we do not need and which cause bugs (e.g. in
2774 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2775 # suppresses any "Segmentation fault" message there.  '((' could
2776 # trigger a bug in pdksh 5.2.14.
2777 for as_var in BASH_ENV ENV MAIL MAILPATH
2778 do eval test x\${$as_var+set} = xset \
2779   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2780 done
2781 PS1='$ '
2782 PS2='> '
2783 PS4='+ '
2784
2785 # NLS nuisances.
2786 LC_ALL=C
2787 export LC_ALL
2788 LANGUAGE=C
2789 export LANGUAGE
2790
2791 # CDPATH.
2792 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2793
2794
2795 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2796 # ----------------------------------------
2797 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2798 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2799 # script with STATUS, using 1 if that was 0.
2800 as_fn_error ()
2801 {
2802   as_status=$1; test $as_status -eq 0 && as_status=1
2803   if test "$4"; then
2804     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2806   fi
2807   $as_echo "$as_me: error: $2" >&2
2808   as_fn_exit $as_status
2809 } # as_fn_error
2810
2811
2812 # as_fn_set_status STATUS
2813 # -----------------------
2814 # Set $? to STATUS, without forking.
2815 as_fn_set_status ()
2816 {
2817   return $1
2818 } # as_fn_set_status
2819
2820 # as_fn_exit STATUS
2821 # -----------------
2822 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2823 as_fn_exit ()
2824 {
2825   set +e
2826   as_fn_set_status $1
2827   exit $1
2828 } # as_fn_exit
2829
2830 # as_fn_unset VAR
2831 # ---------------
2832 # Portably unset VAR.
2833 as_fn_unset ()
2834 {
2835   { eval $1=; unset $1;}
2836 }
2837 as_unset=as_fn_unset
2838 # as_fn_append VAR VALUE
2839 # ----------------------
2840 # Append the text in VALUE to the end of the definition contained in VAR. Take
2841 # advantage of any shell optimizations that allow amortized linear growth over
2842 # repeated appends, instead of the typical quadratic growth present in naive
2843 # implementations.
2844 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2845   eval 'as_fn_append ()
2846   {
2847     eval $1+=\$2
2848   }'
2849 else
2850   as_fn_append ()
2851   {
2852     eval $1=\$$1\$2
2853   }
2854 fi # as_fn_append
2855
2856 # as_fn_arith ARG...
2857 # ------------------
2858 # Perform arithmetic evaluation on the ARGs, and store the result in the
2859 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2860 # must be portable across $(()) and expr.
2861 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2862   eval 'as_fn_arith ()
2863   {
2864     as_val=$(( $* ))
2865   }'
2866 else
2867   as_fn_arith ()
2868   {
2869     as_val=`expr "$@" || test $? -eq 1`
2870   }
2871 fi # as_fn_arith
2872
2873
2874 if expr a : '\(a\)' >/dev/null 2>&1 &&
2875    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2876   as_expr=expr
2877 else
2878   as_expr=false
2879 fi
2880
2881 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2882   as_basename=basename
2883 else
2884   as_basename=false
2885 fi
2886
2887 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2888   as_dirname=dirname
2889 else
2890   as_dirname=false
2891 fi
2892
2893 as_me=`$as_basename -- "$0" ||
2894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2895          X"$0" : 'X\(//\)$' \| \
2896          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2897 $as_echo X/"$0" |
2898     sed '/^.*\/\([^/][^/]*\)\/*$/{
2899             s//\1/
2900             q
2901           }
2902           /^X\/\(\/\/\)$/{
2903             s//\1/
2904             q
2905           }
2906           /^X\/\(\/\).*/{
2907             s//\1/
2908             q
2909           }
2910           s/.*/./; q'`
2911
2912 # Avoid depending upon Character Ranges.
2913 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2914 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2915 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2916 as_cr_digits='0123456789'
2917 as_cr_alnum=$as_cr_Letters$as_cr_digits
2918
2919 ECHO_C= ECHO_N= ECHO_T=
2920 case `echo -n x` in #(((((
2921 -n*)
2922   case `echo 'xy\c'` in
2923   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2924   xy)  ECHO_C='\c';;
2925   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2926        ECHO_T=' ';;
2927   esac;;
2928 *)
2929   ECHO_N='-n';;
2930 esac
2931
2932 rm -f conf$$ conf$$.exe conf$$.file
2933 if test -d conf$$.dir; then
2934   rm -f conf$$.dir/conf$$.file
2935 else
2936   rm -f conf$$.dir
2937   mkdir conf$$.dir 2>/dev/null
2938 fi
2939 if (echo >conf$$.file) 2>/dev/null; then
2940   if ln -s conf$$.file conf$$ 2>/dev/null; then
2941     as_ln_s='ln -s'
2942     # ... but there are two gotchas:
2943     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2944     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2945     # In both cases, we have to default to `cp -pR'.
2946     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2947       as_ln_s='cp -pR'
2948   elif ln conf$$.file conf$$ 2>/dev/null; then
2949     as_ln_s=ln
2950   else
2951     as_ln_s='cp -pR'
2952   fi
2953 else
2954   as_ln_s='cp -pR'
2955 fi
2956 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2957 rmdir conf$$.dir 2>/dev/null
2958
2959
2960 # as_fn_mkdir_p
2961 # -------------
2962 # Create "$as_dir" as a directory, including parents if necessary.
2963 as_fn_mkdir_p ()
2964 {
2965
2966   case $as_dir in #(
2967   -*) as_dir=./$as_dir;;
2968   esac
2969   test -d "$as_dir" || eval $as_mkdir_p || {
2970     as_dirs=
2971     while :; do
2972       case $as_dir in #(
2973       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2974       *) as_qdir=$as_dir;;
2975       esac
2976       as_dirs="'$as_qdir' $as_dirs"
2977       as_dir=`$as_dirname -- "$as_dir" ||
2978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2979          X"$as_dir" : 'X\(//\)[^/]' \| \
2980          X"$as_dir" : 'X\(//\)$' \| \
2981          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2982 $as_echo X"$as_dir" |
2983     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2984             s//\1/
2985             q
2986           }
2987           /^X\(\/\/\)[^/].*/{
2988             s//\1/
2989             q
2990           }
2991           /^X\(\/\/\)$/{
2992             s//\1/
2993             q
2994           }
2995           /^X\(\/\).*/{
2996             s//\1/
2997             q
2998           }
2999           s/.*/./; q'`
3000       test -d "$as_dir" && break
3001     done
3002     test -z "$as_dirs" || eval "mkdir $as_dirs"
3003   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3004
3005
3006 } # as_fn_mkdir_p
3007 if mkdir -p . 2>/dev/null; then
3008   as_mkdir_p='mkdir -p "$as_dir"'
3009 else
3010   test -d ./-p && rmdir ./-p
3011   as_mkdir_p=false
3012 fi
3013
3014
3015 # as_fn_executable_p FILE
3016 # -----------------------
3017 # Test if FILE is an executable regular file.
3018 as_fn_executable_p ()
3019 {
3020   test -f "$1" && test -x "$1"
3021 } # as_fn_executable_p
3022 as_test_x='test -x'
3023 as_executable_p=as_fn_executable_p
3024
3025 # Sed expression to map a string onto a valid CPP name.
3026 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3027
3028 # Sed expression to map a string onto a valid variable name.
3029 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3030
3031
3032 exec 6>&1
3033 ## ----------------------------------- ##
3034 ## Main body of $CONFIG_STATUS script. ##
3035 ## ----------------------------------- ##
3036 _ASEOF
3037 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3038
3039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3040 # Save the log message, to keep $0 and so on meaningful, and to
3041 # report actual input values of CONFIG_FILES etc. instead of their
3042 # values after options handling.
3043 ac_log="
3044 This file was extended by canna-yubin $as_me 0.3.1.20150227.0, which was
3045 generated by GNU Autoconf 2.69.  Invocation command line was
3046
3047   CONFIG_FILES    = $CONFIG_FILES
3048   CONFIG_HEADERS  = $CONFIG_HEADERS
3049   CONFIG_LINKS    = $CONFIG_LINKS
3050   CONFIG_COMMANDS = $CONFIG_COMMANDS
3051   $ $0 $@
3052
3053 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3054 "
3055
3056 _ACEOF
3057
3058 case $ac_config_files in *"
3059 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3060 esac
3061
3062
3063
3064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3065 # Files that config.status was made for.
3066 config_files="$ac_config_files"
3067
3068 _ACEOF
3069
3070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3071 ac_cs_usage="\
3072 \`$as_me' instantiates files and other configuration actions
3073 from templates according to the current configuration.  Unless the files
3074 and actions are specified as TAGs, all are instantiated by default.
3075
3076 Usage: $0 [OPTION]... [TAG]...
3077
3078   -h, --help       print this help, then exit
3079   -V, --version    print version number and configuration settings, then exit
3080       --config     print configuration, then exit
3081   -q, --quiet, --silent
3082                    do not print progress messages
3083   -d, --debug      don't remove temporary files
3084       --recheck    update $as_me by reconfiguring in the same conditions
3085       --file=FILE[:TEMPLATE]
3086                    instantiate the configuration file FILE
3087
3088 Configuration files:
3089 $config_files
3090
3091 Report bugs to <canna-yubin-misc@lists.sourceforge.jp>."
3092
3093 _ACEOF
3094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3095 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3096 ac_cs_version="\\
3097 canna-yubin config.status 0.3.1.20150227.0
3098 configured by $0, generated by GNU Autoconf 2.69,
3099   with options \\"\$ac_cs_config\\"
3100
3101 Copyright (C) 2012 Free Software Foundation, Inc.
3102 This config.status script is free software; the Free Software Foundation
3103 gives unlimited permission to copy, distribute and modify it."
3104
3105 ac_pwd='$ac_pwd'
3106 srcdir='$srcdir'
3107 INSTALL='$INSTALL'
3108 MKDIR_P='$MKDIR_P'
3109 AWK='$AWK'
3110 test -n "\$AWK" || AWK=awk
3111 _ACEOF
3112
3113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3114 # The default lists apply if the user does not specify any file.
3115 ac_need_defaults=:
3116 while test $# != 0
3117 do
3118   case $1 in
3119   --*=?*)
3120     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3121     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3122     ac_shift=:
3123     ;;
3124   --*=)
3125     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3126     ac_optarg=
3127     ac_shift=:
3128     ;;
3129   *)
3130     ac_option=$1
3131     ac_optarg=$2
3132     ac_shift=shift
3133     ;;
3134   esac
3135
3136   case $ac_option in
3137   # Handling of the options.
3138   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3139     ac_cs_recheck=: ;;
3140   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3141     $as_echo "$ac_cs_version"; exit ;;
3142   --config | --confi | --conf | --con | --co | --c )
3143     $as_echo "$ac_cs_config"; exit ;;
3144   --debug | --debu | --deb | --de | --d | -d )
3145     debug=: ;;
3146   --file | --fil | --fi | --f )
3147     $ac_shift
3148     case $ac_optarg in
3149     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3150     '') as_fn_error $? "missing file argument" ;;
3151     esac
3152     as_fn_append CONFIG_FILES " '$ac_optarg'"
3153     ac_need_defaults=false;;
3154   --he | --h |  --help | --hel | -h )
3155     $as_echo "$ac_cs_usage"; exit ;;
3156   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3157   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3158     ac_cs_silent=: ;;
3159
3160   # This is an error.
3161   -*) as_fn_error $? "unrecognized option: \`$1'
3162 Try \`$0 --help' for more information." ;;
3163
3164   *) as_fn_append ac_config_targets " $1"
3165      ac_need_defaults=false ;;
3166
3167   esac
3168   shift
3169 done
3170
3171 ac_configure_extra_args=
3172
3173 if $ac_cs_silent; then
3174   exec 6>/dev/null
3175   ac_configure_extra_args="$ac_configure_extra_args --silent"
3176 fi
3177
3178 _ACEOF
3179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3180 if \$ac_cs_recheck; then
3181   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3182   shift
3183   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3184   CONFIG_SHELL='$SHELL'
3185   export CONFIG_SHELL
3186   exec "\$@"
3187 fi
3188
3189 _ACEOF
3190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3191 exec 5>>config.log
3192 {
3193   echo
3194   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3195 ## Running $as_me. ##
3196 _ASBOX
3197   $as_echo "$ac_log"
3198 } >&5
3199
3200 _ACEOF
3201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3202 _ACEOF
3203
3204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3205
3206 # Handling of arguments.
3207 for ac_config_target in $ac_config_targets
3208 do
3209   case $ac_config_target in
3210     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3211
3212   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3213   esac
3214 done
3215
3216
3217 # If the user did not use the arguments to specify the items to instantiate,
3218 # then the envvar interface is used.  Set only those that are not.
3219 # We use the long form for the default assignment because of an extremely
3220 # bizarre bug on SunOS 4.1.3.
3221 if $ac_need_defaults; then
3222   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3223 fi
3224
3225 # Have a temporary directory for convenience.  Make it in the build tree
3226 # simply because there is no reason against having it here, and in addition,
3227 # creating and moving files from /tmp can sometimes cause problems.
3228 # Hook for its removal unless debugging.
3229 # Note that there is a small window in which the directory will not be cleaned:
3230 # after its creation but before its name has been assigned to `$tmp'.
3231 $debug ||
3232 {
3233   tmp= ac_tmp=
3234   trap 'exit_status=$?
3235   : "${ac_tmp:=$tmp}"
3236   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3237 ' 0
3238   trap 'as_fn_exit 1' 1 2 13 15
3239 }
3240 # Create a (secure) tmp directory for tmp files.
3241
3242 {
3243   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3244   test -d "$tmp"
3245 }  ||
3246 {
3247   tmp=./conf$$-$RANDOM
3248   (umask 077 && mkdir "$tmp")
3249 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3250 ac_tmp=$tmp
3251
3252 # Set up the scripts for CONFIG_FILES section.
3253 # No need to generate them if there are no CONFIG_FILES.
3254 # This happens for instance with `./config.status config.h'.
3255 if test -n "$CONFIG_FILES"; then
3256
3257
3258 ac_cr=`echo X | tr X '\015'`
3259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3260 # But we know of no other shell where ac_cr would be empty at this
3261 # point, so we can use a bashism as a fallback.
3262 if test "x$ac_cr" = x; then
3263   eval ac_cr=\$\'\\r\'
3264 fi
3265 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3267   ac_cs_awk_cr='\\r'
3268 else
3269   ac_cs_awk_cr=$ac_cr
3270 fi
3271
3272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3273 _ACEOF
3274
3275
3276 {
3277   echo "cat >conf$$subs.awk <<_ACEOF" &&
3278   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3279   echo "_ACEOF"
3280 } >conf$$subs.sh ||
3281   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3283 ac_delim='%!_!# '
3284 for ac_last_try in false false false false false :; do
3285   . ./conf$$subs.sh ||
3286     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3287
3288   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3289   if test $ac_delim_n = $ac_delim_num; then
3290     break
3291   elif $ac_last_try; then
3292     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3293   else
3294     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3295   fi
3296 done
3297 rm -f conf$$subs.sh
3298
3299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3300 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3301 _ACEOF
3302 sed -n '
3303 h
3304 s/^/S["/; s/!.*/"]=/
3305 p
3306 g
3307 s/^[^!]*!//
3308 :repl
3309 t repl
3310 s/'"$ac_delim"'$//
3311 t delim
3312 :nl
3313 h
3314 s/\(.\{148\}\)..*/\1/
3315 t more1
3316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3317 p
3318 n
3319 b repl
3320 :more1
3321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3322 p
3323 g
3324 s/.\{148\}//
3325 t nl
3326 :delim
3327 h
3328 s/\(.\{148\}\)..*/\1/
3329 t more2
3330 s/["\\]/\\&/g; s/^/"/; s/$/"/
3331 p
3332 b
3333 :more2
3334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3335 p
3336 g
3337 s/.\{148\}//
3338 t delim
3339 ' <conf$$subs.awk | sed '
3340 /^[^""]/{
3341   N
3342   s/\n//
3343 }
3344 ' >>$CONFIG_STATUS || ac_write_fail=1
3345 rm -f conf$$subs.awk
3346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3347 _ACAWK
3348 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3349   for (key in S) S_is_set[key] = 1
3350   FS = "\a"
3351
3352 }
3353 {
3354   line = $ 0
3355   nfields = split(line, field, "@")
3356   substed = 0
3357   len = length(field[1])
3358   for (i = 2; i < nfields; i++) {
3359     key = field[i]
3360     keylen = length(key)
3361     if (S_is_set[key]) {
3362       value = S[key]
3363       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3364       len += length(value) + length(field[++i])
3365       substed = 1
3366     } else
3367       len += 1 + keylen
3368   }
3369
3370   print line
3371 }
3372
3373 _ACAWK
3374 _ACEOF
3375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3376 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3377   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3378 else
3379   cat
3380 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3381   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3382 _ACEOF
3383
3384 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3385 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3386 # trailing colons and then remove the whole line if VPATH becomes empty
3387 # (actually we leave an empty line to preserve line numbers).
3388 if test "x$srcdir" = x.; then
3389   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3390 h
3391 s///
3392 s/^/:/
3393 s/[      ]*$/:/
3394 s/:\$(srcdir):/:/g
3395 s/:\${srcdir}:/:/g
3396 s/:@srcdir@:/:/g
3397 s/^:*//
3398 s/:*$//
3399 x
3400 s/\(=[   ]*\).*/\1/
3401 G
3402 s/\n//
3403 s/^[^=]*=[       ]*$//
3404 }'
3405 fi
3406
3407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3408 fi # test -n "$CONFIG_FILES"
3409
3410
3411 eval set X "  :F $CONFIG_FILES      "
3412 shift
3413 for ac_tag
3414 do
3415   case $ac_tag in
3416   :[FHLC]) ac_mode=$ac_tag; continue;;
3417   esac
3418   case $ac_mode$ac_tag in
3419   :[FHL]*:*);;
3420   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3421   :[FH]-) ac_tag=-:-;;
3422   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3423   esac
3424   ac_save_IFS=$IFS
3425   IFS=:
3426   set x $ac_tag
3427   IFS=$ac_save_IFS
3428   shift
3429   ac_file=$1
3430   shift
3431
3432   case $ac_mode in
3433   :L) ac_source=$1;;
3434   :[FH])
3435     ac_file_inputs=
3436     for ac_f
3437     do
3438       case $ac_f in
3439       -) ac_f="$ac_tmp/stdin";;
3440       *) # Look for the file first in the build tree, then in the source tree
3441          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3442          # because $ac_f cannot contain `:'.
3443          test -f "$ac_f" ||
3444            case $ac_f in
3445            [\\/$]*) false;;
3446            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3447            esac ||
3448            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3449       esac
3450       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3451       as_fn_append ac_file_inputs " '$ac_f'"
3452     done
3453
3454     # Let's still pretend it is `configure' which instantiates (i.e., don't
3455     # use $as_me), people would be surprised to read:
3456     #    /* config.h.  Generated by config.status.  */
3457     configure_input='Generated from '`
3458           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3459         `' by configure.'
3460     if test x"$ac_file" != x-; then
3461       configure_input="$ac_file.  $configure_input"
3462       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3463 $as_echo "$as_me: creating $ac_file" >&6;}
3464     fi
3465     # Neutralize special characters interpreted by sed in replacement strings.
3466     case $configure_input in #(
3467     *\&* | *\|* | *\\* )
3468        ac_sed_conf_input=`$as_echo "$configure_input" |
3469        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3470     *) ac_sed_conf_input=$configure_input;;
3471     esac
3472
3473     case $ac_tag in
3474     *:-:* | *:-) cat >"$ac_tmp/stdin" \
3475       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3476     esac
3477     ;;
3478   esac
3479
3480   ac_dir=`$as_dirname -- "$ac_file" ||
3481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3482          X"$ac_file" : 'X\(//\)[^/]' \| \
3483          X"$ac_file" : 'X\(//\)$' \| \
3484          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3485 $as_echo X"$ac_file" |
3486     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3487             s//\1/
3488             q
3489           }
3490           /^X\(\/\/\)[^/].*/{
3491             s//\1/
3492             q
3493           }
3494           /^X\(\/\/\)$/{
3495             s//\1/
3496             q
3497           }
3498           /^X\(\/\).*/{
3499             s//\1/
3500             q
3501           }
3502           s/.*/./; q'`
3503   as_dir="$ac_dir"; as_fn_mkdir_p
3504   ac_builddir=.
3505
3506 case "$ac_dir" in
3507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3508 *)
3509   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3510   # A ".." for each directory in $ac_dir_suffix.
3511   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3512   case $ac_top_builddir_sub in
3513   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3514   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3515   esac ;;
3516 esac
3517 ac_abs_top_builddir=$ac_pwd
3518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3519 # for backward compatibility:
3520 ac_top_builddir=$ac_top_build_prefix
3521
3522 case $srcdir in
3523   .)  # We are building in place.
3524     ac_srcdir=.
3525     ac_top_srcdir=$ac_top_builddir_sub
3526     ac_abs_top_srcdir=$ac_pwd ;;
3527   [\\/]* | ?:[\\/]* )  # Absolute name.
3528     ac_srcdir=$srcdir$ac_dir_suffix;
3529     ac_top_srcdir=$srcdir
3530     ac_abs_top_srcdir=$srcdir ;;
3531   *) # Relative name.
3532     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3533     ac_top_srcdir=$ac_top_build_prefix$srcdir
3534     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3535 esac
3536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3537
3538
3539   case $ac_mode in
3540   :F)
3541   #
3542   # CONFIG_FILE
3543   #
3544
3545   case $INSTALL in
3546   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3547   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3548   esac
3549   ac_MKDIR_P=$MKDIR_P
3550   case $MKDIR_P in
3551   [\\/$]* | ?:[\\/]* ) ;;
3552   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3553   esac
3554 _ACEOF
3555
3556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3557 # If the template does not know about datarootdir, expand it.
3558 # FIXME: This hack should be removed a few years after 2.60.
3559 ac_datarootdir_hack=; ac_datarootdir_seen=
3560 ac_sed_dataroot='
3561 /datarootdir/ {
3562   p
3563   q
3564 }
3565 /@datadir@/p
3566 /@docdir@/p
3567 /@infodir@/p
3568 /@localedir@/p
3569 /@mandir@/p'
3570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3571 *datarootdir*) ac_datarootdir_seen=yes;;
3572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3575 _ACEOF
3576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3577   ac_datarootdir_hack='
3578   s&@datadir@&$datadir&g
3579   s&@docdir@&$docdir&g
3580   s&@infodir@&$infodir&g
3581   s&@localedir@&$localedir&g
3582   s&@mandir@&$mandir&g
3583   s&\\\${datarootdir}&$datarootdir&g' ;;
3584 esac
3585 _ACEOF
3586
3587 # Neutralize VPATH when `$srcdir' = `.'.
3588 # Shell code in configure.ac might set extrasub.
3589 # FIXME: do we really want to maintain this feature?
3590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3591 ac_sed_extra="$ac_vpsub
3592 $extrasub
3593 _ACEOF
3594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3595 :t
3596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3597 s|@configure_input@|$ac_sed_conf_input|;t t
3598 s&@top_builddir@&$ac_top_builddir_sub&;t t
3599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3600 s&@srcdir@&$ac_srcdir&;t t
3601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3602 s&@top_srcdir@&$ac_top_srcdir&;t t
3603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3604 s&@builddir@&$ac_builddir&;t t
3605 s&@abs_builddir@&$ac_abs_builddir&;t t
3606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3607 s&@INSTALL@&$ac_INSTALL&;t t
3608 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3609 $ac_datarootdir_hack
3610 "
3611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3612   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3613
3614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3615   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3616   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3617       "$ac_tmp/out"`; test -z "$ac_out"; } &&
3618   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3619 which seems to be undefined.  Please make sure it is defined" >&5
3620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3621 which seems to be undefined.  Please make sure it is defined" >&2;}
3622
3623   rm -f "$ac_tmp/stdin"
3624   case $ac_file in
3625   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3626   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3627   esac \
3628   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3629  ;;
3630
3631
3632
3633   esac
3634
3635 done # for ac_tag
3636
3637
3638 as_fn_exit 0
3639 _ACEOF
3640 ac_clean_files=$ac_clean_files_save
3641
3642 test $ac_write_fail = 0 ||
3643   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3644
3645
3646 # configure is writing to config.log, and then calls config.status.
3647 # config.status does its own redirection, appending to config.log.
3648 # Unfortunately, on DOS this fails, as config.log is still kept open
3649 # by configure, so config.status won't be able to write to it; its
3650 # output is simply discarded.  So we exec the FD to /dev/null,
3651 # effectively closing config.log, so it can be properly (re)opened and
3652 # appended to by config.status.  When coming back to configure, we
3653 # need to make the FD available again.
3654 if test "$no_create" != yes; then
3655   ac_cs_success=:
3656   ac_config_status_args=
3657   test "$silent" = yes &&
3658     ac_config_status_args="$ac_config_status_args --quiet"
3659   exec 5>/dev/null
3660   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3661   exec 5>>config.log
3662   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3663   # would make configure fail if this is the last instruction.
3664   $ac_cs_success || as_fn_exit 1
3665 fi
3666 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3667   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3668 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3669 fi
3670