update.
[chise/chise-base.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for chise-base 0.24.
4 #
5 # Report bugs to <chise-en@m17n.org>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order.  Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115   as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119   { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154          X"$0" : 'X\(//\)$' \| \
155          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176   if (eval ":") 2>/dev/null; then
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181
182   if test $as_have_required = yes &&     (eval ":
183 (as_func_return () {
184   (exit \$1)
185 }
186 as_func_success () {
187   as_func_return 0
188 }
189 as_func_failure () {
190   as_func_return 1
191 }
192 as_func_ret_success () {
193   return 0
194 }
195 as_func_ret_failure () {
196   return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201   :
202 else
203   exitcode=1
204   echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208   exitcode=1
209   echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213   :
214 else
215   exitcode=1
216   echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220   exitcode=1
221   echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225   :
226 else
227   exitcode=1
228   echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234   as_lineno_1=\$LINENO
235   as_lineno_2=\$LINENO
236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
239   :
240 else
241   as_candidate_shells=
242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245   IFS=$as_save_IFS
246   test -z "$as_dir" && as_dir=.
247   case $as_dir in
248          /*)
249            for as_base in sh bash ksh sh5; do
250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251            done;;
252        esac
253 done
254 IFS=$as_save_IFS
255
256
257       for as_shell in $as_candidate_shells $SHELL; do
258          # Try only shells that exist, to save several forks.
259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260                 { ("$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   # Pre-4.2 versions of Zsh do 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 _ASEOF
278 }; then
279   CONFIG_SHELL=$as_shell
280                as_have_required=yes
281                if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283   emulate sh
284   NULLCMD=:
285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286   # is contrary to our usage.  Disable this feature.
287   alias -g '${1+"$@"}'='"$@"'
288   setopt NO_GLOB_SUBST
289 else
290   case `(set -o) 2>/dev/null` in
291   *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299   (exit $1)
300 }
301 as_func_success () {
302   as_func_return 0
303 }
304 as_func_failure () {
305   as_func_return 1
306 }
307 as_func_ret_success () {
308   return 0
309 }
310 as_func_ret_failure () {
311   return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316   :
317 else
318   exitcode=1
319   echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323   exitcode=1
324   echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328   :
329 else
330   exitcode=1
331   echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335   exitcode=1
336   echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340   :
341 else
342   exitcode=1
343   echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349   as_lineno_1=$LINENO
350   as_lineno_2=$LINENO
351   test "x$as_lineno_1" != "x$as_lineno_2" &&
352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354 _ASEOF
355 }; then
356   break
357 fi
358
359 fi
360
361       done
362
363       if test "x$CONFIG_SHELL" != x; then
364   for as_var in BASH_ENV ENV
365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366         done
367         export CONFIG_SHELL
368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372     if test $as_have_required = no; then
373   echo This script requires a shell more modern than all the
374       echo shells that I found on your system.  Please install a
375       echo modern shell, or manually run the script under such a
376       echo shell if you do have one.
377       { (exit 1); exit 1; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388   (exit \$1)
389 }
390 as_func_success () {
391   as_func_return 0
392 }
393 as_func_failure () {
394   as_func_return 1
395 }
396 as_func_ret_success () {
397   return 0
398 }
399 as_func_ret_failure () {
400   return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405   :
406 else
407   exitcode=1
408   echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412   exitcode=1
413   echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417   :
418 else
419   exitcode=1
420   echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424   exitcode=1
425   echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429   :
430 else
431   exitcode=1
432   echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436   echo No shell found that supports shell functions.
437   echo Please tell bug-autoconf@gnu.org about your system,
438   echo including any error possibly output before this message.
439   echo This can help us improve future autoconf versions.
440   echo Configuration will now proceed without shell functions.
441 }
442
443
444
445   as_lineno_1=$LINENO
446   as_lineno_2=$LINENO
447   test "x$as_lineno_1" != "x$as_lineno_2" &&
448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451   # uniformly replaced by the line number.  The first 'sed' inserts a
452   # line-number line after each line using $LINENO; the second 'sed'
453   # does the real work.  The second script uses 'N' to pair each
454   # line-number line with the line containing $LINENO, and appends
455   # trailing '-' during substitution so that $LINENO is not a special
456   # case at line end.
457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
459   # E. McMahon (1931-1989) for sed's syntax.  :-)
460   sed -n '
461     p
462     /[$]LINENO/=
463   ' <$as_myself |
464     sed '
465       s/[$]LINENO.*/&-/
466       t lineno
467       b
468       :lineno
469       N
470       :loop
471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472       t loop
473       s/-\n.*//
474     ' >$as_me.lineno &&
475   chmod +x "$as_me.lineno" ||
476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477    { (exit 1); exit 1; }; }
478
479   # Don't try to exec as it changes $[0], causing all sort of problems
480   # (the dirname of $[0] is not the place where we might find the
481   # original and so on.  Autoconf is especially sensitive to this).
482   . "./$as_me.lineno"
483   # Exit status is that of the last command.
484   exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489   as_dirname=dirname
490 else
491   as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497   case `echo 'x\c'` in
498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499   *)   ECHO_C='\c';;
500   esac;;
501 *)
502   ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
506   as_expr=expr
507 else
508   as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513   rm -f conf$$.dir/conf$$.file
514 else
515   rm -f conf$$.dir
516   mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519   if ln -s conf$$.file conf$$ 2>/dev/null; then
520     as_ln_s='ln -s'
521     # ... but there are two gotchas:
522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524     # In both cases, we have to default to `cp -p'.
525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526       as_ln_s='cp -p'
527   elif ln conf$$.file conf$$ 2>/dev/null; then
528     as_ln_s=ln
529   else
530     as_ln_s='cp -p'
531   fi
532 else
533   as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539   as_mkdir_p=:
540 else
541   test -d ./-p && rmdir ./-p
542   as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546   as_test_x='test -x'
547 else
548   if ls -dL / >/dev/null 2>&1; then
549     as_ls_L_option=L
550   else
551     as_ls_L_option=
552   fi
553   as_test_x='
554     eval sh -c '\''
555       if test -d "$1"; then
556         test -d "$1/.";
557       else
558         case $1 in
559         -*)set "./$1";;
560         esac;
561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562         ???[sx]*):;;*)false;;esac;fi
563     '\'' sh
564   '
565 fi
566 as_executable_p=$as_test_x
567
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576 exec 7<&0 </dev/null 6>&1
577
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583 #
584 # Initializations.
585 #
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
595
596 # Identity of this package.
597 PACKAGE_NAME='chise-base'
598 PACKAGE_TARNAME='chise-base'
599 PACKAGE_VERSION='0.24'
600 PACKAGE_STRING='chise-base 0.24'
601 PACKAGE_BUGREPORT='chise-en@m17n.org'
602
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 target
649 target_cpu
650 target_vendor
651 target_os
652 ac_configure_args
653 xemacs_configure_args
654 xemacs_site_includes
655 xemacs_site_libraries
656 xemacs_opts
657 cvs_root
658 lemi_cvs_root
659 CC
660 CFLAGS
661 LDFLAGS
662 CPPFLAGS
663 ac_ct_CC
664 EXEEXT
665 OBJEXT
666 LIBOBJS
667 LTLIBOBJS'
668 ac_subst_files=''
669 ac_user_opts='
670 enable_option_checking
671 with_site_includes
672 with_site_libraries
673 with_canna
674 '
675       ac_precious_vars='build_alias
676 host_alias
677 target_alias
678 CC
679 CFLAGS
680 LDFLAGS
681 LIBS
682 CPPFLAGS'
683
684
685 # Initialize some variables set by options.
686 ac_init_help=
687 ac_init_version=false
688 ac_unrecognized_opts=
689 ac_unrecognized_sep=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
692 cache_file=/dev/null
693 exec_prefix=NONE
694 no_create=
695 no_recursion=
696 prefix=NONE
697 program_prefix=NONE
698 program_suffix=NONE
699 program_transform_name=s,x,x,
700 silent=
701 site=
702 srcdir=
703 verbose=
704 x_includes=NONE
705 x_libraries=NONE
706
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir='${exec_prefix}/bin'
714 sbindir='${exec_prefix}/sbin'
715 libexecdir='${exec_prefix}/libexec'
716 datarootdir='${prefix}/share'
717 datadir='${datarootdir}'
718 sysconfdir='${prefix}/etc'
719 sharedstatedir='${prefix}/com'
720 localstatedir='${prefix}/var'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
724 infodir='${datarootdir}/info'
725 htmldir='${docdir}'
726 dvidir='${docdir}'
727 pdfdir='${docdir}'
728 psdir='${docdir}'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
732
733 ac_prev=
734 ac_dashdash=
735 for ac_option
736 do
737   # If the previous option needs an argument, assign it.
738   if test -n "$ac_prev"; then
739     eval $ac_prev=\$ac_option
740     ac_prev=
741     continue
742   fi
743
744   case $ac_option in
745   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746   *)    ac_optarg=yes ;;
747   esac
748
749   # Accept the important Cygnus configure options, so we can diagnose typos.
750
751   case $ac_dashdash$ac_option in
752   --)
753     ac_dashdash=yes ;;
754
755   -bindir | --bindir | --bindi | --bind | --bin | --bi)
756     ac_prev=bindir ;;
757   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758     bindir=$ac_optarg ;;
759
760   -build | --build | --buil | --bui | --bu)
761     ac_prev=build_alias ;;
762   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
763     build_alias=$ac_optarg ;;
764
765   -cache-file | --cache-file | --cache-fil | --cache-fi \
766   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
767     ac_prev=cache_file ;;
768   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
769   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
770     cache_file=$ac_optarg ;;
771
772   --config-cache | -C)
773     cache_file=config.cache ;;
774
775   -datadir | --datadir | --datadi | --datad)
776     ac_prev=datadir ;;
777   -datadir=* | --datadir=* | --datadi=* | --datad=*)
778     datadir=$ac_optarg ;;
779
780   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
781   | --dataroo | --dataro | --datar)
782     ac_prev=datarootdir ;;
783   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
784   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
785     datarootdir=$ac_optarg ;;
786
787   -disable-* | --disable-*)
788     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789     # Reject names that are not valid shell variable names.
790     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
792    { (exit 1); exit 1; }; }
793     ac_useropt_orig=$ac_useropt
794     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795     case $ac_user_opts in
796       *"
797 "enable_$ac_useropt"
798 "*) ;;
799       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800          ac_unrecognized_sep=', ';;
801     esac
802     eval enable_$ac_useropt=no ;;
803
804   -docdir | --docdir | --docdi | --doc | --do)
805     ac_prev=docdir ;;
806   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
807     docdir=$ac_optarg ;;
808
809   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810     ac_prev=dvidir ;;
811   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
812     dvidir=$ac_optarg ;;
813
814   -enable-* | --enable-*)
815     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816     # Reject names that are not valid shell variable names.
817     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
819    { (exit 1); exit 1; }; }
820     ac_useropt_orig=$ac_useropt
821     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822     case $ac_user_opts in
823       *"
824 "enable_$ac_useropt"
825 "*) ;;
826       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827          ac_unrecognized_sep=', ';;
828     esac
829     eval enable_$ac_useropt=\$ac_optarg ;;
830
831   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833   | --exec | --exe | --ex)
834     ac_prev=exec_prefix ;;
835   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837   | --exec=* | --exe=* | --ex=*)
838     exec_prefix=$ac_optarg ;;
839
840   -gas | --gas | --ga | --g)
841     # Obsolete; use --with-gas.
842     with_gas=yes ;;
843
844   -help | --help | --hel | --he | -h)
845     ac_init_help=long ;;
846   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847     ac_init_help=recursive ;;
848   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849     ac_init_help=short ;;
850
851   -host | --host | --hos | --ho)
852     ac_prev=host_alias ;;
853   -host=* | --host=* | --hos=* | --ho=*)
854     host_alias=$ac_optarg ;;
855
856   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857     ac_prev=htmldir ;;
858   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859   | --ht=*)
860     htmldir=$ac_optarg ;;
861
862   -includedir | --includedir | --includedi | --included | --include \
863   | --includ | --inclu | --incl | --inc)
864     ac_prev=includedir ;;
865   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866   | --includ=* | --inclu=* | --incl=* | --inc=*)
867     includedir=$ac_optarg ;;
868
869   -infodir | --infodir | --infodi | --infod | --info | --inf)
870     ac_prev=infodir ;;
871   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872     infodir=$ac_optarg ;;
873
874   -libdir | --libdir | --libdi | --libd)
875     ac_prev=libdir ;;
876   -libdir=* | --libdir=* | --libdi=* | --libd=*)
877     libdir=$ac_optarg ;;
878
879   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880   | --libexe | --libex | --libe)
881     ac_prev=libexecdir ;;
882   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883   | --libexe=* | --libex=* | --libe=*)
884     libexecdir=$ac_optarg ;;
885
886   -localedir | --localedir | --localedi | --localed | --locale)
887     ac_prev=localedir ;;
888   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889     localedir=$ac_optarg ;;
890
891   -localstatedir | --localstatedir | --localstatedi | --localstated \
892   | --localstate | --localstat | --localsta | --localst | --locals)
893     ac_prev=localstatedir ;;
894   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
895   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
896     localstatedir=$ac_optarg ;;
897
898   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899     ac_prev=mandir ;;
900   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901     mandir=$ac_optarg ;;
902
903   -nfp | --nfp | --nf)
904     # Obsolete; use --without-fp.
905     with_fp=no ;;
906
907   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908   | --no-cr | --no-c | -n)
909     no_create=yes ;;
910
911   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913     no_recursion=yes ;;
914
915   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917   | --oldin | --oldi | --old | --ol | --o)
918     ac_prev=oldincludedir ;;
919   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922     oldincludedir=$ac_optarg ;;
923
924   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925     ac_prev=prefix ;;
926   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927     prefix=$ac_optarg ;;
928
929   -program-prefix | --program-prefix | --program-prefi | --program-pref \
930   | --program-pre | --program-pr | --program-p)
931     ac_prev=program_prefix ;;
932   -program-prefix=* | --program-prefix=* | --program-prefi=* \
933   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934     program_prefix=$ac_optarg ;;
935
936   -program-suffix | --program-suffix | --program-suffi | --program-suff \
937   | --program-suf | --program-su | --program-s)
938     ac_prev=program_suffix ;;
939   -program-suffix=* | --program-suffix=* | --program-suffi=* \
940   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941     program_suffix=$ac_optarg ;;
942
943   -program-transform-name | --program-transform-name \
944   | --program-transform-nam | --program-transform-na \
945   | --program-transform-n | --program-transform- \
946   | --program-transform | --program-transfor \
947   | --program-transfo | --program-transf \
948   | --program-trans | --program-tran \
949   | --progr-tra | --program-tr | --program-t)
950     ac_prev=program_transform_name ;;
951   -program-transform-name=* | --program-transform-name=* \
952   | --program-transform-nam=* | --program-transform-na=* \
953   | --program-transform-n=* | --program-transform-=* \
954   | --program-transform=* | --program-transfor=* \
955   | --program-transfo=* | --program-transf=* \
956   | --program-trans=* | --program-tran=* \
957   | --progr-tra=* | --program-tr=* | --program-t=*)
958     program_transform_name=$ac_optarg ;;
959
960   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961     ac_prev=pdfdir ;;
962   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963     pdfdir=$ac_optarg ;;
964
965   -psdir | --psdir | --psdi | --psd | --ps)
966     ac_prev=psdir ;;
967   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968     psdir=$ac_optarg ;;
969
970   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971   | -silent | --silent | --silen | --sile | --sil)
972     silent=yes ;;
973
974   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975     ac_prev=sbindir ;;
976   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977   | --sbi=* | --sb=*)
978     sbindir=$ac_optarg ;;
979
980   -sharedstatedir | --sharedstatedir | --sharedstatedi \
981   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982   | --sharedst | --shareds | --shared | --share | --shar \
983   | --sha | --sh)
984     ac_prev=sharedstatedir ;;
985   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988   | --sha=* | --sh=*)
989     sharedstatedir=$ac_optarg ;;
990
991   -site | --site | --sit)
992     ac_prev=site ;;
993   -site=* | --site=* | --sit=*)
994     site=$ac_optarg ;;
995
996   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997     ac_prev=srcdir ;;
998   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999     srcdir=$ac_optarg ;;
1000
1001   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002   | --syscon | --sysco | --sysc | --sys | --sy)
1003     ac_prev=sysconfdir ;;
1004   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006     sysconfdir=$ac_optarg ;;
1007
1008   -target | --target | --targe | --targ | --tar | --ta | --t)
1009     ac_prev=target_alias ;;
1010   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011     target_alias=$ac_optarg ;;
1012
1013   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014     verbose=yes ;;
1015
1016   -version | --version | --versio | --versi | --vers | -V)
1017     ac_init_version=: ;;
1018
1019   -with-* | --with-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1024    { (exit 1); exit 1; }; }
1025     ac_useropt_orig=$ac_useropt
1026     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027     case $ac_user_opts in
1028       *"
1029 "with_$ac_useropt"
1030 "*) ;;
1031       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032          ac_unrecognized_sep=', ';;
1033     esac
1034     eval with_$ac_useropt=\$ac_optarg ;;
1035
1036   -without-* | --without-*)
1037     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038     # Reject names that are not valid shell variable names.
1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1041    { (exit 1); exit 1; }; }
1042     ac_useropt_orig=$ac_useropt
1043     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044     case $ac_user_opts in
1045       *"
1046 "with_$ac_useropt"
1047 "*) ;;
1048       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049          ac_unrecognized_sep=', ';;
1050     esac
1051     eval with_$ac_useropt=no ;;
1052
1053   --x)
1054     # Obsolete; use --with-x.
1055     with_x=yes ;;
1056
1057   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1058   | --x-incl | --x-inc | --x-in | --x-i)
1059     ac_prev=x_includes ;;
1060   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1061   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1062     x_includes=$ac_optarg ;;
1063
1064   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1065   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1066     ac_prev=x_libraries ;;
1067   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1068   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069     x_libraries=$ac_optarg ;;
1070
1071   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1072 Try \`$0 --help' for more information." >&2
1073    { (exit 1); exit 1; }; }
1074     ;;
1075
1076   *=*)
1077     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078     # Reject names that are not valid shell variable names.
1079     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1080       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081    { (exit 1); exit 1; }; }
1082     eval $ac_envvar=\$ac_optarg
1083     export $ac_envvar ;;
1084
1085   *)
1086     # FIXME: should be removed in autoconf 3.0.
1087     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091     ;;
1092
1093   esac
1094 done
1095
1096 if test -n "$ac_prev"; then
1097   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1099    { (exit 1); exit 1; }; }
1100 fi
1101
1102 if test -n "$ac_unrecognized_opts"; then
1103   case $enable_option_checking in
1104     no) ;;
1105     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1106    { (exit 1); exit 1; }; } ;;
1107     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108   esac
1109 fi
1110
1111 # Check all directory arguments for consistency.
1112 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113                 datadir sysconfdir sharedstatedir localstatedir includedir \
1114                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115                 libdir localedir mandir
1116 do
1117   eval ac_val=\$$ac_var
1118   # Remove trailing slashes.
1119   case $ac_val in
1120     */ )
1121       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122       eval $ac_var=\$ac_val;;
1123   esac
1124   # Be sure to have absolute directory names.
1125   case $ac_val in
1126     [\\/$]* | ?:[\\/]* )  continue;;
1127     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128   esac
1129   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1130    { (exit 1); exit 1; }; }
1131 done
1132
1133 # There might be people who depend on the old broken behavior: `$host'
1134 # used to hold the argument of --host etc.
1135 # FIXME: To remove some day.
1136 build=$build_alias
1137 host=$host_alias
1138 target=$target_alias
1139
1140 # FIXME: To remove some day.
1141 if test "x$host_alias" != x; then
1142   if test "x$build_alias" = x; then
1143     cross_compiling=maybe
1144     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1145     If a cross compiler is detected then cross compile mode will be used." >&2
1146   elif test "x$build_alias" != "x$host_alias"; then
1147     cross_compiling=yes
1148   fi
1149 fi
1150
1151 ac_tool_prefix=
1152 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153
1154 test "$silent" = yes && exec 6>/dev/null
1155
1156
1157 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1158 ac_ls_di=`ls -di .` &&
1159 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1160   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1161    { (exit 1); exit 1; }; }
1162 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1163   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1164    { (exit 1); exit 1; }; }
1165
1166
1167 # Find the source files, if location was not specified.
1168 if test -z "$srcdir"; then
1169   ac_srcdir_defaulted=yes
1170   # Try the directory containing this script, then the parent directory.
1171   ac_confdir=`$as_dirname -- "$as_myself" ||
1172 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173          X"$as_myself" : 'X\(//\)[^/]' \| \
1174          X"$as_myself" : 'X\(//\)$' \| \
1175          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176 $as_echo X"$as_myself" |
1177     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1178             s//\1/
1179             q
1180           }
1181           /^X\(\/\/\)[^/].*/{
1182             s//\1/
1183             q
1184           }
1185           /^X\(\/\/\)$/{
1186             s//\1/
1187             q
1188           }
1189           /^X\(\/\).*/{
1190             s//\1/
1191             q
1192           }
1193           s/.*/./; q'`
1194   srcdir=$ac_confdir
1195   if test ! -r "$srcdir/$ac_unique_file"; then
1196     srcdir=..
1197   fi
1198 else
1199   ac_srcdir_defaulted=no
1200 fi
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1203   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1204    { (exit 1); exit 1; }; }
1205 fi
1206 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 ac_abs_confdir=`(
1208         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1209    { (exit 1); exit 1; }; }
1210         pwd)`
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213   srcdir=.
1214 fi
1215 # Remove unnecessary trailing slashes from srcdir.
1216 # Double slashes in file names in object file debugging info
1217 # mess up M-x gdb in Emacs.
1218 case $srcdir in
1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 esac
1221 for ac_var in $ac_precious_vars; do
1222   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1223   eval ac_env_${ac_var}_value=\$${ac_var}
1224   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1225   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1226 done
1227
1228 #
1229 # Report the --help message.
1230 #
1231 if test "$ac_init_help" = "long"; then
1232   # Omit some internal or obsolete options to make the list less imposing.
1233   # This message is too long to be a string in the A/UX 3.1 sh.
1234   cat <<_ACEOF
1235 \`configure' configures chise-base 0.24 to adapt to many kinds of systems.
1236
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
1238
1239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240 VAR=VALUE.  See below for descriptions of some of the useful variables.
1241
1242 Defaults for the options are specified in brackets.
1243
1244 Configuration:
1245   -h, --help              display this help and exit
1246       --help=short        display options specific to this package
1247       --help=recursive    display the short help of all the included packages
1248   -V, --version           display version information and exit
1249   -q, --quiet, --silent   do not print \`checking...' messages
1250       --cache-file=FILE   cache test results in FILE [disabled]
1251   -C, --config-cache      alias for \`--cache-file=config.cache'
1252   -n, --no-create         do not create output files
1253       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1254
1255 Installation directories:
1256   --prefix=PREFIX         install architecture-independent files in PREFIX
1257                           [$ac_default_prefix]
1258   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1259                           [PREFIX]
1260
1261 By default, \`make install' will install all the files in
1262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264 for instance \`--prefix=\$HOME'.
1265
1266 For better control, use the options below.
1267
1268 Fine tuning of the installation directories:
1269   --bindir=DIR            user executables [EPREFIX/bin]
1270   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1271   --libexecdir=DIR        program executables [EPREFIX/libexec]
1272   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1273   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1274   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1275   --libdir=DIR            object code libraries [EPREFIX/lib]
1276   --includedir=DIR        C header files [PREFIX/include]
1277   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1278   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1279   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1280   --infodir=DIR           info documentation [DATAROOTDIR/info]
1281   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1282   --mandir=DIR            man documentation [DATAROOTDIR/man]
1283   --docdir=DIR            documentation root [DATAROOTDIR/doc/chise-base]
1284   --htmldir=DIR           html documentation [DOCDIR]
1285   --dvidir=DIR            dvi documentation [DOCDIR]
1286   --pdfdir=DIR            pdf documentation [DOCDIR]
1287   --psdir=DIR             ps documentation [DOCDIR]
1288 _ACEOF
1289
1290   cat <<\_ACEOF
1291
1292 System types:
1293   --build=BUILD     configure for building on BUILD [guessed]
1294   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1295   --target=TARGET   configure for building compilers for TARGET [HOST]
1296 _ACEOF
1297 fi
1298
1299 if test -n "$ac_init_help"; then
1300   case $ac_init_help in
1301      short | recursive ) echo "Configuration of chise-base 0.24:";;
1302    esac
1303   cat <<\_ACEOF
1304
1305 Optional Packages:
1306   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1307   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1308 --with-site-includes=PATH List of directories to search first for header files
1309
1310 --with-site-libraries=PATH List of directories to search first for libraries
1311
1312 --with-canna          Support the Canna input method
1313
1314
1315 Some influential environment variables:
1316   CC          C compiler command
1317   CFLAGS      C compiler flags
1318   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1319               nonstandard directory <lib dir>
1320   LIBS        libraries to pass to the linker, e.g. -l<library>
1321   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1322               you have headers in a nonstandard directory <include dir>
1323
1324 Use these variables to override the choices made by `configure' or to help
1325 it to find libraries and programs with nonstandard names/locations.
1326
1327 Report bugs to <chise-en@m17n.org>.
1328 _ACEOF
1329 ac_status=$?
1330 fi
1331
1332 if test "$ac_init_help" = "recursive"; then
1333   # If there are subdirs, report their specific --help.
1334   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335     test -d "$ac_dir" ||
1336       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1337       continue
1338     ac_builddir=.
1339
1340 case "$ac_dir" in
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *)
1343   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1344   # A ".." for each directory in $ac_dir_suffix.
1345   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1346   case $ac_top_builddir_sub in
1347   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349   esac ;;
1350 esac
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1355
1356 case $srcdir in
1357   .)  # We are building in place.
1358     ac_srcdir=.
1359     ac_top_srcdir=$ac_top_builddir_sub
1360     ac_abs_top_srcdir=$ac_pwd ;;
1361   [\\/]* | ?:[\\/]* )  # Absolute name.
1362     ac_srcdir=$srcdir$ac_dir_suffix;
1363     ac_top_srcdir=$srcdir
1364     ac_abs_top_srcdir=$srcdir ;;
1365   *) # Relative name.
1366     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367     ac_top_srcdir=$ac_top_build_prefix$srcdir
1368     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 esac
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371
1372     cd "$ac_dir" || { ac_status=$?; continue; }
1373     # Check for guested configure.
1374     if test -f "$ac_srcdir/configure.gnu"; then
1375       echo &&
1376       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377     elif test -f "$ac_srcdir/configure"; then
1378       echo &&
1379       $SHELL "$ac_srcdir/configure" --help=recursive
1380     else
1381       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382     fi || ac_status=$?
1383     cd "$ac_pwd" || { ac_status=$?; break; }
1384   done
1385 fi
1386
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1389   cat <<\_ACEOF
1390 chise-base configure 0.24
1391 generated by GNU Autoconf 2.62
1392
1393 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1394 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1395 This configure script is free software; the Free Software Foundation
1396 gives unlimited permission to copy, distribute and modify it.
1397 _ACEOF
1398   exit
1399 fi
1400 cat >config.log <<_ACEOF
1401 This file contains any messages produced by compilers while
1402 running configure, to aid debugging if configure makes a mistake.
1403
1404 It was created by chise-base $as_me 0.24, which was
1405 generated by GNU Autoconf 2.62.  Invocation command line was
1406
1407   $ $0 $@
1408
1409 _ACEOF
1410 exec 5>>config.log
1411 {
1412 cat <<_ASUNAME
1413 ## --------- ##
1414 ## Platform. ##
1415 ## --------- ##
1416
1417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1422
1423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1424 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1425
1426 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1427 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1429 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1430 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1431 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1432 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1433
1434 _ASUNAME
1435
1436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 for as_dir in $PATH
1438 do
1439   IFS=$as_save_IFS
1440   test -z "$as_dir" && as_dir=.
1441   $as_echo "PATH: $as_dir"
1442 done
1443 IFS=$as_save_IFS
1444
1445 } >&5
1446
1447 cat >&5 <<_ACEOF
1448
1449
1450 ## ----------- ##
1451 ## Core tests. ##
1452 ## ----------- ##
1453
1454 _ACEOF
1455
1456
1457 # Keep a trace of the command line.
1458 # Strip out --no-create and --no-recursion so they do not pile up.
1459 # Strip out --silent because we don't want to record it for future runs.
1460 # Also quote any args containing shell meta-characters.
1461 # Make two passes to allow for proper duplicate-argument suppression.
1462 ac_configure_args=
1463 ac_configure_args0=
1464 ac_configure_args1=
1465 ac_must_keep_next=false
1466 for ac_pass in 1 2
1467 do
1468   for ac_arg
1469   do
1470     case $ac_arg in
1471     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1472     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473     | -silent | --silent | --silen | --sile | --sil)
1474       continue ;;
1475     *\'*)
1476       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1477     esac
1478     case $ac_pass in
1479     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1480     2)
1481       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1482       if test $ac_must_keep_next = true; then
1483         ac_must_keep_next=false # Got value, back to normal.
1484       else
1485         case $ac_arg in
1486           *=* | --config-cache | -C | -disable-* | --disable-* \
1487           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1488           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1489           | -with-* | --with-* | -without-* | --without-* | --x)
1490             case "$ac_configure_args0 " in
1491               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1492             esac
1493             ;;
1494           -* ) ac_must_keep_next=true ;;
1495         esac
1496       fi
1497       ac_configure_args="$ac_configure_args '$ac_arg'"
1498       ;;
1499     esac
1500   done
1501 done
1502 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1503 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1504
1505 # When interrupted or exit'd, cleanup temporary files, and complete
1506 # config.log.  We remove comments because anyway the quotes in there
1507 # would cause problems or look ugly.
1508 # WARNING: Use '\'' to represent an apostrophe within the trap.
1509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1510 trap 'exit_status=$?
1511   # Save into config.log some information that might help in debugging.
1512   {
1513     echo
1514
1515     cat <<\_ASBOX
1516 ## ---------------- ##
1517 ## Cache variables. ##
1518 ## ---------------- ##
1519 _ASBOX
1520     echo
1521     # The following way of writing the cache mishandles newlines in values,
1522 (
1523   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1524     eval ac_val=\$$ac_var
1525     case $ac_val in #(
1526     *${as_nl}*)
1527       case $ac_var in #(
1528       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1529 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1530       esac
1531       case $ac_var in #(
1532       _ | IFS | as_nl) ;; #(
1533       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1534       *) $as_unset $ac_var ;;
1535       esac ;;
1536     esac
1537   done
1538   (set) 2>&1 |
1539     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1540     *${as_nl}ac_space=\ *)
1541       sed -n \
1542         "s/'\''/'\''\\\\'\'''\''/g;
1543           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1544       ;; #(
1545     *)
1546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547       ;;
1548     esac |
1549     sort
1550 )
1551     echo
1552
1553     cat <<\_ASBOX
1554 ## ----------------- ##
1555 ## Output variables. ##
1556 ## ----------------- ##
1557 _ASBOX
1558     echo
1559     for ac_var in $ac_subst_vars
1560     do
1561       eval ac_val=\$$ac_var
1562       case $ac_val in
1563       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564       esac
1565       $as_echo "$ac_var='\''$ac_val'\''"
1566     done | sort
1567     echo
1568
1569     if test -n "$ac_subst_files"; then
1570       cat <<\_ASBOX
1571 ## ------------------- ##
1572 ## File substitutions. ##
1573 ## ------------------- ##
1574 _ASBOX
1575       echo
1576       for ac_var in $ac_subst_files
1577       do
1578         eval ac_val=\$$ac_var
1579         case $ac_val in
1580         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581         esac
1582         $as_echo "$ac_var='\''$ac_val'\''"
1583       done | sort
1584       echo
1585     fi
1586
1587     if test -s confdefs.h; then
1588       cat <<\_ASBOX
1589 ## ----------- ##
1590 ## confdefs.h. ##
1591 ## ----------- ##
1592 _ASBOX
1593       echo
1594       cat confdefs.h
1595       echo
1596     fi
1597     test "$ac_signal" != 0 &&
1598       $as_echo "$as_me: caught signal $ac_signal"
1599     $as_echo "$as_me: exit $exit_status"
1600   } >&5
1601   rm -f core *.core core.conftest.* &&
1602     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1603     exit $exit_status
1604 ' 0
1605 for ac_signal in 1 2 13 15; do
1606   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1607 done
1608 ac_signal=0
1609
1610 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1611 rm -f -r conftest* confdefs.h
1612
1613 # Predefined preprocessor variables.
1614
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_NAME "$PACKAGE_NAME"
1617 _ACEOF
1618
1619
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1622 _ACEOF
1623
1624
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1627 _ACEOF
1628
1629
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_STRING "$PACKAGE_STRING"
1632 _ACEOF
1633
1634
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1637 _ACEOF
1638
1639
1640 # Let the site file select an alternate cache file if it wants to.
1641 # Prefer an explicitly selected file to automatically selected ones.
1642 ac_site_file1=NONE
1643 ac_site_file2=NONE
1644 if test -n "$CONFIG_SITE"; then
1645   ac_site_file1=$CONFIG_SITE
1646 elif test "x$prefix" != xNONE; then
1647   ac_site_file1=$prefix/share/config.site
1648   ac_site_file2=$prefix/etc/config.site
1649 else
1650   ac_site_file1=$ac_default_prefix/share/config.site
1651   ac_site_file2=$ac_default_prefix/etc/config.site
1652 fi
1653 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1654 do
1655   test "x$ac_site_file" = xNONE && continue
1656   if test -r "$ac_site_file"; then
1657     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1658 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1659     sed 's/^/| /' "$ac_site_file" >&5
1660     . "$ac_site_file"
1661   fi
1662 done
1663
1664 if test -r "$cache_file"; then
1665   # Some versions of bash will fail to source /dev/null (special
1666   # files actually), so we avoid doing that.
1667   if test -f "$cache_file"; then
1668     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1669 $as_echo "$as_me: loading cache $cache_file" >&6;}
1670     case $cache_file in
1671       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672       *)                      . "./$cache_file";;
1673     esac
1674   fi
1675 else
1676   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677 $as_echo "$as_me: creating cache $cache_file" >&6;}
1678   >$cache_file
1679 fi
1680
1681 # Check that the precious variables saved in the cache have kept the same
1682 # value.
1683 ac_cache_corrupted=false
1684 for ac_var in $ac_precious_vars; do
1685   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1686   eval ac_new_set=\$ac_env_${ac_var}_set
1687   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1688   eval ac_new_val=\$ac_env_${ac_var}_value
1689   case $ac_old_set,$ac_new_set in
1690     set,)
1691       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1693       ac_cache_corrupted=: ;;
1694     ,set)
1695       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1696 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1697       ac_cache_corrupted=: ;;
1698     ,);;
1699     *)
1700       if test "x$ac_old_val" != "x$ac_new_val"; then
1701         # differences in whitespace do not lead to failure.
1702         ac_old_val_w=`echo x $ac_old_val`
1703         ac_new_val_w=`echo x $ac_new_val`
1704         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1705           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1706 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1707           ac_cache_corrupted=:
1708         else
1709           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1710 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1711           eval $ac_var=\$ac_old_val
1712         fi
1713         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1714 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1715         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1716 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1717       fi;;
1718   esac
1719   # Pass precious variables to config.status.
1720   if test "$ac_new_set" = set; then
1721     case $ac_new_val in
1722     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1723     *) ac_arg=$ac_var=$ac_new_val ;;
1724     esac
1725     case " $ac_configure_args " in
1726       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1727       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1728     esac
1729   fi
1730 done
1731 if $ac_cache_corrupted; then
1732   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1733 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1734   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1735 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1736    { (exit 1); exit 1; }; }
1737 fi
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763 ac_ext=c
1764 ac_cpp='$CPP $CPPFLAGS'
1765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1768
1769
1770
1771 ac_aux_dir=
1772 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1773   if test -f "$ac_dir/install-sh"; then
1774     ac_aux_dir=$ac_dir
1775     ac_install_sh="$ac_aux_dir/install-sh -c"
1776     break
1777   elif test -f "$ac_dir/install.sh"; then
1778     ac_aux_dir=$ac_dir
1779     ac_install_sh="$ac_aux_dir/install.sh -c"
1780     break
1781   elif test -f "$ac_dir/shtool"; then
1782     ac_aux_dir=$ac_dir
1783     ac_install_sh="$ac_aux_dir/shtool install -c"
1784     break
1785   fi
1786 done
1787 if test -z "$ac_aux_dir"; then
1788   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1789 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1790    { (exit 1); exit 1; }; }
1791 fi
1792
1793 # These three variables are undocumented and unsupported,
1794 # and are intended to be withdrawn in a future Autoconf release.
1795 # They can cause serious problems if a builder's source tree is in a directory
1796 # whose full name contains unusual characters.
1797 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1798 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1799 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1800
1801
1802 # Make sure we can run config.sub.
1803 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1804   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1805 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1806    { (exit 1); exit 1; }; }
1807
1808 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1809 $as_echo_n "checking build system type... " >&6; }
1810 if test "${ac_cv_build+set}" = set; then
1811   $as_echo_n "(cached) " >&6
1812 else
1813   ac_build_alias=$build_alias
1814 test "x$ac_build_alias" = x &&
1815   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1816 test "x$ac_build_alias" = x &&
1817   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1818 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1819    { (exit 1); exit 1; }; }
1820 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1821   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1822 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1823    { (exit 1); exit 1; }; }
1824
1825 fi
1826 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1827 $as_echo "$ac_cv_build" >&6; }
1828 case $ac_cv_build in
1829 *-*-*) ;;
1830 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1831 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1832    { (exit 1); exit 1; }; };;
1833 esac
1834 build=$ac_cv_build
1835 ac_save_IFS=$IFS; IFS='-'
1836 set x $ac_cv_build
1837 shift
1838 build_cpu=$1
1839 build_vendor=$2
1840 shift; shift
1841 # Remember, the first character of IFS is used to create $*,
1842 # except with old shells:
1843 build_os=$*
1844 IFS=$ac_save_IFS
1845 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1846
1847
1848 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1849 $as_echo_n "checking host system type... " >&6; }
1850 if test "${ac_cv_host+set}" = set; then
1851   $as_echo_n "(cached) " >&6
1852 else
1853   if test "x$host_alias" = x; then
1854   ac_cv_host=$ac_cv_build
1855 else
1856   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1857     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1858 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1859    { (exit 1); exit 1; }; }
1860 fi
1861
1862 fi
1863 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1864 $as_echo "$ac_cv_host" >&6; }
1865 case $ac_cv_host in
1866 *-*-*) ;;
1867 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1868 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1869    { (exit 1); exit 1; }; };;
1870 esac
1871 host=$ac_cv_host
1872 ac_save_IFS=$IFS; IFS='-'
1873 set x $ac_cv_host
1874 shift
1875 host_cpu=$1
1876 host_vendor=$2
1877 shift; shift
1878 # Remember, the first character of IFS is used to create $*,
1879 # except with old shells:
1880 host_os=$*
1881 IFS=$ac_save_IFS
1882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1883
1884
1885 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1886 $as_echo_n "checking target system type... " >&6; }
1887 if test "${ac_cv_target+set}" = set; then
1888   $as_echo_n "(cached) " >&6
1889 else
1890   if test "x$target_alias" = x; then
1891   ac_cv_target=$ac_cv_host
1892 else
1893   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1894     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1895 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1896    { (exit 1); exit 1; }; }
1897 fi
1898
1899 fi
1900 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1901 $as_echo "$ac_cv_target" >&6; }
1902 case $ac_cv_target in
1903 *-*-*) ;;
1904 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1905 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1906    { (exit 1); exit 1; }; };;
1907 esac
1908 target=$ac_cv_target
1909 ac_save_IFS=$IFS; IFS='-'
1910 set x $ac_cv_target
1911 shift
1912 target_cpu=$1
1913 target_vendor=$2
1914 shift; shift
1915 # Remember, the first character of IFS is used to create $*,
1916 # except with old shells:
1917 target_os=$*
1918 IFS=$ac_save_IFS
1919 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1920
1921
1922 # The aliases save the names the user supplied, while $host etc.
1923 # will get canonicalized.
1924 test -n "$target_alias" &&
1925   test "$program_prefix$program_suffix$program_transform_name" = \
1926     NONENONEs,x,x, &&
1927   program_prefix=${target_alias}-
1928
1929 # Checks for programs.
1930 # AC_PROG_CC
1931 # AC_PROG_LIBTOOL
1932 #  AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
1933 #       /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943 if test -f CVS/Root; then
1944         cvs_root=`cat CVS/Root`
1945         lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
1946 else
1947         cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
1948         lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
1949 fi
1950
1951 xemacs_configure_args=`echo $ac_configure_args \
1952                         | sed 's/--with-site-includes/--site-includes/' \
1953                         | sed 's/--with-site-libraries/--site-libraries/'`
1954
1955 # Settings for optional paths
1956
1957 # Check whether --with-site_includes was given.
1958 if test "${with_site_includes+set}" = set; then
1959   withval=$with_site_includes; #xemacs_site_includes="$with_site_includes"
1960
1961 else
1962   if test -d /sw/include; then
1963         xemacs_site_includes="/sw/include"
1964         xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
1965
1966         if test -f /sw/include/db3/db.h; then
1967                 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
1968         elif test -f /sw/include/db4/db.h; then
1969                 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
1970         fi
1971         if test x"$with_canna" != x"no"; then
1972            if test -d /sw/include/canna; then
1973                 xemacs_opts="$xemacs_opts --with-canna"
1974            fi
1975         fi
1976 fi
1977
1978 fi
1979
1980
1981
1982 # Check whether --with-site_libraries was given.
1983 if test "${with_site_libraries+set}" = set; then
1984   withval=$with_site_libraries; #xemacs_site_libraries="$with_site_libraries"
1985
1986 else
1987   if test -d /sw/include; then
1988         xemacs_site_libraries="/sw/lib"
1989 fi
1990
1991 fi
1992
1993
1994
1995 # Check whether --with-canna was given.
1996 if test "${with_canna+set}" = set; then
1997   withval=$with_canna; #xemacs_opts="$xemacs_opts --with-canna"
1998
1999 fi
2000
2001
2002 # Checks for libraries.
2003 if test x"$xemacs_site_includes" != x""; then
2004         xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
2005 fi
2006
2007 if test x"$xemacs_site_libraries" != x""; then
2008         xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
2009 fi
2010
2011 if test x"$with_canna" != x"no"; then
2012    ac_ext=c
2013 ac_cpp='$CPP $CPPFLAGS'
2014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2017 if test -n "$ac_tool_prefix"; then
2018   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2019 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 $as_echo_n "checking for $ac_word... " >&6; }
2022 if test "${ac_cv_prog_CC+set}" = set; then
2023   $as_echo_n "(cached) " >&6
2024 else
2025   if test -n "$CC"; then
2026   ac_cv_prog_CC="$CC" # Let the user override the test.
2027 else
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2030 do
2031   IFS=$as_save_IFS
2032   test -z "$as_dir" && as_dir=.
2033   for ac_exec_ext in '' $ac_executable_extensions; do
2034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2035     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2036     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037     break 2
2038   fi
2039 done
2040 done
2041 IFS=$as_save_IFS
2042
2043 fi
2044 fi
2045 CC=$ac_cv_prog_CC
2046 if test -n "$CC"; then
2047   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2048 $as_echo "$CC" >&6; }
2049 else
2050   { $as_echo "$as_me:$LINENO: result: no" >&5
2051 $as_echo "no" >&6; }
2052 fi
2053
2054
2055 fi
2056 if test -z "$ac_cv_prog_CC"; then
2057   ac_ct_CC=$CC
2058   # Extract the first word of "gcc", so it can be a program name with args.
2059 set dummy gcc; ac_word=$2
2060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 $as_echo_n "checking for $ac_word... " >&6; }
2062 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2063   $as_echo_n "(cached) " >&6
2064 else
2065   if test -n "$ac_ct_CC"; then
2066   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2067 else
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 for as_dir in $PATH
2070 do
2071   IFS=$as_save_IFS
2072   test -z "$as_dir" && as_dir=.
2073   for ac_exec_ext in '' $ac_executable_extensions; do
2074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2075     ac_cv_prog_ac_ct_CC="gcc"
2076     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077     break 2
2078   fi
2079 done
2080 done
2081 IFS=$as_save_IFS
2082
2083 fi
2084 fi
2085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2086 if test -n "$ac_ct_CC"; then
2087   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2088 $as_echo "$ac_ct_CC" >&6; }
2089 else
2090   { $as_echo "$as_me:$LINENO: result: no" >&5
2091 $as_echo "no" >&6; }
2092 fi
2093
2094   if test "x$ac_ct_CC" = x; then
2095     CC=""
2096   else
2097     case $cross_compiling:$ac_tool_warned in
2098 yes:)
2099 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2100 whose name does not start with the host triplet.  If you think this
2101 configuration is useful to you, please write to autoconf@gnu.org." >&5
2102 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2103 whose name does not start with the host triplet.  If you think this
2104 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2105 ac_tool_warned=yes ;;
2106 esac
2107     CC=$ac_ct_CC
2108   fi
2109 else
2110   CC="$ac_cv_prog_CC"
2111 fi
2112
2113 if test -z "$CC"; then
2114           if test -n "$ac_tool_prefix"; then
2115     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 $as_echo_n "checking for $ac_word... " >&6; }
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120   $as_echo_n "(cached) " >&6
2121 else
2122   if test -n "$CC"; then
2123   ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2127 do
2128   IFS=$as_save_IFS
2129   test -z "$as_dir" && as_dir=.
2130   for ac_exec_ext in '' $ac_executable_extensions; do
2131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2132     ac_cv_prog_CC="${ac_tool_prefix}cc"
2133     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134     break 2
2135   fi
2136 done
2137 done
2138 IFS=$as_save_IFS
2139
2140 fi
2141 fi
2142 CC=$ac_cv_prog_CC
2143 if test -n "$CC"; then
2144   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2145 $as_echo "$CC" >&6; }
2146 else
2147   { $as_echo "$as_me:$LINENO: result: no" >&5
2148 $as_echo "no" >&6; }
2149 fi
2150
2151
2152   fi
2153 fi
2154 if test -z "$CC"; then
2155   # Extract the first word of "cc", so it can be a program name with args.
2156 set dummy cc; ac_word=$2
2157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 $as_echo_n "checking for $ac_word... " >&6; }
2159 if test "${ac_cv_prog_CC+set}" = set; then
2160   $as_echo_n "(cached) " >&6
2161 else
2162   if test -n "$CC"; then
2163   ac_cv_prog_CC="$CC" # Let the user override the test.
2164 else
2165   ac_prog_rejected=no
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2168 do
2169   IFS=$as_save_IFS
2170   test -z "$as_dir" && as_dir=.
2171   for ac_exec_ext in '' $ac_executable_extensions; do
2172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2174        ac_prog_rejected=yes
2175        continue
2176      fi
2177     ac_cv_prog_CC="cc"
2178     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179     break 2
2180   fi
2181 done
2182 done
2183 IFS=$as_save_IFS
2184
2185 if test $ac_prog_rejected = yes; then
2186   # We found a bogon in the path, so make sure we never use it.
2187   set dummy $ac_cv_prog_CC
2188   shift
2189   if test $# != 0; then
2190     # We chose a different compiler from the bogus one.
2191     # However, it has the same basename, so the bogon will be chosen
2192     # first if we set CC to just the basename; use the full file name.
2193     shift
2194     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2195   fi
2196 fi
2197 fi
2198 fi
2199 CC=$ac_cv_prog_CC
2200 if test -n "$CC"; then
2201   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2202 $as_echo "$CC" >&6; }
2203 else
2204   { $as_echo "$as_me:$LINENO: result: no" >&5
2205 $as_echo "no" >&6; }
2206 fi
2207
2208
2209 fi
2210 if test -z "$CC"; then
2211   if test -n "$ac_tool_prefix"; then
2212   for ac_prog in cl.exe
2213   do
2214     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 $as_echo_n "checking for $ac_word... " >&6; }
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219   $as_echo_n "(cached) " >&6
2220 else
2221   if test -n "$CC"; then
2222   ac_cv_prog_CC="$CC" # Let the user override the test.
2223 else
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 for as_dir in $PATH
2226 do
2227   IFS=$as_save_IFS
2228   test -z "$as_dir" && as_dir=.
2229   for ac_exec_ext in '' $ac_executable_extensions; do
2230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2232     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233     break 2
2234   fi
2235 done
2236 done
2237 IFS=$as_save_IFS
2238
2239 fi
2240 fi
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2244 $as_echo "$CC" >&6; }
2245 else
2246   { $as_echo "$as_me:$LINENO: result: no" >&5
2247 $as_echo "no" >&6; }
2248 fi
2249
2250
2251     test -n "$CC" && break
2252   done
2253 fi
2254 if test -z "$CC"; then
2255   ac_ct_CC=$CC
2256   for ac_prog in cl.exe
2257 do
2258   # Extract the first word of "$ac_prog", so it can be a program name with args.
2259 set dummy $ac_prog; ac_word=$2
2260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 $as_echo_n "checking for $ac_word... " >&6; }
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263   $as_echo_n "(cached) " >&6
2264 else
2265   if test -n "$ac_ct_CC"; then
2266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 else
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH
2270 do
2271   IFS=$as_save_IFS
2272   test -z "$as_dir" && as_dir=.
2273   for ac_exec_ext in '' $ac_executable_extensions; do
2274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275     ac_cv_prog_ac_ct_CC="$ac_prog"
2276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277     break 2
2278   fi
2279 done
2280 done
2281 IFS=$as_save_IFS
2282
2283 fi
2284 fi
2285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2286 if test -n "$ac_ct_CC"; then
2287   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2288 $as_echo "$ac_ct_CC" >&6; }
2289 else
2290   { $as_echo "$as_me:$LINENO: result: no" >&5
2291 $as_echo "no" >&6; }
2292 fi
2293
2294
2295   test -n "$ac_ct_CC" && break
2296 done
2297
2298   if test "x$ac_ct_CC" = x; then
2299     CC=""
2300   else
2301     case $cross_compiling:$ac_tool_warned in
2302 yes:)
2303 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2304 whose name does not start with the host triplet.  If you think this
2305 configuration is useful to you, please write to autoconf@gnu.org." >&5
2306 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2307 whose name does not start with the host triplet.  If you think this
2308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2309 ac_tool_warned=yes ;;
2310 esac
2311     CC=$ac_ct_CC
2312   fi
2313 fi
2314
2315 fi
2316
2317
2318 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2319 See \`config.log' for more details." >&5
2320 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&2;}
2322    { (exit 1); exit 1; }; }
2323
2324 # Provide some information about the compiler.
2325 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2326 set X $ac_compile
2327 ac_compiler=$2
2328 { (ac_try="$ac_compiler --version >&5"
2329 case "(($ac_try" in
2330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331   *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2334 $as_echo "$ac_try_echo") >&5
2335   (eval "$ac_compiler --version >&5") 2>&5
2336   ac_status=$?
2337   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338   (exit $ac_status); }
2339 { (ac_try="$ac_compiler -v >&5"
2340 case "(($ac_try" in
2341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342   *) ac_try_echo=$ac_try;;
2343 esac
2344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2345 $as_echo "$ac_try_echo") >&5
2346   (eval "$ac_compiler -v >&5") 2>&5
2347   ac_status=$?
2348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349   (exit $ac_status); }
2350 { (ac_try="$ac_compiler -V >&5"
2351 case "(($ac_try" in
2352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353   *) ac_try_echo=$ac_try;;
2354 esac
2355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2356 $as_echo "$ac_try_echo") >&5
2357   (eval "$ac_compiler -V >&5") 2>&5
2358   ac_status=$?
2359   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360   (exit $ac_status); }
2361
2362 cat >conftest.$ac_ext <<_ACEOF
2363 /* confdefs.h.  */
2364 _ACEOF
2365 cat confdefs.h >>conftest.$ac_ext
2366 cat >>conftest.$ac_ext <<_ACEOF
2367 /* end confdefs.h.  */
2368
2369 int
2370 main ()
2371 {
2372
2373   ;
2374   return 0;
2375 }
2376 _ACEOF
2377 ac_clean_files_save=$ac_clean_files
2378 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2379 # Try to create an executable without -o first, disregard a.out.
2380 # It will help us diagnose broken compilers, and finding out an intuition
2381 # of exeext.
2382 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2383 $as_echo_n "checking for C compiler default output file name... " >&6; }
2384 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385
2386 # The possible output files:
2387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2388
2389 ac_rmfiles=
2390 for ac_file in $ac_files
2391 do
2392   case $ac_file in
2393     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2394     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2395   esac
2396 done
2397 rm -f $ac_rmfiles
2398
2399 if { (ac_try="$ac_link_default"
2400 case "(($ac_try" in
2401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402   *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2405 $as_echo "$ac_try_echo") >&5
2406   (eval "$ac_link_default") 2>&5
2407   ac_status=$?
2408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409   (exit $ac_status); }; then
2410   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2412 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2413 # so that the user can short-circuit this test for compilers unknown to
2414 # Autoconf.
2415 for ac_file in $ac_files ''
2416 do
2417   test -f "$ac_file" || continue
2418   case $ac_file in
2419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2420         ;;
2421     [ab].out )
2422         # We found the default executable, but exeext='' is most
2423         # certainly right.
2424         break;;
2425     *.* )
2426         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2427         then :; else
2428            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2429         fi
2430         # We set ac_cv_exeext here because the later test for it is not
2431         # safe: cross compilers may not add the suffix if given an `-o'
2432         # argument, so we may need to know it at that point already.
2433         # Even if this section looks crufty: it has the advantage of
2434         # actually working.
2435         break;;
2436     * )
2437         break;;
2438   esac
2439 done
2440 test "$ac_cv_exeext" = no && ac_cv_exeext=
2441
2442 else
2443   ac_file=''
2444 fi
2445
2446 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 if test -z "$ac_file"; then
2449   $as_echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.$ac_ext >&5
2451
2452 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2453 See \`config.log' for more details." >&5
2454 $as_echo "$as_me: error: C compiler cannot create executables
2455 See \`config.log' for more details." >&2;}
2456    { (exit 77); exit 77; }; }
2457 fi
2458
2459 ac_exeext=$ac_cv_exeext
2460
2461 # Check that the compiler produces executables we can run.  If not, either
2462 # the compiler is broken, or we cross compile.
2463 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2464 $as_echo_n "checking whether the C compiler works... " >&6; }
2465 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2466 # If not cross compiling, check that we can run a simple program.
2467 if test "$cross_compiling" != yes; then
2468   if { ac_try='./$ac_file'
2469   { (case "(($ac_try" in
2470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471   *) ac_try_echo=$ac_try;;
2472 esac
2473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2474 $as_echo "$ac_try_echo") >&5
2475   (eval "$ac_try") 2>&5
2476   ac_status=$?
2477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478   (exit $ac_status); }; }; then
2479     cross_compiling=no
2480   else
2481     if test "$cross_compiling" = maybe; then
2482         cross_compiling=yes
2483     else
2484         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2485 If you meant to cross compile, use \`--host'.
2486 See \`config.log' for more details." >&5
2487 $as_echo "$as_me: error: cannot run C compiled programs.
2488 If you meant to cross compile, use \`--host'.
2489 See \`config.log' for more details." >&2;}
2490    { (exit 1); exit 1; }; }
2491     fi
2492   fi
2493 fi
2494 { $as_echo "$as_me:$LINENO: result: yes" >&5
2495 $as_echo "yes" >&6; }
2496
2497 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2498 ac_clean_files=$ac_clean_files_save
2499 # Check that the compiler produces executables we can run.  If not, either
2500 # the compiler is broken, or we cross compile.
2501 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2502 $as_echo_n "checking whether we are cross compiling... " >&6; }
2503 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2504 $as_echo "$cross_compiling" >&6; }
2505
2506 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2507 $as_echo_n "checking for suffix of executables... " >&6; }
2508 if { (ac_try="$ac_link"
2509 case "(($ac_try" in
2510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511   *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2514 $as_echo "$ac_try_echo") >&5
2515   (eval "$ac_link") 2>&5
2516   ac_status=$?
2517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; then
2519   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 # `rm'.
2523 for ac_file in conftest.exe conftest conftest.*; do
2524   test -f "$ac_file" || continue
2525   case $ac_file in
2526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2527     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528           break;;
2529     * ) break;;
2530   esac
2531 done
2532 else
2533   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2534 See \`config.log' for more details." >&5
2535 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2536 See \`config.log' for more details." >&2;}
2537    { (exit 1); exit 1; }; }
2538 fi
2539
2540 rm -f conftest$ac_cv_exeext
2541 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2542 $as_echo "$ac_cv_exeext" >&6; }
2543
2544 rm -f conftest.$ac_ext
2545 EXEEXT=$ac_cv_exeext
2546 ac_exeext=$EXEEXT
2547 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2548 $as_echo_n "checking for suffix of object files... " >&6; }
2549 if test "${ac_cv_objext+set}" = set; then
2550   $as_echo_n "(cached) " >&6
2551 else
2552   cat >conftest.$ac_ext <<_ACEOF
2553 /* confdefs.h.  */
2554 _ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h.  */
2558
2559 int
2560 main ()
2561 {
2562
2563   ;
2564   return 0;
2565 }
2566 _ACEOF
2567 rm -f conftest.o conftest.obj
2568 if { (ac_try="$ac_compile"
2569 case "(($ac_try" in
2570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571   *) ac_try_echo=$ac_try;;
2572 esac
2573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2574 $as_echo "$ac_try_echo") >&5
2575   (eval "$ac_compile") 2>&5
2576   ac_status=$?
2577   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578   (exit $ac_status); }; then
2579   for ac_file in conftest.o conftest.obj conftest.*; do
2580   test -f "$ac_file" || continue;
2581   case $ac_file in
2582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2583     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2584        break;;
2585   esac
2586 done
2587 else
2588   $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2590
2591 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&5
2593 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&2;}
2595    { (exit 1); exit 1; }; }
2596 fi
2597
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2599 fi
2600 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2603 ac_objext=$OBJEXT
2604 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2607   $as_echo_n "(cached) " >&6
2608 else
2609   cat >conftest.$ac_ext <<_ACEOF
2610 /* confdefs.h.  */
2611 _ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h.  */
2615
2616 int
2617 main ()
2618 {
2619 #ifndef __GNUC__
2620        choke me
2621 #endif
2622
2623   ;
2624   return 0;
2625 }
2626 _ACEOF
2627 rm -f conftest.$ac_objext
2628 if { (ac_try="$ac_compile"
2629 case "(($ac_try" in
2630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631   *) ac_try_echo=$ac_try;;
2632 esac
2633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2634 $as_echo "$ac_try_echo") >&5
2635   (eval "$ac_compile") 2>conftest.er1
2636   ac_status=$?
2637   grep -v '^ *+' conftest.er1 >conftest.err
2638   rm -f conftest.er1
2639   cat conftest.err >&5
2640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641   (exit $ac_status); } && {
2642          test -z "$ac_c_werror_flag" ||
2643          test ! -s conftest.err
2644        } && test -s conftest.$ac_objext; then
2645   ac_compiler_gnu=yes
2646 else
2647   $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2649
2650         ac_compiler_gnu=no
2651 fi
2652
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2655
2656 fi
2657 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2658 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2659 if test $ac_compiler_gnu = yes; then
2660   GCC=yes
2661 else
2662   GCC=
2663 fi
2664 ac_test_CFLAGS=${CFLAGS+set}
2665 ac_save_CFLAGS=$CFLAGS
2666 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2667 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2668 if test "${ac_cv_prog_cc_g+set}" = set; then
2669   $as_echo_n "(cached) " >&6
2670 else
2671   ac_save_c_werror_flag=$ac_c_werror_flag
2672    ac_c_werror_flag=yes
2673    ac_cv_prog_cc_g=no
2674    CFLAGS="-g"
2675    cat >conftest.$ac_ext <<_ACEOF
2676 /* confdefs.h.  */
2677 _ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h.  */
2681
2682 int
2683 main ()
2684 {
2685
2686   ;
2687   return 0;
2688 }
2689 _ACEOF
2690 rm -f conftest.$ac_objext
2691 if { (ac_try="$ac_compile"
2692 case "(($ac_try" in
2693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694   *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698   (eval "$ac_compile") 2>conftest.er1
2699   ac_status=$?
2700   grep -v '^ *+' conftest.er1 >conftest.err
2701   rm -f conftest.er1
2702   cat conftest.err >&5
2703   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704   (exit $ac_status); } && {
2705          test -z "$ac_c_werror_flag" ||
2706          test ! -s conftest.err
2707        } && test -s conftest.$ac_objext; then
2708   ac_cv_prog_cc_g=yes
2709 else
2710   $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2712
2713         CFLAGS=""
2714       cat >conftest.$ac_ext <<_ACEOF
2715 /* confdefs.h.  */
2716 _ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h.  */
2720
2721 int
2722 main ()
2723 {
2724
2725   ;
2726   return 0;
2727 }
2728 _ACEOF
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2731 case "(($ac_try" in
2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733   *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2736 $as_echo "$ac_try_echo") >&5
2737   (eval "$ac_compile") 2>conftest.er1
2738   ac_status=$?
2739   grep -v '^ *+' conftest.er1 >conftest.err
2740   rm -f conftest.er1
2741   cat conftest.err >&5
2742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743   (exit $ac_status); } && {
2744          test -z "$ac_c_werror_flag" ||
2745          test ! -s conftest.err
2746        } && test -s conftest.$ac_objext; then
2747   :
2748 else
2749   $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2751
2752         ac_c_werror_flag=$ac_save_c_werror_flag
2753          CFLAGS="-g"
2754          cat >conftest.$ac_ext <<_ACEOF
2755 /* confdefs.h.  */
2756 _ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h.  */
2760
2761 int
2762 main ()
2763 {
2764
2765   ;
2766   return 0;
2767 }
2768 _ACEOF
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2771 case "(($ac_try" in
2772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773   *) ac_try_echo=$ac_try;;
2774 esac
2775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2776 $as_echo "$ac_try_echo") >&5
2777   (eval "$ac_compile") 2>conftest.er1
2778   ac_status=$?
2779   grep -v '^ *+' conftest.er1 >conftest.err
2780   rm -f conftest.er1
2781   cat conftest.err >&5
2782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783   (exit $ac_status); } && {
2784          test -z "$ac_c_werror_flag" ||
2785          test ! -s conftest.err
2786        } && test -s conftest.$ac_objext; then
2787   ac_cv_prog_cc_g=yes
2788 else
2789   $as_echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2791
2792
2793 fi
2794
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 fi
2797
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 fi
2800
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802    ac_c_werror_flag=$ac_save_c_werror_flag
2803 fi
2804 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2805 $as_echo "$ac_cv_prog_cc_g" >&6; }
2806 if test "$ac_test_CFLAGS" = set; then
2807   CFLAGS=$ac_save_CFLAGS
2808 elif test $ac_cv_prog_cc_g = yes; then
2809   if test "$GCC" = yes; then
2810     CFLAGS="-g -O2"
2811   else
2812     CFLAGS="-g"
2813   fi
2814 else
2815   if test "$GCC" = yes; then
2816     CFLAGS="-O2"
2817   else
2818     CFLAGS=
2819   fi
2820 fi
2821 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2823 if test "${ac_cv_prog_cc_c89+set}" = set; then
2824   $as_echo_n "(cached) " >&6
2825 else
2826   ac_cv_prog_cc_c89=no
2827 ac_save_CC=$CC
2828 cat >conftest.$ac_ext <<_ACEOF
2829 /* confdefs.h.  */
2830 _ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h.  */
2834 #include <stdarg.h>
2835 #include <stdio.h>
2836 #include <sys/types.h>
2837 #include <sys/stat.h>
2838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2839 struct buf { int x; };
2840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2841 static char *e (p, i)
2842      char **p;
2843      int i;
2844 {
2845   return p[i];
2846 }
2847 static char *f (char * (*g) (char **, int), char **p, ...)
2848 {
2849   char *s;
2850   va_list v;
2851   va_start (v,p);
2852   s = g (p, va_arg (v,int));
2853   va_end (v);
2854   return s;
2855 }
2856
2857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2858    function prototypes and stuff, but not '\xHH' hex character constants.
2859    These don't provoke an error unfortunately, instead are silently treated
2860    as 'x'.  The following induces an error, until -std is added to get
2861    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2862    array size at least.  It's necessary to write '\x00'==0 to get something
2863    that's true only with -std.  */
2864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2865
2866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2867    inside strings and character constants.  */
2868 #define FOO(x) 'x'
2869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2870
2871 int test (int i, double x);
2872 struct s1 {int (*f) (int a);};
2873 struct s2 {int (*f) (double a);};
2874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2875 int argc;
2876 char **argv;
2877 int
2878 main ()
2879 {
2880 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2881   ;
2882   return 0;
2883 }
2884 _ACEOF
2885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2886         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2887 do
2888   CC="$ac_save_CC $ac_arg"
2889   rm -f conftest.$ac_objext
2890 if { (ac_try="$ac_compile"
2891 case "(($ac_try" in
2892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893   *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2896 $as_echo "$ac_try_echo") >&5
2897   (eval "$ac_compile") 2>conftest.er1
2898   ac_status=$?
2899   grep -v '^ *+' conftest.er1 >conftest.err
2900   rm -f conftest.er1
2901   cat conftest.err >&5
2902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903   (exit $ac_status); } && {
2904          test -z "$ac_c_werror_flag" ||
2905          test ! -s conftest.err
2906        } && test -s conftest.$ac_objext; then
2907   ac_cv_prog_cc_c89=$ac_arg
2908 else
2909   $as_echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2911
2912
2913 fi
2914
2915 rm -f core conftest.err conftest.$ac_objext
2916   test "x$ac_cv_prog_cc_c89" != "xno" && break
2917 done
2918 rm -f conftest.$ac_ext
2919 CC=$ac_save_CC
2920
2921 fi
2922 # AC_CACHE_VAL
2923 case "x$ac_cv_prog_cc_c89" in
2924   x)
2925     { $as_echo "$as_me:$LINENO: result: none needed" >&5
2926 $as_echo "none needed" >&6; } ;;
2927   xno)
2928     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2929 $as_echo "unsupported" >&6; } ;;
2930   *)
2931     CC="$CC $ac_cv_prog_cc_c89"
2932     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2934 esac
2935
2936
2937 ac_ext=c
2938 ac_cpp='$CPP $CPPFLAGS'
2939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2942
2943
2944 { $as_echo "$as_me:$LINENO: checking for jrKanjiControl in -lcanna" >&5
2945 $as_echo_n "checking for jrKanjiControl in -lcanna... " >&6; }
2946 if test "${ac_cv_lib_canna_jrKanjiControl+set}" = set; then
2947   $as_echo_n "(cached) " >&6
2948 else
2949   ac_check_lib_save_LIBS=$LIBS
2950 LIBS="-lcanna  $LIBS"
2951 cat >conftest.$ac_ext <<_ACEOF
2952 /* confdefs.h.  */
2953 _ACEOF
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h.  */
2957
2958 /* Override any GCC internal prototype to avoid an error.
2959    Use char because int might match the return type of a GCC
2960    builtin and then its argument prototype would still apply.  */
2961 #ifdef __cplusplus
2962 extern "C"
2963 #endif
2964 char jrKanjiControl ();
2965 int
2966 main ()
2967 {
2968 return jrKanjiControl ();
2969   ;
2970   return 0;
2971 }
2972 _ACEOF
2973 rm -f conftest.$ac_objext conftest$ac_exeext
2974 if { (ac_try="$ac_link"
2975 case "(($ac_try" in
2976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977   *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2980 $as_echo "$ac_try_echo") >&5
2981   (eval "$ac_link") 2>conftest.er1
2982   ac_status=$?
2983   grep -v '^ *+' conftest.er1 >conftest.err
2984   rm -f conftest.er1
2985   cat conftest.err >&5
2986   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987   (exit $ac_status); } && {
2988          test -z "$ac_c_werror_flag" ||
2989          test ! -s conftest.err
2990        } && test -s conftest$ac_exeext && {
2991          test "$cross_compiling" = yes ||
2992          $as_test_x conftest$ac_exeext
2993        }; then
2994   ac_cv_lib_canna_jrKanjiControl=yes
2995 else
2996   $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2998
2999         ac_cv_lib_canna_jrKanjiControl=no
3000 fi
3001
3002 rm -rf conftest.dSYM
3003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3004       conftest$ac_exeext conftest.$ac_ext
3005 LIBS=$ac_check_lib_save_LIBS
3006 fi
3007 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_canna_jrKanjiControl" >&5
3008 $as_echo "$ac_cv_lib_canna_jrKanjiControl" >&6; }
3009 if test $ac_cv_lib_canna_jrKanjiControl = yes; then
3010   xemacs_opts="$xemacs_opts --with-canna"
3011 fi
3012
3013 fi
3014
3015 # Checks for header files.
3016
3017 # Checks for typedefs, structures, and compiler characteristics.
3018 #AC_C_CONST
3019 #AC_C_INLINE
3020
3021 # Checks for library functions.
3022 #AC_FUNC_ALLOCA
3023 #AC_FUNC_STRNLEN
3024
3025 #AC_CHECK_FUNCS(strnlen)
3026
3027 ac_config_files="$ac_config_files Makefile"
3028
3029 cat >confcache <<\_ACEOF
3030 # This file is a shell script that caches the results of configure
3031 # tests run on this system so they can be shared between configure
3032 # scripts and configure runs, see configure's option --config-cache.
3033 # It is not useful on other systems.  If it contains results you don't
3034 # want to keep, you may remove or edit it.
3035 #
3036 # config.status only pays attention to the cache file if you give it
3037 # the --recheck option to rerun configure.
3038 #
3039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3041 # following values.
3042
3043 _ACEOF
3044
3045 # The following way of writing the cache mishandles newlines in values,
3046 # but we know of no workaround that is simple, portable, and efficient.
3047 # So, we kill variables containing newlines.
3048 # Ultrix sh set writes to stderr and can't be redirected directly,
3049 # and sets the high bit in the cache file unless we assign to the vars.
3050 (
3051   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3052     eval ac_val=\$$ac_var
3053     case $ac_val in #(
3054     *${as_nl}*)
3055       case $ac_var in #(
3056       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3057 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3058       esac
3059       case $ac_var in #(
3060       _ | IFS | as_nl) ;; #(
3061       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3062       *) $as_unset $ac_var ;;
3063       esac ;;
3064     esac
3065   done
3066
3067   (set) 2>&1 |
3068     case $as_nl`(ac_space=' '; set) 2>&1` in #(
3069     *${as_nl}ac_space=\ *)
3070       # `set' does not quote correctly, so add quotes (double-quote
3071       # substitution turns \\\\ into \\, and sed turns \\ into \).
3072       sed -n \
3073         "s/'/'\\\\''/g;
3074           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3075       ;; #(
3076     *)
3077       # `set' quotes correctly as required by POSIX, so do not add quotes.
3078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3079       ;;
3080     esac |
3081     sort
3082 ) |
3083   sed '
3084      /^ac_cv_env_/b end
3085      t clear
3086      :clear
3087      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3088      t end
3089      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3090      :end' >>confcache
3091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3092   if test -w "$cache_file"; then
3093     test "x$cache_file" != "x/dev/null" &&
3094       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3095 $as_echo "$as_me: updating cache $cache_file" >&6;}
3096     cat confcache >$cache_file
3097   else
3098     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3099 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3100   fi
3101 fi
3102 rm -f confcache
3103
3104 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3105 # Let make expand exec_prefix.
3106 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3107
3108 # Transform confdefs.h into DEFS.
3109 # Protect against shell expansion while executing Makefile rules.
3110 # Protect against Makefile macro expansion.
3111 #
3112 # If the first sed substitution is executed (which looks for macros that
3113 # take arguments), then branch to the quote section.  Otherwise,
3114 # look for a macro that doesn't take arguments.
3115 ac_script='
3116 :mline
3117 /\\$/{
3118  N
3119  s,\\\n,,
3120  b mline
3121 }
3122 t clear
3123 :clear
3124 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3125 t quote
3126 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3127 t quote
3128 b any
3129 :quote
3130 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3131 s/\[/\\&/g
3132 s/\]/\\&/g
3133 s/\$/$$/g
3134 H
3135 :any
3136 ${
3137         g
3138         s/^\n//
3139         s/\n/ /g
3140         p
3141 }
3142 '
3143 DEFS=`sed -n "$ac_script" confdefs.h`
3144
3145
3146 ac_libobjs=
3147 ac_ltlibobjs=
3148 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3149   # 1. Remove the extension, and $U if already installed.
3150   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3151   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3152   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3153   #    will be set to the directory where LIBOBJS objects are built.
3154   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3155   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3156 done
3157 LIBOBJS=$ac_libobjs
3158
3159 LTLIBOBJS=$ac_ltlibobjs
3160
3161
3162
3163 : ${CONFIG_STATUS=./config.status}
3164 ac_write_fail=0
3165 ac_clean_files_save=$ac_clean_files
3166 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3167 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3168 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3169 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3170 #! $SHELL
3171 # Generated by $as_me.
3172 # Run this file to recreate the current configuration.
3173 # Compiler output produced by configure, useful for debugging
3174 # configure, is in config.log if it exists.
3175
3176 debug=false
3177 ac_cs_recheck=false
3178 ac_cs_silent=false
3179 SHELL=\${CONFIG_SHELL-$SHELL}
3180 _ACEOF
3181
3182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3183 ## --------------------- ##
3184 ## M4sh Initialization.  ##
3185 ## --------------------- ##
3186
3187 # Be more Bourne compatible
3188 DUALCASE=1; export DUALCASE # for MKS sh
3189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3190   emulate sh
3191   NULLCMD=:
3192   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3193   # is contrary to our usage.  Disable this feature.
3194   alias -g '${1+"$@"}'='"$@"'
3195   setopt NO_GLOB_SUBST
3196 else
3197   case `(set -o) 2>/dev/null` in
3198   *posix*) set -o posix ;;
3199 esac
3200
3201 fi
3202
3203
3204
3205
3206 # PATH needs CR
3207 # Avoid depending upon Character Ranges.
3208 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3209 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3210 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3211 as_cr_digits='0123456789'
3212 as_cr_alnum=$as_cr_Letters$as_cr_digits
3213
3214 as_nl='
3215 '
3216 export as_nl
3217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3221 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3222   as_echo='printf %s\n'
3223   as_echo_n='printf %s'
3224 else
3225   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3226     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3227     as_echo_n='/usr/ucb/echo -n'
3228   else
3229     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3230     as_echo_n_body='eval
3231       arg=$1;
3232       case $arg in
3233       *"$as_nl"*)
3234         expr "X$arg" : "X\\(.*\\)$as_nl";
3235         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3236       esac;
3237       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3238     '
3239     export as_echo_n_body
3240     as_echo_n='sh -c $as_echo_n_body as_echo'
3241   fi
3242   export as_echo_body
3243   as_echo='sh -c $as_echo_body as_echo'
3244 fi
3245
3246 # The user is always right.
3247 if test "${PATH_SEPARATOR+set}" != set; then
3248   PATH_SEPARATOR=:
3249   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3250     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3251       PATH_SEPARATOR=';'
3252   }
3253 fi
3254
3255 # Support unset when possible.
3256 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3257   as_unset=unset
3258 else
3259   as_unset=false
3260 fi
3261
3262
3263 # IFS
3264 # We need space, tab and new line, in precisely that order.  Quoting is
3265 # there to prevent editors from complaining about space-tab.
3266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3267 # splitting by setting IFS to empty value.)
3268 IFS=" ""        $as_nl"
3269
3270 # Find who we are.  Look in the path if we contain no directory separator.
3271 case $0 in
3272   *[\\/]* ) as_myself=$0 ;;
3273   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3279 done
3280 IFS=$as_save_IFS
3281
3282      ;;
3283 esac
3284 # We did not find ourselves, most probably we were run as `sh COMMAND'
3285 # in which case we are not to be found in the path.
3286 if test "x$as_myself" = x; then
3287   as_myself=$0
3288 fi
3289 if test ! -f "$as_myself"; then
3290   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3291   { (exit 1); exit 1; }
3292 fi
3293
3294 # Work around bugs in pre-3.0 UWIN ksh.
3295 for as_var in ENV MAIL MAILPATH
3296 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3297 done
3298 PS1='$ '
3299 PS2='> '
3300 PS4='+ '
3301
3302 # NLS nuisances.
3303 LC_ALL=C
3304 export LC_ALL
3305 LANGUAGE=C
3306 export LANGUAGE
3307
3308 # Required to use basename.
3309 if expr a : '\(a\)' >/dev/null 2>&1 &&
3310    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3311   as_expr=expr
3312 else
3313   as_expr=false
3314 fi
3315
3316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3317   as_basename=basename
3318 else
3319   as_basename=false
3320 fi
3321
3322
3323 # Name of the executable.
3324 as_me=`$as_basename -- "$0" ||
3325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3326          X"$0" : 'X\(//\)$' \| \
3327          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3328 $as_echo X/"$0" |
3329     sed '/^.*\/\([^/][^/]*\)\/*$/{
3330             s//\1/
3331             q
3332           }
3333           /^X\/\(\/\/\)$/{
3334             s//\1/
3335             q
3336           }
3337           /^X\/\(\/\).*/{
3338             s//\1/
3339             q
3340           }
3341           s/.*/./; q'`
3342
3343 # CDPATH.
3344 $as_unset CDPATH
3345
3346
3347
3348   as_lineno_1=$LINENO
3349   as_lineno_2=$LINENO
3350   test "x$as_lineno_1" != "x$as_lineno_2" &&
3351   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3352
3353   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3354   # uniformly replaced by the line number.  The first 'sed' inserts a
3355   # line-number line after each line using $LINENO; the second 'sed'
3356   # does the real work.  The second script uses 'N' to pair each
3357   # line-number line with the line containing $LINENO, and appends
3358   # trailing '-' during substitution so that $LINENO is not a special
3359   # case at line end.
3360   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3361   # scripts with optimization help from Paolo Bonzini.  Blame Lee
3362   # E. McMahon (1931-1989) for sed's syntax.  :-)
3363   sed -n '
3364     p
3365     /[$]LINENO/=
3366   ' <$as_myself |
3367     sed '
3368       s/[$]LINENO.*/&-/
3369       t lineno
3370       b
3371       :lineno
3372       N
3373       :loop
3374       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3375       t loop
3376       s/-\n.*//
3377     ' >$as_me.lineno &&
3378   chmod +x "$as_me.lineno" ||
3379     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3380    { (exit 1); exit 1; }; }
3381
3382   # Don't try to exec as it changes $[0], causing all sort of problems
3383   # (the dirname of $[0] is not the place where we might find the
3384   # original and so on.  Autoconf is especially sensitive to this).
3385   . "./$as_me.lineno"
3386   # Exit status is that of the last command.
3387   exit
3388 }
3389
3390
3391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3392   as_dirname=dirname
3393 else
3394   as_dirname=false
3395 fi
3396
3397 ECHO_C= ECHO_N= ECHO_T=
3398 case `echo -n x` in
3399 -n*)
3400   case `echo 'x\c'` in
3401   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3402   *)   ECHO_C='\c';;
3403   esac;;
3404 *)
3405   ECHO_N='-n';;
3406 esac
3407 if expr a : '\(a\)' >/dev/null 2>&1 &&
3408    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3409   as_expr=expr
3410 else
3411   as_expr=false
3412 fi
3413
3414 rm -f conf$$ conf$$.exe conf$$.file
3415 if test -d conf$$.dir; then
3416   rm -f conf$$.dir/conf$$.file
3417 else
3418   rm -f conf$$.dir
3419   mkdir conf$$.dir 2>/dev/null
3420 fi
3421 if (echo >conf$$.file) 2>/dev/null; then
3422   if ln -s conf$$.file conf$$ 2>/dev/null; then
3423     as_ln_s='ln -s'
3424     # ... but there are two gotchas:
3425     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3426     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3427     # In both cases, we have to default to `cp -p'.
3428     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3429       as_ln_s='cp -p'
3430   elif ln conf$$.file conf$$ 2>/dev/null; then
3431     as_ln_s=ln
3432   else
3433     as_ln_s='cp -p'
3434   fi
3435 else
3436   as_ln_s='cp -p'
3437 fi
3438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3439 rmdir conf$$.dir 2>/dev/null
3440
3441 if mkdir -p . 2>/dev/null; then
3442   as_mkdir_p=:
3443 else
3444   test -d ./-p && rmdir ./-p
3445   as_mkdir_p=false
3446 fi
3447
3448 if test -x / >/dev/null 2>&1; then
3449   as_test_x='test -x'
3450 else
3451   if ls -dL / >/dev/null 2>&1; then
3452     as_ls_L_option=L
3453   else
3454     as_ls_L_option=
3455   fi
3456   as_test_x='
3457     eval sh -c '\''
3458       if test -d "$1"; then
3459         test -d "$1/.";
3460       else
3461         case $1 in
3462         -*)set "./$1";;
3463         esac;
3464         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3465         ???[sx]*):;;*)false;;esac;fi
3466     '\'' sh
3467   '
3468 fi
3469 as_executable_p=$as_test_x
3470
3471 # Sed expression to map a string onto a valid CPP name.
3472 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3473
3474 # Sed expression to map a string onto a valid variable name.
3475 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3476
3477
3478 exec 6>&1
3479
3480 # Save the log message, to keep $[0] and so on meaningful, and to
3481 # report actual input values of CONFIG_FILES etc. instead of their
3482 # values after options handling.
3483 ac_log="
3484 This file was extended by chise-base $as_me 0.24, which was
3485 generated by GNU Autoconf 2.62.  Invocation command line was
3486
3487   CONFIG_FILES    = $CONFIG_FILES
3488   CONFIG_HEADERS  = $CONFIG_HEADERS
3489   CONFIG_LINKS    = $CONFIG_LINKS
3490   CONFIG_COMMANDS = $CONFIG_COMMANDS
3491   $ $0 $@
3492
3493 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3494 "
3495
3496 _ACEOF
3497
3498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3499 # Files that config.status was made for.
3500 config_files="$ac_config_files"
3501
3502 _ACEOF
3503
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 ac_cs_usage="\
3506 \`$as_me' instantiates files from templates according to the
3507 current configuration.
3508
3509 Usage: $0 [OPTIONS] [FILE]...
3510
3511   -h, --help       print this help, then exit
3512   -V, --version    print version number and configuration settings, then exit
3513   -q, --quiet      do not print progress messages
3514   -d, --debug      don't remove temporary files
3515       --recheck    update $as_me by reconfiguring in the same conditions
3516   --file=FILE[:TEMPLATE]
3517                    instantiate the configuration file FILE
3518
3519 Configuration files:
3520 $config_files
3521
3522 Report bugs to <bug-autoconf@gnu.org>."
3523
3524 _ACEOF
3525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3526 ac_cs_version="\\
3527 chise-base config.status 0.24
3528 configured by $0, generated by GNU Autoconf 2.62,
3529   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3530
3531 Copyright (C) 2008 Free Software Foundation, Inc.
3532 This config.status script is free software; the Free Software Foundation
3533 gives unlimited permission to copy, distribute and modify it."
3534
3535 ac_pwd='$ac_pwd'
3536 srcdir='$srcdir'
3537 test -n "\$AWK" || AWK=awk
3538 _ACEOF
3539
3540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3541 # The default lists apply if the user does not specify any file.
3542 ac_need_defaults=:
3543 while test $# != 0
3544 do
3545   case $1 in
3546   --*=*)
3547     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3548     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3549     ac_shift=:
3550     ;;
3551   *)
3552     ac_option=$1
3553     ac_optarg=$2
3554     ac_shift=shift
3555     ;;
3556   esac
3557
3558   case $ac_option in
3559   # Handling of the options.
3560   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3561     ac_cs_recheck=: ;;
3562   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3563     $as_echo "$ac_cs_version"; exit ;;
3564   --debug | --debu | --deb | --de | --d | -d )
3565     debug=: ;;
3566   --file | --fil | --fi | --f )
3567     $ac_shift
3568     case $ac_optarg in
3569     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3570     esac
3571     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3572     ac_need_defaults=false;;
3573   --he | --h |  --help | --hel | -h )
3574     $as_echo "$ac_cs_usage"; exit ;;
3575   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3576   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3577     ac_cs_silent=: ;;
3578
3579   # This is an error.
3580   -*) { $as_echo "$as_me: error: unrecognized option: $1
3581 Try \`$0 --help' for more information." >&2
3582    { (exit 1); exit 1; }; } ;;
3583
3584   *) ac_config_targets="$ac_config_targets $1"
3585      ac_need_defaults=false ;;
3586
3587   esac
3588   shift
3589 done
3590
3591 ac_configure_extra_args=
3592
3593 if $ac_cs_silent; then
3594   exec 6>/dev/null
3595   ac_configure_extra_args="$ac_configure_extra_args --silent"
3596 fi
3597
3598 _ACEOF
3599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3600 if \$ac_cs_recheck; then
3601   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3602   shift
3603   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3604   CONFIG_SHELL='$SHELL'
3605   export CONFIG_SHELL
3606   exec "\$@"
3607 fi
3608
3609 _ACEOF
3610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3611 exec 5>>config.log
3612 {
3613   echo
3614   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3615 ## Running $as_me. ##
3616 _ASBOX
3617   $as_echo "$ac_log"
3618 } >&5
3619
3620 _ACEOF
3621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3622 _ACEOF
3623
3624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3625
3626 # Handling of arguments.
3627 for ac_config_target in $ac_config_targets
3628 do
3629   case $ac_config_target in
3630     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3631
3632   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3633 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3634    { (exit 1); exit 1; }; };;
3635   esac
3636 done
3637
3638
3639 # If the user did not use the arguments to specify the items to instantiate,
3640 # then the envvar interface is used.  Set only those that are not.
3641 # We use the long form for the default assignment because of an extremely
3642 # bizarre bug on SunOS 4.1.3.
3643 if $ac_need_defaults; then
3644   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3645 fi
3646
3647 # Have a temporary directory for convenience.  Make it in the build tree
3648 # simply because there is no reason against having it here, and in addition,
3649 # creating and moving files from /tmp can sometimes cause problems.
3650 # Hook for its removal unless debugging.
3651 # Note that there is a small window in which the directory will not be cleaned:
3652 # after its creation but before its name has been assigned to `$tmp'.
3653 $debug ||
3654 {
3655   tmp=
3656   trap 'exit_status=$?
3657   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3658 ' 0
3659   trap '{ (exit 1); exit 1; }' 1 2 13 15
3660 }
3661 # Create a (secure) tmp directory for tmp files.
3662
3663 {
3664   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3665   test -n "$tmp" && test -d "$tmp"
3666 }  ||
3667 {
3668   tmp=./conf$$-$RANDOM
3669   (umask 077 && mkdir "$tmp")
3670 } ||
3671 {
3672    $as_echo "$as_me: cannot create a temporary directory in ." >&2
3673    { (exit 1); exit 1; }
3674 }
3675
3676 # Set up the scripts for CONFIG_FILES section.
3677 # No need to generate them if there are no CONFIG_FILES.
3678 # This happens for instance with `./config.status config.h'.
3679 if test -n "$CONFIG_FILES"; then
3680
3681
3682 ac_cr='\r'
3683 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3684 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3685   ac_cs_awk_cr='\\r'
3686 else
3687   ac_cs_awk_cr=$ac_cr
3688 fi
3689
3690 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3691 _ACEOF
3692
3693
3694 {
3695   echo "cat >conf$$subs.awk <<_ACEOF" &&
3696   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3697   echo "_ACEOF"
3698 } >conf$$subs.sh ||
3699   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3700 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3701    { (exit 1); exit 1; }; }
3702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3703 ac_delim='%!_!# '
3704 for ac_last_try in false false false false false :; do
3705   . ./conf$$subs.sh ||
3706     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3707 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3708    { (exit 1); exit 1; }; }
3709
3710   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3711     break
3712   elif $ac_last_try; then
3713     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3714 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3715    { (exit 1); exit 1; }; }
3716   else
3717     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3718   fi
3719 done
3720 rm -f conf$$subs.sh
3721
3722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3723 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3724 _ACEOF
3725 sed -n '
3726 h
3727 s/^/S["/; s/!.*/"]=/
3728 p
3729 g
3730 s/^[^!]*!//
3731 :repl
3732 t repl
3733 s/'"$ac_delim"'$//
3734 t delim
3735 :nl
3736 h
3737 s/\(.\{148\}\).*/\1/
3738 t more1
3739 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3740 p
3741 n
3742 b repl
3743 :more1
3744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3745 p
3746 g
3747 s/.\{148\}//
3748 t nl
3749 :delim
3750 h
3751 s/\(.\{148\}\).*/\1/
3752 t more2
3753 s/["\\]/\\&/g; s/^/"/; s/$/"/
3754 p
3755 b
3756 :more2
3757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3758 p
3759 g
3760 s/.\{148\}//
3761 t delim
3762 ' <conf$$subs.awk | sed '
3763 /^[^""]/{
3764   N
3765   s/\n//
3766 }
3767 ' >>$CONFIG_STATUS || ac_write_fail=1
3768 rm -f conf$$subs.awk
3769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3770 _ACAWK
3771 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3772   for (key in S) S_is_set[key] = 1
3773   FS = "\a"
3774
3775 }
3776 {
3777   line = $ 0
3778   nfields = split(line, field, "@")
3779   substed = 0
3780   len = length(field[1])
3781   for (i = 2; i < nfields; i++) {
3782     key = field[i]
3783     keylen = length(key)
3784     if (S_is_set[key]) {
3785       value = S[key]
3786       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3787       len += length(value) + length(field[++i])
3788       substed = 1
3789     } else
3790       len += 1 + keylen
3791   }
3792
3793   print line
3794 }
3795
3796 _ACAWK
3797 _ACEOF
3798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3799 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3800   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3801 else
3802   cat
3803 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3804   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3805 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3806    { (exit 1); exit 1; }; }
3807 _ACEOF
3808
3809 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3810 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3811 # trailing colons and then remove the whole line if VPATH becomes empty
3812 # (actually we leave an empty line to preserve line numbers).
3813 if test "x$srcdir" = x.; then
3814   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3815 s/:*\$(srcdir):*/:/
3816 s/:*\${srcdir}:*/:/
3817 s/:*@srcdir@:*/:/
3818 s/^\([^=]*=[     ]*\):*/\1/
3819 s/:*$//
3820 s/^[^=]*=[       ]*$//
3821 }'
3822 fi
3823
3824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3825 fi # test -n "$CONFIG_FILES"
3826
3827
3828 eval set X "  :F $CONFIG_FILES      "
3829 shift
3830 for ac_tag
3831 do
3832   case $ac_tag in
3833   :[FHLC]) ac_mode=$ac_tag; continue;;
3834   esac
3835   case $ac_mode$ac_tag in
3836   :[FHL]*:*);;
3837   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3838 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3839    { (exit 1); exit 1; }; };;
3840   :[FH]-) ac_tag=-:-;;
3841   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3842   esac
3843   ac_save_IFS=$IFS
3844   IFS=:
3845   set x $ac_tag
3846   IFS=$ac_save_IFS
3847   shift
3848   ac_file=$1
3849   shift
3850
3851   case $ac_mode in
3852   :L) ac_source=$1;;
3853   :[FH])
3854     ac_file_inputs=
3855     for ac_f
3856     do
3857       case $ac_f in
3858       -) ac_f="$tmp/stdin";;
3859       *) # Look for the file first in the build tree, then in the source tree
3860          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3861          # because $ac_f cannot contain `:'.
3862          test -f "$ac_f" ||
3863            case $ac_f in
3864            [\\/$]*) false;;
3865            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3866            esac ||
3867            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3868 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3869    { (exit 1); exit 1; }; };;
3870       esac
3871       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3872       ac_file_inputs="$ac_file_inputs '$ac_f'"
3873     done
3874
3875     # Let's still pretend it is `configure' which instantiates (i.e., don't
3876     # use $as_me), people would be surprised to read:
3877     #    /* config.h.  Generated by config.status.  */
3878     configure_input='Generated from '`
3879           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3880         `' by configure.'
3881     if test x"$ac_file" != x-; then
3882       configure_input="$ac_file.  $configure_input"
3883       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3884 $as_echo "$as_me: creating $ac_file" >&6;}
3885     fi
3886     # Neutralize special characters interpreted by sed in replacement strings.
3887     case $configure_input in #(
3888     *\&* | *\|* | *\\* )
3889        ac_sed_conf_input=`$as_echo "$configure_input" |
3890        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3891     *) ac_sed_conf_input=$configure_input;;
3892     esac
3893
3894     case $ac_tag in
3895     *:-:* | *:-) cat >"$tmp/stdin" \
3896       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3897 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3898    { (exit 1); exit 1; }; } ;;
3899     esac
3900     ;;
3901   esac
3902
3903   ac_dir=`$as_dirname -- "$ac_file" ||
3904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3905          X"$ac_file" : 'X\(//\)[^/]' \| \
3906          X"$ac_file" : 'X\(//\)$' \| \
3907          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3908 $as_echo X"$ac_file" |
3909     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3910             s//\1/
3911             q
3912           }
3913           /^X\(\/\/\)[^/].*/{
3914             s//\1/
3915             q
3916           }
3917           /^X\(\/\/\)$/{
3918             s//\1/
3919             q
3920           }
3921           /^X\(\/\).*/{
3922             s//\1/
3923             q
3924           }
3925           s/.*/./; q'`
3926   { as_dir="$ac_dir"
3927   case $as_dir in #(
3928   -*) as_dir=./$as_dir;;
3929   esac
3930   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3931     as_dirs=
3932     while :; do
3933       case $as_dir in #(
3934       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3935       *) as_qdir=$as_dir;;
3936       esac
3937       as_dirs="'$as_qdir' $as_dirs"
3938       as_dir=`$as_dirname -- "$as_dir" ||
3939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3940          X"$as_dir" : 'X\(//\)[^/]' \| \
3941          X"$as_dir" : 'X\(//\)$' \| \
3942          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3943 $as_echo X"$as_dir" |
3944     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3945             s//\1/
3946             q
3947           }
3948           /^X\(\/\/\)[^/].*/{
3949             s//\1/
3950             q
3951           }
3952           /^X\(\/\/\)$/{
3953             s//\1/
3954             q
3955           }
3956           /^X\(\/\).*/{
3957             s//\1/
3958             q
3959           }
3960           s/.*/./; q'`
3961       test -d "$as_dir" && break
3962     done
3963     test -z "$as_dirs" || eval "mkdir $as_dirs"
3964   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3965 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3966    { (exit 1); exit 1; }; }; }
3967   ac_builddir=.
3968
3969 case "$ac_dir" in
3970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3971 *)
3972   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3973   # A ".." for each directory in $ac_dir_suffix.
3974   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3975   case $ac_top_builddir_sub in
3976   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3977   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3978   esac ;;
3979 esac
3980 ac_abs_top_builddir=$ac_pwd
3981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3982 # for backward compatibility:
3983 ac_top_builddir=$ac_top_build_prefix
3984
3985 case $srcdir in
3986   .)  # We are building in place.
3987     ac_srcdir=.
3988     ac_top_srcdir=$ac_top_builddir_sub
3989     ac_abs_top_srcdir=$ac_pwd ;;
3990   [\\/]* | ?:[\\/]* )  # Absolute name.
3991     ac_srcdir=$srcdir$ac_dir_suffix;
3992     ac_top_srcdir=$srcdir
3993     ac_abs_top_srcdir=$srcdir ;;
3994   *) # Relative name.
3995     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3996     ac_top_srcdir=$ac_top_build_prefix$srcdir
3997     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3998 esac
3999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4000
4001
4002   case $ac_mode in
4003   :F)
4004   #
4005   # CONFIG_FILE
4006   #
4007
4008 _ACEOF
4009
4010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4011 # If the template does not know about datarootdir, expand it.
4012 # FIXME: This hack should be removed a few years after 2.60.
4013 ac_datarootdir_hack=; ac_datarootdir_seen=
4014
4015 ac_sed_dataroot='
4016 /datarootdir/ {
4017   p
4018   q
4019 }
4020 /@datadir@/p
4021 /@docdir@/p
4022 /@infodir@/p
4023 /@localedir@/p
4024 /@mandir@/p
4025 '
4026 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4027 *datarootdir*) ac_datarootdir_seen=yes;;
4028 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4029   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4030 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4031 _ACEOF
4032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4033   ac_datarootdir_hack='
4034   s&@datadir@&$datadir&g
4035   s&@docdir@&$docdir&g
4036   s&@infodir@&$infodir&g
4037   s&@localedir@&$localedir&g
4038   s&@mandir@&$mandir&g
4039     s&\\\${datarootdir}&$datarootdir&g' ;;
4040 esac
4041 _ACEOF
4042
4043 # Neutralize VPATH when `$srcdir' = `.'.
4044 # Shell code in configure.ac might set extrasub.
4045 # FIXME: do we really want to maintain this feature?
4046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4047 ac_sed_extra="$ac_vpsub
4048 $extrasub
4049 _ACEOF
4050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4051 :t
4052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4053 s|@configure_input@|$ac_sed_conf_input|;t t
4054 s&@top_builddir@&$ac_top_builddir_sub&;t t
4055 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4056 s&@srcdir@&$ac_srcdir&;t t
4057 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4058 s&@top_srcdir@&$ac_top_srcdir&;t t
4059 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4060 s&@builddir@&$ac_builddir&;t t
4061 s&@abs_builddir@&$ac_abs_builddir&;t t
4062 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4063 $ac_datarootdir_hack
4064 "
4065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4066   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4067 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4068    { (exit 1); exit 1; }; }
4069
4070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4071   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4072   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4073   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4074 which seems to be undefined.  Please make sure it is defined." >&5
4075 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4076 which seems to be undefined.  Please make sure it is defined." >&2;}
4077
4078   rm -f "$tmp/stdin"
4079   case $ac_file in
4080   -) cat "$tmp/out" && rm -f "$tmp/out";;
4081   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4082   esac \
4083   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4084 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4085    { (exit 1); exit 1; }; }
4086  ;;
4087
4088
4089
4090   esac
4091
4092 done # for ac_tag
4093
4094
4095 { (exit 0); exit 0; }
4096 _ACEOF
4097 chmod +x $CONFIG_STATUS
4098 ac_clean_files=$ac_clean_files_save
4099
4100 test $ac_write_fail = 0 ||
4101   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4102 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4103    { (exit 1); exit 1; }; }
4104
4105
4106 # configure is writing to config.log, and then calls config.status.
4107 # config.status does its own redirection, appending to config.log.
4108 # Unfortunately, on DOS this fails, as config.log is still kept open
4109 # by configure, so config.status won't be able to write to it; its
4110 # output is simply discarded.  So we exec the FD to /dev/null,
4111 # effectively closing config.log, so it can be properly (re)opened and
4112 # appended to by config.status.  When coming back to configure, we
4113 # need to make the FD available again.
4114 if test "$no_create" != yes; then
4115   ac_cs_success=:
4116   ac_config_status_args=
4117   test "$silent" = yes &&
4118     ac_config_status_args="$ac_config_status_args --quiet"
4119   exec 5>/dev/null
4120   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4121   exec 5>>config.log
4122   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4123   # would make configure fail if this is the last instruction.
4124   $ac_cs_success || { (exit 1); exit 1; }
4125 fi
4126 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4127   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4128 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4129 fi
4130