Debian Codegraph @

configure

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