2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for chise-base 0.24.
5 # Report bugs to <chise-en@m17n.org>.
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 ## --------------------- ##
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
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
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
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
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
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
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
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.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
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'"
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'"
576 exec 7<&0 </dev/null 6>&1
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`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
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'
612 program_transform_name
653 xemacs_configure_args
655 xemacs_site_libraries
670 enable_option_checking
675 ac_precious_vars='build_alias
685 # Initialize some variables set by options.
687 ac_init_version=false
688 ac_unrecognized_opts=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
699 program_transform_name=s,x,x,
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'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\$ac_option
745 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749 # Accept the important Cygnus configure options, so we can diagnose typos.
751 case $ac_dashdash$ac_option in
755 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760 -build | --build | --buil | --bui | --bu)
761 ac_prev=build_alias ;;
762 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
763 build_alias=$ac_optarg ;;
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 ;;
773 cache_file=config.cache ;;
775 -datadir | --datadir | --datadi | --datad)
777 -datadir=* | --datadir=* | --datadi=* | --datad=*)
778 datadir=$ac_optarg ;;
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 ;;
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
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
802 eval enable_$ac_useropt=no ;;
804 -docdir | --docdir | --docdi | --doc | --do)
806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
829 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
840 -gas | --gas | --ga | --g)
841 # Obsolete; use --with-gas.
844 -help | --help | --hel | --he | -h)
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 ;;
851 -host | --host | --hos | --ho)
852 ac_prev=host_alias ;;
853 -host=* | --host=* | --hos=* | --ho=*)
854 host_alias=$ac_optarg ;;
856 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
858 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
860 htmldir=$ac_optarg ;;
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 ;;
869 -infodir | --infodir | --infodi | --infod | --info | --inf)
871 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872 infodir=$ac_optarg ;;
874 -libdir | --libdir | --libdi | --libd)
876 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
886 -localedir | --localedir | --localedi | --localed | --locale)
888 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889 localedir=$ac_optarg ;;
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 ;;
898 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
900 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904 # Obsolete; use --without-fp.
907 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908 | --no-cr | --no-c | -n)
911 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
924 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
926 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
960 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
962 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
965 -psdir | --psdir | --psdi | --psd | --ps)
967 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
978 sbindir=$ac_optarg ;;
980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982 | --sharedst | --shareds | --shared | --share | --shar \
984 ac_prev=sharedstatedir ;;
985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
989 sharedstatedir=$ac_optarg ;;
991 -site | --site | --sit)
993 -site=* | --site=* | --sit=*)
996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
1013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1016 -version | --version | --versio | --versi | --vers | -V)
1017 ac_init_version=: ;;
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
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1034 eval with_$ac_useropt=\$ac_optarg ;;
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
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1051 eval with_$ac_useropt=no ;;
1054 # Obsolete; use --with-x.
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 ;;
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 ;;
1071 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1072 Try \`$0 --help' for more information." >&2
1073 { (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
1102 if test -n "$ac_unrecognized_opts"; then
1103 case $enable_option_checking in
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 ;;
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
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1124 # Be sure to have absolute directory names.
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1130 { (exit 1); exit 1; }; }
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.
1138 target=$target_alias
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
1152 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154 test "$silent" = yes && exec 6>/dev/null
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; }; }
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1199 ac_srcdir_defaulted=no
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; }; }
1206 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1209 { (exit 1); exit 1; }; }
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1229 # Report the --help message.
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.
1235 \`configure' configures chise-base 0.24 to adapt to many kinds of systems.
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1242 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1266 For better control, use the options below.
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]
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]
1299 if test -n "$ac_init_help"; then
1300 case $ac_init_help in
1301 short | recursive ) echo "Configuration of chise-base 0.24:";;
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
1310 --with-site-libraries=PATH List of directories to search first for libraries
1312 --with-canna Support the Canna input method
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>
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.
1327 Report bugs to <chise-en@m17n.org>.
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"; } ||
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1357 .) # We are building in place.
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 ;;
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 ;;
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for guested configure.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1381 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1390 chise-base configure 0.24
1391 generated by GNU Autoconf 2.62
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.
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.
1404 It was created by chise-base $as_me 0.24, which was
1405 generated by GNU Autoconf 2.62. Invocation command line was
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`
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`
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`
1436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440 test -z "$as_dir" && as_dir=.
1441 $as_echo "PATH: $as_dir"
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.
1465 ac_must_keep_next=false
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)
1476 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1479 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1494 -* ) ac_must_keep_next=true ;;
1497 ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1516 ## ---------------- ##
1517 ## Cache variables. ##
1518 ## ---------------- ##
1521 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1532 _ | IFS | as_nl) ;; #(
1533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1534 *) $as_unset $ac_var ;;
1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1540 *${as_nl}ac_space=\ *)
1542 "s/'\''/'\''\\\\'\'''\''/g;
1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1554 ## ----------------- ##
1555 ## Output variables. ##
1556 ## ----------------- ##
1559 for ac_var in $ac_subst_vars
1561 eval ac_val=\$$ac_var
1563 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 $as_echo "$ac_var='\''$ac_val'\''"
1569 if test -n "$ac_subst_files"; then
1571 ## ------------------- ##
1572 ## File substitutions. ##
1573 ## ------------------- ##
1576 for ac_var in $ac_subst_files
1578 eval ac_val=\$$ac_var
1580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582 $as_echo "$ac_var='\''$ac_val'\''"
1587 if test -s confdefs.h; then
1597 test "$ac_signal" != 0 &&
1598 $as_echo "$as_me: caught signal $ac_signal"
1599 $as_echo "$as_me: exit $exit_status"
1601 rm -f core *.core core.conftest.* &&
1602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1605 for ac_signal in 1 2 13 15; do
1606 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1610 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1611 rm -f -r conftest* confdefs.h
1613 # Predefined preprocessor variables.
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_NAME "$PACKAGE_NAME"
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_STRING "$PACKAGE_STRING"
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1640 # Let the site file select an alternate cache file if it wants to.
1641 # Prefer an explicitly selected file to automatically selected ones.
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
1650 ac_site_file1=$ac_default_prefix/share/config.site
1651 ac_site_file2=$ac_default_prefix/etc/config.site
1653 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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;}
1671 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672 *) . "./$cache_file";;
1676 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677 $as_echo "$as_me: creating cache $cache_file" >&6;}
1681 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1719 # Pass precious variables to config.status.
1720 if test "$ac_new_set" = set; then
1722 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1723 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1772 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1773 if test -f "$ac_dir/install-sh"; then
1775 ac_install_sh="$ac_aux_dir/install-sh -c"
1777 elif test -f "$ac_dir/install.sh"; then
1779 ac_install_sh="$ac_aux_dir/install.sh -c"
1781 elif test -f "$ac_dir/shtool"; then
1783 ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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; }; }
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
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; }; }
1826 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1827 $as_echo "$ac_cv_build" >&6; }
1828 case $ac_cv_build in
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; }; };;
1835 ac_save_IFS=$IFS; IFS='-'
1841 # Remember, the first character of IFS is used to create $*,
1842 # except with old shells:
1845 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
1853 if test "x$host_alias" = x; then
1854 ac_cv_host=$ac_cv_build
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; }; }
1863 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1864 $as_echo "$ac_cv_host" >&6; }
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; }; };;
1872 ac_save_IFS=$IFS; IFS='-'
1878 # Remember, the first character of IFS is used to create $*,
1879 # except with old shells:
1882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
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
1890 if test "x$target_alias" = x; then
1891 ac_cv_target=$ac_cv_host
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; }; }
1900 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1901 $as_echo "$ac_cv_target" >&6; }
1902 case $ac_cv_target in
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; }; };;
1908 target=$ac_cv_target
1909 ac_save_IFS=$IFS; IFS='-'
1915 # Remember, the first character of IFS is used to create $*,
1916 # except with old shells:
1919 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
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" = \
1927 program_prefix=${target_alias}-
1929 # Checks for programs.
1932 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
1933 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
1943 if test -f CVS/Root; then
1944 cvs_root=`cat CVS/Root`
1945 lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
1947 cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
1948 lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
1951 xemacs_configure_args=`echo $ac_configure_args \
1952 | sed 's/--with-site-includes/--site-includes/' \
1953 | sed 's/--with-site-libraries/--site-libraries/'`
1955 # Settings for optional paths
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"
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"
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"
1971 if test x"$with_canna" != x"no"; then
1972 if test -d /sw/include/canna; then
1973 xemacs_opts="$xemacs_opts --with-canna"
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"
1987 if test -d /sw/include; then
1988 xemacs_site_libraries="/sw/lib"
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"
2002 # Checks for libraries.
2003 if test x"$xemacs_site_includes" != x""; then
2004 xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
2007 if test x"$xemacs_site_libraries" != x""; then
2008 xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
2011 if test x"$with_canna" != x"no"; then
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
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC="$CC" # Let the user override the test.
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2046 if test -n "$CC"; then
2047 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2048 $as_echo "$CC" >&6; }
2050 { $as_echo "$as_me:$LINENO: result: no" >&5
2051 $as_echo "no" >&6; }
2056 if test -z "$ac_cv_prog_CC"; then
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
2065 if test -n "$ac_ct_CC"; then
2066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2090 { $as_echo "$as_me:$LINENO: result: no" >&5
2091 $as_echo "no" >&6; }
2094 if test "x$ac_ct_CC" = x; then
2097 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2143 if test -n "$CC"; then
2144 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2145 $as_echo "$CC" >&6; }
2147 { $as_echo "$as_me:$LINENO: result: no" >&5
2148 $as_echo "no" >&6; }
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
2162 if test -n "$CC"; then
2163 ac_cv_prog_CC="$CC" # Let the user override the test.
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2194 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2200 if test -n "$CC"; then
2201 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2202 $as_echo "$CC" >&6; }
2204 { $as_echo "$as_me:$LINENO: result: no" >&5
2205 $as_echo "no" >&6; }
2210 if test -z "$CC"; then
2211 if test -n "$ac_tool_prefix"; then
2212 for ac_prog in cl.exe
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
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2242 if test -n "$CC"; then
2243 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2244 $as_echo "$CC" >&6; }
2246 { $as_echo "$as_me:$LINENO: result: no" >&5
2247 $as_echo "no" >&6; }
2251 test -n "$CC" && break
2254 if test -z "$CC"; then
2256 for ac_prog in cl.exe
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
2265 if test -n "$ac_ct_CC"; then
2266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2290 { $as_echo "$as_me:$LINENO: result: no" >&5
2291 $as_echo "no" >&6; }
2295 test -n "$ac_ct_CC" && break
2298 if test "x$ac_ct_CC" = x; then
2301 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }; }
2324 # Provide some information about the compiler.
2325 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2328 { (ac_try="$ac_compiler --version >&5"
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
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
2337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }
2339 { (ac_try="$ac_compiler -v >&5"
2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
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
2348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try="$ac_compiler -V >&5"
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
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
2359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2362 cat >conftest.$ac_ext <<_ACEOF
2365 cat confdefs.h >>conftest.$ac_ext
2366 cat >>conftest.$ac_ext <<_ACEOF
2367 /* end confdefs.h. */
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
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[^ ]*//'`
2386 # The possible output files:
2387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2390 for ac_file in $ac_files
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2394 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2399 if { (ac_try="$ac_link_default"
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
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
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
2415 for ac_file in $ac_files ''
2417 test -f "$ac_file" || continue
2419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2422 # We found the default executable, but exeext='' is most
2426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2440 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }; }
2459 ac_exeext=$ac_cv_exeext
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;;
2473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2474 $as_echo "$ac_try_echo") >&5
2475 (eval "$ac_try") 2>&5
2477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 if test "$cross_compiling" = maybe; then
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; }; }
2494 { $as_echo "$as_me:$LINENO: result: yes" >&5
2495 $as_echo "yes" >&6; }
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; }
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"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2514 $as_echo "$ac_try_echo") >&5
2515 (eval "$ac_link") 2>&5
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
2523 for ac_file in conftest.exe conftest conftest.*; do
2524 test -f "$ac_file" || continue
2526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2527 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }
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; }
2544 rm -f conftest.$ac_ext
2545 EXEEXT=$ac_cv_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
2552 cat >conftest.$ac_ext <<_ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2567 rm -f conftest.o conftest.obj
2568 if { (ac_try="$ac_compile"
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2574 $as_echo "$ac_try_echo") >&5
2575 (eval "$ac_compile") 2>&5
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;
2582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_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
2609 cat >conftest.$ac_ext <<_ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2627 rm -f conftest.$ac_objext
2628 if { (ac_try="$ac_compile"
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
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
2637 grep -v '^ *+' conftest.er1 >conftest.err
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
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2671 ac_save_c_werror_flag=$ac_c_werror_flag
2672 ac_c_werror_flag=yes
2675 cat >conftest.$ac_ext <<_ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2690 rm -f conftest.$ac_objext
2691 if { (ac_try="$ac_compile"
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
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
2700 grep -v '^ *+' conftest.er1 >conftest.err
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
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
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
2739 grep -v '^ *+' conftest.er1 >conftest.err
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
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_c_werror_flag=$ac_save_c_werror_flag
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
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
2779 grep -v '^ *+' conftest.er1 >conftest.err
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
2789 $as_echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 ac_c_werror_flag=$ac_save_c_werror_flag
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
2815 if test "$GCC" = yes; then
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
2826 ac_cv_prog_cc_c89=no
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.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)
2847 static char *f (char * (*g) (char **, int), char **p, ...)
2852 s = g (p, va_arg (v,int));
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];
2866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2867 inside strings and character constants. */
2869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
2880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2888 CC="$ac_save_CC $ac_arg"
2889 rm -f conftest.$ac_objext
2890 if { (ac_try="$ac_compile"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
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
2899 grep -v '^ *+' conftest.er1 >conftest.err
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
2909 $as_echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2915 rm -f core conftest.err conftest.$ac_objext
2916 test "x$ac_cv_prog_cc_c89" != "xno" && break
2918 rm -f conftest.$ac_ext
2923 case "x$ac_cv_prog_cc_c89" in
2925 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2926 $as_echo "none needed" >&6; } ;;
2928 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2929 $as_echo "unsupported" >&6; } ;;
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; } ;;
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
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
2949 ac_check_lib_save_LIBS=$LIBS
2950 LIBS="-lcanna $LIBS"
2951 cat >conftest.$ac_ext <<_ACEOF
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
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. */
2964 char jrKanjiControl ();
2968 return jrKanjiControl ();
2973 rm -f conftest.$ac_objext conftest$ac_exeext
2974 if { (ac_try="$ac_link"
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
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
2983 grep -v '^ *+' conftest.er1 >conftest.err
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
2994 ac_cv_lib_canna_jrKanjiControl=yes
2996 $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 ac_cv_lib_canna_jrKanjiControl=no
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
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"
3015 # Checks for header files.
3017 # Checks for typedefs, structures, and compiler characteristics.
3021 # Checks for library functions.
3025 #AC_CHECK_FUNCS(strnlen)
3027 ac_config_files="$ac_config_files Makefile"
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.
3036 # config.status only pays attention to the cache file if you give it
3037 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
3060 _ | IFS | as_nl) ;; #(
3061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3062 *) $as_unset $ac_var ;;
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 \).
3074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3077 # `set' quotes correctly as required by POSIX, so do not add quotes.
3078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3089 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
3104 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3105 # Let make expand exec_prefix.
3106 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3108 # Transform confdefs.h into DEFS.
3109 # Protect against shell expansion while executing Makefile rules.
3110 # Protect against Makefile macro expansion.
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.
3124 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3126 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3130 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3143 DEFS=`sed -n "$ac_script" confdefs.h`
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'
3159 LTLIBOBJS=$ac_ltlibobjs
3163 : ${CONFIG_STATUS=./config.status}
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
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.
3179 SHELL=\${CONFIG_SHELL-$SHELL}
3182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3183 ## --------------------- ##
3184 ## M4sh Initialization. ##
3185 ## --------------------- ##
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
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
3197 case `(set -o) 2>/dev/null` in
3198 *posix*) set -o posix ;;
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
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'
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'
3229 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3230 as_echo_n_body='eval
3234 expr "X$arg" : "X\\(.*\\)$as_nl";
3235 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3237 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3239 export as_echo_n_body
3240 as_echo_n='sh -c $as_echo_n_body as_echo'
3243 as_echo='sh -c $as_echo_body as_echo'
3246 # The user is always right.
3247 if test "${PATH_SEPARATOR+set}" != set; then
3249 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3250 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3255 # Support unset when possible.
3256 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
3270 # Find who we are. Look in the path if we contain no directory separator.
3272 *[\\/]* ) as_myself=$0 ;;
3273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir=.
3278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
3308 # Required to use basename.
3309 if expr a : '\(a\)' >/dev/null 2>&1 &&
3310 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3317 as_basename=basename
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 ||
3329 sed '/^.*\/\([^/][^/]*\)\/*$/{
3350 test "x$as_lineno_1" != "x$as_lineno_2" &&
3351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
3374 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
3386 # Exit status is that of the last command.
3391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3397 ECHO_C= ECHO_N= ECHO_T=
3400 case `echo 'x\c'` in
3401 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3407 if expr a : '\(a\)' >/dev/null 2>&1 &&
3408 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3414 rm -f conf$$ conf$$.exe conf$$.file
3415 if test -d conf$$.dir; then
3416 rm -f conf$$.dir/conf$$.file
3419 mkdir conf$$.dir 2>/dev/null
3421 if (echo >conf$$.file) 2>/dev/null; then
3422 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
3430 elif ln conf$$.file conf$$ 2>/dev/null; then
3438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3439 rmdir conf$$.dir 2>/dev/null
3441 if mkdir -p . 2>/dev/null; then
3444 test -d ./-p && rmdir ./-p
3448 if test -x / >/dev/null 2>&1; then
3451 if ls -dL / >/dev/null 2>&1; then
3458 if test -d "$1"; then
3464 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3465 ???[sx]*):;;*)false;;esac;fi
3469 as_executable_p=$as_test_x
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'"
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'"
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.
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
3487 CONFIG_FILES = $CONFIG_FILES
3488 CONFIG_HEADERS = $CONFIG_HEADERS
3489 CONFIG_LINKS = $CONFIG_LINKS
3490 CONFIG_COMMANDS = $CONFIG_COMMANDS
3493 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3499 # Files that config.status was made for.
3500 config_files="$ac_config_files"
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3506 \`$as_me' instantiates files from templates according to the
3507 current configuration.
3509 Usage: $0 [OPTIONS] [FILE]...
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
3519 Configuration files:
3522 Report bugs to <bug-autoconf@gnu.org>."
3525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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'`\\"
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."
3537 test -n "\$AWK" || AWK=awk
3540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3541 # The default lists apply if the user does not specify any file.
3547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3559 # Handling of the options.
3560 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3562 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3563 $as_echo "$ac_cs_version"; exit ;;
3564 --debug | --debu | --deb | --de | --d | -d )
3566 --file | --fil | --fi | --f )
3569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
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)
3580 -*) { $as_echo "$as_me: error: unrecognized option: $1
3581 Try \`$0 --help' for more information." >&2
3582 { (exit 1); exit 1; }; } ;;
3584 *) ac_config_targets="$ac_config_targets $1"
3585 ac_need_defaults=false ;;
3591 ac_configure_extra_args=
3593 if $ac_cs_silent; then
3595 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3603 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3604 CONFIG_SHELL='$SHELL'
3610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3615 ## Running $as_me. ##
3621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3626 # Handling of arguments.
3627 for ac_config_target in $ac_config_targets
3629 case $ac_config_target in
3630 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
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; }; };;
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
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'.
3656 trap 'exit_status=$?
3657 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3659 trap '{ (exit 1); exit 1; }' 1 2 13 15
3661 # Create a (secure) tmp directory for tmp files.
3664 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3665 test -n "$tmp" && test -d "$tmp"
3668 tmp=./conf$$-$RANDOM
3669 (umask 077 && mkdir "$tmp")
3672 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3673 { (exit 1); exit 1; }
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
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
3690 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3695 echo "cat >conf$$subs.awk <<_ACEOF" &&
3696 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '$'`
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; }; }
3710 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
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; }; }
3717 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3723 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3727 s/^/S["/; s/!.*/"]=/
3737 s/\(.\{148\}\).*/\1/
3739 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3751 s/\(.\{148\}\).*/\1/
3753 s/["\\]/\\&/g; s/^/"/; s/$/"/
3757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3762 ' <conf$$subs.awk | sed '
3767 ' >>$CONFIG_STATUS || ac_write_fail=1
3768 rm -f conf$$subs.awk
3769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3771 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3772 for (key in S) S_is_set[key] = 1
3778 nfields = split(line, field, "@")
3780 len = length(field[1])
3781 for (i = 2; i < nfields; i++) {
3783 keylen = length(key)
3784 if (S_is_set[key]) {
3786 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3787 len += length(value) + length(field[++i])
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"
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; }; }
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[ ]*=/{
3818 s/^\([^=]*=[ ]*\):*/\1/
3824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3825 fi # test -n "$CONFIG_FILES"
3828 eval set X " :F $CONFIG_FILES "
3833 :[FHLC]) ac_mode=$ac_tag; continue;;
3835 case $ac_mode$ac_tag in
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;;
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 `:'.
3865 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
3871 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3872 ac_file_inputs="$ac_file_inputs '$ac_f'"
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'
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;}
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;;
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; }; } ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3928 -*) as_dir=./$as_dir;;
3930 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3934 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3935 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3961 test -d "$as_dir" && break
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; }; }; }
3970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3986 .) # We are building in place.
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 ;;
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 ;;
3999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
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;}
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' ;;
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
4050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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; }; }
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;}
4080 -) cat "$tmp/out" && rm -f "$tmp/out";;
4081 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
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; }; }
4095 { (exit 0); exit 0; }
4097 chmod +x $CONFIG_STATUS
4098 ac_clean_files=$ac_clean_files_save
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; }; }
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
4116 ac_config_status_args=
4117 test "$silent" = yes &&
4118 ac_config_status_args="$ac_config_status_args --quiet"
4120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
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;}