2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for chise-base 0.23.
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 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 # Zsh 3.x and 4.x performs 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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='chise-base'
576 PACKAGE_TARNAME='chise-base'
577 PACKAGE_VERSION='0.23'
578 PACKAGE_STRING='chise-base 0.23'
579 PACKAGE_BUGREPORT='chise-en@m17n.org'
590 program_transform_name
632 xemacs_site_libraries
639 ac_precious_vars='build_alias
644 # Initialize some variables set by options.
646 ac_init_version=false
647 # The variables have the same names as the options, with
648 # dashes changed to underlines.
656 program_transform_name=s,x,x,
664 # Installation directory options.
665 # These are left unexpanded so users can "make install exec_prefix=/foo"
666 # and all the variables that are supposed to be based on exec_prefix
667 # by default will actually change.
668 # Use braces instead of parens because sh, perl, etc. also accept them.
669 # (The list follows the same order as the GNU Coding Standards.)
670 bindir='${exec_prefix}/bin'
671 sbindir='${exec_prefix}/sbin'
672 libexecdir='${exec_prefix}/libexec'
673 datarootdir='${prefix}/share'
674 datadir='${datarootdir}'
675 sysconfdir='${prefix}/etc'
676 sharedstatedir='${prefix}/com'
677 localstatedir='${prefix}/var'
678 includedir='${prefix}/include'
679 oldincludedir='/usr/include'
680 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
681 infodir='${datarootdir}/info'
686 libdir='${exec_prefix}/lib'
687 localedir='${datarootdir}/locale'
688 mandir='${datarootdir}/man'
694 # If the previous option needs an argument, assign it.
695 if test -n "$ac_prev"; then
696 eval $ac_prev=\$ac_option
702 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706 # Accept the important Cygnus configure options, so we can diagnose typos.
708 case $ac_dashdash$ac_option in
712 -bindir | --bindir | --bindi | --bind | --bin | --bi)
714 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
717 -build | --build | --buil | --bui | --bu)
718 ac_prev=build_alias ;;
719 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
720 build_alias=$ac_optarg ;;
722 -cache-file | --cache-file | --cache-fil | --cache-fi \
723 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
724 ac_prev=cache_file ;;
725 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
726 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
727 cache_file=$ac_optarg ;;
730 cache_file=config.cache ;;
732 -datadir | --datadir | --datadi | --datad)
734 -datadir=* | --datadir=* | --datadi=* | --datad=*)
735 datadir=$ac_optarg ;;
737 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
738 | --dataroo | --dataro | --datar)
739 ac_prev=datarootdir ;;
740 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
741 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
742 datarootdir=$ac_optarg ;;
744 -disable-* | --disable-*)
745 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
749 { (exit 1); exit 1; }; }
750 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
751 eval enable_$ac_feature=no ;;
753 -docdir | --docdir | --docdi | --doc | --do)
755 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
758 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
760 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
763 -enable-* | --enable-*)
764 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
765 # Reject names that are not valid shell variable names.
766 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
767 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
768 { (exit 1); exit 1; }; }
769 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
770 eval enable_$ac_feature=\$ac_optarg ;;
772 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
773 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
774 | --exec | --exe | --ex)
775 ac_prev=exec_prefix ;;
776 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
777 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
778 | --exec=* | --exe=* | --ex=*)
779 exec_prefix=$ac_optarg ;;
781 -gas | --gas | --ga | --g)
782 # Obsolete; use --with-gas.
785 -help | --help | --hel | --he | -h)
787 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
788 ac_init_help=recursive ;;
789 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
790 ac_init_help=short ;;
792 -host | --host | --hos | --ho)
793 ac_prev=host_alias ;;
794 -host=* | --host=* | --hos=* | --ho=*)
795 host_alias=$ac_optarg ;;
797 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
799 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
801 htmldir=$ac_optarg ;;
803 -includedir | --includedir | --includedi | --included | --include \
804 | --includ | --inclu | --incl | --inc)
805 ac_prev=includedir ;;
806 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
807 | --includ=* | --inclu=* | --incl=* | --inc=*)
808 includedir=$ac_optarg ;;
810 -infodir | --infodir | --infodi | --infod | --info | --inf)
812 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
813 infodir=$ac_optarg ;;
815 -libdir | --libdir | --libdi | --libd)
817 -libdir=* | --libdir=* | --libdi=* | --libd=*)
820 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
821 | --libexe | --libex | --libe)
822 ac_prev=libexecdir ;;
823 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
824 | --libexe=* | --libex=* | --libe=*)
825 libexecdir=$ac_optarg ;;
827 -localedir | --localedir | --localedi | --localed | --locale)
829 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
830 localedir=$ac_optarg ;;
832 -localstatedir | --localstatedir | --localstatedi | --localstated \
833 | --localstate | --localstat | --localsta | --localst | --locals)
834 ac_prev=localstatedir ;;
835 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
836 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
837 localstatedir=$ac_optarg ;;
839 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
841 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
845 # Obsolete; use --without-fp.
848 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
849 | --no-cr | --no-c | -n)
852 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
853 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
856 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
857 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
858 | --oldin | --oldi | --old | --ol | --o)
859 ac_prev=oldincludedir ;;
860 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
861 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
862 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
863 oldincludedir=$ac_optarg ;;
865 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
867 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
870 -program-prefix | --program-prefix | --program-prefi | --program-pref \
871 | --program-pre | --program-pr | --program-p)
872 ac_prev=program_prefix ;;
873 -program-prefix=* | --program-prefix=* | --program-prefi=* \
874 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
875 program_prefix=$ac_optarg ;;
877 -program-suffix | --program-suffix | --program-suffi | --program-suff \
878 | --program-suf | --program-su | --program-s)
879 ac_prev=program_suffix ;;
880 -program-suffix=* | --program-suffix=* | --program-suffi=* \
881 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
882 program_suffix=$ac_optarg ;;
884 -program-transform-name | --program-transform-name \
885 | --program-transform-nam | --program-transform-na \
886 | --program-transform-n | --program-transform- \
887 | --program-transform | --program-transfor \
888 | --program-transfo | --program-transf \
889 | --program-trans | --program-tran \
890 | --progr-tra | --program-tr | --program-t)
891 ac_prev=program_transform_name ;;
892 -program-transform-name=* | --program-transform-name=* \
893 | --program-transform-nam=* | --program-transform-na=* \
894 | --program-transform-n=* | --program-transform-=* \
895 | --program-transform=* | --program-transfor=* \
896 | --program-transfo=* | --program-transf=* \
897 | --program-trans=* | --program-tran=* \
898 | --progr-tra=* | --program-tr=* | --program-t=*)
899 program_transform_name=$ac_optarg ;;
901 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
903 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
906 -psdir | --psdir | --psdi | --psd | --ps)
908 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
911 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
912 | -silent | --silent | --silen | --sile | --sil)
915 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
917 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
919 sbindir=$ac_optarg ;;
921 -sharedstatedir | --sharedstatedir | --sharedstatedi \
922 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
923 | --sharedst | --shareds | --shared | --share | --shar \
925 ac_prev=sharedstatedir ;;
926 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
927 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
928 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
930 sharedstatedir=$ac_optarg ;;
932 -site | --site | --sit)
934 -site=* | --site=* | --sit=*)
937 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
939 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
942 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
943 | --syscon | --sysco | --sysc | --sys | --sy)
944 ac_prev=sysconfdir ;;
945 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
946 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
947 sysconfdir=$ac_optarg ;;
949 -target | --target | --targe | --targ | --tar | --ta | --t)
950 ac_prev=target_alias ;;
951 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
952 target_alias=$ac_optarg ;;
954 -v | -verbose | --verbose | --verbos | --verbo | --verb)
957 -version | --version | --versio | --versi | --vers | -V)
961 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
964 { echo "$as_me: error: invalid package name: $ac_package" >&2
965 { (exit 1); exit 1; }; }
966 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
967 eval with_$ac_package=\$ac_optarg ;;
969 -without-* | --without-*)
970 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
973 { echo "$as_me: error: invalid package name: $ac_package" >&2
974 { (exit 1); exit 1; }; }
975 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
976 eval with_$ac_package=no ;;
979 # Obsolete; use --with-x.
982 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
983 | --x-incl | --x-inc | --x-in | --x-i)
984 ac_prev=x_includes ;;
985 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
986 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
987 x_includes=$ac_optarg ;;
989 -x-libraries | --x-libraries | --x-librarie | --x-librari \
990 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
991 ac_prev=x_libraries ;;
992 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
993 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
994 x_libraries=$ac_optarg ;;
996 -*) { echo "$as_me: error: unrecognized option: $ac_option
997 Try \`$0 --help' for more information." >&2
998 { (exit 1); exit 1; }; }
1002 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1005 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1006 { (exit 1); exit 1; }; }
1007 eval $ac_envvar=\$ac_optarg
1008 export $ac_envvar ;;
1011 # FIXME: should be removed in autoconf 3.0.
1012 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1013 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1014 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1015 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1021 if test -n "$ac_prev"; then
1022 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1023 { echo "$as_me: error: missing argument to $ac_option" >&2
1024 { (exit 1); exit 1; }; }
1027 # Be sure to have absolute directory names.
1028 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1029 datadir sysconfdir sharedstatedir localstatedir includedir \
1030 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1031 libdir localedir mandir
1033 eval ac_val=\$$ac_var
1035 [\\/$]* | ?:[\\/]* ) continue;;
1036 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1038 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1039 { (exit 1); exit 1; }; }
1042 # There might be people who depend on the old broken behavior: `$host'
1043 # used to hold the argument of --host etc.
1044 # FIXME: To remove some day.
1047 target=$target_alias
1049 # FIXME: To remove some day.
1050 if test "x$host_alias" != x; then
1051 if test "x$build_alias" = x; then
1052 cross_compiling=maybe
1053 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1054 If a cross compiler is detected then cross compile mode will be used." >&2
1055 elif test "x$build_alias" != "x$host_alias"; then
1061 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1063 test "$silent" = yes && exec 6>/dev/null
1066 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1067 ac_ls_di=`ls -di .` &&
1068 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1069 { echo "$as_me: error: Working directory cannot be determined" >&2
1070 { (exit 1); exit 1; }; }
1071 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1072 { echo "$as_me: error: pwd does not report name of working directory" >&2
1073 { (exit 1); exit 1; }; }
1076 # Find the source files, if location was not specified.
1077 if test -z "$srcdir"; then
1078 ac_srcdir_defaulted=yes
1079 # Try the directory containing this script, then the parent directory.
1080 ac_confdir=`$as_dirname -- "$0" ||
1081 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1082 X"$0" : 'X\(//\)[^/]' \| \
1083 X"$0" : 'X\(//\)$' \| \
1084 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1104 if test ! -r "$srcdir/$ac_unique_file"; then
1108 ac_srcdir_defaulted=no
1110 if test ! -r "$srcdir/$ac_unique_file"; then
1111 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1112 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1113 { (exit 1); exit 1; }; }
1115 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1117 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1118 { (exit 1); exit 1; }; }
1120 # When building in place, set srcdir=.
1121 if test "$ac_abs_confdir" = "$ac_pwd"; then
1124 # Remove unnecessary trailing slashes from srcdir.
1125 # Double slashes in file names in object file debugging info
1126 # mess up M-x gdb in Emacs.
1128 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1130 for ac_var in $ac_precious_vars; do
1131 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1132 eval ac_env_${ac_var}_value=\$${ac_var}
1133 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1134 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1138 # Report the --help message.
1140 if test "$ac_init_help" = "long"; then
1141 # Omit some internal or obsolete options to make the list less imposing.
1142 # This message is too long to be a string in the A/UX 3.1 sh.
1144 \`configure' configures chise-base 0.23 to adapt to many kinds of systems.
1146 Usage: $0 [OPTION]... [VAR=VALUE]...
1148 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1149 VAR=VALUE. See below for descriptions of some of the useful variables.
1151 Defaults for the options are specified in brackets.
1154 -h, --help display this help and exit
1155 --help=short display options specific to this package
1156 --help=recursive display the short help of all the included packages
1157 -V, --version display version information and exit
1158 -q, --quiet, --silent do not print \`checking...' messages
1159 --cache-file=FILE cache test results in FILE [disabled]
1160 -C, --config-cache alias for \`--cache-file=config.cache'
1161 -n, --no-create do not create output files
1162 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1164 Installation directories:
1165 --prefix=PREFIX install architecture-independent files in PREFIX
1166 [$ac_default_prefix]
1167 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1170 By default, \`make install' will install all the files in
1171 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1172 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1173 for instance \`--prefix=\$HOME'.
1175 For better control, use the options below.
1177 Fine tuning of the installation directories:
1178 --bindir=DIR user executables [EPREFIX/bin]
1179 --sbindir=DIR system admin executables [EPREFIX/sbin]
1180 --libexecdir=DIR program executables [EPREFIX/libexec]
1181 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1182 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1183 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1184 --libdir=DIR object code libraries [EPREFIX/lib]
1185 --includedir=DIR C header files [PREFIX/include]
1186 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1187 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1188 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1189 --infodir=DIR info documentation [DATAROOTDIR/info]
1190 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1191 --mandir=DIR man documentation [DATAROOTDIR/man]
1192 --docdir=DIR documentation root [DATAROOTDIR/doc/chise-base]
1193 --htmldir=DIR html documentation [DOCDIR]
1194 --dvidir=DIR dvi documentation [DOCDIR]
1195 --pdfdir=DIR pdf documentation [DOCDIR]
1196 --psdir=DIR ps documentation [DOCDIR]
1202 --build=BUILD configure for building on BUILD [guessed]
1203 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1204 --target=TARGET configure for building compilers for TARGET [HOST]
1208 if test -n "$ac_init_help"; then
1209 case $ac_init_help in
1210 short | recursive ) echo "Configuration of chise-base 0.23:";;
1214 Report bugs to <chise-en@m17n.org>.
1219 if test "$ac_init_help" = "recursive"; then
1220 # If there are subdirs, report their specific --help.
1221 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1222 test -d "$ac_dir" || continue
1226 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1228 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1229 # A ".." for each directory in $ac_dir_suffix.
1230 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1231 case $ac_top_builddir_sub in
1232 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1233 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1236 ac_abs_top_builddir=$ac_pwd
1237 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1238 # for backward compatibility:
1239 ac_top_builddir=$ac_top_build_prefix
1242 .) # We are building in place.
1244 ac_top_srcdir=$ac_top_builddir_sub
1245 ac_abs_top_srcdir=$ac_pwd ;;
1246 [\\/]* | ?:[\\/]* ) # Absolute name.
1247 ac_srcdir=$srcdir$ac_dir_suffix;
1248 ac_top_srcdir=$srcdir
1249 ac_abs_top_srcdir=$srcdir ;;
1251 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1252 ac_top_srcdir=$ac_top_build_prefix$srcdir
1253 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1255 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1257 cd "$ac_dir" || { ac_status=$?; continue; }
1258 # Check for guested configure.
1259 if test -f "$ac_srcdir/configure.gnu"; then
1261 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1262 elif test -f "$ac_srcdir/configure"; then
1264 $SHELL "$ac_srcdir/configure" --help=recursive
1266 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1268 cd "$ac_pwd" || { ac_status=$?; break; }
1272 test -n "$ac_init_help" && exit $ac_status
1273 if $ac_init_version; then
1275 chise-base configure 0.23
1276 generated by GNU Autoconf 2.61
1278 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1279 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1280 This configure script is free software; the Free Software Foundation
1281 gives unlimited permission to copy, distribute and modify it.
1285 cat >config.log <<_ACEOF
1286 This file contains any messages produced by compilers while
1287 running configure, to aid debugging if configure makes a mistake.
1289 It was created by chise-base $as_me 0.23, which was
1290 generated by GNU Autoconf 2.61. Invocation command line was
1302 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1303 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1304 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1305 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1306 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1308 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1309 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1311 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1312 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1313 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1314 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1315 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1316 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1317 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 test -z "$as_dir" && as_dir=.
1326 echo "PATH: $as_dir"
1342 # Keep a trace of the command line.
1343 # Strip out --no-create and --no-recursion so they do not pile up.
1344 # Strip out --silent because we don't want to record it for future runs.
1345 # Also quote any args containing shell meta-characters.
1346 # Make two passes to allow for proper duplicate-argument suppression.
1350 ac_must_keep_next=false
1356 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358 | -silent | --silent | --silen | --sile | --sil)
1361 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1364 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1366 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1367 if test $ac_must_keep_next = true; then
1368 ac_must_keep_next=false # Got value, back to normal.
1371 *=* | --config-cache | -C | -disable-* | --disable-* \
1372 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1373 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1374 | -with-* | --with-* | -without-* | --without-* | --x)
1375 case "$ac_configure_args0 " in
1376 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1379 -* ) ac_must_keep_next=true ;;
1382 ac_configure_args="$ac_configure_args '$ac_arg'"
1387 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1388 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1390 # When interrupted or exit'd, cleanup temporary files, and complete
1391 # config.log. We remove comments because anyway the quotes in there
1392 # would cause problems or look ugly.
1393 # WARNING: Use '\'' to represent an apostrophe within the trap.
1394 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1395 trap 'exit_status=$?
1396 # Save into config.log some information that might help in debugging.
1401 ## ---------------- ##
1402 ## Cache variables. ##
1403 ## ---------------- ##
1406 # The following way of writing the cache mishandles newlines in values,
1408 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1409 eval ac_val=\$$ac_var
1413 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1414 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1417 _ | IFS | as_nl) ;; #(
1418 *) $as_unset $ac_var ;;
1423 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1424 *${as_nl}ac_space=\ *)
1426 "s/'\''/'\''\\\\'\'''\''/g;
1427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1430 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1438 ## ----------------- ##
1439 ## Output variables. ##
1440 ## ----------------- ##
1443 for ac_var in $ac_subst_vars
1445 eval ac_val=\$$ac_var
1447 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1449 echo "$ac_var='\''$ac_val'\''"
1453 if test -n "$ac_subst_files"; then
1455 ## ------------------- ##
1456 ## File substitutions. ##
1457 ## ------------------- ##
1460 for ac_var in $ac_subst_files
1462 eval ac_val=\$$ac_var
1464 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1466 echo "$ac_var='\''$ac_val'\''"
1471 if test -s confdefs.h; then
1481 test "$ac_signal" != 0 &&
1482 echo "$as_me: caught signal $ac_signal"
1483 echo "$as_me: exit $exit_status"
1485 rm -f core *.core core.conftest.* &&
1486 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1489 for ac_signal in 1 2 13 15; do
1490 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1494 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1495 rm -f -r conftest* confdefs.h
1497 # Predefined preprocessor variables.
1499 cat >>confdefs.h <<_ACEOF
1500 #define PACKAGE_NAME "$PACKAGE_NAME"
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1509 cat >>confdefs.h <<_ACEOF
1510 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1514 cat >>confdefs.h <<_ACEOF
1515 #define PACKAGE_STRING "$PACKAGE_STRING"
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1524 # Let the site file select an alternate cache file if it wants to.
1525 # Prefer explicitly selected file to automatically selected ones.
1526 if test -n "$CONFIG_SITE"; then
1527 set x "$CONFIG_SITE"
1528 elif test "x$prefix" != xNONE; then
1529 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1531 set x "$ac_default_prefix/share/config.site" \
1532 "$ac_default_prefix/etc/config.site"
1537 if test -r "$ac_site_file"; then
1538 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1539 echo "$as_me: loading site script $ac_site_file" >&6;}
1540 sed 's/^/| /' "$ac_site_file" >&5
1545 if test -r "$cache_file"; then
1546 # Some versions of bash will fail to source /dev/null (special
1547 # files actually), so we avoid doing that.
1548 if test -f "$cache_file"; then
1549 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1550 echo "$as_me: loading cache $cache_file" >&6;}
1552 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1553 *) . "./$cache_file";;
1557 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1558 echo "$as_me: creating cache $cache_file" >&6;}
1562 # Check that the precious variables saved in the cache have kept the same
1564 ac_cache_corrupted=false
1565 for ac_var in $ac_precious_vars; do
1566 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1567 eval ac_new_set=\$ac_env_${ac_var}_set
1568 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1569 eval ac_new_val=\$ac_env_${ac_var}_value
1570 case $ac_old_set,$ac_new_set in
1572 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1573 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1574 ac_cache_corrupted=: ;;
1576 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1577 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1578 ac_cache_corrupted=: ;;
1581 if test "x$ac_old_val" != "x$ac_new_val"; then
1582 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1583 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1584 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1585 echo "$as_me: former value: $ac_old_val" >&2;}
1586 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1587 echo "$as_me: current value: $ac_new_val" >&2;}
1588 ac_cache_corrupted=:
1591 # Pass precious variables to config.status.
1592 if test "$ac_new_set" = set; then
1594 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1595 *) ac_arg=$ac_var=$ac_new_val ;;
1597 case " $ac_configure_args " in
1598 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1599 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1603 if $ac_cache_corrupted; then
1604 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1605 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1606 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1607 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1608 { (exit 1); exit 1; }; }
1636 ac_cpp='$CPP $CPPFLAGS'
1637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1644 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1645 if test -f "$ac_dir/install-sh"; then
1647 ac_install_sh="$ac_aux_dir/install-sh -c"
1649 elif test -f "$ac_dir/install.sh"; then
1651 ac_install_sh="$ac_aux_dir/install.sh -c"
1653 elif test -f "$ac_dir/shtool"; then
1655 ac_install_sh="$ac_aux_dir/shtool install -c"
1659 if test -z "$ac_aux_dir"; then
1660 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1661 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1662 { (exit 1); exit 1; }; }
1665 # These three variables are undocumented and unsupported,
1666 # and are intended to be withdrawn in a future Autoconf release.
1667 # They can cause serious problems if a builder's source tree is in a directory
1668 # whose full name contains unusual characters.
1669 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1670 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1671 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1674 # Make sure we can run config.sub.
1675 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1676 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1677 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1678 { (exit 1); exit 1; }; }
1680 { echo "$as_me:$LINENO: checking build system type" >&5
1681 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1682 if test "${ac_cv_build+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 ac_build_alias=$build_alias
1686 test "x$ac_build_alias" = x &&
1687 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1688 test "x$ac_build_alias" = x &&
1689 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1690 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1691 { (exit 1); exit 1; }; }
1692 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1693 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1694 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1695 { (exit 1); exit 1; }; }
1698 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1699 echo "${ECHO_T}$ac_cv_build" >&6; }
1700 case $ac_cv_build in
1702 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1703 echo "$as_me: error: invalid value of canonical build" >&2;}
1704 { (exit 1); exit 1; }; };;
1707 ac_save_IFS=$IFS; IFS='-'
1713 # Remember, the first character of IFS is used to create $*,
1714 # except with old shells:
1717 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1720 { echo "$as_me:$LINENO: checking host system type" >&5
1721 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1722 if test "${ac_cv_host+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test "x$host_alias" = x; then
1726 ac_cv_host=$ac_cv_build
1728 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1729 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1730 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1731 { (exit 1); exit 1; }; }
1735 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1736 echo "${ECHO_T}$ac_cv_host" >&6; }
1739 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1740 echo "$as_me: error: invalid value of canonical host" >&2;}
1741 { (exit 1); exit 1; }; };;
1744 ac_save_IFS=$IFS; IFS='-'
1750 # Remember, the first character of IFS is used to create $*,
1751 # except with old shells:
1754 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1757 { echo "$as_me:$LINENO: checking target system type" >&5
1758 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1759 if test "${ac_cv_target+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 if test "x$target_alias" = x; then
1763 ac_cv_target=$ac_cv_host
1765 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1766 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1767 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1768 { (exit 1); exit 1; }; }
1772 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1773 echo "${ECHO_T}$ac_cv_target" >&6; }
1774 case $ac_cv_target in
1776 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1777 echo "$as_me: error: invalid value of canonical target" >&2;}
1778 { (exit 1); exit 1; }; };;
1780 target=$ac_cv_target
1781 ac_save_IFS=$IFS; IFS='-'
1787 # Remember, the first character of IFS is used to create $*,
1788 # except with old shells:
1791 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix=${target_alias}-
1801 # Checks for programs.
1804 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
1805 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
1814 if test -f CVS/Root; then
1815 cvs_root=`cat CVS/Root`
1816 lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
1818 cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
1819 lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
1822 # Checks for libraries.
1823 if test -d /sw/include; then
1824 xemacs_site_includes="/sw/include"
1825 xemacs_site_libraries="/sw/lib"
1826 xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
1828 if test -f /sw/include/db3/db.h; then
1829 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
1830 elif test -f /sw/include/db4/db.h; then
1831 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
1833 if test -d /sw/include/canna; then
1834 xemacs_opts="$xemacs_opts --with-canna"
1838 if test "$xemacs_site_includes" != ""; then
1839 xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
1842 if test "$xemacs_site_libraries" != ""; then
1843 xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
1846 # Checks for header files.
1848 # Checks for typedefs, structures, and compiler characteristics.
1852 # Checks for library functions.
1856 #AC_CHECK_FUNCS(strnlen)
1858 ac_config_files="$ac_config_files Makefile"
1860 cat >confcache <<\_ACEOF
1861 # This file is a shell script that caches the results of configure
1862 # tests run on this system so they can be shared between configure
1863 # scripts and configure runs, see configure's option --config-cache.
1864 # It is not useful on other systems. If it contains results you don't
1865 # want to keep, you may remove or edit it.
1867 # config.status only pays attention to the cache file if you give it
1868 # the --recheck option to rerun configure.
1870 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1871 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1876 # The following way of writing the cache mishandles newlines in values,
1877 # but we know of no workaround that is simple, portable, and efficient.
1878 # So, we kill variables containing newlines.
1879 # Ultrix sh set writes to stderr and can't be redirected directly,
1880 # and sets the high bit in the cache file unless we assign to the vars.
1882 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1883 eval ac_val=\$$ac_var
1887 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1888 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1891 _ | IFS | as_nl) ;; #(
1892 *) $as_unset $ac_var ;;
1898 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1899 *${as_nl}ac_space=\ *)
1900 # `set' does not quote correctly, so add quotes (double-quote
1901 # substitution turns \\\\ into \\, and sed turns \\ into \).
1904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1907 # `set' quotes correctly as required by POSIX, so do not add quotes.
1908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1919 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1922 if test -w "$cache_file"; then
1923 test "x$cache_file" != "x/dev/null" &&
1924 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1925 echo "$as_me: updating cache $cache_file" >&6;}
1926 cat confcache >$cache_file
1928 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1929 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1934 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1935 # Let make expand exec_prefix.
1936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1938 # Transform confdefs.h into DEFS.
1939 # Protect against shell expansion while executing Makefile rules.
1940 # Protect against Makefile macro expansion.
1942 # If the first sed substitution is executed (which looks for macros that
1943 # take arguments), then branch to the quote section. Otherwise,
1944 # look for a macro that doesn't take arguments.
1948 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1950 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1954 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1967 DEFS=`sed -n "$ac_script" confdefs.h`
1972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1973 # 1. Remove the extension, and $U if already installed.
1974 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1975 ac_i=`echo "$ac_i" | sed "$ac_script"`
1976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1977 # will be set to the directory where LIBOBJS objects are built.
1978 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1979 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1983 LTLIBOBJS=$ac_ltlibobjs
1987 : ${CONFIG_STATUS=./config.status}
1988 ac_clean_files_save=$ac_clean_files
1989 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1990 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1991 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1992 cat >$CONFIG_STATUS <<_ACEOF
1994 # Generated by $as_me.
1995 # Run this file to recreate the current configuration.
1996 # Compiler output produced by configure, useful for debugging
1997 # configure, is in config.log if it exists.
2002 SHELL=\${CONFIG_SHELL-$SHELL}
2005 cat >>$CONFIG_STATUS <<\_ACEOF
2006 ## --------------------- ##
2007 ## M4sh Initialization. ##
2008 ## --------------------- ##
2010 # Be more Bourne compatible
2011 DUALCASE=1; export DUALCASE # for MKS sh
2012 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2016 # is contrary to our usage. Disable this feature.
2017 alias -g '${1+"$@"}'='"$@"'
2018 setopt NO_GLOB_SUBST
2020 case `(set -o) 2>/dev/null` in
2021 *posix*) set -o posix ;;
2030 # Avoid depending upon Character Ranges.
2031 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2032 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2033 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2034 as_cr_digits='0123456789'
2035 as_cr_alnum=$as_cr_Letters$as_cr_digits
2037 # The user is always right.
2038 if test "${PATH_SEPARATOR+set}" != set; then
2039 echo "#! /bin/sh" >conf$$.sh
2040 echo "exit 0" >>conf$$.sh
2042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2050 # Support unset when possible.
2051 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2059 # We need space, tab and new line, in precisely that order. Quoting is
2060 # there to prevent editors from complaining about space-tab.
2061 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2062 # splitting by setting IFS to empty value.)
2067 # Find who we are. Look in the path if we contain no directory separator.
2069 *[\\/]* ) as_myself=$0 ;;
2070 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2081 # We did not find ourselves, most probably we were run as `sh COMMAND'
2082 # in which case we are not to be found in the path.
2083 if test "x$as_myself" = x; then
2086 if test ! -f "$as_myself"; then
2087 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2088 { (exit 1); exit 1; }
2091 # Work around bugs in pre-3.0 UWIN ksh.
2092 for as_var in ENV MAIL MAILPATH
2093 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2103 LC_TELEPHONE LC_TIME
2105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2106 eval $as_var=C; export $as_var
2108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2112 # Required to use basename.
2113 if expr a : '\(a\)' >/dev/null 2>&1 &&
2114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2121 as_basename=basename
2127 # Name of the executable.
2128 as_me=`$as_basename -- "$0" ||
2129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2130 X"$0" : 'X\(//\)$' \| \
2131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2133 sed '/^.*\/\([^/][^/]*\)\/*$/{
2154 test "x$as_lineno_1" != "x$as_lineno_2" &&
2155 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2158 # uniformly replaced by the line number. The first 'sed' inserts a
2159 # line-number line after each line using $LINENO; the second 'sed'
2160 # does the real work. The second script uses 'N' to pair each
2161 # line-number line with the line containing $LINENO, and appends
2162 # trailing '-' during substitution so that $LINENO is not a special
2164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2165 # scripts with optimization help from Paolo Bonzini. Blame Lee
2166 # E. McMahon (1931-1989) for sed's syntax. :-)
2178 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2182 chmod +x "$as_me.lineno" ||
2183 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2184 { (exit 1); exit 1; }; }
2186 # Don't try to exec as it changes $[0], causing all sort of problems
2187 # (the dirname of $[0] is not the place where we might find the
2188 # original and so on. Autoconf is especially sensitive to this).
2190 # Exit status is that of the last command.
2195 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2201 ECHO_C= ECHO_N= ECHO_T=
2204 case `echo 'x\c'` in
2205 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2212 if expr a : '\(a\)' >/dev/null 2>&1 &&
2213 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2219 rm -f conf$$ conf$$.exe conf$$.file
2220 if test -d conf$$.dir; then
2221 rm -f conf$$.dir/conf$$.file
2227 if ln -s conf$$.file conf$$ 2>/dev/null; then
2229 # ... but there are two gotchas:
2230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2232 # In both cases, we have to default to `cp -p'.
2233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2235 elif ln conf$$.file conf$$ 2>/dev/null; then
2240 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2241 rmdir conf$$.dir 2>/dev/null
2243 if mkdir -p . 2>/dev/null; then
2246 test -d ./-p && rmdir ./-p
2250 if test -x / >/dev/null 2>&1; then
2253 if ls -dL / >/dev/null 2>&1; then
2260 if test -d "$1"; then
2266 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2267 ???[sx]*):;;*)false;;esac;fi
2271 as_executable_p=$as_test_x
2273 # Sed expression to map a string onto a valid CPP name.
2274 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2276 # Sed expression to map a string onto a valid variable name.
2277 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2282 # Save the log message, to keep $[0] and so on meaningful, and to
2283 # report actual input values of CONFIG_FILES etc. instead of their
2284 # values after options handling.
2286 This file was extended by chise-base $as_me 0.23, which was
2287 generated by GNU Autoconf 2.61. Invocation command line was
2289 CONFIG_FILES = $CONFIG_FILES
2290 CONFIG_HEADERS = $CONFIG_HEADERS
2291 CONFIG_LINKS = $CONFIG_LINKS
2292 CONFIG_COMMANDS = $CONFIG_COMMANDS
2295 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2300 cat >>$CONFIG_STATUS <<_ACEOF
2301 # Files that config.status was made for.
2302 config_files="$ac_config_files"
2306 cat >>$CONFIG_STATUS <<\_ACEOF
2308 \`$as_me' instantiates files from templates according to the
2309 current configuration.
2311 Usage: $0 [OPTIONS] [FILE]...
2313 -h, --help print this help, then exit
2314 -V, --version print version number and configuration settings, then exit
2315 -q, --quiet do not print progress messages
2316 -d, --debug don't remove temporary files
2317 --recheck update $as_me by reconfiguring in the same conditions
2318 --file=FILE[:TEMPLATE]
2319 instantiate the configuration file FILE
2321 Configuration files:
2324 Report bugs to <bug-autoconf@gnu.org>."
2327 cat >>$CONFIG_STATUS <<_ACEOF
2329 chise-base config.status 0.23
2330 configured by $0, generated by GNU Autoconf 2.61,
2331 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2333 Copyright (C) 2006 Free Software Foundation, Inc.
2334 This config.status script is free software; the Free Software Foundation
2335 gives unlimited permission to copy, distribute and modify it."
2341 cat >>$CONFIG_STATUS <<\_ACEOF
2342 # If no file are specified by the user, then we need to provide default
2343 # value. By we need to know if files were specified by the user.
2349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2350 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2361 # Handling of the options.
2362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2365 echo "$ac_cs_version"; exit ;;
2366 --debug | --debu | --deb | --de | --d | -d )
2368 --file | --fil | --fi | --f )
2370 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2371 ac_need_defaults=false;;
2372 --he | --h | --help | --hel | -h )
2373 echo "$ac_cs_usage"; exit ;;
2374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2375 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2379 -*) { echo "$as_me: error: unrecognized option: $1
2380 Try \`$0 --help' for more information." >&2
2381 { (exit 1); exit 1; }; } ;;
2383 *) ac_config_targets="$ac_config_targets $1"
2384 ac_need_defaults=false ;;
2390 ac_configure_extra_args=
2392 if $ac_cs_silent; then
2394 ac_configure_extra_args="$ac_configure_extra_args --silent"
2398 cat >>$CONFIG_STATUS <<_ACEOF
2399 if \$ac_cs_recheck; then
2400 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2403 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2407 cat >>$CONFIG_STATUS <<\_ACEOF
2411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2412 ## Running $as_me. ##
2418 cat >>$CONFIG_STATUS <<_ACEOF
2421 cat >>$CONFIG_STATUS <<\_ACEOF
2423 # Handling of arguments.
2424 for ac_config_target in $ac_config_targets
2426 case $ac_config_target in
2427 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2431 { (exit 1); exit 1; }; };;
2436 # If the user did not use the arguments to specify the items to instantiate,
2437 # then the envvar interface is used. Set only those that are not.
2438 # We use the long form for the default assignment because of an extremely
2439 # bizarre bug on SunOS 4.1.3.
2440 if $ac_need_defaults; then
2441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2444 # Have a temporary directory for convenience. Make it in the build tree
2445 # simply because there is no reason against having it here, and in addition,
2446 # creating and moving files from /tmp can sometimes cause problems.
2447 # Hook for its removal unless debugging.
2448 # Note that there is a small window in which the directory will not be cleaned:
2449 # after its creation but before its name has been assigned to `$tmp'.
2453 trap 'exit_status=$?
2454 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2456 trap '{ (exit 1); exit 1; }' 1 2 13 15
2458 # Create a (secure) tmp directory for tmp files.
2461 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2462 test -n "$tmp" && test -d "$tmp"
2465 tmp=./conf$$-$RANDOM
2466 (umask 077 && mkdir "$tmp")
2469 echo "$me: cannot create a temporary directory in ." >&2
2470 { (exit 1); exit 1; }
2474 # Set up the sed scripts for CONFIG_FILES section.
2477 # No need to generate the scripts if there are no CONFIG_FILES.
2478 # This happens for instance when ./config.status config.h
2479 if test -n "$CONFIG_FILES"; then
2486 for ac_last_try in false false false false false :; do
2487 cat >conf$$subs.sed <<_ACEOF
2488 SHELL!$SHELL$ac_delim
2489 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2490 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2491 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2492 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2493 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2494 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2495 exec_prefix!$exec_prefix$ac_delim
2496 prefix!$prefix$ac_delim
2497 program_transform_name!$program_transform_name$ac_delim
2498 bindir!$bindir$ac_delim
2499 sbindir!$sbindir$ac_delim
2500 libexecdir!$libexecdir$ac_delim
2501 datarootdir!$datarootdir$ac_delim
2502 datadir!$datadir$ac_delim
2503 sysconfdir!$sysconfdir$ac_delim
2504 sharedstatedir!$sharedstatedir$ac_delim
2505 localstatedir!$localstatedir$ac_delim
2506 includedir!$includedir$ac_delim
2507 oldincludedir!$oldincludedir$ac_delim
2508 docdir!$docdir$ac_delim
2509 infodir!$infodir$ac_delim
2510 htmldir!$htmldir$ac_delim
2511 dvidir!$dvidir$ac_delim
2512 pdfdir!$pdfdir$ac_delim
2513 psdir!$psdir$ac_delim
2514 libdir!$libdir$ac_delim
2515 localedir!$localedir$ac_delim
2516 mandir!$mandir$ac_delim
2518 ECHO_C!$ECHO_C$ac_delim
2519 ECHO_N!$ECHO_N$ac_delim
2520 ECHO_T!$ECHO_T$ac_delim
2522 build_alias!$build_alias$ac_delim
2523 host_alias!$host_alias$ac_delim
2524 target_alias!$target_alias$ac_delim
2525 build!$build$ac_delim
2526 build_cpu!$build_cpu$ac_delim
2527 build_vendor!$build_vendor$ac_delim
2528 build_os!$build_os$ac_delim
2530 host_cpu!$host_cpu$ac_delim
2531 host_vendor!$host_vendor$ac_delim
2532 host_os!$host_os$ac_delim
2533 target!$target$ac_delim
2534 target_cpu!$target_cpu$ac_delim
2535 target_vendor!$target_vendor$ac_delim
2536 target_os!$target_os$ac_delim
2537 ac_configure_args!$ac_configure_args$ac_delim
2538 xemacs_site_includes!$xemacs_site_includes$ac_delim
2539 xemacs_site_libraries!$xemacs_site_libraries$ac_delim
2540 xemacs_opts!$xemacs_opts$ac_delim
2541 cvs_root!$cvs_root$ac_delim
2542 lemi_cvs_root!$lemi_cvs_root$ac_delim
2543 LIBOBJS!$LIBOBJS$ac_delim
2544 LTLIBOBJS!$LTLIBOBJS$ac_delim
2547 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
2549 elif $ac_last_try; then
2550 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2552 { (exit 1); exit 1; }; }
2554 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2558 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2559 if test -n "$ac_eof"; then
2560 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2561 ac_eof=`expr $ac_eof + 1`
2564 cat >>$CONFIG_STATUS <<_ACEOF
2565 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2570 s/^/s,@/; s/!/@,|#_!!_#|/
2573 s/'"$ac_delim"'$/,g/; t
2575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2576 ' >>$CONFIG_STATUS <conf$$subs.sed
2577 rm -f conf$$subs.sed
2578 cat >>$CONFIG_STATUS <<_ACEOF
2585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2587 # trailing colons and then remove the whole line if VPATH becomes empty
2588 # (actually we leave an empty line to preserve line numbers).
2589 if test "x$srcdir" = x.; then
2590 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2594 s/^\([^=]*=[ ]*\):*/\1/
2600 cat >>$CONFIG_STATUS <<\_ACEOF
2601 fi # test -n "$CONFIG_FILES"
2604 for ac_tag in :F $CONFIG_FILES
2607 :[FHLC]) ac_mode=$ac_tag; continue;;
2609 case $ac_mode$ac_tag in
2611 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2612 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2613 { (exit 1); exit 1; }; };;
2614 :[FH]-) ac_tag=-:-;;
2615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2632 -) ac_f="$tmp/stdin";;
2633 *) # Look for the file first in the build tree, then in the source tree
2634 # (if the path is not absolute). The absolute path cannot be DOS-style,
2635 # because $ac_f cannot contain `:'.
2639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2641 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2642 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2643 { (exit 1); exit 1; }; };;
2645 ac_file_inputs="$ac_file_inputs $ac_f"
2648 # Let's still pretend it is `configure' which instantiates (i.e., don't
2649 # use $as_me), people would be surprised to read:
2650 # /* config.h. Generated by config.status. */
2651 configure_input="Generated from "`IFS=:
2652 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2653 if test x"$ac_file" != x-; then
2654 configure_input="$ac_file. $configure_input"
2655 { echo "$as_me:$LINENO: creating $ac_file" >&5
2656 echo "$as_me: creating $ac_file" >&6;}
2660 *:-:* | *:-) cat >"$tmp/stdin";;
2665 ac_dir=`$as_dirname -- "$ac_file" ||
2666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2667 X"$ac_file" : 'X\(//\)[^/]' \| \
2668 X"$ac_file" : 'X\(//\)$' \| \
2669 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2690 -*) as_dir=./$as_dir;;
2692 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2696 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2697 *) as_qdir=$as_dir;;
2699 as_dirs="'$as_qdir' $as_dirs"
2700 as_dir=`$as_dirname -- "$as_dir" ||
2701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2702 X"$as_dir" : 'X\(//\)[^/]' \| \
2703 X"$as_dir" : 'X\(//\)$' \| \
2704 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2723 test -d "$as_dir" && break
2725 test -z "$as_dirs" || eval "mkdir $as_dirs"
2726 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2727 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2728 { (exit 1); exit 1; }; }; }
2732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2734 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2735 # A ".." for each directory in $ac_dir_suffix.
2736 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2737 case $ac_top_builddir_sub in
2738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 ac_abs_top_builddir=$ac_pwd
2743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2744 # for backward compatibility:
2745 ac_top_builddir=$ac_top_build_prefix
2748 .) # We are building in place.
2750 ac_top_srcdir=$ac_top_builddir_sub
2751 ac_abs_top_srcdir=$ac_pwd ;;
2752 [\\/]* | ?:[\\/]* ) # Absolute name.
2753 ac_srcdir=$srcdir$ac_dir_suffix;
2754 ac_top_srcdir=$srcdir
2755 ac_abs_top_srcdir=$srcdir ;;
2757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2758 ac_top_srcdir=$ac_top_build_prefix$srcdir
2759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2772 cat >>$CONFIG_STATUS <<\_ACEOF
2773 # If the template does not know about datarootdir, expand it.
2774 # FIXME: This hack should be removed a few years after 2.60.
2775 ac_datarootdir_hack=; ac_datarootdir_seen=
2777 case `sed -n '/datarootdir/ {
2786 ' $ac_file_inputs` in
2787 *datarootdir*) ac_datarootdir_seen=yes;;
2788 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2789 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2790 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2792 cat >>$CONFIG_STATUS <<_ACEOF
2793 ac_datarootdir_hack='
2794 s&@datadir@&$datadir&g
2795 s&@docdir@&$docdir&g
2796 s&@infodir@&$infodir&g
2797 s&@localedir@&$localedir&g
2798 s&@mandir@&$mandir&g
2799 s&\\\${datarootdir}&$datarootdir&g' ;;
2803 # Neutralize VPATH when `$srcdir' = `.'.
2804 # Shell code in configure.ac might set extrasub.
2805 # FIXME: do we really want to maintain this feature?
2806 cat >>$CONFIG_STATUS <<_ACEOF
2810 cat >>$CONFIG_STATUS <<\_ACEOF
2812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2813 s&@configure_input@&$configure_input&;t t
2814 s&@top_builddir@&$ac_top_builddir_sub&;t t
2815 s&@srcdir@&$ac_srcdir&;t t
2816 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2817 s&@top_srcdir@&$ac_top_srcdir&;t t
2818 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2819 s&@builddir@&$ac_builddir&;t t
2820 s&@abs_builddir@&$ac_abs_builddir&;t t
2821 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2822 $ac_datarootdir_hack
2823 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2825 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2826 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2827 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2828 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2829 which seems to be undefined. Please make sure it is defined." >&5
2830 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2831 which seems to be undefined. Please make sure it is defined." >&2;}
2835 -) cat "$tmp/out"; rm -f "$tmp/out";;
2836 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2847 { (exit 0); exit 0; }
2849 chmod +x $CONFIG_STATUS
2850 ac_clean_files=$ac_clean_files_save
2853 # configure is writing to config.log, and then calls config.status.
2854 # config.status does its own redirection, appending to config.log.
2855 # Unfortunately, on DOS this fails, as config.log is still kept open
2856 # by configure, so config.status won't be able to write to it; its
2857 # output is simply discarded. So we exec the FD to /dev/null,
2858 # effectively closing config.log, so it can be properly (re)opened and
2859 # appended to by config.status. When coming back to configure, we
2860 # need to make the FD available again.
2861 if test "$no_create" != yes; then
2863 ac_config_status_args=
2864 test "$silent" = yes &&
2865 ac_config_status_args="$ac_config_status_args --quiet"
2867 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2869 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2870 # would make configure fail if this is the last instruction.
2871 $ac_cs_success || { (exit 1); exit 1; }