2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for chise-base 0.25.
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.25'
578 PACKAGE_STRING='chise-base 0.25'
579 PACKAGE_BUGREPORT='chise-en@m17n.org'
590 program_transform_name
631 xemacs_configure_args
633 xemacs_site_libraries
647 ac_precious_vars='build_alias
657 # Initialize some variables set by options.
659 ac_init_version=false
660 # The variables have the same names as the options, with
661 # dashes changed to underlines.
669 program_transform_name=s,x,x,
677 # Installation directory options.
678 # These are left unexpanded so users can "make install exec_prefix=/foo"
679 # and all the variables that are supposed to be based on exec_prefix
680 # by default will actually change.
681 # Use braces instead of parens because sh, perl, etc. also accept them.
682 # (The list follows the same order as the GNU Coding Standards.)
683 bindir='${exec_prefix}/bin'
684 sbindir='${exec_prefix}/sbin'
685 libexecdir='${exec_prefix}/libexec'
686 datarootdir='${prefix}/share'
687 datadir='${datarootdir}'
688 sysconfdir='${prefix}/etc'
689 sharedstatedir='${prefix}/com'
690 localstatedir='${prefix}/var'
691 includedir='${prefix}/include'
692 oldincludedir='/usr/include'
693 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
694 infodir='${datarootdir}/info'
699 libdir='${exec_prefix}/lib'
700 localedir='${datarootdir}/locale'
701 mandir='${datarootdir}/man'
707 # If the previous option needs an argument, assign it.
708 if test -n "$ac_prev"; then
709 eval $ac_prev=\$ac_option
715 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
719 # Accept the important Cygnus configure options, so we can diagnose typos.
721 case $ac_dashdash$ac_option in
725 -bindir | --bindir | --bindi | --bind | --bin | --bi)
727 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
730 -build | --build | --buil | --bui | --bu)
731 ac_prev=build_alias ;;
732 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
733 build_alias=$ac_optarg ;;
735 -cache-file | --cache-file | --cache-fil | --cache-fi \
736 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
737 ac_prev=cache_file ;;
738 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
739 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
740 cache_file=$ac_optarg ;;
743 cache_file=config.cache ;;
745 -datadir | --datadir | --datadi | --datad)
747 -datadir=* | --datadir=* | --datadi=* | --datad=*)
748 datadir=$ac_optarg ;;
750 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
751 | --dataroo | --dataro | --datar)
752 ac_prev=datarootdir ;;
753 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
754 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
755 datarootdir=$ac_optarg ;;
757 -disable-* | --disable-*)
758 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
762 { (exit 1); exit 1; }; }
763 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
764 eval enable_$ac_feature=no ;;
766 -docdir | --docdir | --docdi | --doc | --do)
768 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
771 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
773 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
776 -enable-* | --enable-*)
777 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
780 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
781 { (exit 1); exit 1; }; }
782 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
783 eval enable_$ac_feature=\$ac_optarg ;;
785 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787 | --exec | --exe | --ex)
788 ac_prev=exec_prefix ;;
789 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791 | --exec=* | --exe=* | --ex=*)
792 exec_prefix=$ac_optarg ;;
794 -gas | --gas | --ga | --g)
795 # Obsolete; use --with-gas.
798 -help | --help | --hel | --he | -h)
800 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801 ac_init_help=recursive ;;
802 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803 ac_init_help=short ;;
805 -host | --host | --hos | --ho)
806 ac_prev=host_alias ;;
807 -host=* | --host=* | --hos=* | --ho=*)
808 host_alias=$ac_optarg ;;
810 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
812 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
814 htmldir=$ac_optarg ;;
816 -includedir | --includedir | --includedi | --included | --include \
817 | --includ | --inclu | --incl | --inc)
818 ac_prev=includedir ;;
819 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820 | --includ=* | --inclu=* | --incl=* | --inc=*)
821 includedir=$ac_optarg ;;
823 -infodir | --infodir | --infodi | --infod | --info | --inf)
825 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826 infodir=$ac_optarg ;;
828 -libdir | --libdir | --libdi | --libd)
830 -libdir=* | --libdir=* | --libdi=* | --libd=*)
833 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834 | --libexe | --libex | --libe)
835 ac_prev=libexecdir ;;
836 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837 | --libexe=* | --libex=* | --libe=*)
838 libexecdir=$ac_optarg ;;
840 -localedir | --localedir | --localedi | --localed | --locale)
842 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843 localedir=$ac_optarg ;;
845 -localstatedir | --localstatedir | --localstatedi | --localstated \
846 | --localstate | --localstat | --localsta | --localst | --locals)
847 ac_prev=localstatedir ;;
848 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850 localstatedir=$ac_optarg ;;
852 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
854 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
858 # Obsolete; use --without-fp.
861 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862 | --no-cr | --no-c | -n)
865 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
869 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871 | --oldin | --oldi | --old | --ol | --o)
872 ac_prev=oldincludedir ;;
873 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876 oldincludedir=$ac_optarg ;;
878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
883 -program-prefix | --program-prefix | --program-prefi | --program-pref \
884 | --program-pre | --program-pr | --program-p)
885 ac_prev=program_prefix ;;
886 -program-prefix=* | --program-prefix=* | --program-prefi=* \
887 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888 program_prefix=$ac_optarg ;;
890 -program-suffix | --program-suffix | --program-suffi | --program-suff \
891 | --program-suf | --program-su | --program-s)
892 ac_prev=program_suffix ;;
893 -program-suffix=* | --program-suffix=* | --program-suffi=* \
894 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895 program_suffix=$ac_optarg ;;
897 -program-transform-name | --program-transform-name \
898 | --program-transform-nam | --program-transform-na \
899 | --program-transform-n | --program-transform- \
900 | --program-transform | --program-transfor \
901 | --program-transfo | --program-transf \
902 | --program-trans | --program-tran \
903 | --progr-tra | --program-tr | --program-t)
904 ac_prev=program_transform_name ;;
905 -program-transform-name=* | --program-transform-name=* \
906 | --program-transform-nam=* | --program-transform-na=* \
907 | --program-transform-n=* | --program-transform-=* \
908 | --program-transform=* | --program-transfor=* \
909 | --program-transfo=* | --program-transf=* \
910 | --program-trans=* | --program-tran=* \
911 | --progr-tra=* | --program-tr=* | --program-t=*)
912 program_transform_name=$ac_optarg ;;
914 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
916 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
919 -psdir | --psdir | --psdi | --psd | --ps)
921 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
925 | -silent | --silent | --silen | --sile | --sil)
928 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
930 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
932 sbindir=$ac_optarg ;;
934 -sharedstatedir | --sharedstatedir | --sharedstatedi \
935 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936 | --sharedst | --shareds | --shared | --share | --shar \
938 ac_prev=sharedstatedir ;;
939 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
943 sharedstatedir=$ac_optarg ;;
945 -site | --site | --sit)
947 -site=* | --site=* | --sit=*)
950 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
952 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
955 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956 | --syscon | --sysco | --sysc | --sys | --sy)
957 ac_prev=sysconfdir ;;
958 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960 sysconfdir=$ac_optarg ;;
962 -target | --target | --targe | --targ | --tar | --ta | --t)
963 ac_prev=target_alias ;;
964 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965 target_alias=$ac_optarg ;;
967 -v | -verbose | --verbose | --verbos | --verbo | --verb)
970 -version | --version | --versio | --versi | --vers | -V)
974 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid package name: $ac_package" >&2
978 { (exit 1); exit 1; }; }
979 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
980 eval with_$ac_package=\$ac_optarg ;;
982 -without-* | --without-*)
983 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
986 { echo "$as_me: error: invalid package name: $ac_package" >&2
987 { (exit 1); exit 1; }; }
988 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
989 eval with_$ac_package=no ;;
992 # Obsolete; use --with-x.
995 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
996 | --x-incl | --x-inc | --x-in | --x-i)
997 ac_prev=x_includes ;;
998 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
999 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1000 x_includes=$ac_optarg ;;
1002 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1003 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1004 ac_prev=x_libraries ;;
1005 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1006 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1007 x_libraries=$ac_optarg ;;
1009 -*) { echo "$as_me: error: unrecognized option: $ac_option
1010 Try \`$0 --help' for more information." >&2
1011 { (exit 1); exit 1; }; }
1015 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1018 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1019 { (exit 1); exit 1; }; }
1020 eval $ac_envvar=\$ac_optarg
1021 export $ac_envvar ;;
1024 # FIXME: should be removed in autoconf 3.0.
1025 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1026 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1028 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1034 if test -n "$ac_prev"; then
1035 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1036 { echo "$as_me: error: missing argument to $ac_option" >&2
1037 { (exit 1); exit 1; }; }
1040 # Be sure to have absolute directory names.
1041 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1042 datadir sysconfdir sharedstatedir localstatedir includedir \
1043 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1044 libdir localedir mandir
1046 eval ac_val=\$$ac_var
1048 [\\/$]* | ?:[\\/]* ) continue;;
1049 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1051 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1052 { (exit 1); exit 1; }; }
1055 # There might be people who depend on the old broken behavior: `$host'
1056 # used to hold the argument of --host etc.
1057 # FIXME: To remove some day.
1060 target=$target_alias
1062 # FIXME: To remove some day.
1063 if test "x$host_alias" != x; then
1064 if test "x$build_alias" = x; then
1065 cross_compiling=maybe
1066 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1067 If a cross compiler is detected then cross compile mode will be used." >&2
1068 elif test "x$build_alias" != "x$host_alias"; then
1074 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1076 test "$silent" = yes && exec 6>/dev/null
1079 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1080 ac_ls_di=`ls -di .` &&
1081 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1082 { echo "$as_me: error: Working directory cannot be determined" >&2
1083 { (exit 1); exit 1; }; }
1084 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1085 { echo "$as_me: error: pwd does not report name of working directory" >&2
1086 { (exit 1); exit 1; }; }
1089 # Find the source files, if location was not specified.
1090 if test -z "$srcdir"; then
1091 ac_srcdir_defaulted=yes
1092 # Try the directory containing this script, then the parent directory.
1093 ac_confdir=`$as_dirname -- "$0" ||
1094 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1095 X"$0" : 'X\(//\)[^/]' \| \
1096 X"$0" : 'X\(//\)$' \| \
1097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1117 if test ! -r "$srcdir/$ac_unique_file"; then
1121 ac_srcdir_defaulted=no
1123 if test ! -r "$srcdir/$ac_unique_file"; then
1124 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1125 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1126 { (exit 1); exit 1; }; }
1128 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1130 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1131 { (exit 1); exit 1; }; }
1133 # When building in place, set srcdir=.
1134 if test "$ac_abs_confdir" = "$ac_pwd"; then
1137 # Remove unnecessary trailing slashes from srcdir.
1138 # Double slashes in file names in object file debugging info
1139 # mess up M-x gdb in Emacs.
1141 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1143 for ac_var in $ac_precious_vars; do
1144 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1145 eval ac_env_${ac_var}_value=\$${ac_var}
1146 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1147 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1151 # Report the --help message.
1153 if test "$ac_init_help" = "long"; then
1154 # Omit some internal or obsolete options to make the list less imposing.
1155 # This message is too long to be a string in the A/UX 3.1 sh.
1157 \`configure' configures chise-base 0.25 to adapt to many kinds of systems.
1159 Usage: $0 [OPTION]... [VAR=VALUE]...
1161 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1162 VAR=VALUE. See below for descriptions of some of the useful variables.
1164 Defaults for the options are specified in brackets.
1167 -h, --help display this help and exit
1168 --help=short display options specific to this package
1169 --help=recursive display the short help of all the included packages
1170 -V, --version display version information and exit
1171 -q, --quiet, --silent do not print \`checking...' messages
1172 --cache-file=FILE cache test results in FILE [disabled]
1173 -C, --config-cache alias for \`--cache-file=config.cache'
1174 -n, --no-create do not create output files
1175 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1177 Installation directories:
1178 --prefix=PREFIX install architecture-independent files in PREFIX
1179 [$ac_default_prefix]
1180 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1183 By default, \`make install' will install all the files in
1184 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1185 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1186 for instance \`--prefix=\$HOME'.
1188 For better control, use the options below.
1190 Fine tuning of the installation directories:
1191 --bindir=DIR user executables [EPREFIX/bin]
1192 --sbindir=DIR system admin executables [EPREFIX/sbin]
1193 --libexecdir=DIR program executables [EPREFIX/libexec]
1194 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1195 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1196 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1197 --libdir=DIR object code libraries [EPREFIX/lib]
1198 --includedir=DIR C header files [PREFIX/include]
1199 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1200 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1201 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1202 --infodir=DIR info documentation [DATAROOTDIR/info]
1203 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1204 --mandir=DIR man documentation [DATAROOTDIR/man]
1205 --docdir=DIR documentation root [DATAROOTDIR/doc/chise-base]
1206 --htmldir=DIR html documentation [DOCDIR]
1207 --dvidir=DIR dvi documentation [DOCDIR]
1208 --pdfdir=DIR pdf documentation [DOCDIR]
1209 --psdir=DIR ps documentation [DOCDIR]
1215 --build=BUILD configure for building on BUILD [guessed]
1216 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1217 --target=TARGET configure for building compilers for TARGET [HOST]
1221 if test -n "$ac_init_help"; then
1222 case $ac_init_help in
1223 short | recursive ) echo "Configuration of chise-base 0.25:";;
1228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1230 --with-site-includes=PATH List of directories to search first for header files
1232 --with-site-libraries=PATH List of directories to search first for libraries
1234 --with-canna Support the Canna input method
1237 Some influential environment variables:
1238 CC C compiler command
1239 CFLAGS C compiler flags
1240 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1241 nonstandard directory <lib dir>
1242 LIBS libraries to pass to the linker, e.g. -l<library>
1243 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1244 you have headers in a nonstandard directory <include dir>
1246 Use these variables to override the choices made by `configure' or to help
1247 it to find libraries and programs with nonstandard names/locations.
1249 Report bugs to <chise-en@m17n.org>.
1254 if test "$ac_init_help" = "recursive"; then
1255 # If there are subdirs, report their specific --help.
1256 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1257 test -d "$ac_dir" || continue
1261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1264 # A ".." for each directory in $ac_dir_suffix.
1265 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1266 case $ac_top_builddir_sub in
1267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1271 ac_abs_top_builddir=$ac_pwd
1272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1273 # for backward compatibility:
1274 ac_top_builddir=$ac_top_build_prefix
1277 .) # We are building in place.
1279 ac_top_srcdir=$ac_top_builddir_sub
1280 ac_abs_top_srcdir=$ac_pwd ;;
1281 [\\/]* | ?:[\\/]* ) # Absolute name.
1282 ac_srcdir=$srcdir$ac_dir_suffix;
1283 ac_top_srcdir=$srcdir
1284 ac_abs_top_srcdir=$srcdir ;;
1286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1287 ac_top_srcdir=$ac_top_build_prefix$srcdir
1288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1292 cd "$ac_dir" || { ac_status=$?; continue; }
1293 # Check for guested configure.
1294 if test -f "$ac_srcdir/configure.gnu"; then
1296 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1297 elif test -f "$ac_srcdir/configure"; then
1299 $SHELL "$ac_srcdir/configure" --help=recursive
1301 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1303 cd "$ac_pwd" || { ac_status=$?; break; }
1307 test -n "$ac_init_help" && exit $ac_status
1308 if $ac_init_version; then
1310 chise-base configure 0.25
1311 generated by GNU Autoconf 2.61
1313 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1314 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1315 This configure script is free software; the Free Software Foundation
1316 gives unlimited permission to copy, distribute and modify it.
1320 cat >config.log <<_ACEOF
1321 This file contains any messages produced by compilers while
1322 running configure, to aid debugging if configure makes a mistake.
1324 It was created by chise-base $as_me 0.25, which was
1325 generated by GNU Autoconf 2.61. Invocation command line was
1337 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1338 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1339 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1340 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1341 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1343 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1344 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1346 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1347 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1348 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1349 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1350 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1351 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1352 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1360 test -z "$as_dir" && as_dir=.
1361 echo "PATH: $as_dir"
1377 # Keep a trace of the command line.
1378 # Strip out --no-create and --no-recursion so they do not pile up.
1379 # Strip out --silent because we don't want to record it for future runs.
1380 # Also quote any args containing shell meta-characters.
1381 # Make two passes to allow for proper duplicate-argument suppression.
1385 ac_must_keep_next=false
1391 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1393 | -silent | --silent | --silen | --sile | --sil)
1396 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1399 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1401 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1402 if test $ac_must_keep_next = true; then
1403 ac_must_keep_next=false # Got value, back to normal.
1406 *=* | --config-cache | -C | -disable-* | --disable-* \
1407 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1408 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1409 | -with-* | --with-* | -without-* | --without-* | --x)
1410 case "$ac_configure_args0 " in
1411 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1414 -* ) ac_must_keep_next=true ;;
1417 ac_configure_args="$ac_configure_args '$ac_arg'"
1422 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1423 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1425 # When interrupted or exit'd, cleanup temporary files, and complete
1426 # config.log. We remove comments because anyway the quotes in there
1427 # would cause problems or look ugly.
1428 # WARNING: Use '\'' to represent an apostrophe within the trap.
1429 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1430 trap 'exit_status=$?
1431 # Save into config.log some information that might help in debugging.
1436 ## ---------------- ##
1437 ## Cache variables. ##
1438 ## ---------------- ##
1441 # The following way of writing the cache mishandles newlines in values,
1443 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1444 eval ac_val=\$$ac_var
1448 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1449 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1452 _ | IFS | as_nl) ;; #(
1453 *) $as_unset $ac_var ;;
1458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1459 *${as_nl}ac_space=\ *)
1461 "s/'\''/'\''\\\\'\'''\''/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1473 ## ----------------- ##
1474 ## Output variables. ##
1475 ## ----------------- ##
1478 for ac_var in $ac_subst_vars
1480 eval ac_val=\$$ac_var
1482 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1484 echo "$ac_var='\''$ac_val'\''"
1488 if test -n "$ac_subst_files"; then
1490 ## ------------------- ##
1491 ## File substitutions. ##
1492 ## ------------------- ##
1495 for ac_var in $ac_subst_files
1497 eval ac_val=\$$ac_var
1499 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1501 echo "$ac_var='\''$ac_val'\''"
1506 if test -s confdefs.h; then
1516 test "$ac_signal" != 0 &&
1517 echo "$as_me: caught signal $ac_signal"
1518 echo "$as_me: exit $exit_status"
1520 rm -f core *.core core.conftest.* &&
1521 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1524 for ac_signal in 1 2 13 15; do
1525 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1529 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1530 rm -f -r conftest* confdefs.h
1532 # Predefined preprocessor variables.
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_NAME "$PACKAGE_NAME"
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_STRING "$PACKAGE_STRING"
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1559 # Let the site file select an alternate cache file if it wants to.
1560 # Prefer explicitly selected file to automatically selected ones.
1561 if test -n "$CONFIG_SITE"; then
1562 set x "$CONFIG_SITE"
1563 elif test "x$prefix" != xNONE; then
1564 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1566 set x "$ac_default_prefix/share/config.site" \
1567 "$ac_default_prefix/etc/config.site"
1572 if test -r "$ac_site_file"; then
1573 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1574 echo "$as_me: loading site script $ac_site_file" >&6;}
1575 sed 's/^/| /' "$ac_site_file" >&5
1580 if test -r "$cache_file"; then
1581 # Some versions of bash will fail to source /dev/null (special
1582 # files actually), so we avoid doing that.
1583 if test -f "$cache_file"; then
1584 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1585 echo "$as_me: loading cache $cache_file" >&6;}
1587 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1588 *) . "./$cache_file";;
1592 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1593 echo "$as_me: creating cache $cache_file" >&6;}
1597 # Check that the precious variables saved in the cache have kept the same
1599 ac_cache_corrupted=false
1600 for ac_var in $ac_precious_vars; do
1601 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1602 eval ac_new_set=\$ac_env_${ac_var}_set
1603 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1604 eval ac_new_val=\$ac_env_${ac_var}_value
1605 case $ac_old_set,$ac_new_set in
1607 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1608 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1609 ac_cache_corrupted=: ;;
1611 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1612 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1613 ac_cache_corrupted=: ;;
1616 if test "x$ac_old_val" != "x$ac_new_val"; then
1617 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1618 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1619 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1620 echo "$as_me: former value: $ac_old_val" >&2;}
1621 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1622 echo "$as_me: current value: $ac_new_val" >&2;}
1623 ac_cache_corrupted=:
1626 # Pass precious variables to config.status.
1627 if test "$ac_new_set" = set; then
1629 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1630 *) ac_arg=$ac_var=$ac_new_val ;;
1632 case " $ac_configure_args " in
1633 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1634 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1638 if $ac_cache_corrupted; then
1639 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1640 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1641 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1642 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1643 { (exit 1); exit 1; }; }
1671 ac_cpp='$CPP $CPPFLAGS'
1672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1680 if test -f "$ac_dir/install-sh"; then
1682 ac_install_sh="$ac_aux_dir/install-sh -c"
1684 elif test -f "$ac_dir/install.sh"; then
1686 ac_install_sh="$ac_aux_dir/install.sh -c"
1688 elif test -f "$ac_dir/shtool"; then
1690 ac_install_sh="$ac_aux_dir/shtool install -c"
1694 if test -z "$ac_aux_dir"; then
1695 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1696 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1697 { (exit 1); exit 1; }; }
1700 # These three variables are undocumented and unsupported,
1701 # and are intended to be withdrawn in a future Autoconf release.
1702 # They can cause serious problems if a builder's source tree is in a directory
1703 # whose full name contains unusual characters.
1704 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1705 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1706 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1709 # Make sure we can run config.sub.
1710 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1711 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1712 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1713 { (exit 1); exit 1; }; }
1715 { echo "$as_me:$LINENO: checking build system type" >&5
1716 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1717 if test "${ac_cv_build+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 ac_build_alias=$build_alias
1721 test "x$ac_build_alias" = x &&
1722 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1723 test "x$ac_build_alias" = x &&
1724 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1725 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1726 { (exit 1); exit 1; }; }
1727 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1728 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1729 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1730 { (exit 1); exit 1; }; }
1733 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1734 echo "${ECHO_T}$ac_cv_build" >&6; }
1735 case $ac_cv_build in
1737 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1738 echo "$as_me: error: invalid value of canonical build" >&2;}
1739 { (exit 1); exit 1; }; };;
1742 ac_save_IFS=$IFS; IFS='-'
1748 # Remember, the first character of IFS is used to create $*,
1749 # except with old shells:
1752 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1755 { echo "$as_me:$LINENO: checking host system type" >&5
1756 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1757 if test "${ac_cv_host+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test "x$host_alias" = x; then
1761 ac_cv_host=$ac_cv_build
1763 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1764 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1765 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1770 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1771 echo "${ECHO_T}$ac_cv_host" >&6; }
1774 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1775 echo "$as_me: error: invalid value of canonical host" >&2;}
1776 { (exit 1); exit 1; }; };;
1779 ac_save_IFS=$IFS; IFS='-'
1785 # Remember, the first character of IFS is used to create $*,
1786 # except with old shells:
1789 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1792 { echo "$as_me:$LINENO: checking target system type" >&5
1793 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1794 if test "${ac_cv_target+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test "x$target_alias" = x; then
1798 ac_cv_target=$ac_cv_host
1800 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1801 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1802 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1803 { (exit 1); exit 1; }; }
1807 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1808 echo "${ECHO_T}$ac_cv_target" >&6; }
1809 case $ac_cv_target in
1811 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1812 echo "$as_me: error: invalid value of canonical target" >&2;}
1813 { (exit 1); exit 1; }; };;
1815 target=$ac_cv_target
1816 ac_save_IFS=$IFS; IFS='-'
1822 # Remember, the first character of IFS is used to create $*,
1823 # except with old shells:
1826 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1829 # The aliases save the names the user supplied, while $host etc.
1830 # will get canonicalized.
1831 test -n "$target_alias" &&
1832 test "$program_prefix$program_suffix$program_transform_name" = \
1834 program_prefix=${target_alias}-
1836 # Checks for programs.
1839 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
1840 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
1850 if test -f CVS/Root; then
1851 cvs_root=`cat CVS/Root`
1852 lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
1854 cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
1855 lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
1858 xemacs_configure_args=`echo $ac_configure_args \
1859 | sed 's/--with-site-includes/--site-includes/' \
1860 | sed 's/--with-site-libraries/--site-libraries/'`
1862 # Settings for optional paths
1864 # Check whether --with-site_includes was given.
1865 if test "${with_site_includes+set}" = set; then
1866 withval=$with_site_includes; #xemacs_site_includes="$with_site_includes"
1869 if test -d /sw/include; then
1870 xemacs_site_includes="/sw/include"
1871 xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
1873 if test -f /sw/include/db3/db.h; then
1874 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
1875 elif test -f /sw/include/db4/db.h; then
1876 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
1878 if test x"$with_canna" != x"no"; then
1879 if test -d /sw/include/canna; then
1880 xemacs_opts="$xemacs_opts --with-canna"
1889 # Check whether --with-site_libraries was given.
1890 if test "${with_site_libraries+set}" = set; then
1891 withval=$with_site_libraries; #xemacs_site_libraries="$with_site_libraries"
1894 if test -d /sw/include; then
1895 xemacs_site_libraries="/sw/lib"
1902 # Check whether --with-canna was given.
1903 if test "${with_canna+set}" = set; then
1904 withval=$with_canna; #xemacs_opts="$xemacs_opts --with-canna"
1909 # Checks for libraries.
1910 if test x"$xemacs_site_includes" != x""; then
1911 xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
1914 if test x"$xemacs_site_libraries" != x""; then
1915 xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
1918 if test x"$with_canna" != x"no"; then
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1929 if test "${ac_cv_prog_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC="$CC" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 if test -n "$CC"; then
1954 { echo "$as_me:$LINENO: result: $CC" >&5
1955 echo "${ECHO_T}$CC" >&6; }
1957 { echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6; }
1963 if test -z "$ac_cv_prog_CC"; then
1965 # Extract the first word of "gcc", so it can be a program name with args.
1966 set dummy gcc; ac_word=$2
1967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 if test -n "$ac_ct_CC"; then
1973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1982 ac_cv_prog_ac_ct_CC="gcc"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1993 if test -n "$ac_ct_CC"; then
1994 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1995 echo "${ECHO_T}$ac_ct_CC" >&6; }
1997 { echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6; }
2001 if test "x$ac_ct_CC" = x; then
2004 case $cross_compiling:$ac_tool_warned in
2006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2007 whose name does not start with the host triplet. If you think this
2008 configuration is useful to you, please write to autoconf@gnu.org." >&5
2009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2010 whose name does not start with the host triplet. If you think this
2011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2012 ac_tool_warned=yes ;;
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2023 set dummy ${ac_tool_prefix}cc; ac_word=$2
2024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2026 if test "${ac_cv_prog_CC+set}" = set; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2039 ac_cv_prog_CC="${ac_tool_prefix}cc"
2040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 if test -n "$CC"; then
2051 { echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6; }
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2061 if test -z "$CC"; then
2062 # Extract the first word of "cc", so it can be a program name with args.
2063 set dummy cc; ac_word=$2
2064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2066 if test "${ac_cv_prog_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC="$CC" # Let the user override the test.
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir=.
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2081 ac_prog_rejected=yes
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test $ac_prog_rejected = yes; then
2093 # We found a bogon in the path, so make sure we never use it.
2094 set dummy $ac_cv_prog_CC
2096 if test $# != 0; then
2097 # We chose a different compiler from the bogus one.
2098 # However, it has the same basename, so the bogon will be chosen
2099 # first if we set CC to just the basename; use the full file name.
2101 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2107 if test -n "$CC"; then
2108 { echo "$as_me:$LINENO: result: $CC" >&5
2109 echo "${ECHO_T}$CC" >&6; }
2111 { echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6; }
2117 if test -z "$CC"; then
2118 if test -n "$ac_tool_prefix"; then
2119 for ac_prog in cl.exe
2121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2125 if test "${ac_cv_prog_CC+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test -n "$CC"; then
2129 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 if test -n "$CC"; then
2150 { echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6; }
2153 { echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6; }
2158 test -n "$CC" && break
2161 if test -z "$CC"; then
2163 for ac_prog in cl.exe
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy $ac_prog; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$ac_ct_CC"; then
2173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_ac_ct_CC="$ac_prog"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2195 echo "${ECHO_T}$ac_ct_CC" >&6; }
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2202 test -n "$ac_ct_CC" && break
2205 if test "x$ac_ct_CC" = x; then
2208 case $cross_compiling:$ac_tool_warned in
2210 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2211 whose name does not start with the host triplet. If you think this
2212 configuration is useful to you, please write to autoconf@gnu.org." >&5
2213 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2214 whose name does not start with the host triplet. If you think this
2215 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2216 ac_tool_warned=yes ;;
2225 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: no acceptable C compiler found in \$PATH
2228 See \`config.log' for more details." >&2;}
2229 { (exit 1); exit 1; }; }
2231 # Provide some information about the compiler.
2232 echo "$as_me:$LINENO: checking for C compiler version" >&5
2233 ac_compiler=`set X $ac_compile; echo $2`
2234 { (ac_try="$ac_compiler --version >&5"
2236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2237 *) ac_try_echo=$ac_try;;
2239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2240 (eval "$ac_compiler --version >&5") 2>&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }
2244 { (ac_try="$ac_compiler -v >&5"
2246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247 *) ac_try_echo=$ac_try;;
2249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2250 (eval "$ac_compiler -v >&5") 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }
2254 { (ac_try="$ac_compiler -V >&5"
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2260 (eval "$ac_compiler -V >&5") 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2265 cat >conftest.$ac_ext <<_ACEOF
2268 cat confdefs.h >>conftest.$ac_ext
2269 cat >>conftest.$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2280 ac_clean_files_save=$ac_clean_files
2281 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2282 # Try to create an executable without -o first, disregard a.out.
2283 # It will help us diagnose broken compilers, and finding out an intuition
2285 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2286 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2287 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2289 # List of possible output files, starting from the most likely.
2290 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2291 # only as a last resort. b.out is created by i960 compilers.
2292 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2294 # The IRIX 6 linker writes into existing files which may not be
2295 # executable, retaining their permissions. Remove them first so a
2296 # subsequent execution test works.
2298 for ac_file in $ac_files
2301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2302 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2307 if { (ac_try="$ac_link_default"
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2313 (eval "$ac_link_default") 2>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; then
2317 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2318 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2319 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2320 # so that the user can short-circuit this test for compilers unknown to
2322 for ac_file in $ac_files ''
2324 test -f "$ac_file" || continue
2326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2329 # We found the default executable, but exeext='' is most
2333 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2335 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2337 # We set ac_cv_exeext here because the later test for it is not
2338 # safe: cross compilers may not add the suffix if given an `-o'
2339 # argument, so we may need to know it at that point already.
2340 # Even if this section looks crufty: it has the advantage of
2347 test "$ac_cv_exeext" = no && ac_cv_exeext=
2353 { echo "$as_me:$LINENO: result: $ac_file" >&5
2354 echo "${ECHO_T}$ac_file" >&6; }
2355 if test -z "$ac_file"; then
2356 echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.$ac_ext >&5
2359 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2360 See \`config.log' for more details." >&5
2361 echo "$as_me: error: C compiler cannot create executables
2362 See \`config.log' for more details." >&2;}
2363 { (exit 77); exit 77; }; }
2366 ac_exeext=$ac_cv_exeext
2368 # Check that the compiler produces executables we can run. If not, either
2369 # the compiler is broken, or we cross compile.
2370 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2371 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2372 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2373 # If not cross compiling, check that we can run a simple program.
2374 if test "$cross_compiling" != yes; then
2375 if { ac_try='./$ac_file'
2376 { (case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_try") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; }; then
2387 if test "$cross_compiling" = maybe; then
2390 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2391 If you meant to cross compile, use \`--host'.
2392 See \`config.log' for more details." >&5
2393 echo "$as_me: error: cannot run C compiled programs.
2394 If you meant to cross compile, use \`--host'.
2395 See \`config.log' for more details." >&2;}
2396 { (exit 1); exit 1; }; }
2400 { echo "$as_me:$LINENO: result: yes" >&5
2401 echo "${ECHO_T}yes" >&6; }
2403 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2404 ac_clean_files=$ac_clean_files_save
2405 # Check that the compiler produces executables we can run. If not, either
2406 # the compiler is broken, or we cross compile.
2407 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2408 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2409 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2410 echo "${ECHO_T}$cross_compiling" >&6; }
2412 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2413 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2414 if { (ac_try="$ac_link"
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_link") 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; then
2424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2426 # work properly (i.e., refer to `conftest.exe'), while it won't with
2428 for ac_file in conftest.exe conftest conftest.*; do
2429 test -f "$ac_file" || continue
2431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2438 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2439 See \`config.log' for more details." >&5
2440 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2441 See \`config.log' for more details." >&2;}
2442 { (exit 1); exit 1; }; }
2445 rm -f conftest$ac_cv_exeext
2446 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2447 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2449 rm -f conftest.$ac_ext
2450 EXEEXT=$ac_cv_exeext
2452 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2453 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2454 if test "${ac_cv_objext+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2472 rm -f conftest.o conftest.obj
2473 if { (ac_try="$ac_compile"
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2479 (eval "$ac_compile") 2>&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; then
2483 for ac_file in conftest.o conftest.obj conftest.*; do
2484 test -f "$ac_file" || continue;
2486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2487 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2495 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2496 See \`config.log' for more details." >&5
2497 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2502 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2504 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2505 echo "${ECHO_T}$ac_cv_objext" >&6; }
2506 OBJEXT=$ac_cv_objext
2508 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2509 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2510 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 cat >conftest.$ac_ext <<_ACEOF
2516 cat confdefs.h >>conftest.$ac_ext
2517 cat >>conftest.$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2531 rm -f conftest.$ac_objext
2532 if { (ac_try="$ac_compile"
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 (eval "$ac_compile") 2>conftest.er1
2540 grep -v '^ *+' conftest.er1 >conftest.err
2542 cat conftest.err >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); } && {
2545 test -z "$ac_c_werror_flag" ||
2546 test ! -s conftest.err
2547 } && test -s conftest.$ac_objext; then
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2560 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2561 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2562 GCC=`test $ac_compiler_gnu = yes && echo yes`
2563 ac_test_CFLAGS=${CFLAGS+set}
2564 ac_save_CFLAGS=$CFLAGS
2565 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2566 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2567 if test "${ac_cv_prog_cc_g+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 ac_save_c_werror_flag=$ac_c_werror_flag
2571 ac_c_werror_flag=yes
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (ac_try="$ac_compile"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } && {
2603 test -z "$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_compile") 2>conftest.er1
2636 grep -v '^ *+' conftest.er1 >conftest.err
2638 cat conftest.err >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } && {
2641 test -z "$ac_c_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.$ac_objext; then
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2649 ac_c_werror_flag=$ac_save_c_werror_flag
2651 cat >conftest.$ac_ext <<_ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 rm -f conftest.$ac_objext
2667 if { (ac_try="$ac_compile"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_compile") 2>conftest.er1
2675 grep -v '^ *+' conftest.er1 >conftest.err
2677 cat conftest.err >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } && {
2680 test -z "$ac_c_werror_flag" ||
2681 test ! -s conftest.err
2682 } && test -s conftest.$ac_objext; then
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_c_werror_flag=$ac_save_c_werror_flag
2700 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2701 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2702 if test "$ac_test_CFLAGS" = set; then
2703 CFLAGS=$ac_save_CFLAGS
2704 elif test $ac_cv_prog_cc_g = yes; then
2705 if test "$GCC" = yes; then
2711 if test "$GCC" = yes; then
2717 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2718 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2719 if test "${ac_cv_prog_cc_c89+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 ac_cv_prog_cc_c89=no
2724 cat >conftest.$ac_ext <<_ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2732 #include <sys/types.h>
2733 #include <sys/stat.h>
2734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2735 struct buf { int x; };
2736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2737 static char *e (p, i)
2743 static char *f (char * (*g) (char **, int), char **p, ...)
2748 s = g (p, va_arg (v,int));
2753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2754 function prototypes and stuff, but not '\xHH' hex character constants.
2755 These don't provoke an error unfortunately, instead are silently treated
2756 as 'x'. The following induces an error, until -std is added to get
2757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2758 array size at least. It's necessary to write '\x00'==0 to get something
2759 that's true only with -std. */
2760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2763 inside strings and character constants. */
2765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2767 int test (int i, double x);
2768 struct s1 {int (*f) (int a);};
2769 struct s2 {int (*f) (double a);};
2770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2784 CC="$ac_save_CC $ac_arg"
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_c89=$ac_arg
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext
2811 test "x$ac_cv_prog_cc_c89" != "xno" && break
2813 rm -f conftest.$ac_ext
2818 case "x$ac_cv_prog_cc_c89" in
2820 { echo "$as_me:$LINENO: result: none needed" >&5
2821 echo "${ECHO_T}none needed" >&6; } ;;
2823 { echo "$as_me:$LINENO: result: unsupported" >&5
2824 echo "${ECHO_T}unsupported" >&6; } ;;
2826 CC="$CC $ac_cv_prog_cc_c89"
2827 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2828 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2839 { echo "$as_me:$LINENO: checking for jrKanjiControl in -lcanna" >&5
2840 echo $ECHO_N "checking for jrKanjiControl in -lcanna... $ECHO_C" >&6; }
2841 if test "${ac_cv_lib_canna_jrKanjiControl+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 ac_check_lib_save_LIBS=$LIBS
2845 LIBS="-lcanna $LIBS"
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2853 /* Override any GCC internal prototype to avoid an error.
2854 Use char because int might match the return type of a GCC
2855 builtin and then its argument prototype would still apply. */
2859 char jrKanjiControl ();
2863 return jrKanjiControl ();
2868 rm -f conftest.$ac_objext conftest$ac_exeext
2869 if { (ac_try="$ac_link"
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875 (eval "$ac_link") 2>conftest.er1
2877 grep -v '^ *+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } && {
2882 test -z "$ac_c_werror_flag" ||
2883 test ! -s conftest.err
2884 } && test -s conftest$ac_exeext &&
2885 $as_test_x conftest$ac_exeext; then
2886 ac_cv_lib_canna_jrKanjiControl=yes
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 ac_cv_lib_canna_jrKanjiControl=no
2894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2895 conftest$ac_exeext conftest.$ac_ext
2896 LIBS=$ac_check_lib_save_LIBS
2898 { echo "$as_me:$LINENO: result: $ac_cv_lib_canna_jrKanjiControl" >&5
2899 echo "${ECHO_T}$ac_cv_lib_canna_jrKanjiControl" >&6; }
2900 if test $ac_cv_lib_canna_jrKanjiControl = yes; then
2901 xemacs_opts="$xemacs_opts --with-canna"
2907 mac_product_name=`sw_vers |grep ProductName|cut -f2`
2908 mac_product_version=`sw_vers |grep ProductVersion|cut -f2`
2909 mac_product_major_version=`echo $mac_product_version|cut -d'.' -f1`
2910 mac_product_minor_version=`echo $mac_product_version|cut -d'.' -f2`
2912 if test "$os_name" = "Darwin" -a \
2913 "$mac_product_name" = "Mac OS X" -a \
2914 $mac_product_major_version -eq 10 -a \
2915 $mac_product_minor_version -ge 7
2917 xemacs_opts="$xemacs_opts '--ldflags=-Wl,-no_pie'"
2920 # Checks for header files.
2922 # Checks for typedefs, structures, and compiler characteristics.
2926 # Checks for library functions.
2930 #AC_CHECK_FUNCS(strnlen)
2932 ac_config_files="$ac_config_files Makefile"
2934 cat >confcache <<\_ACEOF
2935 # This file is a shell script that caches the results of configure
2936 # tests run on this system so they can be shared between configure
2937 # scripts and configure runs, see configure's option --config-cache.
2938 # It is not useful on other systems. If it contains results you don't
2939 # want to keep, you may remove or edit it.
2941 # config.status only pays attention to the cache file if you give it
2942 # the --recheck option to rerun configure.
2944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2950 # The following way of writing the cache mishandles newlines in values,
2951 # but we know of no workaround that is simple, portable, and efficient.
2952 # So, we kill variables containing newlines.
2953 # Ultrix sh set writes to stderr and can't be redirected directly,
2954 # and sets the high bit in the cache file unless we assign to the vars.
2956 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2957 eval ac_val=\$$ac_var
2961 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2962 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2965 _ | IFS | as_nl) ;; #(
2966 *) $as_unset $ac_var ;;
2972 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2973 *${as_nl}ac_space=\ *)
2974 # `set' does not quote correctly, so add quotes (double-quote
2975 # substitution turns \\\\ into \\, and sed turns \\ into \).
2978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2981 # `set' quotes correctly as required by POSIX, so do not add quotes.
2982 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2993 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2995 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2996 if test -w "$cache_file"; then
2997 test "x$cache_file" != "x/dev/null" &&
2998 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2999 echo "$as_me: updating cache $cache_file" >&6;}
3000 cat confcache >$cache_file
3002 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3003 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3008 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3009 # Let make expand exec_prefix.
3010 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3012 # Transform confdefs.h into DEFS.
3013 # Protect against shell expansion while executing Makefile rules.
3014 # Protect against Makefile macro expansion.
3016 # If the first sed substitution is executed (which looks for macros that
3017 # take arguments), then branch to the quote section. Otherwise,
3018 # look for a macro that doesn't take arguments.
3022 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3024 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3028 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3041 DEFS=`sed -n "$ac_script" confdefs.h`
3046 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3047 # 1. Remove the extension, and $U if already installed.
3048 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3049 ac_i=`echo "$ac_i" | sed "$ac_script"`
3050 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3051 # will be set to the directory where LIBOBJS objects are built.
3052 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3053 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3057 LTLIBOBJS=$ac_ltlibobjs
3061 : ${CONFIG_STATUS=./config.status}
3062 ac_clean_files_save=$ac_clean_files
3063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3064 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3065 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3066 cat >$CONFIG_STATUS <<_ACEOF
3068 # Generated by $as_me.
3069 # Run this file to recreate the current configuration.
3070 # Compiler output produced by configure, useful for debugging
3071 # configure, is in config.log if it exists.
3076 SHELL=\${CONFIG_SHELL-$SHELL}
3079 cat >>$CONFIG_STATUS <<\_ACEOF
3080 ## --------------------- ##
3081 ## M4sh Initialization. ##
3082 ## --------------------- ##
3084 # Be more Bourne compatible
3085 DUALCASE=1; export DUALCASE # for MKS sh
3086 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3089 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3090 # is contrary to our usage. Disable this feature.
3091 alias -g '${1+"$@"}'='"$@"'
3092 setopt NO_GLOB_SUBST
3094 case `(set -o) 2>/dev/null` in
3095 *posix*) set -o posix ;;
3104 # Avoid depending upon Character Ranges.
3105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3108 as_cr_digits='0123456789'
3109 as_cr_alnum=$as_cr_Letters$as_cr_digits
3111 # The user is always right.
3112 if test "${PATH_SEPARATOR+set}" != set; then
3113 echo "#! /bin/sh" >conf$$.sh
3114 echo "exit 0" >>conf$$.sh
3116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3124 # Support unset when possible.
3125 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3133 # We need space, tab and new line, in precisely that order. Quoting is
3134 # there to prevent editors from complaining about space-tab.
3135 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3136 # splitting by setting IFS to empty value.)
3141 # Find who we are. Look in the path if we contain no directory separator.
3143 *[\\/]* ) as_myself=$0 ;;
3144 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3155 # We did not find ourselves, most probably we were run as `sh COMMAND'
3156 # in which case we are not to be found in the path.
3157 if test "x$as_myself" = x; then
3160 if test ! -f "$as_myself"; then
3161 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3162 { (exit 1); exit 1; }
3165 # Work around bugs in pre-3.0 UWIN ksh.
3166 for as_var in ENV MAIL MAILPATH
3167 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3175 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3176 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3177 LC_TELEPHONE LC_TIME
3179 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3180 eval $as_var=C; export $as_var
3182 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3186 # Required to use basename.
3187 if expr a : '\(a\)' >/dev/null 2>&1 &&
3188 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3194 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3195 as_basename=basename
3201 # Name of the executable.
3202 as_me=`$as_basename -- "$0" ||
3203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3204 X"$0" : 'X\(//\)$' \| \
3205 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3207 sed '/^.*\/\([^/][^/]*\)\/*$/{
3228 test "x$as_lineno_1" != "x$as_lineno_2" &&
3229 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3231 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3232 # uniformly replaced by the line number. The first 'sed' inserts a
3233 # line-number line after each line using $LINENO; the second 'sed'
3234 # does the real work. The second script uses 'N' to pair each
3235 # line-number line with the line containing $LINENO, and appends
3236 # trailing '-' during substitution so that $LINENO is not a special
3238 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3239 # scripts with optimization help from Paolo Bonzini. Blame Lee
3240 # E. McMahon (1931-1989) for sed's syntax. :-)
3252 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3256 chmod +x "$as_me.lineno" ||
3257 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3258 { (exit 1); exit 1; }; }
3260 # Don't try to exec as it changes $[0], causing all sort of problems
3261 # (the dirname of $[0] is not the place where we might find the
3262 # original and so on. Autoconf is especially sensitive to this).
3264 # Exit status is that of the last command.
3269 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3275 ECHO_C= ECHO_N= ECHO_T=
3278 case `echo 'x\c'` in
3279 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3286 if expr a : '\(a\)' >/dev/null 2>&1 &&
3287 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3293 rm -f conf$$ conf$$.exe conf$$.file
3294 if test -d conf$$.dir; then
3295 rm -f conf$$.dir/conf$$.file
3301 if ln -s conf$$.file conf$$ 2>/dev/null; then
3303 # ... but there are two gotchas:
3304 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3305 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3306 # In both cases, we have to default to `cp -p'.
3307 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3309 elif ln conf$$.file conf$$ 2>/dev/null; then
3314 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3315 rmdir conf$$.dir 2>/dev/null
3317 if mkdir -p . 2>/dev/null; then
3320 test -d ./-p && rmdir ./-p
3324 if test -x / >/dev/null 2>&1; then
3327 if ls -dL / >/dev/null 2>&1; then
3334 if test -d "$1"; then
3340 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3341 ???[sx]*):;;*)false;;esac;fi
3345 as_executable_p=$as_test_x
3347 # Sed expression to map a string onto a valid CPP name.
3348 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3350 # Sed expression to map a string onto a valid variable name.
3351 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3356 # Save the log message, to keep $[0] and so on meaningful, and to
3357 # report actual input values of CONFIG_FILES etc. instead of their
3358 # values after options handling.
3360 This file was extended by chise-base $as_me 0.25, which was
3361 generated by GNU Autoconf 2.61. Invocation command line was
3363 CONFIG_FILES = $CONFIG_FILES
3364 CONFIG_HEADERS = $CONFIG_HEADERS
3365 CONFIG_LINKS = $CONFIG_LINKS
3366 CONFIG_COMMANDS = $CONFIG_COMMANDS
3369 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3374 cat >>$CONFIG_STATUS <<_ACEOF
3375 # Files that config.status was made for.
3376 config_files="$ac_config_files"
3380 cat >>$CONFIG_STATUS <<\_ACEOF
3382 \`$as_me' instantiates files from templates according to the
3383 current configuration.
3385 Usage: $0 [OPTIONS] [FILE]...
3387 -h, --help print this help, then exit
3388 -V, --version print version number and configuration settings, then exit
3389 -q, --quiet do not print progress messages
3390 -d, --debug don't remove temporary files
3391 --recheck update $as_me by reconfiguring in the same conditions
3392 --file=FILE[:TEMPLATE]
3393 instantiate the configuration file FILE
3395 Configuration files:
3398 Report bugs to <bug-autoconf@gnu.org>."
3401 cat >>$CONFIG_STATUS <<_ACEOF
3403 chise-base config.status 0.25
3404 configured by $0, generated by GNU Autoconf 2.61,
3405 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3407 Copyright (C) 2006 Free Software Foundation, Inc.
3408 This config.status script is free software; the Free Software Foundation
3409 gives unlimited permission to copy, distribute and modify it."
3415 cat >>$CONFIG_STATUS <<\_ACEOF
3416 # If no file are specified by the user, then we need to provide default
3417 # value. By we need to know if files were specified by the user.
3423 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3424 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3435 # Handling of the options.
3436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3438 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3439 echo "$ac_cs_version"; exit ;;
3440 --debug | --debu | --deb | --de | --d | -d )
3442 --file | --fil | --fi | --f )
3444 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3445 ac_need_defaults=false;;
3446 --he | --h | --help | --hel | -h )
3447 echo "$ac_cs_usage"; exit ;;
3448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3449 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3453 -*) { echo "$as_me: error: unrecognized option: $1
3454 Try \`$0 --help' for more information." >&2
3455 { (exit 1); exit 1; }; } ;;
3457 *) ac_config_targets="$ac_config_targets $1"
3458 ac_need_defaults=false ;;
3464 ac_configure_extra_args=
3466 if $ac_cs_silent; then
3468 ac_configure_extra_args="$ac_configure_extra_args --silent"
3472 cat >>$CONFIG_STATUS <<_ACEOF
3473 if \$ac_cs_recheck; then
3474 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3477 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3481 cat >>$CONFIG_STATUS <<\_ACEOF
3485 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3486 ## Running $as_me. ##
3492 cat >>$CONFIG_STATUS <<_ACEOF
3495 cat >>$CONFIG_STATUS <<\_ACEOF
3497 # Handling of arguments.
3498 for ac_config_target in $ac_config_targets
3500 case $ac_config_target in
3501 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3503 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3504 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3505 { (exit 1); exit 1; }; };;
3510 # If the user did not use the arguments to specify the items to instantiate,
3511 # then the envvar interface is used. Set only those that are not.
3512 # We use the long form for the default assignment because of an extremely
3513 # bizarre bug on SunOS 4.1.3.
3514 if $ac_need_defaults; then
3515 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3518 # Have a temporary directory for convenience. Make it in the build tree
3519 # simply because there is no reason against having it here, and in addition,
3520 # creating and moving files from /tmp can sometimes cause problems.
3521 # Hook for its removal unless debugging.
3522 # Note that there is a small window in which the directory will not be cleaned:
3523 # after its creation but before its name has been assigned to `$tmp'.
3527 trap 'exit_status=$?
3528 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3530 trap '{ (exit 1); exit 1; }' 1 2 13 15
3532 # Create a (secure) tmp directory for tmp files.
3535 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3536 test -n "$tmp" && test -d "$tmp"
3539 tmp=./conf$$-$RANDOM
3540 (umask 077 && mkdir "$tmp")
3543 echo "$me: cannot create a temporary directory in ." >&2
3544 { (exit 1); exit 1; }
3548 # Set up the sed scripts for CONFIG_FILES section.
3551 # No need to generate the scripts if there are no CONFIG_FILES.
3552 # This happens for instance when ./config.status config.h
3553 if test -n "$CONFIG_FILES"; then
3560 for ac_last_try in false false false false false :; do
3561 cat >conf$$subs.sed <<_ACEOF
3562 SHELL!$SHELL$ac_delim
3563 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3564 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3565 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3566 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3567 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3568 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3569 exec_prefix!$exec_prefix$ac_delim
3570 prefix!$prefix$ac_delim
3571 program_transform_name!$program_transform_name$ac_delim
3572 bindir!$bindir$ac_delim
3573 sbindir!$sbindir$ac_delim
3574 libexecdir!$libexecdir$ac_delim
3575 datarootdir!$datarootdir$ac_delim
3576 datadir!$datadir$ac_delim
3577 sysconfdir!$sysconfdir$ac_delim
3578 sharedstatedir!$sharedstatedir$ac_delim
3579 localstatedir!$localstatedir$ac_delim
3580 includedir!$includedir$ac_delim
3581 oldincludedir!$oldincludedir$ac_delim
3582 docdir!$docdir$ac_delim
3583 infodir!$infodir$ac_delim
3584 htmldir!$htmldir$ac_delim
3585 dvidir!$dvidir$ac_delim
3586 pdfdir!$pdfdir$ac_delim
3587 psdir!$psdir$ac_delim
3588 libdir!$libdir$ac_delim
3589 localedir!$localedir$ac_delim
3590 mandir!$mandir$ac_delim
3592 ECHO_C!$ECHO_C$ac_delim
3593 ECHO_N!$ECHO_N$ac_delim
3594 ECHO_T!$ECHO_T$ac_delim
3596 build_alias!$build_alias$ac_delim
3597 host_alias!$host_alias$ac_delim
3598 target_alias!$target_alias$ac_delim
3599 build!$build$ac_delim
3600 build_cpu!$build_cpu$ac_delim
3601 build_vendor!$build_vendor$ac_delim
3602 build_os!$build_os$ac_delim
3604 host_cpu!$host_cpu$ac_delim
3605 host_vendor!$host_vendor$ac_delim
3606 host_os!$host_os$ac_delim
3607 target!$target$ac_delim
3608 target_cpu!$target_cpu$ac_delim
3609 target_vendor!$target_vendor$ac_delim
3610 target_os!$target_os$ac_delim
3611 ac_configure_args!$ac_configure_args$ac_delim
3612 xemacs_configure_args!$xemacs_configure_args$ac_delim
3613 xemacs_site_includes!$xemacs_site_includes$ac_delim
3614 xemacs_site_libraries!$xemacs_site_libraries$ac_delim
3615 xemacs_opts!$xemacs_opts$ac_delim
3616 cvs_root!$cvs_root$ac_delim
3617 lemi_cvs_root!$lemi_cvs_root$ac_delim
3619 CFLAGS!$CFLAGS$ac_delim
3620 LDFLAGS!$LDFLAGS$ac_delim
3621 CPPFLAGS!$CPPFLAGS$ac_delim
3622 ac_ct_CC!$ac_ct_CC$ac_delim
3623 EXEEXT!$EXEEXT$ac_delim
3624 OBJEXT!$OBJEXT$ac_delim
3625 LIBOBJS!$LIBOBJS$ac_delim
3626 LTLIBOBJS!$LTLIBOBJS$ac_delim
3629 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
3631 elif $ac_last_try; then
3632 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3633 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3634 { (exit 1); exit 1; }; }
3636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3640 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3641 if test -n "$ac_eof"; then
3642 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3643 ac_eof=`expr $ac_eof + 1`
3646 cat >>$CONFIG_STATUS <<_ACEOF
3647 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3648 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3651 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3652 s/^/s,@/; s/!/@,|#_!!_#|/
3655 s/'"$ac_delim"'$/,g/; t
3657 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3658 ' >>$CONFIG_STATUS <conf$$subs.sed
3659 rm -f conf$$subs.sed
3660 cat >>$CONFIG_STATUS <<_ACEOF
3667 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3668 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3669 # trailing colons and then remove the whole line if VPATH becomes empty
3670 # (actually we leave an empty line to preserve line numbers).
3671 if test "x$srcdir" = x.; then
3672 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3676 s/^\([^=]*=[ ]*\):*/\1/
3682 cat >>$CONFIG_STATUS <<\_ACEOF
3683 fi # test -n "$CONFIG_FILES"
3686 for ac_tag in :F $CONFIG_FILES
3689 :[FHLC]) ac_mode=$ac_tag; continue;;
3691 case $ac_mode$ac_tag in
3693 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3694 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3695 { (exit 1); exit 1; }; };;
3696 :[FH]-) ac_tag=-:-;;
3697 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3714 -) ac_f="$tmp/stdin";;
3715 *) # Look for the file first in the build tree, then in the source tree
3716 # (if the path is not absolute). The absolute path cannot be DOS-style,
3717 # because $ac_f cannot contain `:'.
3721 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3723 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3724 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3725 { (exit 1); exit 1; }; };;
3727 ac_file_inputs="$ac_file_inputs $ac_f"
3730 # Let's still pretend it is `configure' which instantiates (i.e., don't
3731 # use $as_me), people would be surprised to read:
3732 # /* config.h. Generated by config.status. */
3733 configure_input="Generated from "`IFS=:
3734 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3735 if test x"$ac_file" != x-; then
3736 configure_input="$ac_file. $configure_input"
3737 { echo "$as_me:$LINENO: creating $ac_file" >&5
3738 echo "$as_me: creating $ac_file" >&6;}
3742 *:-:* | *:-) cat >"$tmp/stdin";;
3747 ac_dir=`$as_dirname -- "$ac_file" ||
3748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3749 X"$ac_file" : 'X\(//\)[^/]' \| \
3750 X"$ac_file" : 'X\(//\)$' \| \
3751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3772 -*) as_dir=./$as_dir;;
3774 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3778 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3779 *) as_qdir=$as_dir;;
3781 as_dirs="'$as_qdir' $as_dirs"
3782 as_dir=`$as_dirname -- "$as_dir" ||
3783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3784 X"$as_dir" : 'X\(//\)[^/]' \| \
3785 X"$as_dir" : 'X\(//\)$' \| \
3786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3805 test -d "$as_dir" && break
3807 test -z "$as_dirs" || eval "mkdir $as_dirs"
3808 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3809 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3810 { (exit 1); exit 1; }; }; }
3814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3816 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3817 # A ".." for each directory in $ac_dir_suffix.
3818 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3819 case $ac_top_builddir_sub in
3820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3824 ac_abs_top_builddir=$ac_pwd
3825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3826 # for backward compatibility:
3827 ac_top_builddir=$ac_top_build_prefix
3830 .) # We are building in place.
3832 ac_top_srcdir=$ac_top_builddir_sub
3833 ac_abs_top_srcdir=$ac_pwd ;;
3834 [\\/]* | ?:[\\/]* ) # Absolute name.
3835 ac_srcdir=$srcdir$ac_dir_suffix;
3836 ac_top_srcdir=$srcdir
3837 ac_abs_top_srcdir=$srcdir ;;
3839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3840 ac_top_srcdir=$ac_top_build_prefix$srcdir
3841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3854 cat >>$CONFIG_STATUS <<\_ACEOF
3855 # If the template does not know about datarootdir, expand it.
3856 # FIXME: This hack should be removed a few years after 2.60.
3857 ac_datarootdir_hack=; ac_datarootdir_seen=
3859 case `sed -n '/datarootdir/ {
3868 ' $ac_file_inputs` in
3869 *datarootdir*) ac_datarootdir_seen=yes;;
3870 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3871 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3872 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3874 cat >>$CONFIG_STATUS <<_ACEOF
3875 ac_datarootdir_hack='
3876 s&@datadir@&$datadir&g
3877 s&@docdir@&$docdir&g
3878 s&@infodir@&$infodir&g
3879 s&@localedir@&$localedir&g
3880 s&@mandir@&$mandir&g
3881 s&\\\${datarootdir}&$datarootdir&g' ;;
3885 # Neutralize VPATH when `$srcdir' = `.'.
3886 # Shell code in configure.ac might set extrasub.
3887 # FIXME: do we really want to maintain this feature?
3888 cat >>$CONFIG_STATUS <<_ACEOF
3892 cat >>$CONFIG_STATUS <<\_ACEOF
3894 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3895 s&@configure_input@&$configure_input&;t t
3896 s&@top_builddir@&$ac_top_builddir_sub&;t t
3897 s&@srcdir@&$ac_srcdir&;t t
3898 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3899 s&@top_srcdir@&$ac_top_srcdir&;t t
3900 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3901 s&@builddir@&$ac_builddir&;t t
3902 s&@abs_builddir@&$ac_abs_builddir&;t t
3903 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3904 $ac_datarootdir_hack
3905 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3908 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3910 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3911 which seems to be undefined. Please make sure it is defined." >&5
3912 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3913 which seems to be undefined. Please make sure it is defined." >&2;}
3917 -) cat "$tmp/out"; rm -f "$tmp/out";;
3918 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3929 { (exit 0); exit 0; }
3931 chmod +x $CONFIG_STATUS
3932 ac_clean_files=$ac_clean_files_save
3935 # configure is writing to config.log, and then calls config.status.
3936 # config.status does its own redirection, appending to config.log.
3937 # Unfortunately, on DOS this fails, as config.log is still kept open
3938 # by configure, so config.status won't be able to write to it; its
3939 # output is simply discarded. So we exec the FD to /dev/null,
3940 # effectively closing config.log, so it can be properly (re)opened and
3941 # appended to by config.status. When coming back to configure, we
3942 # need to make the FD available again.
3943 if test "$no_create" != yes; then
3945 ac_config_status_args=
3946 test "$silent" = yes &&
3947 ac_config_status_args="$ac_config_status_args --quiet"
3949 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3951 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3952 # would make configure fail if this is the last instruction.
3953 $ac_cs_success || { (exit 1); exit 1; }